SQL Knowledge Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 41% Most missed: “Which of the following relational database management systems (RDBMS) should nev…”

Structured Query Language (SQL) is a domain-specific language used in programming and designed for managing data held in a relational database management system, or for stream processing in a relational data stream management system.
Basically, SQL is used to communicate with a database. SQL statements are used to perform tasks such as update data on a database, or retrieve data from a database - for example, MySQL, SQL Server, MS Access, Oracle, Sybase, Informix, Postgres, and other database systems.

SQL Knowledge Test
Time left 00:00
25 Questions

1. Which HTTP methods correlate with the CREATE, READ, UPDATE, and DELETE (CRUD) operations in SQL?
2. In SQL, this is part of a query that determines which columns of data to show in the results.
3. Which of the following SQL queries correctly shows the number of unique subjects taken by a student?
4. In SQL, a computer programming language used for inserting, deleting, and updating data in a database is known as a...
5. In MySQL, which of the following queries can be used to rename the table BaseCamp to BaseCamp_New?
6. Which of the following SQL statements retrieves the names of employees who have completed at least one task from the given schema?
7. In SQL, how are boolean values typically stored in databases?
8. In relational databases, which of the following allows you to uniquely identify a tuple?
9. In SQL, what aggregate function allows you to count the number of rows and returns that count as a column in the result set?
10. What does the NOT NULL constraint in SQL ensure?
11. How can you retrieve all columns from a table named 'employees' in SQL?
12. What SQL command is used to delete a record from a table?
13. In SQL, which command erases all the updates made from the start of the transaction?
14. In SQL, what command allows you to rename a column or table using an alias?
15. What SQL statement contains a valid subquery?
16. In SQL, what type of join returns all rows for which there is a match in either of the tables?
17. What SQL function is used to count the number of rows in a table?
18. In SQL, the values of a table are known as...
19. In SQL, which type of constraint enforces that values in a column are unique across all rows in a table?
20. What is SQL?
21. What does DBMS stand for?
22. In SQL, which of the following is a wildcard character that can be used with the LIKE statement?
23. In SQL, which of the following is not a DDL command?
24. Which normal form ensures that there are no transitive dependencies?
25. In MySQL, which of the following would be used to delete a database named 'users'?