Search Header Logo

SQL

Authored by Moses Prakash

Computers

University

Used 74+ times

SQL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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. 

(a)  

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

Will not allow duplicate

Delete

Restrict the output after grouping

Distinct

Remove specific rows

Check

Eliminate duplicate values

Unique

Used to limit column values to specific values

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'

Access all questions and much more by creating a free account

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

Already have an account?