Video Timeline
0:00 Intro
1:31 Create database in MySQL
2:10 Set database as default using USE in MySQL
2:22 Create table in MySQL
3:07 Insert data into table in MySQL
3:40 Alter table and add a new column in MySQL
4:36 Drop a column from a table in MySQL
5:06 Rename a column using CHANGE in MySQL
5:41 Rename table in MySQL
6:01 Truncate a table in MySQL
6:17 Drop table in MySQL
6:33 Drop database in MySQL
🔗 Helpful Links
How to Install MySQL Server and Workbench:
• Install MySQL Server and Workbench on Wind...
SQL Code Used in This Video:
https://drive.google.com/file/d/1YR_v...
In this video, you’ll learn how to create, modify, and remove SQL objects using the most important DDL commands. Whether you use MySQL Workbench, SQL Server, or any SQL platform, these concepts apply everywhere.
🔑 What You’ll Learn
• Create a database 🗄️
• Create tables with columns 📋
• Insert rows of data ➕
• Add new columns to existing tables 🧩
• Remove columns ❌
• Rename columns and tables ✏️
• Truncate a table while keeping its structure 🧹
• Delete tables and databases 🗑️
🛠️ Commands Covered
• CREATE DATABASE IF NOT EXISTS
• USE database_name
• CREATE TABLE IF NOT EXISTS
• INSERT INTO
• ALTER TABLE ADD COLUMN
• ALTER TABLE DROP COLUMN
• ALTER TABLE CHANGE COLUMN
• RENAME TABLE
• TRUNCATE TABLE
• DROP TABLE
• DROP DATABASE
By the end of this tutorial, you’ll understand how to use SQL DDL to confidently define and manage your database structures. These are the core skills every SQL learner needs before moving on to queries, joins, and more advanced topics. 📚✨