MySql Quiz Test

 

Results

%3Cspan%20style%3D%22color%3A%20%23339966%22%3E%3Cstrong%3ECongratulations.%3C%2Fstrong%3E%3C%2Fspan%3E

%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20%23ff0000%22%3EFail%3C%2Fspan%3E%2C%20Try%20Again%3C%2Fstrong%3E

#1. Which of the following ways below are the correct way to get the current date?

#2. Which SQL keyword is used to sort the result-set?

#3. How can we get the number of records or rows in a table?

#4. An outer join requires each record in the two joined tables to have a matching record.

#5. Which MYSQL statement is used to update data in a database?




#6. On executing DELETE command, if you get an error “foreign key constraint”- what does it imply?

#7. Primary Key does allow the Null Values. where as in Unique key doesn’t accept the Null values.

#8. Which SQL statement is used to extract data from a database?

#9. How much character are allowed to create database name?

#10. With SQL, how do you select all the columns from a table named “Persons”?




#11. Can I define multiple unique constraints on a table?

#12. How much storage space does DATETIME require?

#13. –i-am-a-dummy flag is used Makes the MySQL engine refuse UPDATE and which other command?

#14. What is a candidate key?

#15. When do we use a HAVING clause?




#16. Which is the default order of sort in ORDER BY clause?

#17. Which MYSQL statement is used to return only different values?

#18. Enum values are stored accodring to their index numbers

#19. BLOB data type can have default column value.

#20. Can DISTINCT command be used for more than one column?




Previous
Finish