SQL Multiple Choice Questions

SQL Multiple Choice Questions

University

30 Qs

quiz-placeholder

Similar activities

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

BSIT 2B Check up Test

BSIT 2B Check up Test

University

25 Qs

FOOD AND BEVERAGE SERVICE

FOOD AND BEVERAGE SERVICE

KG - Professional Development

35 Qs

CBT Revision

CBT Revision

University

27 Qs

SQL Basics Quiz

SQL Basics Quiz

University

30 Qs

The Relational Database Model

The Relational Database Model

University

34 Qs

Spelling: Can't You Make Them Behave, King George?

Spelling: Can't You Make Them Behave, King George?

KG - 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?