Search Header Logo

SQL Quiz

Authored by Mahvish Siddiqui

Computers

University

Used 4+ times

SQL Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

SELECT

GET

EXTRACT

OPEN

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

DELETE

COLLAPSE

DROP

REMOVE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to update data in a database?

MODIFY

SAVE AS

SAVE

UPDATE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

SELECT FirstName FROM Persons

SELECT Persons.FirstName

SELECT Persons Where FirstName

SELECT Persons From FirstName

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to insert new data in a database?

ADD RECORD

INSERT INTO

ADD NEW

INSERT NEW

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?

SELECT [all] FROM Persons

SELECT Persons

SELECT * FROM Persons

SELECT Persons 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 "Peter"?

SELECT * FROM Persons WHERE FirstName<>'Peter'

SELECT * FROM Persons WHERE FirstName LIKE 'Peter'

SELECT * FROM Persons WHERE FirstName='Peter'

SELECT [all] FROM Persons WHERE FirstName='Peter'

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers