SQL

SQL

University

10 Qs

quiz-placeholder

Similar activities

ERP 1

ERP 1

University - Professional Development

15 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

SYS 1591

SYS 1591

University

10 Qs

Constants and Naming

Constants and Naming

3rd Grade - University

10 Qs

Anime

Anime

KG - University

10 Qs

IP IAT 2 Part B

IP IAT 2 Part B

University

15 Qs

Database Design & Development SQL 2

Database Design & Development SQL 2

University

12 Qs

Week 2 - Assessment 2

Week 2 - Assessment 2

University

8 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

FROM

WHERE

GROUP BY

HAVING

ORDER BY

4.

MATCH QUESTION

30 sec • 1 pt

Match the following

Eliminate duplicate values

Delete

Restrict the output after grouping

Having

Will not allow duplicate

Unique

Remove specific rows

Distinct

Used to limit column values to specific values

Check

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?