SQL Screening Test

SQL Screening Test

1 / 20

Which command is used to modify an existing table structure?

2 / 20

Which SQL clause is used to filter grouped records?

3 / 20

What does the SQL CASE statement do?

4 / 20

What is the primary function of an index in SQL?

5 / 20

What happens when a NULL value is compared using the = operator?

6 / 20

What will be the result of a CROSS JOIN between two tables with 5 and 10 rows respectively?

7 / 20

What will happen if you try to insert a duplicate value in a column with a UNIQUE constraint?

8 / 20

What is the default isolation level in SQL Server?

9 / 20

Which SQL statement is used to check for the existence of rows in a subquery?

10 / 20

What is the function of the DISTINCT keyword in SQL?

11 / 20

In SQL, what does the COALESCE function do?

12 / 20

What will happen if a subquery returns multiple rows in a scalar subquery context?

13 / 20

Which SQL function is used to remove leading and trailing spaces from a string?

14 / 20

Which type of join includes all records from the left table and only matching records from the right table?

15 / 20

What does the ROW_NUMBER() function do in SQL?

16 / 20

Which SQL statement is used to remove all rows from a table without logging individual row deletions?

17 / 20

In SQL, what is the purpose of the RANK() function?

18 / 20

In SQL Server, which function is used to get the current system date and time?

19 / 20

What does the UNION operator do in SQL?

20 / 20

What is the maximum number of clustered indexes allowed per table in SQL Server?

Your score is

The average score is 38%

0%

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top