Advanced SQL Quiz

Advanced SQL Quiz

12th Grade

47 Qs

quiz-placeholder

Similar activities

4 7250

4 7250

12th Grade

50 Qs

Accounting I

Accounting I

9th - 12th Grade

50 Qs

2QEAPP_Reviewer

2QEAPP_Reviewer

12th Grade

50 Qs

Ch. 5 -Periodic Table

Ch. 5 -Periodic Table

9th - 12th Grade

48 Qs

Реляциялық деректер базасы бойынша тест

Реляциялық деректер базасы бойынша тест

12th Grade

50 Qs

Excel 5.4 - 5.7 Terms

Excel 5.4 - 5.7 Terms

10th - 12th Grade

43 Qs

Distance Learning and Listening Skills Quiz

Distance Learning and Listening Skills Quiz

12th Grade

50 Qs

W, P, E

W, P, E

11th Grade - University

50 Qs

Advanced SQL Quiz

Advanced SQL Quiz

Assessment

Quiz

Other

12th Grade

Medium

Created by

MARY BALINGBING

Used 4+ times

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `IS NULL` operator do in SQL?

Checks if a value is not NULL.

Checks if a value is NULL.

Assigns a NULL value to a column.

Removes NULL values from a result set.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In SQL, what is a foreign key?

A key that uniquely identifies each row within its own table.

A key used to link two tables together.

A key that can only contain unique values.

A key used to speed up searches.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL keyword is used to fetch the current date and time?

CURRENT_DATE()

GETDATE()

NOW()

TODAY()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `AND` operator do in SQL?

Combines multiple columns.

Combines multiple conditions.

Sorts data in ascending order.

Filters data.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL function is used to count the number of rows in a table?

COUNT()

SUM()

TOTAL()

CALCULATE()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In SQL, what is the difference between `INNER JOIN` and `OUTER JOIN`?

`INNER JOIN` selects matching rows; `OUTER JOIN` selects all rows with matches.

`INNER JOIN` selects all rows; `OUTER JOIN` selects matching rows only.

`INNER JOIN` selects rows with matches in both tables; `OUTER JOIN` includes non-matching rows.

`INNER JOIN` selects rows with NULL values; `OUTER JOIN` excludes NULL values.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the SQL function that returns the current date and time.

NOW()

DATE()

TIME()

CURRENT()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?