SQL

SQL

University

10 Qs

quiz-placeholder

Similar activities

Quiz 12: Templates, STL

Quiz 12: Templates, STL

University

10 Qs

C++ Chapter 6

C++ Chapter 6

University

10 Qs

Stack??

Stack??

University

15 Qs

Array

Array

University

11 Qs

Office season one

Office season one

7th Grade - University

6 Qs

IntroToDatabases W2

IntroToDatabases W2

University

12 Qs

Software Engineering Quiz 3

Software Engineering Quiz 3

University

10 Qs

Examen General

Examen General

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

GROUP BY

ORDER BY

WHERE

FROM

HAVING

4.

MATCH QUESTION

30 sec • 1 pt

Match the following

Will not allow duplicate

Unique

Used to limit column values to specific values

Delete

Restrict the output after grouping

Having

Remove specific rows

Distinct

Eliminate duplicate 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?