SQL-DQL -quiz1

SQL-DQL -quiz1

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

SQL Quiz (Moderate Level)

SQL Quiz (Moderate Level)

12th Grade

15 Qs

SQL Queries

SQL Queries

12th Grade

25 Qs

SQL 1

SQL 1

11th Grade

15 Qs

Homework - Databases & SQL

Homework - Databases & SQL

10th - 12th Grade

22 Qs

SQL & Robust Programs

SQL & Robust Programs

5th - 9th Grade

21 Qs

2.2 Programming Techniques

2.2 Programming Techniques

10th - 11th Grade

22 Qs

MySQL-Grade XII IP

MySQL-Grade XII IP

12th Grade

20 Qs

J277 The use of records to store data

J277 The use of records to store data

9th - 12th Grade

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