SlideShare a Scribd company logo
1 of 20
CIS245
 Primary key
 Composite key/multiple-field primary key
 Foreign key
 One-to-one relationship
 One-to-many relationship
 Many-to-many relationship
 Referential Integrity
 Have more than one table where tables are
 related to each other
    One to one
    One to many
    Many to many
A combination of fields may be used for the
 table‟s primary key
 Each  table contains data about a specific
  subject (customers, loans)
 Each table on the „one‟ side has a primary
  key
 Primary key of the “one” table is a foreign
  key in the many table
 Twotables are related, but can have many
 records in each table in common
    One student can attend many courses; one
     course can be attended by many students
 Implement  a many to many relationship by
 creating a pair of one to many relationships
 with a third table
    Third table is often referred to as a “join” or
     “junction” table
A  foreign key points to a record in another
  table
 Foreign key “looks like” the related primary
  key
    Same number of fields
    Data types for each field must match
    Field names don‟t matter
 Makessure that the records in related tables
 are consistent
    Must have a customer in the customer table for
     an order assigned to that customer
    Avoids “orphans”
 Cannotdelete a record or change the
 primary key in the one table when associated
 records are in the many table, unless have
 cascade delete and cascade update enabled
 Data   constraints: What is “good” data?
    Valid type of data
    Valid values for the data
    Many can be enforced through the design of the
     Access tables and relationships
 Validation rule: Condition that the
  corresponding field must satisfy
 Validation text: Displayed if the condition of
  validation rule is not satisfied
 Table Properties validation rule: Required
  when a constraint requires a comparison of
  the contents of two or more fields in the
  same table
 Maintains  a sorted list of the current values
  of a field or fields
 Items in the list point to the records that
  have the identified value
 Created automatically for primary keys
 Normalization    is a process
 Goals:
    Reduce space required to store data by
     eliminating duplicate data in database
    Reduce inconsistent data in database by storing
     data only once
    Reduce chance anomalies
 Deletion    anomaly
     User deletes data from database
     Unintentionally deletes only occurrence of data
      in database
 Update    anomaly
     Due to redundant data in database
     User fails to update some records or updates
      records erroneously
 Insertion   anomaly
     User cannot add data to database unless
      preceded by entry of other data
 Dependency:   Column value depends on value
 in a different column
    Functional dependency: values explicitly one to
     one
    Partial dependency: Column value dependent on
     only part of primary/candidate key
 Determinant:  Field or collection of fields
  whose value determines value in another
  field
 Inverse of dependency
     Department is a determinant
 Retrieve  data from other tables or queries
 Field names appear in the Field row of the
  grid
 Criteria row of grid
    Limits the displayed rows to those that meet a
     specified condition
    Contains any statement that evaluates to True or
     False
 Inner   join
    Default join type
    Includes rows only when the fields being
     compared contain matching values
 Outer   join
    Includes all rows from one table and data from
     second table where there is a match
 Use when selecting records from one table,
  but need to limit the records returned by a
  value in another table
 Use the „In‟ comparison
    Sub-query can return only a single field
 Sub-query    must run before the main query
    Use parentheses to control order of execution
 Select  queries that aggregate values
 The Group By item in the Total list box tells
  Access to aggregate the other fields per each
  unique value within the Group By field
 A field that‟s part of the aggregate uses
  Having instead of Where
 Delete  queries: Remove rows from a table
 Make-table queries: Query results are stored
  in a new table
 Append queries: Query results of the are
  appended (added) to an existing Access table
 Update queries: Change field values in
  existing rows in a table
 Parameter  queries use placeholder to
  substitute for the constant values placed in
  the query grid
 Allow changes to criteria “on the fly” when
  the query is run

More Related Content

What's hot

Oracle Fusion Cloud HCM value sets
Oracle Fusion Cloud HCM value setsOracle Fusion Cloud HCM value sets
Oracle Fusion Cloud HCM value setsFeras Ahmad
 
