1 / 8

Access Chapter 2 : Relationships and Queries

Access Chapter 2 : Relationships and Queries. Michael Lyons mlyons6@mix.wvu.edu February 26, 2014. Relational Database . Allows us to manage groups of data Set rules between tables Join lines enable us to create the relationship between the tables. Relationship window.

stash
Télécharger la présentation

Access Chapter 2 : Relationships and Queries

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Access Chapter 2:Relationships and Queries Michael Lyons mlyons6@mix.wvu.edu February 26, 2014

  2. Relational Database • Allows us to manage groups of data • Set rules between tables • Join lines enable us to create the relationship between the tables

  3. Relationship window • Primary key and foreign key • Set up as a primary table and related table • Relationship Type • One-to-Many • One-to-One • Many-to-Many • Three types of relationship rules • Enforce Referential Integrity • Cascade Update Related Fields • Cascade Delete Related Records

  4. Query Design • Two parts • Top portion displays tables and relationships • Bottom portion displays fields and criteria • Bottom Portion contains five main categories • Field Row • Table Row • Sort Row • Show Row • Criteria Row

  5. Criteria Types • Delimiter • Pound signs surround data #1/2/03# • Quotations surround text “West Virginia” • Wildcard • Special character that represents unknown characters • ‘*’ and ‘?’ are two types • Like “S*” returns all values that start with ‘S’ • Like “?R*” returns all values with the second letter ‘R’

  6. Comparison Operators • Mathematical Operators • Equal (=) • Not (<>) • Greater than (>) • Less than (<) • Combination Criteria • AND, OR, NOT

  7. Next class… • Chapter 3 • More query features • Calculated fields • Expression Builder • Using functions • Aggregation functions • Grouping data • SUM, AVG, etc • Expressions with aggregation function

More Related