1.

Which data and time datatype stores time value in ‘hh:mm:ss’ format?(a) DATE(b) TIME(c) DATETIME(d) TIMESTAMPI got this question by my college professor while I was bunking the class.Query is from MySQL Data Types in portion Data Types of MySQL

Answer»

Correct CHOICE is (b) TIME

For explanation I WOULD say: MYSQL has some variety of date and time datatypes. These datatypes are crucial for representing records in a table. The ‘TIME’ type represents a time value, STORED in the ‘hh:mm:ss’ FORMAT.



Discussion

No Comment Found

Related InterviewSolutions