Home > Databases > Quizzes > MySQL Practice Test
MySQL Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 70% Most missed: “Suppose you have two columns named student_name and student_department inside ta…”
MySQL Practice Test
Time left 00:00
25 Questions

1. In which language MYSQL is written?
2. SELECT is a type of which SQL command?
3. A variable that has a primary key constraint can have any data type other than INT?
4. Can we have more than 1 primary key in a table?
5. What does the show tables command do?
6. To see the list of options provided by MYSQL which of the following command is used?
7. To know your MYSQL version and current date which of the following command you should use?
8. To see all the databases which command is used?
9. Which of the following command is used to delete a database?
10. Can you change the column name using alter command?
11. Super key and candidate key can have NULL values?
12. 'MYSQL is the open source software' - What do you mean by this statement?
13. If you are asked to find out the names which only have 5 characters then what query pattern you will use?
14. Which type of join combines the result from both the tables and returns us the Cartesian product of the values?
15. Which SQL command is used for granting or revoking the rights?
16. In the following statement, what do you mean by the 'student'?
USE student;
Database name
17. ALTER command is a type of which SQL command?
18. Which MySQL function is used to get the current date and time?
19. Which of the following data type is used when it comes to store images in your database?
20. What do you mean by HOST in MYSQL?
21. If you are asked to delete the entire data of a table without disturbing the table definition then in such case which statement you will use?
22. From all the clauses in MYSQL what task is performed by the DISTINT clause?
23. Is a semicolon necessary after every query?
24. Which key is commonly known as a subset of a super key?
25. If you want to stop the processing query then which of the following command you should use?