Stat2 25 09
Stat2 25 09Stat2 25 09
Stat2 25 09stat
 
Worksheet and workbooks linking
Worksheet and workbooks linkingWorksheet and workbooks linking
Worksheet and workbooks linkingIlgar Zarbaliyev
 
IBM SPSS Statistics: Download and Upload
IBM SPSS Statistics: Download and UploadIBM SPSS Statistics: Download and Upload
IBM SPSS Statistics: Download and UploadThiyagu K
 
IBM SPSS Statistics Interface - Navigation
IBM SPSS Statistics Interface - NavigationIBM SPSS Statistics Interface - Navigation
IBM SPSS Statistics Interface - NavigationThiyagu K
 
Introduction to SiteCatalyst ReportBuilder
Introduction to SiteCatalyst ReportBuilderIntroduction to SiteCatalyst ReportBuilder
Introduction to SiteCatalyst ReportBuilderPeter O'Neill
 
Overview spss instructor
Overview spss instructorOverview spss instructor
Overview spss instructoraswhite
 
Ibm spss statistics 19 brief guide
Ibm spss statistics 19 brief guideIbm spss statistics 19 brief guide
Ibm spss statistics 19 brief guideMarketing Utopia
 
Creating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsCreating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsThiyagu K
 
Veterinary Nursing - Literature Searching
Veterinary Nursing - Literature SearchingVeterinary Nursing - Literature Searching
Veterinary Nursing - Literature SearchingJamie Halstead
 
BMS Essential Library Skills
BMS Essential Library SkillsBMS Essential Library Skills
BMS Essential Library SkillsJamie Halstead
 
Defining Data in IBM SPSS Statistics
Defining Data in IBM SPSS StatisticsDefining Data in IBM SPSS Statistics
Defining Data in IBM SPSS StatisticsThiyagu K
 

What's hot (18)

Oracle Fusion Cloud HCM value sets
Oracle Fusion Cloud HCM value setsOracle Fusion Cloud HCM value sets
Oracle Fusion Cloud HCM value sets
 
Stat2 25 09
Stat2 25 09Stat2 25 09
Stat2 25 09
 
Worksheet and workbooks linking
Worksheet and workbooks linkingWorksheet and workbooks linking
Worksheet and workbooks linking
 
Actuate sections
Actuate sectionsActuate sections
Actuate sections
 
IBM SPSS Statistics: Download and Upload
IBM SPSS Statistics: Download and UploadIBM SPSS Statistics: Download and Upload
IBM SPSS Statistics: Download and Upload
 
IBM SPSS Statistics Interface - Navigation
IBM SPSS Statistics Interface - NavigationIBM SPSS Statistics Interface - Navigation
IBM SPSS Statistics Interface - Navigation
 
Introduction to SiteCatalyst ReportBuilder
Introduction to SiteCatalyst ReportBuilderIntroduction to SiteCatalyst ReportBuilder
Introduction to SiteCatalyst ReportBuilder
 
Overview spss instructor
Overview spss instructorOverview spss instructor
Overview spss instructor
 
Ibm spss statistics 19 brief guide
Ibm spss statistics 19 brief guideIbm spss statistics 19 brief guide
Ibm spss statistics 19 brief guide
 
Creating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS StatisticsCreating a Coding Book in IBM SPSS Statistics
Creating a Coding Book in IBM SPSS Statistics
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
Veterinary Nursing - Literature Searching
Veterinary Nursing - Literature SearchingVeterinary Nursing - Literature Searching
Veterinary Nursing - Literature Searching
 
BMS Essential Library Skills
BMS Essential Library SkillsBMS Essential Library Skills
BMS Essential Library Skills
 
Defining Data in IBM SPSS Statistics
Defining Data in IBM SPSS StatisticsDefining Data in IBM SPSS Statistics
Defining Data in IBM SPSS Statistics
 
Fundamental of SPSS
Fundamental of SPSSFundamental of SPSS
Fundamental of SPSS
 
