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

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
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
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
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
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

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