Search Header Logo

SQL BASICS

Authored by Moses Prakash

Computers

University

Used 89+ 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 BLANK QUESTION

20 sec • 1 pt

_______ is used to eliminate duplicate values

4.

MATCH QUESTION

20 sec • 1 pt

Match the following

ROLLBACK

DML

REVOKE

TCL

ALTER

DDL

UPDATE

DCL

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

users

select

username

from

password

7.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

 

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?