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 of the following MySQL commands shows the structure of a table?
2. What SQL function is used to count the number of rows in a table?
3. In SQL, what clause is used to limit the number of rows returned by a query based on specific criteria?
4. In SQL, which of the following is a DQL command?
5. Which HTTP methods correlate with the CREATE, READ, UPDATE, and DELETE (CRUD) operations in SQL?
6. Which normal form ensures that there are no transitive dependencies?
7. In SQL, which of the following is not a DDL command?
8. In MySQL, which of the following queries can be used to rename the table BaseCamp to BaseCamp_New?
9. Which of the following is not a type of SQL injection?
10. In SQL, what aggregate function allows you to calculate the average of a numeric column from the set of rows returned by a query?
11. In SQL, where can we access all column names within a database?
12. In SQL, which of the following data types holds a FIXED length string?
13. In SQL, which data type is used to store a string with up to 255 characters?
14. Which command is used in a 'WHERE' or 'HAVING' clause to limit the selected rows to the items when a column has a certain pattern of characters contained in it?
15. Which of the following is NOT a type of SQL constraint?
16. In SQL,how many primary keys can be created in a table?
17. How can you retrieve all columns from a table named 'employees' in SQL?
18. In SQL, an individual entry in a table of a database is known as...
19. In SQL, what does CRUD stand for?
20. In MySQL, what is the maximum string length for the VARCHAR data type?
21. In SQL, which of the following is the correct syntax for creating a table?
22. In SQL, what command allows you to filter the data aggregated by the GROUP BY clause so that the user gets a limited set of records to view?
23. How do you limit query results in ORACLE-SQL?
24. In SQL, the values of a table are known as...
25. What is the purpose of the SQL INSERT statement?