Download presentation
Presentation is loading. Please wait.
1
Workbench Data Definition Language (DDL)
Data Management Workbench Data Definition Language (DDL)
2
Data Definition Language (DDL)
CREATE ALTER DROP
3
CREATE Statement
4
INSERT INTO Read: ‘1’ Compare and discuss CREATE Statement in previous page
5
INSERT INTO Read: ‘ ’ Compare and discuss CREATE Statement in previous page
6
ALTER Statement Add new column
7
ALTER Statement Add new column
8
ALTER Statement
9
ALTER Statement
10
ALTER Statement
11
ALTER Statement
12
2. ALTER Statement 1. After run SQL major_id for new record = 1
13
ALTER Statement 2. 1. After run SQL major_id for new record = ?
14
DROP Statement The DROP TABLE statement is used to delete a table.
15
The DROP DATABASE statement is used to delete a database.
16
The TRUNCATE TABLE Statement
If we only want to delete the data inside the table, and not the table itself? Then, use the TRUNCATE TABLE statement:
17
The TRUNCATE TABLE Statement
1. 2. 3. delete the data inside the table
18
References https://www.youtube.com/watch?v=X_umYKqKaF0
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.