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 Designo Identify the tableso Determine the primary keyso Determine the additional fieldso Determine relationships between the tableso Determine data types for the fieldso Identify and remove any unwanted redundancyo Determine a storage location for the databaseo Determine additional properties for tableso 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 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
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 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
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.