Question: Need help with this question We use a database to store stock prices: prices use 2 decimal places. E.g. $214.32 prices can be anywhere in

Need help with this question

Need help with this question We use a database to store stock

We use a database to store stock prices: prices use 2 decimal places. E.g. $214.32 prices can be anywhere in the range [ 5000.00...5000.00] (yes: stock prices can be negative.) Which SQL data type is most appropriate (fits the data, but does not waste space) for storing the prices? FLOAT DECIMAL(6,2) DECIMAL(7,2) DECIMAL(4,2) None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!