EXAM Q AND A
Relationshipgj-gjanswer--associationgjbetweengjentities
Typesgjofgjrelationships:gj-gjanswer--One-to-
many:gjEachgjrepgjisgjassociatedgjwithgjmanygjcustomers.gjEachgjcustomergjisgjassociatedg
jwithgjagjsinglegjrep
Databasegj-gjanswer--
structuregjthatgjcangjstoregjinformationgjaboutgjdifferentgjcategoriesgjofgjinformationgjandgjr
elationshipsgjbetweengjthosegjcategories
DatabasegjManagementgjSystemgj(DBMS)gj-gjanswer--
program,gjorgjcollectiongjofgjprograms,gjthroughgjwhichgjusersgjinteractgjwithgjagjdatabase;gj
cangjcreategjformsgjandgjreports
Advantagesgjofgjdatabasegjprocessing:gj-gjanswer--
Gettinggjmoregjinformationgjfromgjthegjsamegjamountgjofgjdata
Sharinggjdata
Balancinggjconflictinggjrequirements
Controllinggjredundancy
Facilitatinggjconsistency
Expandinggjsecurity
Increasinggjproductivity
Providinggjdatagjindependence
Disadvantagesgjofgjdatabasegjprocessing:gj-gjanswer--Largergjfilegjsize
Increasedgjcomplexity
Greatergjimpactgjofgjfailure
Moregjdifficultgjrecovery
RulesgjofgjagjRelationgj-gjanswer--Two-dimensionalgjtablegjingjwhich:
, Entriesgjaregjunnormalized
Eachgjcolumngjhasgjagjdistinctgjnamegj(attributegjname)
Allgjvaluesgjingjagjcolumngjaregjvaluesgjofgjthegjsamegjattribute
Ordergjofgjcolumnsgjisgjimmaterial
Eachgjrowgjisgjdistinct
Ordergjofgjrowsgjisgjimmaterial
Attributegj-gjanswer--characteristicgjorgjpropertygjofgjangjentitygj(field/column)
PrimarygjKeygj-gjanswer--
columngjorgjcollectiongjofgjcolumnsgjofgjagjtablegj(relation)gjthatgjuniquelygjidentifiesgjagjgive
ngjrowgjingjthatgjtable
Foreigngjkeygj-gjanswer--
field(s)gjwhosegjvaluegjisgjrequiredgjtogjmatchgjthegjvaluegjofgjthegjprimarygjkeygjforgjagjsecon
dgjtable
Relationalgjdatabasegj-gjanswer--collectiongjofgjrelationsgjorgjtables
Basicgjrelationalgjalgebragjoperations:gj-gjanswer--SELECT-
retrievesgjcertaingjrowsgjfromgjangjexistinggjtablegj(basedgjongjcriteria)gjandgjsavesgjthemgja
sgjagjnewgjtablegj(includesgjWHERE)
PROJECT-
causesgjonlygjcertaingjcolumnsgjtogjbegjincludedgjingjthegjnewgjtablegj(includesgjOVER)
JOIN-twogjtablesgjbeinggjjoined
StructuregjofgjangjSQLgjquery:gj-gjanswer--SELECT-FROM-WHERE
UsegjofgjcompoundgjconditionsgjingjWHEREgjstatements:gj-gjanswer--
connectinggjtwogjorgjmoregjsimplegjconditionsgjusinggjonegjorgjbothgj(AND/OR)
UsegjofgjLIKE:gj-gjanswer--includegjingjthegjWHEREgjclause
WHEREgjStreetgjLIKEgj"Oxford";
Wildcards:gj-gjanswer--Access:
*-collectiongjofgjcharacters
?-anygjindividualgjcharacter
Other:
%-anygjcollectiongjofgjcharacters
_-anygjindividualgjcharacter