
SQL Quiz

Quiz
•
Instructional Technology
•
University
•
Medium
Jigme Dema
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the GROUP BY clause in SQL?
To group rows that have the same values into summary rows
To filter rows based on a condition
To sort rows in ascending order
To join multiple tables
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an aggregate function in SQL?
COUNT()
JOIN()
SELECT()
WHERE()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the HAVING clause do in SQL?
It filters records before grouping
It filters records after grouping
It sorts the results
It joins two tables
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is true about subqueries?
They can return multiple columns
They must be enclosed within parentheses
They can use ORDER BY
They cannot be used in WHERE clauses
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of join returns all rows from both tables when there is a match?
OUTER Join
INNER Join
CROSS Join
LEFT Join
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a LEFT OUTER join return?
Only matching rows from both tables
All rows from the right table
All rows from the left table and matching rows from the right table
Only unmatched rows
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command is used to create a view?
CREATE VIEW
CREATE TABLE
SELECT INTO
INSERT INTO
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quiz Materi Gabungan PL/SQL 14Juni2022

Quiz
•
University
15 questions
Database Design Refreshment

Quiz
•
University
10 questions
TERMS OF DATABASE

Quiz
•
4th Grade - University
15 questions
Cloud migration prerequisite

Quiz
•
University - Professi...
18 questions
Test sobre Computación en la Nube

Quiz
•
University
10 questions
MS Teams

Quiz
•
4th Grade - Professio...
11 questions
SQL Joins Quiz

Quiz
•
University
10 questions
Mastering SQL Query Basics

Quiz
•
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