dev-resources.site
for different kinds of informations.
The difference between the (DDL AND DML) DATABASE
Published at
12/30/2024
Categories
database
sql
oracle
Author
omar_ab
Author
7 person written this
omar_ab
open
DDL(Data Definition Language) and DML(Data Manipulation Language) are two important subsets of SQL (Structured Query Language), each serving different purposes in database management.
- DDL
- CREATE: To create new tables or databases.
CREATE TABLE Employees (
ID INT PRIMARY KEY,
Name VARCHAR(100),
Position VARCHAR(50)
);
- ALTER: To modify existing database structures (e.g., adding or dropping columns).
ALTER TABLE table_name
ADD column_name data_type;
- DROP: To delete tables or databases.
DROP TABLE table_name;
DML
- SELECT: To query and retrieve data.
SELECT column1, column2, ...
FROM table_name;
- INSERT: To add new records to a table.
INSERT INTO table_name (column1, column2, ...)
VALUES (value1, value2, ...);
- UPDATE: To modify existing records.
UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;
- DELETE: To remove records from a table.
DELETE FROM table_name
WHERE condition;
oracle Article's
30 articles in total
SQL Performance Tuning: Best Practices for Faster Queries
read article
Oracle Cloud’s 25A Release Is Coming: Are You Prepared?
read article
Oracle Cloud Quarterly Updates: Key Highlights
read article
Why Should Companies Consider Oracle Cloud Integration
read article
Identifying and Resolving Blocking Sessions in Oracle Database
read article
5 Things to Know Regarding Oracle 24B Release
read article
Things To Consider for Oracle Redwood Migration
read article
Key Strategies for Workday Oracle Integration
read article
A Top HR Service Company Replaces its System Seamlessly with BladePipe
read article
How to Simplify Oracle Databases with a GUI Tool
read article
Mastering SQL Joins - Inner, Outer, Cross, and Self-Joins with Examples
read article
Oracle 24D Release Notes: Key Insights and Upcoming Features
read article
The Oracle 24D Release: Reasons for the Growing Excitement
read article
Understanding Oracle Quarterly Updates and Their Impact
read article
5 Benefits of Oracle Cloud Quarterly Updates
read article
Reasons Behind the Increasing Popularity of Oracle Cloud Quarterly Updates
read article
Top 5 Benefits of Oracle Cloud Integration Testing
read article
Things To Know About Oracle Redwood Testing
read article
Why Urgent Action is Needed to Ensure Redwood Readiness on Oracle HCM
read article
The difference between the (DDL AND DML) DATABASE
currently reading
Exploring Oracle 24D: A Deep Dive into Release Notes
read article
Oracle 24D: The Autonomous Database Revolution
read article
Mistakes to Avoid While Going for Oracle Quarterly Updates
read article
5 Mistakes to Avoid While Going for Oracle WMS Testing
read article
Things to be Considered Regarding Oracle Cloud Integration
read article
Oracle Redwood Migration Challenges: Your Complete Guide
read article
5 Incredible Benefits of Oracle OTM Testing
read article
Oracle cloud EC2- Website not opening issue
read article
Oracle Cloud Integration Testing: Key Insights and Process
read article
Oracle Redwood Migration: A Comprehensive Guide
read article
Featured ones: