MODULE 1
ntreduetion to Database Systems
‘aT DETAR
Wee database clin fr ath pd att canbe asa
age opted ey. nti Taha es esteem th
conten se ia spi sy die ms sch sa
me, elms etl mls, re mo, cnet pet
et icons. ew spats uy gages, wrk a2 gerd
poesia
Feo, sd thst umbs raes, sadoeadea
canoes adie Rhs aboot bse ote ects
tints.
‘WHAT ISA DATABASE SYSTEM
Aalabase stem isa computer-based recad4eping stem, Gently, hase vel purpose
isto record and mana formation ta is reean tothe oganizatin necessary fr making
dexisions
«A débhase tem isa computed system for ec esping. It proves uses wth
names faites to pea arty of operons suchas
«adden ineaton
+ cle esting rfomaon
+ update esting informationTough the atkancemet ofthe ctbase,these tens ae se in vis plats othe
reabuo suas.
+ Banking System «for customer formation, accuracies, payment, depots ons et.
+ Computeszed Inventory Systems informs employees and customers within seconds whether
anitemisin sock
+ Fight Resnetin Sens for esenatons and sch neat,
+ Contd Lay Sys for easy nays for ibrar to cat and tthe try
calectons,
+ Accounting Syste for sped and acracy of pron,
+ Sdes- Uso sting ctr, product sas ination
+ Uist for sce inormtn couse erations, egs ad aes,
A dais an ange fom thse ofa sl wr wih 2 destop comput fo tase en
aan corte wih uses fs
DATABASE SYSTEM COMPONENTS
Thefve major components, they a:
1. Data
2. Hardware
3. Sofware
4, Prcedes
5, Database cess anguoge
Data
1s avery vel component ofthe database sytem, Most organizations generate, sore, and
proces large amount of data, The data perfams as bridge between he hardvare andsofvare,
and th uses del access through some application poor.
Two ype of data:
+ Structured data
+ Unsure dataStructured dtaishihh-agared and oat ina a, ot eas) sexchble in tine
cette, Aneangleo src dtisn employee maser dca. Te dt wnt
‘ects suchas employee nurbe, name, adress, birhday, and dependent. In unstructured data,
theres re dined fom cr nnn, malig it much moe to cle, ees,
‘and analyze, Usually, saved in tabular forms lke tables, relations, arrays, and spreadsheets,
Databases nowadays are used to store objects such as tet, photographic images, audio, video,
and graphic objects inaction to sutured dat. For exangl, in a hospital, the patient
rejstatin stem night idea pho image ofthe patent. Ths type i refered to as
vunsracured data, or as mutimeda deta, Multimedia data are most fen found on Web servers
and ‘Webrenabled atbases,
Hardware
Tear coras he sendy sre dees suchas amet (ard ids 2b di,
fepy dl), (CDROM) and mage pes, The pln dvics (rose,
feu pints) 2. Te man menor sna srg devices oe slo rand
rei the tan af and fc mae
Software
Thestivare ste main ange as tisisthe progam ht asa brig te wer
ante tse. Theses of pans ae wed to ol and rae the cl dah,
TheDBS sar proides sth ancsytuse interacted, an dle
cata Fr praise ptr, we cn eter ws te Quy Langs le SL, SQL,
cd Gupt QL et.Procedures
Proce: eto oral recs tose 2 bie manana. Thins
proceso et anita 2 OBIS, to kn and gt of DS soar tare
abs, wt tas, grag eats
Database Aces Language
Database ces nga snp ng ire wie connate ie,
te nd lees any dae Seb commend ate DNS een,
‘This and ex y he DNS.
Us can cee a dab rr et, fet sed a, pie a, nd ele
he sng he asa
Fd Uses
End wes pean woes Pe sue eae been ly ces,
‘ral ad msi, Teor hn sirens, sn, ie dit Cone, be
‘es tsa a totus aan tesaeltng Enkises ae rape rio cui:
“The varius types of ses who can acess the database system re
‘Database Administrators (DBAs) ~The DBA interacts wth the operational database as @
"superuser one who cons and acess information about the structure and use ofthe
atabase tel
+ Database Designers is in charge of defning the dete catabase csi, icuding
tables inderes, viens, constrains, tigger, stred procedures, and cher caabase-specic
costructs needed to soe, retieve, and dete persistent object,
«+ End-Users - The detabseis designed, created, and maintained to seve the infomation
needs ofenusers, pcre who use the data to perform ther jos
‘+ Application Programmers ~ are computer professionals who work in many cferent
‘programming languages (Visual Basi, Java, PHP, etc) to create the source code, which is
responsible for creating sal or arg pars ofa pice of sftwae in concert wth othe‘WHATIS DBMS
A de argent pt (005) th stare ws a camper to
pat de ais sony ein ang, dking ad aij a
catia dasha sea ass dict.
‘Database menagement ystems examples are MySQL, PostcreSQL, Microsot Acces, SQL
Save, Flee, Oat, RBNS BSE, ie nd Feo. The Ope Date
Comet (008) tiers the te tia wit chr tases, Fr
exange, te coon SELECT and TERT SQL sleet teased fom &
pray’ ota sana ater ath cn nds
Database Languages comes in different forms. They are:
41. Data Manipulation Language (DML)
DIL commands ate used for managing data within tables.
Examples of commands of DML are:
+ SELECT
+ UPDATE
+ INseRT
+ DELETE
2. Data Definition Language (DDL)
DOL command is used to crete, maniulte, and modify the structure of database
objects inthe databese,
Examples of commands serve as the base forall DDL commands:
CREATE