Home > Databases > Quizzes > MySQL Basics Practice Test: Using SQL to Manage Data
MySQL Basics Practice Test: Using SQL to Manage Data
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 63% Most missed: “A View can be used to select a subset of the table columns.”
Quiz questions on server SQL mode, Mysql identifiers and rules, sql statements case sensitivity, selecting, creating, dropping and altering databases, table retrievals with joins, union and subqueries, views, transactions, foreign key, table creation, populating and modifying tables. Here are some MySQL commands that can be used to create a database, add tables, and list tables: create database: Creates a new database ALTER DATABASE: Modifies a database CREATE TABLE: Creates a new table ALTER TABLE: Modifies a table DROP TABLE: Deletes a table CREATE INDEX: Creates an index DROP... Show more
MySQL Basics Practice Test: Using SQL to Manage Data
Time left 00:00
25 Questions

1. A FULLTEXT index cannot be created for multiple columns.
2. Which clause can be used to sort string values according to a specific collation?
3. What is ‘xyz’ in the following SQL statement?
SELECT xyz FROM table1 UNION xyz FROM table2;
4. Which statement is used to see the definition for an existing database?
5. The property of InnoDB that enforces foreign key relationships stay intact is called _____________
6. Which keyword is used to search through natural language fulltext?
7. Which clause in the SQL standard controls how NULL values in a composite foreign key are handled when comparing to a primary key.
8. FULLTEXT indexes can be created only for ____________
9. The join where all possible row combinations are produced is called _________
10. Which storage engine in MySQL provides foreign key support?
11. Which of these operators perform similar operations like ALL and ANY?
12. MySQL server mode values are case sensitive.
13. Which data type character merges the “Check Constraint” into a data type definition?
14. What is the value of val2 in the following MySQL statement?
UPDATE t SET val1 = val1 + 2, val2 = val1;
15. If no database has been selected, specifying a database qualifier is necessary.
16. Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this?
17. INFORMATION_SCHEMA is based on the SQL standard.
18. Which command is used for taking “server side help” in Mysql command line tool?
19. Which case does InnoDB store database names in?
20. What is the meaning of “REFERENCES” in table definition?
21. Which clause names the parent table and the index columns in the table?
22. The clause that filters JOIN results is called _________
23. A multiple-table delete can apply any join.
24. Which among the following is the correct syntax for creating table?
25. To combine multiple retrievals, we write several SELECT statements and put the keyword between them. What is the keyword?