
SQL Data Analyst Quiz

Quiz
•
Other
•
12th Grade
•
Hard
+1
Standards-aligned
Pranav Goyal
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What SQL clause is used to filter the results of a query when querying the Quizizz database for specific games?
GROUP BY
ORDER BY
WHERE
HAVING
Tags
DOK Level 1: Recall
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to count the number of rows in a database table, such as the 'Game' table in Quizizz?
COUNT()
SUM()
AVG()
MAX()
Tags
DOK Level 1: Recall
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you select all the columns from a table named "Game" where the "Status" is "Active"?
SELECT * FROM Game WHERE Status='Active';
SELECT * FROM Game HAVING Status='Active';
SELECT Status FROM Game WHERE Status='Active';
SELECT Status='Active' FROM Game;
Tags
DOK Level 2: Skill/Concept
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want to sort the results of your game by the "Score" column in descending order, which SQL clause should you use?
ORDER BY Score asc;
ORDER BY Score desc;
GROUP BY Score desc;
SORT BY Score desc;
Tags
DOK Level 2: Skill/Concept
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you join two tables, "Quiz" and "Game", to match each quiz with the game's information, assuming the common column is "QuizID"?
SELECT * FROM Quiz JOIN Game ON Quiz.QuizID = Game.QuizID;
SELECT * FROM Quiz, Game WHERE Quiz.QuizID = Game.QuizID;
SELECT * FROM Quiz UNION Game;
SELECT * FROM Quiz CROSS JOIN Game ON Quiz.QuizID = Game.QuizID;
Tags
DOK Level 2: Skill/Concept
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to find the total number of games played per quiz from the "Game" table, which includes columns "GameID", "QuizID", and "PlayedDate". You need to group the results by "QuizID".
SELECT QuizID, COUNT(GameID) FROM Game GROUP BY QuizID;
SELECT PlayedDate, COUNT(GameID) FROM Game ORDER BY PlayedDate;
SELECT COUNT(GameID), QuizID FROM Game GROUP BY PlayedDate;
SELECT QuizID, SUM(GameID) FROM Game GROUP BY QuizID;
Tags
DOK Level 3: Strategic Thinking
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you modify a table named "Quiz" to add a column "HostEmail" with the data type VARCHAR(255)?
ALTER TABLE Quiz ADD COLUMN HostEmail VARCHAR(255);
UPDATE TABLE Quiz ADD HostEmail VARCHAR(255);
INSERT INTO Quiz (HostEmail) VALUES (VARCHAR(255));
MODIFY TABLE Quiz ADD HostEmail VARCHAR(255);
Tags
DOK Level 2: Skill/Concept
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Soccer Trivia

Quiz
•
5th - 12th Grade
10 questions
PERBAIKAN UAS DATABASE 23-24

Quiz
•
12th Grade
10 questions
Interogari

Quiz
•
12th Grade
10 questions
Television Game Shows

Quiz
•
8th - 12th Grade
15 questions
Sports

Quiz
•
KG - Professional Dev...
12 questions
Super Smash bros. ultimate quiz

Quiz
•
KG - Professional Dev...
10 questions
YouCode Scratch Quiz

Quiz
•
KG - 12th Grade
15 questions
Cashier Risk & Fraud Safety Training

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Other
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University