SQL Queries

SQL Queries

University

10 Qs

quiz-placeholder

Similar activities

QUIZ 3 - DFC2083

QUIZ 3 - DFC2083

University

15 Qs

SBD_01

SBD_01

University

8 Qs

[Test Run - Quiz] SAFE SQL Workshop: Communicate with Database

[Test Run - Quiz] SAFE SQL Workshop: Communicate with Database

University

10 Qs

Database Query

Database Query

University

10 Qs

SQL - Relational Database and tables

SQL - Relational Database and tables

University

12 Qs

DDL

DDL

University

15 Qs

DBMS-Quiz1

DBMS-Quiz1

University

15 Qs

SYS 1591

SYS 1591

University

10 Qs

SQL Queries

SQL Queries

Assessment

Quiz

Computers

University

Hard

Created by

Vasuki R

Used 421+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The language used application programs to request data from the DBMS is referred to as __________

DDL

DML

Query Language

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Match SQL language with SQL commands

1)DDL i)Revok, Grant

2)DML ii)rename a table

3)TCL iii)insert, update

4)DCL iv)rollback , commit

1-iii,2-i,3-ii,4-iv

1-iii,2-ii,3-iv,4-i

1-ii,2-iii,3-iv,4-i

1-i,2-iii,3-ii,4-iv

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a type of SQL statement?

Data Manipulation Language (DML)

Data Definition Language (DDL)

Data Control Language (DCL)

Data Communication Language (DCL)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In existing table, ALTER TABLE statement is used to

Add columns

Add constraints

Delete columns

Delete constrains

All the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL Query to delete all rows in a table without deleting the table (structure, attributes, and indexes)

DELETE FROM table_name;

DELETE TABLE table_name;

DROP TABLE table_name;

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Correct syntax query syntax to drop a column from a table is

DELETE COLUMN column_name;

DROP COLUMN column_name;

ALTER TABLE table_name DROP COLUMN column_name;

None is correct.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL has how many main commands for DDL:

1

2

3

4

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?