0% found this document useful (0 votes)
5 views20 pages

Print

The document appears to be a fragmented and poorly formatted text related to SQL and database management concepts. It includes references to SQL commands, table structures, attributes, and relationships in databases. However, due to its disorganized nature, the content is difficult to interpret clearly.
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)
5 views20 pages

Print

The document appears to be a fragmented and poorly formatted text related to SQL and database management concepts. It includes references to SQL commands, table structures, attributes, and relationships in databases. However, due to its disorganized nature, the content is difficult to interpret clearly.
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/ 20

My sL, sQL, laakle, estyeit sQL

ybae Hy'sQie

ablo.

Relatiou

attibutes
No cplumns

CQass

Cndnaliy -4S
Caadinl
Aagugak funeten

eteuns
columns.
Aekeased daluadot he giseu

Hhe column.
delet Ceunt ( Rall no)

deesn t Count

soleot

Maxl) he maamm alo


Column.

colima

otuens
slumn
a colun
ysy to add
he Yable.

wasohbe (2o)

PRIMALY' KEY

Mame salay & bsuy fa

SELECT Lname E sa! 64al *oeBou

Teuning Tables aa
Eroh 1 (eode, Ename, Esalang, fdaigu)
enamé,Esalaty

6ELECT Ename amy,Er Esalauy

code
To

3ELECT det,

(acouna sals').

LIKE

Chasacters makeling

ef chasactess

to

shee. nane staset,

emam

diplaya nams imlays


Jast chakaaok

sileot nome
1
mame

S ELECT taige Mone4 Gmams, Elnane

To

Selaet
pitinet (Tyje)

MOne

amis wshose
null,

Seleet namo,
game
omes.
whie
(Ccode chas ()luimaty Kay
Pnana Vanchan (6s)

wdeiequery -o 4maimes
dihlay oall he

games mamuyu
Seloct

wnERE Numbea

tom foma);

9Weit a mame all e

gamás whase mame

To
ach

Selot
Mame
Mame
6ELEUT

uhere wsheae Caame tkeo 7' t

To Memes
omplayees hese wname
Conans

deleet name

whee name

Conidcaa table
gamesas olog
limasy kay

(Peoee, tenams fcoca)

Cucte deble Gamel

(Gcode cha l6)uniaby Key,


Gname chan lis) Not

chas (12)
Censdes a

to Count
dinlay

othot thi Only

8ELECT ciy

ndh

To
Veach cikya
8ELE CT max (DoT)
Mtl NULL'

ulkite all the

salazy
Endme, De des
Sos

&lct
wHERE E sal

wHE RE
wsho
To Ceunt all

8ELECT

To dihlay uy
accadnt

$ELECT (E4al)
sals'
(hccantntnc
Cheate tab

) Ca
CHease table Cah
Cname chas Moke chau elout chal2o).

imsosct nto Cau yalues (1o2 'A49 K la Masuti


shit

inbeat uint) Cae values lio2 Thas 'Matimdua

Black 4, ull I co600-00)


„l

seleot *
whese Make BM W

Aelect Cname elce

salet o Cau ashsse bica RO0000-00

Cname Make

whesu colg
shito )
baleot DisIN Cr (Make)
em ca
BEtWEEN

loice lo00On00
eca
AN
Roo0000: O0

Do 000O0-00

a
ushose
doails of al ha
make Maeuf

whesa

dlese

cislay maka bunams all


he caus ushose

hotuocom lo lakha t0 do lokhs


sang
duumding Bde,

slt Cumamu Hake las


?)
wtoe (capaciky
betiseen looo000-00 and o00000: 00
seleor ohant frnamte
cond E sal Go,o00:00
SQL
belectk
camaudk tabl.

seleot < colnae >

table mame

Aoleot Shamo S mame


atucomt Se

8Consdea attibuty

(c -code e-mae Make


celous, cafacity

to fns est

Vablo Cauote he yelld sith C-eet code

dujzsay
all he caas whse
Cfaety dahlay

han 8 lakhs To UMama


ditlay,
Jmaka all the Cags hae colous

klue datails

He Cas
lo lkkhy to tRo lakhs wtthSt
Geake
Ename haa Cos) tof oe
E DoT dade ) E det chaa (is)

Ebo ot Null 000-lo Q024-02-01


S4823- 09):

Snseat nto Emhlayes (emy Id Edeht E DOT,tname


values CshSauta boo6 "Homant')

Select

LMamo
Lwohee <uond">

To Cuname
Salot Ename

all emhleyl
Galset

Seaia
da
ihlay nama
Suly lo00,.
Seloet Enahe, t desi
whe (2000-0-31

who (sal)
salaiy
Chau (n) fad ongth oking chaa de,
dalaita ushich
chasaoes

Nasuchas ) Uaniable engh sAng hicw

chasoces,

Name Chan (eo)

Remaks Vaseha (loo)


chasass
masmwm

Dae mumeG data tyja.


st0e6 dala
mnd
CAT

eate dalabaue

to all the databascs

Show databass

To beeit
Demene ' all takl
dalate

(Jable mam)
bhaw tab los

clac dadabada
? Atea
studeud
4fe? , alues C1a t2, Ghatamya,

yable sudeut
add l add column Made e Biat Dale

Uhdate sSkdeut

Rall

Data

decimat lans
Cha
-iedongm chaeadts.
Vanchas o) Vaoiabl
ate

Chas loo) ch t wl ake do cha

aachad will yake

aa wll estod
Ralatina lyubua

Catesianfuoduet
fuoduot tug salahon,
The degee bath heslafion
addid candinaliy
he Aesultat

A AA3

AB A A As
X

B2
3
BgCh

Union kelaton
Thi done labler hasug
ataibdes. Te
Jalation Jamims Lami

adclao!.
DCL ata Contesl angusge
DTCL

DDL
ceands
falle clatabau'

stucticae

alka, d
this
DHL Cenmmands

date databai.

silect

eate a
No, Admas, Nams Clas ,Mauks fhone o
CR:

Ckeate databoie St

Uee St
Fable dakbe
futges
(Rro

Cass chn (2o)s


Hasks

Chas (s).

shace dot
lo Mae 1200
June
14 Tne

Dade
1600
Mos
booo

1Soo

lntersechon

SHuctue

M Manage
data,

DDL Dota kfišisn angua


DML da Aaitatoangage
eniulatia
a colmn oA et o cohumns Hht
idente.
talaton'
Aimay key can't
Values

can taue nly Ifimany tuy

Candidak Key
hase celumns et
lecome
landidat

Altsnate Key

dehuted
albamate

od
that' uet
Yable A Cam have aduhttake valus.

Column columns

hat unuiuel, ldenifas


haue

Can't haue cuhlcak values.


Aatabale Concebt

atabae
Aelated 0data

odele

Netipsk Hodel
TasioabaHO YoiAachal hodal
fatennl Hodel

kelatonal Aabe

data.

Yeemes helated to DBuS

Relatiou

atable
delaton

RABMS - Relatioral Databoie kanagmont Syaten

Columms, cehole each

You might also like