Analysis Of Attribute Revelance
Analysis Of Attribute RevelanceAnalysis Of Attribute Revelance
Analysis Of Attribute Revelance
 
7 files
7 files7 files
7 files
 
83341 ch25 jacobsen
83341 ch25 jacobsen83341 ch25 jacobsen
83341 ch25 jacobsen
 

Similar to Cis245 Midterm Review

Similar to Cis245 Midterm Review (20)

MS Access Ch 2 PPT
MS Access Ch 2 PPTMS Access Ch 2 PPT
MS Access Ch 2 PPT
 
Database.pptx
Database.pptxDatabase.pptx
Database.pptx
 
CIS 145 test 1 review
CIS 145 test 1 reviewCIS 145 test 1 review
CIS 145 test 1 review
 
Chapter 4 microsoft access 2010
Chapter 4 microsoft access 2010Chapter 4 microsoft access 2010
Chapter 4 microsoft access 2010
 
SQL Server Views
SQL Server ViewsSQL Server Views
SQL Server Views
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
Fg d
Fg dFg d
Fg d
 
CIS282 Midterm review
CIS282 Midterm reviewCIS282 Midterm review
CIS282 Midterm review
 
Oracle SQL Part 3
Oracle SQL Part 3Oracle SQL Part 3
Oracle SQL Part 3
 
Join sql
Join sqlJoin sql
Join sql
 
ETL Validator Usecase - Data Profiling and Comparison
ETL Validator Usecase - Data Profiling and ComparisonETL Validator Usecase - Data Profiling and Comparison
ETL Validator Usecase - Data Profiling and Comparison
 
Sql join
Sql  joinSql  join
Sql join
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationships
 
E02Normalization.ppt
E02Normalization.pptE02Normalization.ppt
E02Normalization.ppt
 
E02Normalization.ppt
E02Normalization.pptE02Normalization.ppt
E02Normalization.ppt
 
1 Week 6 - What Well Be Working On This Week In th.docx
1 Week 6 - What Well Be Working On This Week  In th.docx1 Week 6 - What Well Be Working On This Week  In th.docx
1 Week 6 - What Well Be Working On This Week In th.docx
 
Advanced Database Systems Ch 1 - Review.pdf
Advanced Database Systems Ch 1 - Review.pdfAdvanced Database Systems Ch 1 - Review.pdf
Advanced Database Systems Ch 1 - Review.pdf
 
Microsoft Access ppt.ppt
Microsoft Access ppt.pptMicrosoft Access ppt.ppt
Microsoft Access ppt.ppt
 
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhhChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
 
ChoiAccess.ppt
ChoiAccess.pptChoiAccess.ppt
ChoiAccess.ppt
 

More from Randy Riness @ South Puget Sound Community College

More from Randy Riness @ South Puget Sound Community College (20)

Stored procedures
Stored proceduresStored procedures
Stored procedures
 
3 sql overview
3 sql overview3 sql overview
3 sql overview
 
Normalization
NormalizationNormalization
Normalization
 
CIS160 final review
CIS160 final reviewCIS160 final review
CIS160 final review
 
SQL Constraints
SQL ConstraintsSQL Constraints
SQL Constraints
 
CIS 245 Final Review
CIS 245 Final ReviewCIS 245 Final Review
CIS 245 Final Review
 
Cis166 Final Review C#
Cis166 Final Review C#Cis166 Final Review C#
Cis166 Final Review C#
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
CIS245 sql
CIS245 sqlCIS245 sql
CIS245 sql
 
CSS
CSSCSS
CSS
 
XPath
XPathXPath
XPath
 
XSLT Overview
XSLT OverviewXSLT Overview
XSLT Overview
 
Schemas 2 - Restricting Values
Schemas 2 - Restricting ValuesSchemas 2 - Restricting Values
Schemas 2 - Restricting Values
 
XML schemas
XML schemasXML schemas
XML schemas
 
