Search Header Logo

SQL Commands Quiz

Authored by SATRIA DUTA PRAJA

Information Technology (IT)

University

Used 1+ times

SQL Commands Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The SQL command to delete a table is ..

ALTER

DELETE

CREATE

DROP

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command to change the structure of a table is ...

ALTER

DELETE

CREATE

DROP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Below are command that do not include DDL commands ...

ALTER

DELETE

CREATE

DROP

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command for manipulating data in the database is ...

DCL

DML

SQL

DDL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command to define the database structure is ...

DCL

DML

SQL

DDL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The TRUNCATE command is used to ...

create a table

delete some records from a table

remove all rows from a table

delete fields from a table

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following is a SQL command to change the data type from EmployeeName column to varchar2 (30) ...

UPDATE Table Employees SET EmployeeName varchar2(30);

ALTER TABLE Employees UPDATE EmployeeName varchar2(30);

ALTER TABLE Employees MODIFY EmployeeName varchar2(30);

MODIFY Table Employees SET EmployeeName varchar2(30);

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?