Data Definition Language (DDL)

Data Definition Language (DDL)

1st - 2nd Grade

10 Qs

quiz-placeholder

Similar activities

Banco de dados - SQL

Banco de dados - SQL

1st Grade

10 Qs

Database Fundamentals

Database Fundamentals

KG - University

10 Qs

Organizing and Entering Data in Excel

Organizing and Entering Data in Excel

2nd - 3rd Grade

10 Qs

Examining Cell References and Data Types

Examining Cell References and Data Types

2nd - 3rd Grade

10 Qs

Q-DW02 Teradata Kuis

Q-DW02 Teradata Kuis

1st - 5th Grade

10 Qs

ICT Yr 2 - Insert Table in MS Word

ICT Yr 2 - Insert Table in MS Word

2nd Grade

10 Qs

Tipe Data dalam Basisdata

Tipe Data dalam Basisdata

1st - 12th Grade

15 Qs

SQL Programming

SQL Programming

1st - 3rd Grade

15 Qs

Data Definition Language (DDL)

Data Definition Language (DDL)

Assessment

Quiz

Computers

1st - 2nd Grade

Hard

Created by

bee lim

Used 39+ times

FREE Resource

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

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?