Quiz 2 ADS

Quiz 2 ADS

University

10 Qs

quiz-placeholder

Similar activities

RDBMS

RDBMS

University

15 Qs

Database Exam: 3 - Manipulating Data

Database Exam: 3 - Manipulating Data

University

15 Qs

SQL MCQ

SQL MCQ

University

9 Qs

DDL SQL

DDL SQL

University

10 Qs

SQL - Relational Database and tables

SQL - Relational Database and tables

University

12 Qs

SQL Queries

SQL Queries

University

10 Qs

Database Query

Database Query

University

10 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?