
J277 - 2.2 - The use of SQL to search for data
Authored by R Eveleigh
Computers
10th Grade
Used 8+ 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.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the SQL SELECT statement?
To delete data from a database
To retrieve data from a database
To update data in a database
To insert data into a database
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause is used to specify the table from which to retrieve data in an SQL query?
SELECT
WHERE
FROM
JOIN
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the SQL statement `SELECT name, age FROM students WHERE age > 16;`, what does the WHERE clause do?
It specifies the columns to be retrieved
It specifies the table to retrieve data from
It filters the data to include only students older than 16
It orders the data by age
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following SQL statements will retrieve all columns from the "employees" table?
SELECT * FROM employees;
SELECT all FROM employees;
SELECT columns FROM employees;
SELECT everything FROM employees;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you write an SQL query to select only the "name" and "email" columns from a table called "users"?
SELECT name, email FROM users;
SELECT name email FROM users;
SELECT name AND email FROM users;
SELECT name OR email FROM users;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following SQL query do? `SELECT * FROM products WHERE price < 20;`
It selects all products with a price greater than 20
It selects all products with a price less than 20
It selects all products with a price equal to 20
It selects all products with a price not equal to 20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL keyword is used to filter records?
SELECT
FILTER
WHERE
ORDER
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?