Advanced SQL Quiz

Advanced SQL Quiz

12th Grade

47 Qs

quiz-placeholder

Similar activities

Access туралы тест

Access туралы тест

12th Grade

48 Qs

Sherman FFA 2018 Officer Test

Sherman FFA 2018 Officer Test

9th - 12th Grade

50 Qs

Study for Let 1 JROTC promotion test

Study for Let 1 JROTC promotion test

9th - 12th Grade

50 Qs

Tin GHK1 A7

Tin GHK1 A7

12th Grade

52 Qs

Diagnostic test part II.

Diagnostic test part II.

KG - Professional Development

48 Qs

Neighborhood, house, apartments, and furniture

Neighborhood, house, apartments, and furniture

3rd Grade - University

50 Qs

Financial Planning 3.00 Test

Financial Planning 3.00 Test

9th - 12th Grade

48 Qs

LATIHAN SOAL PAS ASJ

LATIHAN SOAL PAS ASJ

12th Grade

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?