
SQL Commands - SELECT Statements
Authored by JX Chow
Computers
Professional Development
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete the SELECT Statement
SELECT * _____ ABC
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does ABC in the Select Statement Represent?
SELECT * FROM ABC
The Name of the Table
The Name of the Database
The Name of the Column
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the * in the Select Statement represent?
SELECT * FROM ABC
The First Column in the Table
All the Columns
in the Table
The Last Column in the Table
Answer explanation
The asterisk (*) is used widely as a wildcard character in searches
It is used to specify any number of items should go in there
In SQL it means to get all available columns
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What goes into the WHERE Clause of a Select Statement?
SELECT * FROM ABC
WHERE _____
The database that the table is in
The columns that need to be retrieved
The condition that the Results must fulfil
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Modify the Select Statement to only get the following Columns
Col1, Col2
SELECT * FROM ABC
SELECT
Col1 and Col2
FROM ABC
SELECT
Col1 Col2
FROM ABC
SELECT
Col1, Col2, *
FROM ABC
SELECT
Col1, Col2
FROM ABC
Answer explanation
REMEMBER
Columns need to be separated by commas!
SELECT Name, Phone FROM Contacts
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the line that helps us check if the phone number '91234567' is already added?
SELECT Name, Email
FROM Contacts
WHERE Phone = '91234567'
SELECT Name, Email
FROM Contacts
WHERE Phone = '91234567'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the line that tells SQL which table to use?
SELECT Name, Email
FROM Contacts
WHERE Phone = '91234567'
SELECT Name, Email
FROM Contacts
WHERE Phone = '91234567'
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?