1. Which SQL statement is used to retrieve data from a database?




2. Which SQL clause is used to filter the results returned by a SELECT statement?




3. What does the COUNT(*) function do in SQL?




4. How do you select all columns from a table named "Employees"?




5. Which SQL keyword is used to sort the result set?




6. Which SQL statement is used to update data in a database?




7. How do you return the unique values from a column named "City" in a table named "Customers"?




8. Which function is used to find the highest value in a column?




9. How do you add a new column named "Email" to a table named "Users"?




10. Which SQL statement is used to remove a table from a database?




11. How do you select records where the "Age" is between 18 and 30?




12. What is the purpose of the GROUP BY clause?




13. Which SQL statement is used to insert a new record into a table?




14. How do you create a backup of a database named "TestDB"?




15. Which keyword is used to eliminate duplicate rows in a query result?




16. How do you delete all the records from a table named "Orders" without deleting the table?




17. Which SQL function is used to calculate the average value of a numeric column?




18. How do you select the first 10 records from a table named "Products"?




19. Which operator is used to test for null values?




20. How do you combine rows from two or more tables based on a related column?