
Advanced SQL Quiz

Quiz
•
Other
•
12th Grade
•
Medium
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
Similar Resources on Wayground
48 questions
12SE - 1.0.* - MCQ 2.0

Quiz
•
12th Grade
50 questions
โรงแรมและอาหาร

Quiz
•
9th - 12th Grade
44 questions
Quiz Komponen Komputer dan Microsoft Office

Quiz
•
7th Grade - University
44 questions
4.10.1-4.10.3 Fundamentals of databases Quiz

Quiz
•
12th Grade
50 questions
Мәліметтер базасы туралы тест

Quiz
•
12th Grade
50 questions
DBI202_SP24_FE_246556

Quiz
•
12th Grade
50 questions
Distance Learning and Listening Skills Quiz

Quiz
•
12th Grade
52 questions
ÔN TẬP GIỮA KỲ 2 - MÔN TIN HỌC 11

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade