SQL

SQL

University

10 Qs

quiz-placeholder

Similar activities

ITPC 116 Section 6

ITPC 116 Section 6

University

10 Qs

Basics of CorelDraw

Basics of CorelDraw

University

15 Qs

Online Safety and Netiquettes

Online Safety and Netiquettes

9th Grade - University

15 Qs

Photoshop Review

Photoshop Review

KG - University

12 Qs

Intro to Programming Quiz

Intro to Programming Quiz

University

10 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Simple past tense

Simple past tense

University

10 Qs

Relational Database Model

Relational Database Model

University

10 Qs

SQL

SQL

Assessment

Quiz

Computers

University

Medium

Created by

Moses Prakash

Used 73+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The SQL WHERE clause:

limits the column data that are returned.

limits the row data that are returned.

Both A and B are correct

Neither A nor B is correct

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The ……………. key word eliminates duplicate rows from the result of a SELECT statement. 

3.

REORDER QUESTION

30 sec • 1 pt

Arrange the order of clauses in the select statement

ORDER BY

FROM

GROUP BY

HAVING

WHERE

4.

MATCH QUESTION

30 sec • 1 pt

Match the following

Used to limit column values to specific values

Delete

Remove specific rows

Check

Will not allow duplicate

Unique

Eliminate duplicate values

Distinct

Restrict the output after grouping

Having

5.

DRAG AND DROP QUESTION

30 sec • 1 pt

Drag the correct option into the correct box

SELECT ​ ​ (a)   ​ (b)   users ​ (c)   ​ (d)   ='user1';

password
from
where
username

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command to remove rows from a table 'CUSTOMER' is:

REMOVE FROM CUSTOMER ...

DROP FROM CUSTOMER ...

DELETE FROM CUSTOMER WHERE ...

UPDATE FROM CUSTOMER ...

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change 'Thomas' to 'Michael' in the LastName column in the user table

UPDATE User SET LastName = 'Thomas' INTO LastName = 'Michel'

MODIFY Users SET LastName = 'Michel' WHERE LastName = 'Thomas'

MODIFY Users SET LastName = 'Thomas' INTO LastName = 'Michel'

UPDATE Users SET LastName = 'Michel' WHERE LastName = 'Thomas'

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?