SQL BASICS

SQL BASICS

University

25 Qs

quiz-placeholder

Similar activities

MB-3

MB-3

1st Grade - University

20 Qs

DATABASE

DATABASE

University

20 Qs

DBMS Quizz

DBMS Quizz

University

24 Qs

Joins and Set operators

Joins and Set operators

University

20 Qs

ITF Databases

ITF Databases

9th Grade - Professional Development

20 Qs

SQL Basics

SQL Basics

University

20 Qs

SQL_2

SQL_2

University

20 Qs

DBMS Quiz

DBMS Quiz

University

20 Qs

SQL BASICS

SQL BASICS

Assessment

Quiz

Computers

University

Medium

Created by

Moses Prakash

Used 88+ times

FREE Resource

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

ALTER

DML

ROLLBACK

DDL

REVOKE

DCL

UPDATE

TCL

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

from

username

users

select

7.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

 

A _______________constraint enforces referential Integrity

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?