You are on page 1of 20

m HRdebt

thoa
The0 mit be Seml Commn atti
|Cress Bsduct lort ktementlomdliti

N¬han addes 2 Delli: (Simhle)


Ram Dolhi
|Vabunehd
3 Raih D; HA1

un a dahasctment.
Select ehame toene , dekt stee
EmpenzDat. ENG
Selet e hame em cmp Natoraljein
Dekt
cemon attibute wcth eame ame.
Basicaly nattal en Wet Same ay
Cartesien fooduct bt cenicdet Bly
Same talue
+Cemmen" attnbtes come
hgt
Dat.- Nam eNo.
eNeE ddu
Ram Doi D HR
RamOolLi D
Ram bell
OelOz
Vatnfcho D HR
Vasum chd
D3
3 Ravi chd HR 1
3 Raichd
3 Raitht b
HR

TRam D1
HR
2 ehd

t ommtatise m hatee
#kay doad to,data Joss
dos t ati butes
do te math owe

ATB
Riglt ute toini- It gqibey the mati
slich
Salt table buet ot in laft tabl.
’ stkettemmpns,eame., d. hame, loc)
hemem uglctoter jon d þt
nectwal
NO

3 D3
entnshame|
VasentEa D

LOTURoT=
Nete Dutesr
Ful suter Toin
gon is wed when wp.

ase mt tul un othe Jelatio.


hi first t Jalocicns
beth
keft outer Join- ies the mathhing
table bet not n yáztt table.

VotTrDa
EaAmit D Ro TDadL
D DefraRun
EylNitin
’ select emne,ehame gdnam

terJon > , eempdabtngi


oblam th
zdyhtdta
us ony these vale thatapkeanatuliy
both laion
tnaable
will manage to jaceh
btif Lome data us egliyin tasuy
Ry
ALB B [A RB RE'C RM Ry
A B1
3

ABC
RA R
AB
X
s
S
teon
kay
poste
Rol6
S)S student
id nd
student
Sid
ljbin netielgon
Loan Brneh foem
aset, Chan Slent
tae oDoo usluch hame wth banch em
custom fnd 34
Branchhatafsin. hoan em
me
an, &lect
ind
bobotog Baanch'N
soon natal D see
Account Yaom
C_haml Salect
banch. accout
in
banhig
Soema
; and
ditt. Addsus
= emp.
Eham Sleat
adduss? their asSaml
depattmem a Un
Emh the ind Csy>
colo name
D2Pen2 hd Rawi 3
chd Van
1
FK
=(Eual
Si
S2
S2
S
studt. Selees
asT2. study
Tmes teinis an feratien uslic
ets Same a Casteian Broou
wed alone.
but wsed w
Faovidles additional dunction
(using it
-itt
’ aoidesability te, ohlieitly chooe
Calems wich Bst be uo &
Jadndant teibles
thee asee mee than,n tubl
Cehmen beteen tuo tables but
Wse dent want ach aHaem to, be
Censidel, then, we
Constdeo.
slich
ase te be
RCA, B, ) RalB, e, )
JA BC AB
3P XZ
Salet A Castesiau

D=l0; usng(8)
wle n natwalnoly oue tuy

Xy
TSn usith on>
allouse,
eeral oodicate owe the ealatioy
genesal
Being foineol.
’This

we mwst
Shaity axttibtes to be nmatel.
shes CaM a o be wottten wihten
e'Condtion Cam enes any Sq
oredicate
’ t moses
outer fon(en' Comndt
srte a
Gusy Customet sg2 Gay to nd a
amout<lo?
Slet chame
In Ngt 0n Neste wy oy 140, 2: 3,9, S)
(lo
dadetail. tmp whoe adrers
1 arther dellie chd'or Rune

1 Rawichd
3 itm A

hmychd
Quy 3 nd the
naml
oect.
&let nam sm distinit

Agugete fun
1

SUm) Amsut mkt Rasso


3
RausiHR Boso
y Nitm MhHe
’ Sulet min SqooD
Senggo
©mpl
Solect
oyee aualladls
(Total h.() toom emalaye (Emylaye
Selet
Cout (salaty) from
valu)
Slect Sum (ialasy )from Gnhloyte
1, 4qpDo

’|,lo, UDO
Sleet g (salay) tom emeley

Select distnet Coutala)


