csis110 trzos-c1 ms access
TRANSCRIPT
Entities and Attributes
• Entities and attributeso Entity – Person, Place, or Thing
o Attribute – Describes the Person, Place, or Thing
Data Organization• Organizing data in a relational database
• Fields
• Records
• Key fields
• Primary key
• Foreign key
Relationships • Establishing relationships
• Entity-relationship diagram
• Normalization
• Join table
DBMS• A specific type of software for creating, storing,
organizing, and accessing data from a database
• Separates the logical and physical views of the data
• Logical view: how end users view data
• Physical view: how data are actually structured and
organized
• Examples of DBMS: Microsoft Access, DB2, Oracle
Database, Microsoft SQL Server, MYSQL
Capabilities of DBMS• Data definition
• Data dictionary
• Querying and reporting
• Data manipulation language
• Structured query language (SQL)
• Object-oriented databases
General Guidelines for Database Design
o Identify the tables
o Determine the primary keys
o Determine the additional fields
o Determine relationships between the tables
o Determine data types for the fields
o Identify and remove any unwanted redundancy
o Determine a storage location for the database
o Determine additional properties for tables
o Determine the best method for distributing the database objects
Queries• Queries are simply questions, the answers of which
are in the database.
• Ways to Create a Queryo Design View – Ch2Q1
o Wildcards in Queries
• Asterisk * Selects ANY collection of Characters
• Question Mark ? Selects Single Characters
o View or Not View a Field in Your Query
• Parameter Queryo Prompts the User for Input
Criteria Queries• Alpha (Like)
• Numeric (Equal to)
• Greater Than or Less Than
• And
• Or
• Xxx And Xxx or Use the Between Operator
• IN Operator (Make sure you use Quotation Marks)
• Sorting in Design View
• Omitting Duplicates Using the Unique Values in
Properties
Other Query Options• Top Value Query
o Open Query>Design.>Query Tools>Return
• Joining Tableso Inner Join (Shows Matching Fields from two tables)
o Left Outer Join (All Records in Left Table and Matches in Right Table)
o Right Outer Join (All Records in Right Table and Matches in Left Table)
• Exporting Data from Access
• Calculationso Totals
o Statistics
• Crosstab Queries Usintg the Crosstab Query Wizard