SQL Multiple Choice Questions

SQL Multiple Choice Questions

University

30 Qs

quiz-placeholder

Similar activities

SQL Basics Quiz

SQL Basics Quiz

University

30 Qs

Database Systems Quiz SE(Blue)

Database Systems Quiz SE(Blue)

University

30 Qs

Tuần 6

Tuần 6

University

30 Qs

study guide for data base certification

study guide for data base certification

KG - University

31 Qs

mkd1013 e182

mkd1013 e182

University

30 Qs

Technical Quiz WCC

Technical Quiz WCC

University

30 Qs

Advance Microsoft Advance Excel - Assessment

Advance Microsoft Advance Excel - Assessment

University

25 Qs

Section 1 Review

Section 1 Review

University

25 Qs

SQL Multiple Choice Questions

SQL Multiple Choice Questions

Assessment

Quiz

Other

University

Medium

Created by

EC M

Used 1+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does SQL stand for?

Structured Query Language

Sequential Query Language

Standard Query Language

Systematic Query Language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to retrieve data from a database?

GET

EXTRACT

SELECT

RETRIEVE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select all columns from a table named `students`?

SELECT * FROM students;

SELECT ALL FROM students;

SELECT columns FROM students;

SELECT students;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which clause is used to filter records in SQL?

FILTER BY

WHERE

HAVING

ORDER BY

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you retrieve distinct values from a column named `city` in the `employees` table?

SELECT UNIQUE city FROM employees;

SELECT city FROM employees;

SELECT DISTINCT city FROM employees;

SELECT DIFFERENT city FROM employees;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to sort the results in ascending order?

SORT BY ASC

ORDER BY ASC

SORT ASCENDING

ORDER ASC

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you sort the `customers` table by the `lastname` column in descending order?

SELECT * FROM customers ORDER BY lastname DESC;

SELECT * FROM customers SORT BY lastname DESC;

SELECT * FROM customers ORDER DESC lastname;

SELECT * FROM customers SORT DESC lastname;

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?