SQL notes Part 1
SQL notes Part 1
DATE
PAGE
RDBMS SOl
DBMS i > (olleclion of inter- related_date ler ed
0ther
Ajanta
DATE
PAGE
* Sal So is a Stauctured
Queny danguage
that enables you to Create
Creete end opaal
RDBMS
fable Dalabase.
a datg 6se i
the datybqsei
show databases
use a datasase
:
hee
D re ale ' To
dhree
Creote
Modily
tqpes
q
dable
dalle
DDL
Cieati
Common
/DD
Abernp
Add
modily
Lenae
dable
Lclang
)
(reale
Pay
DESC Clut
Dala tqpe ':
D Alphate '- Char,vGchar.
fto as,
-2) Numbersi- int,
double.
) Creale 3)date :- date
* others foomboot
Creale lable <dable n ame z
feild!
field
'
Jorning
Pay
DESc Cub
Ajanta
DATE
PAGE
old nome
3) Modity a
To Coluran (chonge daletype or sye)
9 To To deleteldap a (olumn
DTasext Conanaand
SElECT (onwond
Beleet Coach
Coach id,
id Cogchnameolumm$ noms whch
toom club we wan t csplau
Kelation speaators
uSing
Aonte,
DATE
PAGE
2-
.
eg. 2 To
More
display
than
(oachid
yo,6o0
andpay whose Selory is
bom chub
Updote club
SET Spas.nome e 'korote 4
Giherecoach id = l05 )
4) Delete CoMMgnd - used to delelexecovd in a foble
a table
specific