Ketinet (hglsale)=tnct Qunlala'y)
Jsic ountEnlay
Suy ente a SoL
Cmploye hame sg ús aking max
ee
6500

Gu orte a ito dishlay &usnol


ight
max
Salay toem saClae toble
equal to)
2o000
wety
a sh
MKI2
2
te
all quoy ooite
a Suy the
HR
emdlayeu foem Cousdt
) dat; Select G
Mt (nethode)
HR daptt
HR (nethod)
HR
display
ll Quuuy
to
(equal
yu), irom (alay) mas Qoleet
Qutto SgL Crmployee
a
te uy
A

Sul te a aueny do oishloy highet


Salasg dafpt uise &name
that salayi
HR3o,(sO
tuglatt
IT

lo, ovD -

30, Nitin
Van
Rename ehiatieni
s&L aliasu asu used to gise talo
r column se a table a tempe tempeaig name.
Alas oly 'eists or the dtatie
e the
wses as elause Can abplas soth
Sleat tom claue
ten used oot o emmoe teadabl
mallr.
miamg hll
a table
Ne temp. namu

aAuthi
neyt co ynthe
byt dont chang
databe.
Rafor Banking
Swyfind
Sehema
account, no- balan
intest i bal< oo
(2) fnd cutomei. hml
on, amunti
bnee
fnd
T Selot Aee ne'y(balamet|-o8)as ombal
fom Ac
ushee bala
han, Berorose
shese LoanLeannBoroouse.L e
Select Acc no,Bmame B-ity
fem recent baameh as B
shee Accout. B_name Bameh- bhame
(othact ameit
wng azpegete fus).
na Selet A.
20

amt
Lhee Aament< B.amgt)
sting ekeatbon
Potten matching Con be hofommel
jobatamateh am Substoiy
PeehtC/.
undLerel)-ca matches w
Kwmat°fo ) Pati
daoith'a8 stascts uat abo URE Wam custutse
uthameURE shse
osti scondowe'rin LY%tt
positie
%aLIKE name ust bue
tha enoy
M
Nte
utyzNoida b
Bonch rem
B_ham Seleet
inNetda n
Csituated Find
ich toneh
dfunt
yJists by claue
d Sdeby
tloesn
vp. Cose, Js
tonntatat tsted
(xists /Nt Chists
pirejcet
Eid
cho tus a
3 Nityn Pune Vaslen d
RObin

Cutomet
Cuustoadt
nem No. hrdayty Countoy

Gnd out the, Customs tht au


Selet A-customnaml as Cuttonnamel,
C Bcustom hame as customut naml2,A
hom oCustens A, cutemy B
she Acity= B-at
A custid <>B-cutd
Tyhes
0clustered
(dems ted)
Main file seated

smties
access eqied

PR B
BP 2
B
|21

B3

Main fili
duteong.
Moig
(On sone nen Key atibute )
etoy folach
thee will be Gne
the attibte.
fle Man
Seond
Cotoneyctu
2
27
S-KB P
SK
Socties
Jn
demse Wses
doe. absody Scenda >calliol,
becque
attibute.
well s Rog
unsoted. done
on be
sMan
Canf
tyasnen
bol
3
2
3 2
3
3
2
(Viotual table)
database) dpto -vieul

und uhdatng a)Ue20


Oreate wiet
wadtor vics

Select colnamnes
Yoom table_name

cuate ietlo
To e
Ceate View

ushesce debtid=jo:
[Lajehable
sbieet
qusytheugl a ies dsesmt
a

dat,Soml datta
ata pem
ta klos AVie,t can COmbne
table, u jons
a b o t Cotçn
we Can Ceate a Meu by slechi
the db-A

Viet ieto
Bloko PL-S
L
imi nhaml
g tase &n
[Rejlaeeroi9p Creat
oreToge
Sutay
e student
AloontalAaveores
DML
evets alloing
tten
n beCan
Cendmtohes
Stee Abe
autematically
uaa
gine eracle nvskool
by bAe
20) Tigou? PL-SaL
IS
Ldidanion &chen]
Begin
[Nceetion]
EndlBocedioe_mam:
aisesa Ce ne, empemtno /Tyhe)
IS

Sal Saltloo
sct
Sa
Enol call L-SSL neute eteel
tHou tontmlus Rlct enecte aiseSal
to
Loite
Boqin 0NoUT

Drop fooccdue oaísc-Sal:

You might also like