Top profile Call Girls In Rampur [ 7014168258 ] Call Me For Genuine Models We...
T1
1. Part A
Part A: Answer the following questions:
1. Describe the three basic characteristics of Big Data databases.
Answer1.
The term BigData referstoa huge volume of data that cannotbe storedprocessedbyany
traditional datastorage or processingunits. The three basiccharacteristicsof BigDatadatabases
are:
Volume:Volume referstothe sheersize of the ever-explodingdataof the
computingworld.Itraisesthe questionaboutthe quantityof data.
Velocity:Velocityreferstothe processingspeed.Itraisesthe questionof atwhat
speedthe datais processed.
Variety: Varietyreferstothe typesof data.It raisesthe questionof how disparate
the data formatsare.
2. What are the sources of business rules, and what is the database designer’s role with
regard to business rules?
Answer2.
The main source of businessrulesare companymanagers,policymakers,departmentmanagers,
and writtendocumentations –suchas a company’s procedures,standards,oroperationsmanuals.It
islikelythatnotall businessrulesare documentedinanorganization.Therefore,the database
designermustbe capable of formulating,documenting,andverifyingthe organizationalbusiness
rules. A fasterand more directsource of businessrulesisdirectinterviewswithendusers.However,
because of differencesinunderstandingbyendusersitmaybe worthwhile toverifyend-user
perceptions.If perceptionsvarythenthe database designer’sjobistoreconcile suchdifferencesand
verifythe resultof reconciliationtoensure thatthe businessrulesare appropriate andaccurate.
3. Describe the three partsinvolvedinanySQL-basedrelational database application.
Answer3.
SQL-basedrelationaldatabase application involvesthree parts:
End-userinterface:The end-userinterface.Basically,the interface allowsthe enduserto
interactwiththe data (byautomaticallygeneratingSQLcode).Eachinterface isaproduct of
the software vendor’sideaof meaningful interactionwiththe data.Youcan alsodesignyour
owncustomizedinterface withthe helpof applicationgeneratorsthatare now standardfare
inthe database software arena.
2. Setof tablesstoredinthe database:A collectionof tablesstored inthe database.Ina
relational database,all dataare perceivedtobe storedintables.The tablessimply“present”
the data to the enduser ina way that iseasyto understand.Eachtable isindependent.
Rowsin differenttablesare relatedbycommonvaluesincommonattributes.
SQL engine:Largelyhiddenfromthe enduser,the SQLengine executesall queries,ordata
requests.Keepinmindthatthe SQLengine ispart of the DBMS software.The enduseruses
SQL to create table structures andto performdata accessand table maintenance.The SQL
engine processesall userrequests—largelybehindthe scenesandwithoutthe end user’s
knowledge.Hence,SQLissaidto be a declarative language that tellswhatmustbe done but
not how.
Part B
Answer1 (a)
CREATE TABLE employee_details
( EMP_CODE int(3) NOT NULL,
EMP_TITLE char(4) NOTNULL,
EMP_LNAME char(50) NOTNULL,
EMP_FNAME char(50) NOT NULL,
EMP_INITIALchar(1) NOTNULL,
EMP_DOB date NOTNULL,
JOB_CODEchar(3) NOT NULL,
STORE_CODE intNOT NULL,
CONSTRAINTemployee_details_pkPRIMARYKEY(employee_details_id)
);
CREATE TABLE job_base_pay
( JOB_CODE char(4) NOT NULL,
JOB_DESCRIPTION char(15) NOTNULL,
JOB_BASE_PAYDECIMAL(2,2),
CONSTRAINTjob_base_pay_pkPRIMARYKEY(job_base_pay_id)
);
CREATE TABLE region_description