Search Header Logo

Data Definition Language (DDL)

Authored by bee lim

Computers

1st - 2nd Grade

Used 39+ times

Data Definition Language (DDL)
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 SELECT QUESTION

30 sec • 1 pt

Which of the following are TRUE about Data Definition Language (DDL)? You may choose MORE THAN ONE answer.

Allow user to describe and name the entities, attributes, and relationships required for the application

support the basic data manipulation operations on the data held in the database

deletion of data

define/modify schema

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is False about "Create table"?

used to specify a new relation by giving it a name

declare each attribute by given a name and data type

used to insert data in a new relation

declare attribute constraints

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Fill in the blanks in the coding below:


CREATE TABLE PRODUCT

(Product_ID VARCHAR(10) NOT NULL UNIQUE,

Product_Name VARCHAR(200),

Unit_Price Numeric(8,2),

PRIMARY KEY________________

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are the functions of "Alter table"? You may choose MORE THAN ONE answer.

adds a column

changes column characteristics

modify data

deletes a column

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is FALSE about "Alter table"?

Used to change table structure

Used to add table constraints

Used to remove table constraints

Used to delete table

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Fill in the blank in command below If you want to increase the width of a column named "Salary" to store the data up to billion:


ALTER TABLE STAFF

__________(Salary Numeric(11,2));

7.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Fill in the blank in command below :


CREATE TABLE STUDENT

(STUDENT_ID VARCHAR(10) __________________,

STUDENT_NAME VARCHAR(100),

PRIMARY KEY(STUDENT_ID));

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?