Quiz 2 ADS

Quiz 2 ADS

University

10 Qs

quiz-placeholder

Similar activities

QUIZ 3 - DFC2083

QUIZ 3 - DFC2083

University

15 Qs

introduction to sql

introduction to sql

University

10 Qs

Taller SQL

Taller SQL

University

10 Qs

DDL SQL

DDL SQL

University

7 Qs

DDL

DDL

University

15 Qs

SYS 1591

SYS 1591

University

10 Qs

UTS Basis Data II - ITM

UTS Basis Data II - ITM

University

15 Qs

DBMS Ex 1

DBMS Ex 1

University

15 Qs

Quiz 2 ADS

Quiz 2 ADS

Assessment

Quiz

Computers

University

Medium

Created by

Sarah Escote

Used 3+ times

FREE Resource

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);

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?