SQL Basics and Queries

Test your knowledge of SELECT,WHERE,and ORDER BY clauses.

1. Which SQL clause is used to filter records based on a condition?
2. What does SQL stand for?
3. Which SQL statement is used to retrieve data from one or more tables?
4. Which keyword is used to add a new row of data into a table?
5. What is the purpose of the GROUP BY clause in SQL?
6. Which type of JOIN returns only the rows that have matching values in both tables?
7. Which SQL data type is suitable for storing variable-length character strings?
8. What constraint ensures a column (or set of columns) uniquely identifies each row?
9. Which of the following are SQL aggregate functions? (Select all that apply)
10. Which clauses can be used with the SELECT statement? (Select all that apply)
11. Which are valid standard SQL data types? (Select all that apply)
12. Which statements are Data Manipulation Language (DML)? (Select all that apply)
13. Which JOIN types return only matching rows from both tables? (Select all that apply)
14. SELECT DISTINCT returns only unique values from a column.
15. The ORDER BY clause filters rows based on a condition.
16. NULL in SQL is equivalent to an empty string or zero.
17. DELETE without a WHERE clause deletes all rows but keeps the table structure.
18. Abbreviation for Data Definition Language (used to create/modify database structures):
19. Name the SQL clause to sort results in ascending/descending order:
20. SQL function to count rows in a table (full name or abbreviation):
Answered 0 of 0 — 0 correct