
SQL Quiz

Quiz
•
Other
•
University
•
Medium
33KAZ undefined
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which join type results in a Cartesian product?
FULL OUTER JOIN
RIGHT JOIN
CROSS JOIN
LEFT JOIN
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators is used to combine the result sets of two or more SELECT queries, removing duplicates?
ЕХСЕРТ
INTERSECT
UNION
JOIN
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of join includes all rows from the left table and only the matching rows from the right table?
LEFT JOIN
FULL JOIN
RIGHT JOIN
INNER JOIN
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to rename a column in a SELECT statement using an alias?
SELECT alias_name FROM column_name
RENAME column_name TO alias_name
SELECT column_name AS alias_name
WITH column_name AS alias_name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function returns the sum of values in a column?
SUM()
COUNT)
AVG()
MIN()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using aliases in SQL?
To filter data
To delete records from tables
To provide temporary names for columns or tables for easier reference
To create new columns in a result set
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for using the UNION keyword in SQL?
SELECT * FROM tableA EXCEPT SELECT * FROM tableB;
SELECT * FROM tableA UNION SELECT * FROM tableB;
SELECT * FROM tableA JOIN tableB;
SELECT * FROM tableA UNION ALL SELECT * FROM tableB;
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
7th International Yoga Day Celebrations

Quiz
•
1st Grade - Professio...
20 questions
Basis data

Quiz
•
11th Grade - University
20 questions
SOCIAL MEDIA

Quiz
•
12th Grade - Professi...
20 questions
Set 1 Quiz

Quiz
•
University
17 questions
Luffy

Quiz
•
7th Grade - University
25 questions
Pengantar Basis Data

Quiz
•
University
15 questions
İK Analitik ve Dijital Yetkinlik Testi

Quiz
•
University
16 questions
the promise neverland quiz

Quiz
•
5th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade