SQL Quiz

SQL Quiz

9th Grade

10 Qs

quiz-placeholder

Similar activities

Quiz #8

Quiz #8

9th Grade

10 Qs

R082 - Space Book Cover Exploration

R082 - Space Book Cover Exploration

9th - 10th Grade

13 Qs

Photoshop Domain 3 Prep

Photoshop Domain 3 Prep

9th - 12th Grade

9 Qs

Swift playground

Swift playground

9th Grade

10 Qs

3° año II BIM

3° año II BIM

6th - 10th Grade

10 Qs

4° año II BIM

4° año II BIM

7th - 11th Grade

11 Qs

Plataformas E-learning LMS

Plataformas E-learning LMS

9th - 12th Grade

10 Qs

Module 12 Review

Module 12 Review

9th - 12th Grade

15 Qs

SQL Quiz

SQL Quiz

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Quốc Thư

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which word is missing from the following SQL statement? Select * table_name

With

Where

From

And

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement would add a record to the database?

INSERT INTO Designer VALUES ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456')

INSERT VALUES ('SMI01', 'M Smith', 'mail@msmith.com', 01224123456') INTO Designer

INSERT ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456') INTO Designer

INSERT Designer INTO VALUES (''SMI01', 'M Smith', 'mail@msmith.com', '01224123456')

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does the CREATE Command belong?

DML

DDL

DCL

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a DML command that is used to display record.

DISPLAY

STRUCTURE

WHERE

SELECT

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______________ constraint prevents NULL values

UNIQUE

NOT NULL

NULL

FOREIGN KEY

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A primary key can be NULL in the table? TRUE or FALSE

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are required to update the phone number for only the DesignerID "SMI01" in the "Designer" table. Which of these would successfully do that?

UPDATE Designer SET PhoneNo = '01224123456'

UPDATE Designer (PhoneNo) VALUES ('01224123456')

UPDATE Designer SET PhoneNo = '01224123456' WHERE DesignerID = 'SMI01'

UPDATE PhoneNo = '01224123456' FROM Designer WHERE DesignerID = 'SMI01'

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?