Search Header Logo

SQL BASICS

Authored by Moses Prakash

Computers

University

Used 90+ times

SQL BASICS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

 

Which one will delete the table data as well as table structure?

DROP

TRUNCATE

ALTER

DELETE

2.

DRAG AND DROP QUESTION

20 sec • 1 pt

Drag the options into the correct boxes to complete the query

To display the detail of employee having "e" in their name in descending order of salary

SELECT * ​ (a)   emp ​ (b)   ename ​ (c)   %e%" ​ (d)   SAL ​ (e)   ;

FROM
WHERE
LIKE "
ORDER BY
DESC

3.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

(a)   is used to eliminate duplicate values

4.

MATCH QUESTION

20 sec • 1 pt

Match the following

ALTER

DCL

ROLLBACK

DML

REVOKE

TCL

UPDATE

DDL

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which operator is used to specify the RANGE of values

RANGE from

FROM .. TO

Between .. and

Between range

6.

REORDER QUESTION

20 sec • 1 pt

Reorder the following to get a correct query

display the username and password of all users

password

users

from

select

username

7.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

 

A (a)   constraint enforces referential Integrity

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?