Advanced SQL Quiz

Advanced SQL Quiz

12th Grade

47 Qs

quiz-placeholder

Similar activities

Kisi - Kisi US Tata Boga

Kisi - Kisi US Tata Boga

12th Grade

50 Qs

PSAS_KKRPL_XII_WANA

PSAS_KKRPL_XII_WANA

12th Grade

50 Qs

PLTW IED Unit 2 Review

PLTW IED Unit 2 Review

9th - 12th Grade

42 Qs

Django Quiz

Django Quiz

12th Grade

42 Qs

Акт Ди

Акт Ди

12th Grade

50 Qs

Spanish 110 myoung

Spanish 110 myoung

4th - 12th Grade

45 Qs

La Casa

La Casa

KG - Professional Development

50 Qs

ServSafe Chapter 7 Final

ServSafe Chapter 7 Final

9th - 12th Grade

42 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?