SQL

SQL

University

10 Qs

quiz-placeholder

Similar activities

Operating System -Quiz-1

Operating System -Quiz-1

University

10 Qs

Data Structures: Linked Lists and Hashtables

Data Structures: Linked Lists and Hashtables

11th Grade - University

14 Qs

Workshop_1

Workshop_1

University

11 Qs

GDSC Android Bootcamp [Kotlin Quiz]

GDSC Android Bootcamp [Kotlin Quiz]

University

10 Qs

Algorithm analysis: divide & conquer theory

Algorithm analysis: divide & conquer theory

University

10 Qs

Information systems concepts

Information systems concepts

University

10 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Computer Security

Computer Security

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

HAVING

ORDER BY

GROUP BY

FROM

WHERE

4.

MATCH QUESTION

30 sec • 1 pt

Match the following

Used to limit column values to specific values

Unique

Eliminate duplicate values

Check

Remove specific rows

Having

Restrict the output after grouping

Distinct

Will not allow duplicate

Delete

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?