SQL-DQL -quiz1

SQL-DQL -quiz1

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

MySQL Quiz

MySQL Quiz

10th Grade

15 Qs

sql quiz

sql quiz

11th Grade

19 Qs

sql

sql

6th - 9th Grade

24 Qs

Web-based Development

Web-based Development

5th Grade - University

15 Qs

Preguntas sobre SQL

Preguntas sobre SQL

9th - 12th Grade

15 Qs

Learning SQL

Learning SQL

11th - 12th Grade

15 Qs

Sql_1

Sql_1

9th Grade

17 Qs

SQL Keywords Quiz

SQL Keywords Quiz

11th Grade

20 Qs

SQL-DQL -quiz1

SQL-DQL -quiz1

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Lilee Parida

Used 17+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does SQL stand for?

Strong Question Language

Structured Question Language

Structured Query Language

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Open

Extract

Get

Select

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With MySQL, how do you select all the records from a table named "Persons"

Select all records from Persons

Select all from Persons

Select * from Persons

Select From Persons all

Answer explanation

select * from Persons

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select a column named "FirstName" from a table named "Persons"?

Select Persons.FirstName

Select FirstName.Persons

Select FirstName from Persons

None of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With MySQL, how do you select the record whose "FirstName" is "Peter" from a table named "Persons" ?

Select * from Persons where FirstName='Peter'

Select * from Persons where FirstName=Peter

Select FirstName='Peter'

from Persons

None of these

Answer explanation

Select * from Persons where FirstName='Peter' and LastName='Jackson'

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With MySQL, how do you select FirstName and LastName of all the records from a table named "Persons" ?

select First Name Last Name from Persons

select FirstName LastName from Persons

select FirstName, LastName from Persons

select FirstName LastName * from Persons

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is not "Peter"?

Select all from Persons where FirstName not equal to 'Peter'

Select all from Persons where FirstName <>'Peter'

Select * from Persons where FirstName <>'Peter'

None of these

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?