SQL(Structured Query Language) Concepts:
Catagories of Sql Statements :
1. DDL(Data Definition Language)
2. DML(Data Manipulation Language)
3. DCL(Data Control Language)
4. TCL(Transaction Control Language)
DDL
In Data Definition Language (DDL), we have three different SQL statements.
- CREATE : create the new table.
Eg., Create Table Student (Rank Int,StudentName varchar(50),Mark Float)
ALTER : Alter statement can add a column, modify a column, drop a column, rename a column or rename a table.
- Eg., ALTER TABLE Customers ADD Email varchar(255); ALTER TABLE Customers MODIFY Address char(100); ALTER TABLE Customers DROP COLUMN Email; ALTER TABLE Customer RENAME COLUMN Address TO Addr;
https://s3.console.aws.amazon.com/s3/object/optum-classes?region=us-east-2&prefix=jenkins/VIRTUAL-JenKins+CICD+Pipeline+1+-+March+16%2C+2021+5_30PM-+8_00PM+IST-20210316_173640-Meeting+Recording.mp4
ReplyDelete