8.3 Data Definition Language and DML Cambridge iAS 9618

8.3 Data Definition Language and DML Cambridge iAS 9618

11th Grade

20 Qs

quiz-placeholder

Similar activities

SQL Commands Part 1

SQL Commands Part 1

11th - 12th Grade

20 Qs

Basis Data

Basis Data

11th Grade

20 Qs

Relational Data Model & SQL

Relational Data Model & SQL

11th Grade

20 Qs

SQL Revision for Year 12

SQL Revision for Year 12

11th - 12th Grade

20 Qs

SQL Querying Relational Data Statements

SQL Querying Relational Data Statements

11th Grade

20 Qs

m2-bbdd

m2-bbdd

KG - University

19 Qs

Big Data and Data Management Quiz

Big Data and Data Management Quiz

11th Grade - University

15 Qs

CLASS XI - MYSQL QUIZ

CLASS XI - MYSQL QUIZ

11th - 12th Grade

20 Qs

8.3 Data Definition Language and DML Cambridge iAS 9618

8.3 Data Definition Language and DML Cambridge iAS 9618

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Stephen Ling-Winston

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of Data Definition Language (DDL)?

To define and modify the structure of a database.

To insert and delete data from tables.

To perform mathematical operations on data.

To execute procedural logic within a database.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a DDL command?

INSERT

CREATE

ALTER

DROP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of Data Manipulation Language (DML)?

To query and modify data in a database.

To define database structure.

To delete database tables permanently.

To create user authentication rules.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to create a new database?

CREATE DATABASE mydb;

NEW DATABASE mydb;

ADD DATABASE mydb;

MAKE DATABASE mydb;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a new table in SQL?

CREATE TABLE

INSERT TABLE

ADD TABLE

MODIFY TABLE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is best suited for storing a value of either TRUE or FALSE?

BOOLEAN

VARCHAR

INTEGER

REAL

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ALTER TABLE statement do?

Modifies the structure of an existing table.

Deletes an existing table.

Inserts a new row into a table.

Selects specific records from a table.

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?