DDL DML
DDL DML
use CompanyDB
sp_help Employee
sp_helpdb CompanyDB
--alter
--1.Add new column
alter table employee add City varchar(20)
sp_help employee
--rename table
sp_rename 'old_table','New_table_name'
--drop table
drop table table_name
--truncate table
truncate table table_name
--delete records
--grant
--revoke
--Relational operators
use master
select * from Employee where mSalary>10000
--Aggregate functions
--group by
--having clause
--top