P

Priyanka Tomar • 35.28K Points
Coach

Q. What will be the storage pattern for "float(4,2)" in Mysql?

  • (A) Total of four digits, two to the left of decimal and two to the right of decimal
  • (B) Total of six digits
  • (C) Total of four digits, not distributed uniformly
  • (D) None of the mentioned
  • Correct Answer - Option(A)
  • Views: 46
  • Filed under category MySQL

Explanation by: Priyanka Tomar
In MySQL, the syntax "float(4,2)" indicates a floating-point number with a total of 4 digits, with 2 digits to the left of the decimal point and 2 digits to the right of the decimal point.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics