SQL BASICS

SQL BASICS

University

25 Qs

quiz-placeholder

Similar activities

SQL

SQL

12th Grade - Professional Development

23 Qs

WEEK 2&3-SQL

WEEK 2&3-SQL

University

21 Qs

PHP + MySQL

PHP + MySQL

7th Grade - University

25 Qs

MYSQL QUIZ 1

MYSQL QUIZ 1

University

25 Qs

SQL Basics

SQL Basics

University

29 Qs

SQL

SQL

University

20 Qs

DBMS LAB

DBMS LAB

University

20 Qs

Test 2 T1

Test 2 T1

University

23 Qs

SQL BASICS

SQL BASICS

Assessment

Quiz

Computers

University

Medium

Created by

Moses Prakash

Used 30+ 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

UPDATE

TCL

REVOKE

DML

ROLLBACK

DDL

ALTER

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

select

username

password

from

users

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?