MySQL Certification Quiz

Test your knowledge to earn your official course certificate!

1. With SQL, how can you return all the records from a table named 'Persons' sorted descending by 'FirstName'?
2. With SQL, how do you select all the records from a table named 'Persons' where the value of the column 'FirstName' starts with an 'a'?
3. The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions listed are true
4. Which SQL statement is used to delete data from a database?
5. The NOT NULL constraint enforces a column to not accept NULL values.
6. How can you change 'Hansen' into 'Nilsen' in the 'LastName' column in the Persons table?
7. With SQL, how do you select all the records from a table named 'Persons' where the 'FirstName' is 'Peter' and 'LastName' is 'Jackson'?
8. With SQL, how can you insert a new record into the 'Persons' table?
9. What is the primary key?
10. Which operator is used to search for a specified pattern in a column?
11. With SQL, how can you delete the records where the 'FirstName' is 'Peter' in the Persons Table?
12. What does SQL stand for?
13. Which operator is used to select values within a range?
14. With SQL, how do you select a column named 'FirstName' from a table named 'Persons'?
15. With SQL, how do you select all the records from a table named 'Persons' where the value of the column 'FirstName' is 'Peter'?
16. Which SQL statement is used to insert new data in a database?
17. Which SQL statement is used to extract data from a database?
18. Which SQL keyword is used to sort the result-set?
19. Which SQL statement is used to update data in a database?
20. With SQL, how do you select all the columns from a table named 'Persons'?