[go: up one dir, main page]

0% found this document useful (0 votes)
17 views19 pages

DBMS SQL

The document discusses the fundamentals of Database Management Systems (DBMS), including data organization, relational databases, and data integrity. It covers concepts such as normalization, primary keys, and SQL operations like joins and aggregations. Additionally, it highlights the importance of data security and efficient data management practices.

Uploaded by

Rogue
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views19 pages

DBMS SQL

The document discusses the fundamentals of Database Management Systems (DBMS), including data organization, relational databases, and data integrity. It covers concepts such as normalization, primary keys, and SQL operations like joins and aggregations. Additionally, it highlights the importance of data security and efficient data management practices.

Uploaded by

Rogue
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

DBMS

slata
Joguy
Dalakau ç orgaesed colleeren
daa. that can be ealy aleeud ,wwamaged

(raragny the gaba)


a) ht pdehg and
cuag,
talhnone r stong,
tu dota as in a

(angle pasen may clay)


lld)
Hiearha dalabae
nay
n e h y Cwiay paeh
Tbjet enentel
dale is stoe
ROBMs ’

Lilsay

&areh tos prede


3) Advanayu
" daa scewsty kompliety
acunb.hhy
+ inoroved de
acenblihy
*. faskr dala

aud RDBMA
DeMS
blw Nanagent tyalom
DBM: Oatabau

AOGMS : Relahen dole


anoter.
sulekd

ophnughem?
uudenlaud by quwny
s het do you plemeg

hu dalaba enbautt
mprokeuu
partbenig 1 hal is t e
) whad is data
Pateny? mrallrmaragabl port
doids mo
anag
imorove manlane ,poomave

lpkt col cou)


Vo
relit sDw
dengn ed to esganne
n
is a pgOCAMS ih dolaban
c y that niniies sudundaey aud
dae n a n

depundemey logically sto o


sgsus that dhe data
t iupdte,.
auoid ancmle dueung yoto,
dal uundauy
dabu mo mell
&ivdng BiNE, r ,
INF, aNF . 3NF,

Coma aud a r u each olun


flamnee dupliek
' i n d e ) valuu.
Contas a o e

ha wyu valuur
I-ah Column shl
u.thun
3 No epea greups

lun pastit dependnu


eusiny all

.Rules
hsaye dpnpeud hesu Prney

atubula depend

Kulu not duteell, depie


slas aNF:
Ruoves ateubute ol anre

tu collechen aw
Data ’ ssuld o desueue
that a
dato

oolaan
USers

ban u coll
marag eur dala
appiolon wyed to
A sw
DBMS

datibo
non Aslahenal (n0 Sa)
(ro

dale uot ove


Oata Sixel
’ongo Caabase

’Pothgre saL

to n tra
ts a psogom
a

gulaien daabays
CRUD Bproahor
eal

upedeh
dulek
Databare
Sabl
Tanhcular
dale Ly dek

School daabau

Couyes
Shudunt

and Coumns


uciaalchmaldup)
lou
mdinduel data
CAESNE O9iAB48E db-namu

Dlop OGTAGASE dbrane:

U db-ram

utvchanlso)
dalalyp onhat nom
D not null

Col-rau

):
(oda baw longuasu
J:
) Do [oda dinhn largug
beelk ,alle,9wnauhuncak
emo Hem

Oes
Shrueh
dáta actvtn
achute
coheu all
elaygreuy

a) Oaa smanpulahon Joguasu (om):


nodkcater ao
allows er addhon,
data wlhin dalaban
a8ELETTNsERI a d UpDAre

ala onbol dangmay (( ocL):

) Toarahonet onhd Jarqa_:


sausachen n cleek euse
CL Meup4 solles bocle
tomplkd seestally
hen a
not. madain

othin th databou
SuDE NT
Coure)
Mauhe Oepat
JSroNane

(cclumu)

Tote aboe tabe


|iper
Dept. C o s 3

Cowg3 Manm
want . Oepl , Cotiws
uam,

sidSname Jk
(anditate hey not
Supr ey coho

S, {l,,3)

Subset

Propes b
S Cs,
i a Column (ted q colmn ) a

neell

columnltet coumn) n

tabk trat
melhple
Thai (an be

Conuhsaint
e valu
canno ae
olumn

Cniqe al valuun colun


Col a cniQUE

Qud not n l l

TA8E le

o
Qud
prnay

idortit ach
Psumery ay tabh that i
Column a
Ls a
n dhat a b u . in a

oul) vae
dupitot cud
acuk ay
not
pK dou
m
(ou) wmiguly
an iple

tab.

valuu
accepk ll
Can

sheres i
arept valu
hy(an o) no
»Thu primasy
primayaupty null vo oheses teere

a
SAL
8ELECÍ slalcmon

dala orpm a delabo


"i wel to 9atne wat
olus you
ohil
allows
bhhoe om uohich tabley

Arvo Both the Condihon ould k satihe

valu r thn
a Value ist othn a

londm

alenae

nan
shere oumn
The BEWEE opaor.

OROE
laue
'data

celun
LiKe opealie
Paten in a
speeife
fera
oReh
ued do
wi
charaile
depahntiau d
Mafche a
setee
th
queny to
wsili a
locahon

seleet depotuntamu, loahon

dupouimas
SI.
tom locahen
LiHE
he LIKE
A'

naue
Whe
W h e e v a u e I k E % a n

eng hwe

~a
,tMIn)
uqa unhon CCouat Sum, Avn,tan

peom caldohas
Agggale unchone
aud seitum inylh value
(uroup by
’Thy ome
susult.

>namples

() Prom employu;
. Selet couns
amoyes
(salan) rom
selet sUM
Csalag) Grom
dponbmurt,Av

keleut.
qroup by
(salorg) Cmplaye'
Geup by laue Hhat

sows.
valuu no summasy

caluulabom

geoupr basel
tauing clau
fler
’The haw<peuhd ordshon w da h
UAUSE
b t is
Gn a HERE
tothu
similar claue
’ s
aud Goroup day
unchon
rugale

dupastd, lount (*)


eleet
Fsen bnmployees
Gmeup by dupan
>5
Count ( )
hauy

dpantment

baumy awg (salan)


SQL Join

uud lo quey aud aen dala mithl alle

by cilalhsy legial sulakondipt buhutan kem.


0inne Join

Rigtt Deler join)


Fall JomPul

Talbu shat haue.


g9sgm
both the
Resn csum
valus n
(n the tpecti n boh
smalahig valu
ualhing
hae
eeod t a
’ elect
tables. aolemnt
counnatall

column,
JabLt.
labe. INwER Jod.
Selees

OnN
oig otth
Achom al Sour om alerg
ehsinel.

colum

gdentloue
Seleet &hudert, name,

Josh ghudent couu


o a o l l n o & h u d e n t , R o l _ n o

t
gn sdent

e
aows:
Aem all the
mathing
jon and

outte. touaIE
CO
u d n . N a n u , B u d n t

Selut

Cawue
Shd
RlaHa Jor
shudtlau.Rou-O

Or
t,

by Combinng unlh

join

latl
umebcing

Join soowiew Quuhan

baw
thsui uhes tet
dop
to etiue itd n
Wsat a Cernplited bad
dhu highet mmer a th
rds
cgmplles
nmbr 9
pemdiny
Cosus

Trad oloe Oati

psder-id 'Canlll
ornplelel
otal.
Count (tosodeu. orodr-d) au

oha Toodou. lalu 'lompls


Gneu By ur.t
detal eners ay
rdr by

You might also like