Search Header Logo

Data Definition Language Quiz D2

Authored by Johnrich Caldona Soriano

Other

University

Used 1+ times

Data Definition Language Quiz D2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is DDL?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What is SQL Constraints?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What is Data Types?

Evaluate responses using AI:

OFF

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for CREATE DATABASE?

CREATE DATABASE DatabaseName;

CREATE DATABASE dbSIS;

CREATE DATABASE table_name;

CREATE DATABASE table;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for CREATE TABLE?

CREATE TABLE table_name( Column_name1 datatype(Size) constraints, Column_name2 datatype(Size) constraints, ..... Column_nameN datatype(Size) constraints);

CREATE TABLE table_name;

CREATE TABLE table_name( Column_name1, Column_name2 );

CREATE TABLE table_name( Column_name1 datatype, Column_name2 datatype );

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of ALTER command?

It adds, deletes, or modifies columns in an existing table.

It creates a new table.

It drops a table.

It truncates a table.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for ALTER TABLE - ADD Column?

ALTER TABLE table_name ADD column_name datatype;

ALTER TABLE table_name ADD column_name;

ALTER TABLE table_name ADD column_name datatype constraints;

ALTER TABLE table_name ADD column_name;

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?