SQL Quiz | Software Testing Material

Welcome to your SQL Quiz. This quiz consists of 30 multiple-choice questions. There is no negative marking in this. Click on NEXT button to Start this Java Quiz.

1. With SQL, how do you select all the columns from a table named "Employees"?
2. Which SQL keyword you use to merge two tables based on a matching column?
3. What is the keyword you use to group the result by a column's values?
4. The table rows are also known as
5. Which SQL statement is used to delete complete data from an existing table & table structure from the database?
6. Which SQL statement is used to insert new rows of data to a table in a database
7. Which SQL statement is used to remove rows from a table?
8. Which of the following is not an SQL Aggregate function
9. Which SQL statement is used to extract data from a database?
10. Which SQL keyword is used to sort the data in ascending or descending order, based on one or more columns
11. What does SQL stand for?
12. With SQL, how do you select a column named "FirstName" from a table named "Employees"?
13. A NULL value is different than a zero value or a field that contains spaces
14. The MIN() function returns the smallest value of the selected column and The MAX() function returns the largest value of the selected column
15. The table columns are also known as
16. The UNION operator is used to
17. Which SQL statement is used to return only different values?
18. The OR operator displays a record if any of the conditions separated by OR is TRUE
19. Which of the following is not a part of SQL
20. Which of the following keyword you use to modify the existing value in an UPDATE query?
21. Which type of database management system represents relations using tables?
22. The result of a SELECT statement can contain duplicate rows
23. Which statement is correct
24. Which of the following is not a RDBMS?
25. The AND operator displays a record if all the conditions separated by AND are TRUE
26. Which of the following is not a Data Definition Language (DDL) statement?
27. Subqueries can be nested multiple times
28. Which function returns the difference between two dates
29. Which SQL statement is used to delete complete data from an existing table?
30. Which SQL statement is used to modify the existing records in a table?

SQL Quiz – You can test your knowledge with this SQL Quiz. We have created this SQL Quiz Online Test to help you master SQL.

Knowledge Base:

 

Rajkumar SM is a founder of SoftwareTestingMaterial. He is a certified Software Test Engineer by profession and blogger & youtuber by choice. He has an extensive experience in the field of Software Testing. He writes here about Software Testing which includes both Manual and Automation Testing. He loves to be with his wife and cute little kid 'Freedom'.

Leave a Comment

Share via
Copy link
Powered by Social Snap