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. Which SQL statement is used to delete complete data from an existing table?
2.

The AND operator displays a record if all the conditions separated by AND are TRUE

3.

Which SQL statement is used to remove rows from a table?

4.

Which SQL statement is used to modify the existing records in a table?

5.

Which of the following is not a Data Definition Language (DDL) statement?

6.

The table rows are also known as

7.

What is the keyword you use to group the result by a column's values?

8.

The table columns are also known as

9.

With SQL, how do you select all the columns from a table named "Employees"?

10.

Which statement is correct

11.

Which SQL keyword is used to sort the data in ascending or descending order, based on one or more columns

12.

Which SQL statement is used to delete complete data from an existing table & table structure from the database?

13.

Which type of database management system represents relations using tables?

14.

Subqueries can be nested multiple times

15.

Which of the following is not a RDBMS?

16.

Which SQL statement is used to return only different values?

17.

Which function returns the difference between two dates

18.

A NULL value is different than a zero value or a field that contains spaces

19.

Which of the following is not an SQL Aggregate function

20.

With SQL, how do you select a column named "FirstName" from a table named "Employees"?

21.

What does SQL stand for?

22.

Which SQL statement is used to extract data from a database?

23.

Which SQL statement is used to insert new rows of data to a table in a database

24.

The OR operator displays a record if any of the conditions separated by OR is TRUE

25.

Which of the following is not a part of SQL

26.

Which of the following keyword you use to modify the existing value in an UPDATE query?

27.

The result of a SELECT statement can contain duplicate rows

28.

Which SQL keyword you use to merge two tables based on a matching column?

29.

The UNION operator is used to

30.

The MIN() function returns the smallest value of the selected column and The MAX() function returns the largest value of the selected column


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