1.

What is the datatype for single precision floating point number?(a) FLOAT(b) DOUBLE(c) INT(d) BIGINTI got this question at a job interview.This interesting question is from Perl DBI Overview in portion MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The correct choice is (a) FLOAT

Best EXPLANATION: There are various numeric datatypes in MySQL. Some of them are TINYINT, SMALLINT, BIGINT, FLOAT, DOUBLE and BIT. ‘FLOAT’ is for single precision floating point numbers UNLIKE DOUBLE.



Discussion

No Comment Found

Related InterviewSolutions