6. 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
7. Capabilities of DBMS
• Data definition
• Data dictionary
• Querying and reporting
• Data manipulation language
• Structured query language (SQL)
• Object-oriented databases
8. 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
11. Queries
• Queries are simply questions, the answers of which
are in the database.
• Ways to Create a Query
o 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 Query
o Prompts the User for Input
12. 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
13. Other Query Options
• Top Value Query
o Open Query>Design.>Query Tools>Return
• Joining Tables
o 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
• Calculations
o Totals
o Statistics
• Crosstab Queries Usintg the Crosstab Query Wizard