MySQL MCQ Test: MySQL MCQs - Practice Questions
1. What is the purpose of the MySQL ROLLBACK statement?
2. Which MySQL data type is used to store large text values?
3. Which SQL clause is used to sort the result set in ascending order?
4. What is a subquery in MySQL?
5. Which SQL statement is used to add new rows of data to a table?
6. Which MySQL data type is used to store a date and time?
7. Which SQL operator is used to filter rows that meet multiple conditions?
8. Which SQL keyword is used to retrieve all columns from a table?
9. What is the purpose of an SQL index?
10. Which SQL operator is used to filter rows that meet at least one of multiple conditions?
11. What is a foreign key in MySQL?
12. What is the purpose of the SQL GROUP_CONCAT() function?
13. Which SQL function is used to calculate the average value of a numeric column?
14. What is the purpose of the SQL DISTINCT keyword?
15. What is the purpose of the SQL WHERE clause?
16. Which SQL statement is used to delete a table's structure and data?
17. What is a MySQL index hint?
18. What is the difference between INNER JOIN and LEFT JOIN in MySQL?
19. Which SQL function is used to count the number of rows in a table?
20. What is the purpose of the MySQL TRUNCATE TABLE statement?
21. Which SQL statement is used to update existing records in a table?
22. What does the SQL JOIN operation do?
23. What SQL function is used to find the highest value in a column?
24. What is the purpose of the SQL INNER JOIN clause?
25. In SQL, what is the purpose of the JOIN ON clause?
26. What is a MySQL trigger?
27. What is the purpose of the SQL GROUP BY clause?
28. Which command is used to create a new database in MySQL?
29. Which SQL operator is used to combine rows from two or more tables based on a related column between them?
30. Which SQL keyword is used to sort the result set in descending order?