Search Header Logo

SQL-DQL -quiz1

Authored by Lilee Parida

Computers

9th - 12th Grade

Used 17+ times

SQL-DQL -quiz1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?