Professional Documents
Culture Documents
Date
Page:1
DATA IyPES:
A data lype is an atriluuit e Mata uhuh telis
h tompiler o intitpuetir hew the pogha mmUr
mtemcd te uoe the daia Meat puegncmming
Lamguua ALpposdbasic data lypes ¿ nteget le4
Lasaing QuLl, Reatng plunt mumitts_[apprex neal
mumeis) _chonacter ámd Ccefians dalaiype
conadnain4 the_value hat an_presion, auuch as
umetion, mught Lake his dala lype
dnts he epLAalion dhat Lan be leme m Lhe
Valus that kype canb Sltd A
data ype pLvidi a All valus O m Lwtruch
m
LRprMAin (i vauiaite anciin_etc)
may iake its Valius.
CHARACIER
NTEOER
ARRPY
STRINU
VARCHAR BoOATA
Egu 1
Date
Pag:3
JmtLger
Channciii
Daimg
ELpaiing oint Numb
Ahhay
VanclaM
Deettam
1.SNTEC1ER lint):
ndegu a_huhete numlu hat an how a
&La be a
MAciuon nes. tam_ hame_ ducimal placs is
Lemmomiy_Aeud MpHOgHAMmung lapeetally
LO Valus.Addiudm aubstacden
Amd mutiplicatuon wo_Antigns taoLLltso
onL Anteg Bd_Am4L0 ZwD_mumbss Lmttgird
m a HLuldte am Mtigix HA idmal
he Hiulting dcimal m Hewndcd el
Ahuncatd AobeLeduc_am mtigt.
2CHERACIER_(hah):
Date
Page: L4
3STRING:
0mpoLd
uOed Te HpAMnt ext
ha 4pacs
a alt e characu that con
amd_mumleys limg aae meloMd n_
h olata Os
4ALeAatun. mawuks teidimdity
vasLALMe_ nam nA
atsuing-
mLumlA
aMA_MA_a
FAOA1ING PoiN1NUMBERS:
&t 3 u nLumlu that Omtains decmals , Lumbiu
Hhat cOntaim acdÒn a onadnta as
HoatingH p o n t umbers.
5 ARRAY:
r a y ontains a gaoup elemumib ahch can
be he SAmL data typA ihe am imagn
pAaimg Q md te
ongamu_dala
SeOhg nlaked
AU valuies
6 VARCHAR :
o0LEAN:
CALatng due alle
statimemt Jo Omp valiuis llo wi'ng
being
AND
OR
XOR
NO1
OD 1tAN S7A1EMINTS
Beoton CpnnoilOn
ptal0s
Result
Fale
th ithu ev
X ANO Fol
bOth a
hehe 4 ,
xOR y
xOR Fal belh andy aihaie
XOR Fare
NO1 x 7 ne
NoA Falbe
clASS
Keys
Keys m ABMS an atuibule p e lt
uhich tedenty a O
altubulu helbs ueu
allooye
lllo y
epta) M a Helaion_ (table Jhey
therelaiin kelnkinlure tables
pind a HOL
Ms hlp yeue Unuiquuily ldinlily
thble hey alo helpful fWm
tate
hidingumque HEOA O HAUU L o m t h e
atabase hey s alshelpful fO dirg urgue
HCDhd_0H LOm lhe tate.
HAU
Loample:
Empioye 1D FUstName dast NOme
14 Andhew Johnsonn
Tom
33 Aler Hale.
FDRE1nN KEy
F 3 1ypu o Koy
EMPLOY Et
wmplege-19 Pevinaay ly
mployen Name
mploye Adohs
Panpo Numbu
Mynae. Nmhe
SSN
- PMWi KE
tASSMAte
Date
Page:
ypes Of Key:
1:Pumany Lys
9 Secomalay Kiys
3 SupeH Kuy
4.Comdidat ku
5Felgn Aiy
1: RiMARY KEY:
Example
nn abte IÐ Lon bplinaly kiy
he_empkoyee
iunigue 4OH each _empdeyten1he
emptoyee Lable, u l tam en_Alick Licem-Numl:
papot Mumbe s
a n c papot
mary key slee
Student 10 idund Fwell uwlentName edonk gc
Cnal
096 122149 Momwy A47qwail
055 1226ss MHali 93 olcgma
064 1226S8
S4Ay . On
EMAOYEL
wmployu - Io Supe R Key
employe -Namu
mploijce- Acbses
Pampt Numbu
moe NUmbu
SSN
4ig - suPER-KEy
CASSMAte
Deto
SeEoNOARy KEY:
ALcondauy-
llcdrd
Key Ashe hty lhat
te be lhepilumAsy
has net been
kly houeel, it
wnaiolud oa lamaidauu Key h he
palmany
Exampt:
in the higuu 5 atudentIÐ , sluclint -enie0
amd atuonda mail L the Lomdidao keys hiy
a naidledtamdidate keys mie thiy COm
tan
Amiquly idtemti the otudint niceidselict amy
pme the cmdidatt_kty as h e pumay kiy
Rut o he uo_ hys wOuld br RCOn dany keysp
lels gay40u elutud rtudint -1o a pumay key.
huehtiu atudenk-_emuell md studint -êmail
uill b ACenday ky(andidatu
Ry) puNany
EMPLOVEE
mployee -19
Employe - Name
Emptoye Addros
Papo- Numu
w Nm CANOIDA1E KEy
SSN
CANDIPA 1E KEY.
3 SuPER KEY:
Auupe y set o am_ attu'de uhith an
ugly dlmiky a tuple duplis ky
AUNpLMLt 0mdidate kly
nOmple um the ho empeeyeg tale
O EMPAOYYy£E-IA EMPOYE
E-NDME).
he NaVme he uo mployec_cam he
pekhe
SLme lut_thik EmPLYEL- I9,camt be he
AMme HimL, his
SAAL
Omlainadion tam be th Rly
he hplh kts uwould be EmPAOYEE - JD
pe key i bLially a gnoup
mullipte heys_hshich ileauiis klusingle
im a
dabe
Camdiclat Kuy
A amdidale ky is am_atALleuth_ ALt A
an atbuute wuhith cam uniautly
a uple
idmit
EM PAOYEE
E PAP1MENI
Employe 1 upamnt - 19
PoMpod NUmat
SSN
epeMmunt Iax
DLiGn_
kuy u bassally a _télmn hat_cruales
A hilalionsn behwn the zuo aes #
pup elgn_ ky 8 maintaUn_data
untigsiy n d a low naugalion b/o dyheenk
R
untih
1) Inauut
)
Egue-9- insut
(2) Sho wt
r l +C
3
Ult
ut
ky {o pa4
Eigau1
ASSMAte
Dato
Page
MS ExCEA
MS cel a Lem MEmly e d i a t s pute
Aohihn
aPpli ta lion b_ a spscad ahect phcgram
S LLSCdLe Sane amalyu u m O M L a l
and
m a Mtil
data Zs eaay le amalyin data
the pL4yest8Nals u
8pucadshett_lmotQl
Qmcl
thus sPACadsheet tect
Lmivesallangtoge hal speak_m almCt
he
Clck_m Atant
Then al prognammy
Cick on s t
Einally chee hu W bLul ptin
3eptuna MS ael._
1 nast
0_Lom mols_a neuE Uwntsheut vinenceland
d i l u h t same at amy point m tme1o
R mply nad to
pe hs "PIos on Key uhich % ulabu af
(A|: A10)
: SUM
A
C
204
6
340
um Nwmb
32
Spb1P1D 2922
A
Nukya
207
302 Flha
02
221
Date
Page:
3 um Numbeus
AmumLou hoe
home numltes m 0 clles amd ustt
maqune hour Long is qem
g he Lelat hin MLAA
impleyLetal
prlet
Leta e hl umbu md phin_het uut
Key AL1+ do qet Lelo sum
FiDming Oata:
5 HOme:
oial umbeu
yu nsant to nsert senialUmLeA Zhat_au
incsimentedl loy Hen hl_can_als thi by
by
my_ e e he opluon kntn the
FIL Hanclle
the ulls Nen uAuing EXCEL
drag t i lheculls rhese you
Date
Page: