Ntrduction: Data Base Ba Lollectio - Odata Ktored I A Forma
Ntrduction: Data Base Ba Lollectio - Odata Ktored I A Forma
S9L
ntrduction
wht i database?
data base ba lollectio _odata ktored i a forma
hat Ca be easdy be eccesked, Iookz tomanage
Ou databre we use the _Aoftrbiu applicalior Lalles
databax manage ment SyklemDaMs)_
We pnncet to aDSMS Agee iastauclians por qurgang-
o1 edipina alate Tho DBMS _L Cxe e instuelau
Q0e by And wil providlu _a Juut brek
#learnthesmarterway
Date://-
#learnthesmarterway
Date:_//-
Creatin4 a ddabase
we heve Loadel te Quuy_o ceete adeta
yello hundn button to e raede lhe aueis
We selhd a artiulas line o quy Thiu
Yollors hundu buka wil execukthck parkiula
Qy andbae hat selebed a Line
alDte whole t quuiu.
NoL on he SChemas whih ë On the E
nadgauon plane Ne n ke not b akle to
mne daishase er that we haue to
Ires the Schemaso ble to Aee als h
me ato basc_leats_
#learnthesmarterway
Date://
1o Aec q_pakliola
lo_Lee talele hoved Ha mous on th
alole nam and he on tha uglt mest you
hJ e_atablh wt ndu on it lhkig
O &you Can hea tu date of 1hs take
Cusfomeys
2eOredalans
Orehs
40sdenstatuses
SPodue
6 Sppe
Whin we_oplm fa.be uutome
l kae_pelds namel
No
ustamer-id
fast- name
3las na ne
4bük_date
Dhone
6 aolosegs
8
9 . Ponss
S Comwod
Shead data
#learnthesmarterw3y
Date:/L/_
Sytax
SeLeCTColumn Calumn-2, Column -n_
i s ed at th ened o th CuehaSyho
xact a wkcand whieh uAt
Cxctyatt al k l d a arDcakor
tot
aa
ke Can Uc As to ferae a Colum
Cam use arthmemc 0perion in geletCalu
#learnthesmarterway
Date://
Sled
teAnana
wer Condu
Snta
Celet
tomelole -m
Osclor bs (olumn
No1
SELET Column- Lolumn-2, olum-
mTll-name
Nhere NoTConoition oJAND Orolitisr
INand NoT N
TA and NOT IN au used uhen tuo or more o
Condilion a a ued
Syntaa
SELLCTT Column-l,
Lolumn-2. Colu mnn
om 1ahle na me
hhere olumn-nae l UCCndiI,Cordliae
Condlenen)j
BETWWEEN
T+ i ued khes two oy Moe ANS (andiios
Aed
Snda
SELeCT Column-L Ldumn 2 lelumn-n
taoTaele -name
wlkurc olumn -ne RETEN(Cndibs-1\AND ((Ordili
#learnthesmarterw3y
Date://
2LKe Operator
Like operat c Med to it ecord_Wich
Atatik, Uu tondilianof Spctel patlen_in a lolumn
Sytanc
SELLCT *
om 1abl mame
Where Column-No iKE Condhi ")
Synta
SeleeR
m 4alse-name
hua Column-No .ReGEXPCondits)
#iearntnesmarterviay
Date://-
SeLCT*
om k e n a m e
LINIT Number
#learnthesmarterway
Date:_//-
Syta
SELECT
lable- (olumnNomcis)oble Coluan Namel)
fYom table.
ToIN
table -2 On tableI Column -namd-labl2 lolumna
Sekd*
dtatals ome ies
Jo daahax_ ma fale _nas
ON taele_nans r oluma.l talele-nae , oln
#learnthesmarterway
Date://-
Sunta
SELECT*
toom Tagle-rame
Som a ble-nan
On Co ndiian
Jo in able- name
On Condilan
tan
SELECT*
rOm Table_va mne Al4s
Join Tabe-na me
On ToditovlAnd endilun 2
Outer Jo
SELeCT
(olumn-n@ me&|
tmmTapotl
LEFT 0tN
0n Condulon
LEF oIN
On londlon-)
NOTE Nev OSe Let oi ighd orinre or
A °d ma e rSlaze our Quy
#learnthesmarterway
Date:/-/.
Selet
Colu mn-hameCSL
+om Ea-blesecg Taþle-m me
LEETom
On Lonalio
Operdor
h he (olumn-ome a exda SL2
Cntha two febles ohich ne Cosego TD
yaSelaat
LOlumnamel&
trOm_Take -na me
on 1akle-nAe
OSiC B|u mn_nA
LEP ToIN Table_na
UCn Columaname)
Surdaeet1 SeLECT
m tolel
Toble 2
Natural So
#learnthesmarterway
Date:/_/_
Sunie
SELECT CCumn-namels)fron table
Unton
SELECTColumn-ume(s) From tablu2
#learnthesmarterway
Date://.
Sycto
NSERT INTO Tabu-ame (olumh-nameco)
VALUES
#learnthesmarterway
Date:/-/
Sun«
UPdab ae-nama
SeA Columns.na mek) 2
Were Column-rame&) IN
Suu
Deletg Row USed to delet roeon
eae.
Sytau
Dele tm tahle -nomws
WheL Column. nq wl Subq u
#learnthesmarterway
Date://-
Tohn 017
ob 219 20D.o
#learnthesmarterway
Date:/-/
htHion By
#learnthesmarterway
T Date//-
#learnthesmarterway
Date://
famebetween
Betwem ehoundasy ane bound=
* f r n e-Skt
Onhaumolad ollaoma the aome_erds at he
Curent Juow
*finst_Valne
|LAG
Last Valuu
|Lead
h-\yalue
NTILE
Percend kank
Kank
pw-Number:
#learnthesmarterway