
sql practice
Quiz
•
Information Technology (IT)
•
9th Grade
•
Practice Problem
•
Easy
Thomas Bui
Used 3+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write an SQL query to display the title and author of all books.
SELECT books FROM title, author;
SELECT title, author FROM books;
SELECT author, catno FROM books;
SELECT author, title FROM fiction;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write an SQL query to display the title of all fiction books;
SELECT books FROM title WHERE fiction = True;
SELECT title FROM fiction;
SELECT title FROM books WHERE fiction = True;
SELECT fiction FROM books WHERE title = True;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a query to select titles of all paperback non-fiction books.
SELECT title FROM books WHERE fiction = True and paperback = True;
SELECT title FROM books WHERE fiction = False and paperback = True;
SELECT title FROM books WHERE fiction = False;
SELECT title FROM books WHERE paperback = False AND fiction = True;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write an SQL query to display the title of all books that are under the price of 20.00.
WHERE price = 20.00 SELECT title FROM books;
SELECT title FROM books WHERE price = 20.00;
SELECT title FROM books WHERE price > 20.00;
SELECT title FROM books WHERE price < 20.00;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many rows will the following query display? SELECT title FROM books WHERE fiction = False;
5
3
8
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the first row displayed for the following query? SELECT title FROM books WHERE paperback = True ORDER BY stocklevel ASCENDING;
Computer Science
The Princes' Story
The Princess' Story
The Ancient World
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will the following query display? SELECT SUM(stocklevel) FROM books WHERE fiction = False;
33
858
25
13
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
Quiz sur les Outils SketchUp
Quiz
•
1st Grade - University
13 questions
Advance HTML &CSS Quiz (special selectors, DRY),
Quiz
•
9th Grade
9 questions
Programming Languages Quiz
Quiz
•
9th Grade
7 questions
HTML balise jusque section
Quiz
•
9th Grade
11 questions
Keyboard Shortcuts
Quiz
•
5th Grade - University
10 questions
Exploring Loops in Scratch
Quiz
•
5th Grade - University
10 questions
Internet Safety
Quiz
•
8th Grade - University
12 questions
JavaFX
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
10 questions
Capitalize Countries and Places Quiz
Quiz
•
9th Grade
