Intermediate
SQL
Q79 / 100
What does "CAST(column AS DECIMAL(10,2))" do?
Correct! Well done.
Incorrect.
The correct answer is B) Converts the column's value to a decimal number with up to 10 total digits and 2 after the decimal point
B
Correct Answer
Converts the column's value to a decimal number with up to 10 total digits and 2 after the decimal point
Explanation
CAST converts a value to a specified data type; DECIMAL(10,2) defines fixed-point precision with 10 total significant digits and 2 after the decimal point.
Progress
79/100