
DDL QZ
Presentation
•
Instructional Technology
•
10th Grade
•
Practice Problem
•
Hard
Valsa Gerard
FREE Resource
23 Slides • 0 Questions
1
2
➢Listen to instructions carefully.
➢Stay focused always.
➢Seek for assistance whenever required.
➢Notify the teacher by raising your hand when you are in need.
➢Keep quite and listen carefully when your class mate is talking.
➢Every member must contribute actively to the discussions.
➢All students must be polite and courteous.
➢ Do not talk when you are not asked to do so.
➢Take responsibility of your learning.
Ways of Working
3
The
Imagination
Challenge
:
"Imagine
you
are
assigned
with
designing
a
database
for
a
Employee
Database
for
a
company
.
Discuss
and
justify
the
design
decisions
you
would
make,
including
the
choice
of
tables,
attributes,
and
relationships,
to
ensure
efficient
data”
.
4
EMPID
NAME
SALARY
DESIGNATION
DEPARTMENT
101
NIHAL
8500
HR MANAGER
ADMIN
102
ARJUN
7500
ACCOUNTANT
ACCOUNTS
103
SAYED
10000
IT MANAGER
IT
104
CHRIS
4500
SALES MAN
SALES
The Imagination Challenge
5
What
would
you
do
if
you
need
to
add/Edit/delete additional columns in the
existing database?
Learning Outcome:
•
Apply DDL commands specifically Create, Alter, and Drop in database
tables.
•
Analyze the data in the database using Data Manipulation Language
(DML) commands.
6
Learning Outcome:
At
the
end of
this
lesson students
will
be
able
to:
•
Apply DDL commands specifically Create, Alter, and Drop
in database tables.
• Analyze the data in the database using Data
Manipulation Language (DML) commands.
7
•
The DDL language is used to change the structure of
the database
•
DDL commands affect the whole table of the database.
•
DDL has basically defined the column(attributes) of
the table.
•
Eg. CREATE, ALTER, DROP
Learning Outcome:
•
Apply DDL commands specifically Create, Alter, and Drop in database tables.
•
Analyze the data in the database using Data Manipulation Language (DML)
commands
8
•
DML is used to delete, update and update data
in the database.
•
DML commands affect the one or two rows of the table.
•
This language is used to manage the data in the
database.
•
Eg. SELECT, INSERT, UPDATE, DELETE
Learning Outcome:
•
Apply DDL commands specifically Create, Alter, and Drop in database
tables.
•
Analyze the data in the database using Data Manipulation Language
(DML) commands
9
DDL
•
CREATE
•
ALTER
•
DROP
DML
•
SELECT
•
INSERT
•
UPDATE
•
DELETE
DDL and DML commands
Learning Outcome:
•
Apply DDL commands specifically Create, Alter, and Drop in database
tables.
•
Analyze the data in the database using Data Manipulation Language
(DML) commands.
10
11
ALTER TABLE Customers
ADD Email varchar(25);
ALTER
Alters command allows you to alter the structure of the
database.
Syntax: ALTER TABLE table_name
ADD column_name datatype;
Example
Learning Outcome:
•
Apply DDL commands specifically Create, Alter, and Drop in database
tables.
•
Analyze the data in the database using Data Manipulation Language
(DML) commands.
12
ALTER TABLE Customers
DROP COLUMN Email;
To delete a column in a table, use the following syntax (notice that some
database systems don't allow deleting a column):
ALTER TABLE table_name
DROP COLUMN column_name;
Learning Outcome:
•
Apply DDL commands specifically Create, Alter, and Drop in database
tables.
•
Analyze the data in the database using Data Manipulation Language
(DML) commands.
13
EMPID
NAME
SALARY
DESIGNATION
DEPARTMENT
101
NIHAL
8500
HR MANAGER
ADMIN
102
ARJUN
7500
ACCOUNTANT
ACCOUNTS
103
SAYED
10000
IT MANAGER
IT
104
CHRIS
4500
SALES MAN
SALES
14
Flexi Tasks
TASK2
Create a Table Employee and
insert
values
into
the
table
Employee.
• Display all the records from
the table employee.
• Display all the records from
the table Employee whose
salary is <6000.
• Drop the column Department
Extended Task:
Add a new column email to
the table Employee.
• Create a Table Employee
and insert values into the
tale employee.
• Increase the salary of
CHRIS by 5000.
• Add a new column email
to the table Employee.
• Drop the column
department from the
table employee.
Extended Task
Alter TABLE employee with
Email id and Mob Number.
• Create a Table Employee
and insert values into the
table Employee.
• Display all the employees
name from the table
Employee where
designation is “HR
MANAGER” and SALARY
>7000.
• Alter TABLE employee with
Email id and Mob Number.
Extended Task : Drop the
column Department and
check the status of the
database table.
15
16
17
18
19
Mistake Investigation
1. ALTER TABLE Employee
ADD Email (25):
4. DROP TABLE Employee
:
5. Update Employee
set Designation = “Programmer”
where empid = 103;
2. ALTER TABLE Customers
DROP COLUMN Email;
20
1. SELECT * FROM Employee;
ORDER BY salary;
2. ALTER TABLE Employee
PoBoxNum varchar(55)
3. DROP
employee;
21
Q1. The __________ language is used to change the
structure of the database.
Ans. DDL
Q2. _______
command allows you to alter the structure
of the database.
Ans. Alter
Q3.
Update is an example of ____ command
Ans. DML
22
23
Consider the following critical thinking question related to the SQL ALTER command:
"You have inherited a legacy database with a table that contains a large amount of data
and is frequently accessed by multiple applications. One of the columns in the table
needs to be renamed to reflect a new business requirement. How would you approach
using the SQL ALTER command to rename the column while minimizing downtime and
ensuring data integrity? What potential challenges or risks might you encounter, and
how would you mitigate them? Additionally, how would you handle the impact on
dependent objects, such as views, stored procedures, or application code, that
reference the renamed column?"
To develop the ability to apply Data Definition Language (DDL) commands, specifically Create, Alter,
and Drop, in order to manipulate database tables effectively.
Show answer
Auto Play
Slide 1 / 23
SLIDE
Similar Resources on Wayground
20 questions
Quadratic Functions
Presentation
•
9th Grade
20 questions
The Structure of An Atom
Presentation
•
11th Grade
19 questions
Heat of Formation
Presentation
•
10th Grade
17 questions
Law of Conservation of Mass
Presentation
•
10th Grade
20 questions
In On At
Presentation
•
10th Grade
20 questions
Profesi dan Kewirausahaan di Bidang TJKT
Presentation
•
10th Grade
17 questions
Nutrition - Food Groups
Presentation
•
9th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Instructional Technology
26 questions
SLIME!!!!!
Quiz
•
KG - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
10 questions
Exploring Chemical and Physical Changes
Interactive video
•
6th - 10th Grade
20 questions
Cell Transport
Quiz
•
9th - 12th Grade
10 questions
Exploring the Basics of Exponents
Interactive video
•
6th - 10th Grade
20 questions
Budgeting
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade
20 questions
Preterite vs. Imperfect
Quiz
•
10th Grade