Choose a topic to test your knowledge and improve your SQL skills
The maximum length of the varchar columns is ____________
In oracle database variable length column is declared by ____________
Mysql support different character sets, which command is used to display all character sets?
Which one is the correct declaration for choosing the character set other than default?
Which “text type” has the maximum number of bytes?
Which among the following have the maximum bytes?
What will happen if the data being loaded into a text column exceeds the maximum size of that type?
Which data type is more suitable for storing “small notes” in Mysql?
Which data type is more suitable for storing “documents” in Mysql?
“Numeric Data” is used to store ____________
Which Numeric Data type has the largest range?
What will be the storage pattern for “float(4,2)” in Mysql?
Which among the following are the correct representation of “float(4,2)”?
Which among the following is the correct representation of “float(5,0)”?
Which among the following is the correct representation of “float(1,1)”?
Which data type is used to store data and time in Mysql?
What is the default format for “Date” data type?
What is the default format for “Datetime” data type?
What is the default format for “Timestamp” data type?
What is the default format for “Year” data type?
What is the default format for “Time” data type?
Is “Datetime” and “Timestamp” are same data type?
Which value will show an error when stored in float(4,2)?
The datatype for single precision floating point number is ____________
Which datatype is used for a fixed length binary string?
Which datatype means a variable length non binary string?
Which data and time datatype stores time value in ‘hh:mm:ss’ format?
Which spatial datatype is used to store a curve?
The datatype INT stores ___________
The datatype SMALLINT stores ___________
The storage size in bytes required for the MEDIUMINT datatype is ___________
The storage size in bytes required for the MEDIUMINT datatype is ___________
The REAL type is synonym for ___________
The maximum number of elements allowed in SET() is ___________
The maximum size in bytes of a row in MySQL is __________
For which type are illegal values converted to the appropriate ‘zero’ value?
What is the command to see the warning messages?
The SQL mode to check for divide by zero error is ________________
Which mode is used to turn on strict mode and all of the additional restrictions?
Which mode is a shorthand for ‘both strict modes plus a bunch of other restrictions’?
Which mode prevents MySQL to perform full checking of date parts?
Which keyword suppresses errors?
Which mode prevents entry of the ‘zero’ date value in strict mode?
Which column attribute provides unique numbers for identification?
The AUTO_INCREMENT sequences normally begin at __________
The value of recently generated sequence number can be obtained by ____________
When no AUTO_INCREMENT value has been generated during the current connection, LAST_INSERT_ID() returns ____________
Suppose the last row has the AUTO_INCREMENT column value 32. Suppose a new row is added by setting AUTO_INCREMENT value equal to 100. The next row added will have value _____________
The number of rows in the table is 10. Suppose all rows are deleted. The new row starts with sequence number ____________
In a MyISAM table, if the maximum value of an AUTO_INCREMENT increment column is 12 and that row is deleted, the next value generated is _____________
In MyISAM tables, when a table is emptied with the TRUNCATE TABLE, the counter begins at _____________