
SQL Query Quiz
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Medium
Fajar Dziki
Used 3+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following queries returns 'Palo Alto'?
SELECT customer_city FROM Customers WHERE customer_name = 'Hayes';
SELECT customer_city FROM Customers WHERE customer_name = 'Johnson';
SELECT customer_city FROM Customers WHERE customer_street = 'Main';
SELECT customer_city FROM Customers WHERE customer_street = 'Park';
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query lists all the unique cities?
SELECT customer_city FROM Customers;
SELECT DISTINCT customer_city FROM Customers;
SELECT UNIQUE customer_city FROM Customers;
SELECT customer_city GROUP BY customer_city FROM Customers;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query returns the names of all customers in 'Rye'?
SELECT customer_name FROM Customers WHERE customer_city = 'Rye';
SELECT customer_name FROM Customers WHERE customer_city = 'Harrison';
SELECT customer_name FROM Customers WHERE customer_street = 'North';
SELECT customer_name FROM Customers WHERE customer_street = 'Main';
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query returns all the information for 'Turner'?
SELECT * FROM Customers WHERE customer_name = 'Turner';
SELECT * FROM Customers WHERE customer_city = 'Stamford';
SELECT customer_name, customer_street FROM Customers WHERE customer_name = 'Turner';
SELECT customer_city, customer_street FROM Customers WHERE customer_name = 'Turner';
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query finds customers whose names start with 'J'?
SELECT customer_name FROM Customers WHERE customer_name LIKE 'J';
SELECT customer_name FROM Customers WHERE customer_name LIKE 'J%';
SELECT customer_name FROM Customers WHERE customer_name LIKE '%J';
SELECT customer_name FROM Customers WHERE customer_name = 'J';
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query counts the number of customers in each city?
SELECT customer_city, COUNT(*) FROM Customers;
SELECT customer_city, COUNT(*) FROM Customers GROUP BY customer_city;
SELECT COUNT(*), customer_city FROM Customers GROUP BY customer_city;
SELECT customer_city, SUM(*) FROM Customers;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query lists all street names alphabetically?
SELECT customer_street FROM Customers ORDER BY customer_street;
SELECT customer_street FROM Customers SORT BY customer_street;
SELECT customer_street FROM Customers ORDER customer_street;
SELECT customer_street FROM Customers GROUP BY customer_street;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
CSS Hand Tools
Quiz
•
1st - 3rd Grade
15 questions
Files and Documents Computer Basics
Quiz
•
KG - 8th Grade
11 questions
Computer parts
Quiz
•
1st - 2nd Grade
11 questions
Shortcut Keys - MS WORD
Quiz
•
1st - 2nd Grade
10 questions
1.1.4 Fetch Decode Execute Cycle
Quiz
•
1st - 10th Grade
14 questions
Social media marketing
Quiz
•
1st - 10th Grade
15 questions
Review in Computer 2nd PT
Quiz
•
1st - 2nd Grade
10 questions
ASAS SAINS KOMPUTER TING 1-( HTML 2)
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade
