J277 - 2.2 - The use of SQL to search for data

J277 - 2.2 - The use of SQL to search for data

10th Grade

10 Qs

quiz-placeholder

Similar activities

Introduction to MySQL

Introduction to MySQL

11th - 12th Grade

15 Qs

SDLC -SQL

SDLC -SQL

University

11 Qs

Sistem Basis Data Minggu 2

Sistem Basis Data Minggu 2

University

12 Qs

Structured Query Language Quiz

Structured Query Language Quiz

12th Grade

15 Qs

SQL-PHP-Login

SQL-PHP-Login

11th Grade

12 Qs

SQL CTE and Agregations

SQL CTE and Agregations

University

10 Qs

BASIS DATA XII (PSAS II2023)

BASIS DATA XII (PSAS II2023)

12th Grade

15 Qs

Database Knowledge Check 3 (SQL)

Database Knowledge Check 3 (SQL)

9th - 12th Grade

12 Qs

J277 - 2.2 - The use of SQL to search for data

J277 - 2.2 - The use of SQL to search for data

Assessment

Quiz

Computers

10th Grade

Medium

Created by

R Eveleigh

Used 8+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?