Document type definitions part 2
Document type definitions part 2Document type definitions part 2
Document type definitions part 2
 
Document type definitions part 1
Document type definitions part 1Document type definitions part 1
Document type definitions part 1
 
DOM specifics
DOM specificsDOM specifics
DOM specifics
 
SQL overview and software
SQL overview and softwareSQL overview and software
SQL overview and software
 
Cis166 final review c#
Cis166 final review c#Cis166 final review c#
Cis166 final review c#
 
Triggers
TriggersTriggers
Triggers
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Cis245 Midterm Review

  • 2.  Primary key  Composite key/multiple-field primary key  Foreign key  One-to-one relationship  One-to-many relationship  Many-to-many relationship  Referential Integrity
  • 3.  Have more than one table where tables are related to each other  One to one  One to many  Many to many A combination of fields may be used for the table‟s primary key
  • 4.  Each table contains data about a specific subject (customers, loans)  Each table on the „one‟ side has a primary key  Primary key of the “one” table is a foreign key in the many table
  • 5.  Twotables are related, but can have many records in each table in common  One student can attend many courses; one course can be attended by many students  Implement a many to many relationship by creating a pair of one to many relationships with a third table  Third table is often referred to as a “join” or “junction” table
  • 6. A foreign key points to a record in another table  Foreign key “looks like” the related primary key  Same number of fields  Data types for each field must match  Field names don‟t matter
  • 7.  Makessure that the records in related tables are consistent  Must have a customer in the customer table for an order assigned to that customer  Avoids “orphans”  Cannotdelete a record or change the primary key in the one table when associated records are in the many table, unless have cascade delete and cascade update enabled
  • 8.  Data constraints: What is “good” data?  Valid type of data  Valid values for the data  Many can be enforced through the design of the Access tables and relationships
  • 9.  Validation rule: Condition that the corresponding field must satisfy  Validation text: Displayed if the condition of validation rule is not satisfied  Table Properties validation rule: Required when a constraint requires a comparison of the contents of two or more fields in the same table
  • 10.  Maintains a sorted list of the current values of a field or fields  Items in the list point to the records that have the identified value  Created automatically for primary keys
  • 11.  Normalization is a process  Goals:  Reduce space required to store data by eliminating duplicate data in database  Reduce inconsistent data in database by storing data only once  Reduce chance anomalies
  • 12.  Deletion anomaly  User deletes data from database  Unintentionally deletes only occurrence of data in database  Update anomaly  Due to redundant data in database  User fails to update some records or updates records erroneously  Insertion anomaly  User cannot add data to database unless preceded by entry of other data
  • 13.  Dependency: Column value depends on value in a different column  Functional dependency: values explicitly one to one  Partial dependency: Column value dependent on only part of primary/candidate key
  • 14.  Determinant: Field or collection of fields whose value determines value in another field  Inverse of dependency  Department is a determinant
  • 15.  Retrieve data from other tables or queries  Field names appear in the Field row of the grid  Criteria row of grid  Limits the displayed rows to those that meet a specified condition  Contains any statement that evaluates to True or False
  • 16.  Inner join  Default join type  Includes rows only when the fields being compared contain matching values  Outer join  Includes all rows from one table and data from second table where there is a match
  • 17.  Use when selecting records from one table, but need to limit the records returned by a value in another table  Use the „In‟ comparison  Sub-query can return only a single field  Sub-query must run before the main query  Use parentheses to control order of execution
  • 18.  Select queries that aggregate values  The Group By item in the Total list box tells Access to aggregate the other fields per each unique value within the Group By field  A field that‟s part of the aggregate uses Having instead of Where
  • 19.  Delete queries: Remove rows from a table  Make-table queries: Query results are stored in a new table  Append queries: Query results of the are appended (added) to an existing Access table  Update queries: Change field values in existing rows in a table
  • 20.  Parameter queries use placeholder to substitute for the constant values placed in the query grid  Allow changes to criteria “on the fly” when the query is run