SQL BASICS

SQL BASICS

University

25 Qs

quiz-placeholder

Similar activities

WEEK 2&3-SQL

WEEK 2&3-SQL

University

21 Qs

Pranata Komputer 10

Pranata Komputer 10

University

20 Qs

Fundamentos de Base de datos

Fundamentos de Base de datos

University

20 Qs

Database

Database

12th Grade - University

20 Qs

SQL Basics

SQL Basics

University

29 Qs

Compiler Design

Compiler Design

University

20 Qs

MySQL

MySQL

University

24 Qs

DBMS LAB

DBMS LAB

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

UPDATE

DML

ROLLBACK

TCL

ALTER

DDL

REVOKE

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

from

users

select

password

username

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?