adplus-dvertising
frame-decoration

Question

Which among the following are the correct representation of “float(4,2)”?

a.

24.33

b.

124.4

c.

12.123

d.

Both 24.33 and 124.4

Posted under MySQL Database

Answer: (d).Both 24.33 and 124.4

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following are the correct representation of “float(4,2)”?

Similar Questions

Discover Related MCQs

Q. Which among the following is the correct representation of “float(5,0)”?

Q. Which among the following is the correct representation of “float(1,1)”?

Q. Which data type is used to store data and time in Mysql?

Q. What is the default format for “Date” data type?

Q. What is the default format for “Datetime” data type?

Q. What is the default format for “Timestamp” data type?

Q. What is the default format for “Year” data type?

Q. What is the default format for “Time” data type?

Q. Is “Datetime” and “Timestamp” are same data type?

Q. Which value will show an error when stored in float(4,2)?

Q. The datatype for single precision floating point number is ____________

Q. Which datatype is used for a fixed length binary string?

Q. Which datatype means a variable length non binary string?

Q. Which data and time datatype stores time value in ‘hh:mm:ss’ format?

Q. Which spatial datatype is used to store a curve?

Q. How many of the following attributes are allowed only for numeric types?

UNSIGNED, ZEROFILL, CHARACTER SET, COLLATE

Q. A DEFAULT value cannot be supplied to spatial types.

Q. A DEFAULT value cannot be supplied to TEXT types.

Q. The datatype INT stores ___________

Q. The datatype SMALLINT stores ___________