Advanced SQL Quiz

Advanced SQL Quiz

12th Grade

•

47 Qs

quiz-placeholder

Similar activities

Lowe Final Exam Review 1

Lowe Final Exam Review 1

9th - 12th Grade

•

50 Qs

Geoscience Unit 2 Exam Review

Geoscience Unit 2 Exam Review

9th - 12th Grade

•

52 Qs

soal sasis

soal sasis

12th Grade

•

50 Qs

Module I: Understanding Operating Systems

Module I: Understanding Operating Systems

12th Grade - University

•

45 Qs

Credit and Loans

Credit and Loans

8th Grade - University

•

42 Qs

OPEN HOUSE QUIZ

OPEN HOUSE QUIZ

1st - 12th Grade

•

50 Qs

Pretest - Mechanical Drawing - Chapter 3

Pretest - Mechanical Drawing - Chapter 3

8th - 12th Grade

•

50 Qs

3rd QUARTER EXAMINATIONS HOPE 4

3rd QUARTER EXAMINATIONS HOPE 4

12th Grade

•

48 Qs

Advanced SQL Quiz

Advanced SQL Quiz

Assessment

Quiz

•

Other

•

12th Grade

•

Practice Problem

•

Medium

Created by

MARY BALINGBING

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Access all questions and much more by creating a free account

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

Already have an account?