Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions