Search Header Logo

Quiz 2 ADS

Authored by Sarah Escote

Computers

University

Used 3+ times

Quiz 2 ADS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is a specific request for data manipulation issued by the end-user or the application to the DBMS.

Constrint

Query

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SQL can perform various types of data manipulation only.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax for creating a table?

CREATE TABLE table_name (column1 datatype, …);

CREATE TABLE table_name (datatype column1 datatype, …);

CREATE table_name (datatype column1 datatype, …);

CREATE table_name (datatype column1);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to delete table's data, what is the proper syntax?

TRUNCATE table_name;

TRUNCATE table table_name;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax to add column to an existing table?

ALTER TABLE table_name ADD COLUMN column_name datatype;

ALTER TABLE ADD COLUMN column_name datatype;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax to drop column to an existing table?

ALTER TABLE Students DROP COLUMN Section;

ALTER TABLE Students DROP Section;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax for adding a UNIQUE constraint on an existing table?

ALTER TABLE table_name ADD UNIQUE (column);

ALTER TABLE ADD UNIQUE (column);

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?