1 / 35

Teaching Database Design Concepts

Teaching Database Design Concepts. With Access 2010. Session Outline. Two Part Lecture/Discussion/Sharing Hands-on Practical Helpful. Objectives. Challenges Student background/knowledge/learning Database Design Concepts Includes logical and physical Access 2010

gaille
Download Presentation

Teaching Database Design Concepts

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. Teaching Database Design Concepts With Access 2010

  2. Session Outline • Two Part • Lecture/Discussion/Sharing • Hands-on • Practical • Helpful

  3. Objectives • Challenges • Student background/knowledge/learning • Database Design Concepts • Includes logical and physical • Access 2010 • Can implement design using Datasheet view • Our Approach • Integration and more

  4. Learning Outcomes • Identify and define the information that is needed to design a database • Create conceptual and logical db designs • Build a relational database that provides users with queries, forms, and reports • Understand core terms, concepts, and tools

  5. Learning Outcomes • Design and maintain relational db tables • Create Select and Action queries • Create normalized relationships between tables, apply validation rules, and referential integrityprinciples • Design and modify reports and forms

  6. Challenges • Perceived knowledge versus actual knowledge • Very little or no previous experience with Access • No understanding of when to use • No connection to real-world • Looks different from other Office apps

  7. More Challenges • House analogy • Need a blueprint before you can build • GIGO (garbage in, garbage out) • Teaching approach • Skills first • Concepts first • Integrate

  8. Key DB Design Concepts • Entity • Person, place, thing, event (noun) • Attribute • Property of an entity (adjective, adverb) • Relationship • Association between entities

  9. Key DB Design Concepts • Database • Structure that can house information about multiple types of entities, the attributes of these entities, and the relationships among the entities. • Relational Database • Perceived by users to be a collection of tables; two-dimensional named tables

  10. DBMS (software) • Design structure of database • Create data entry forms • Validate data • Sort and manipulate data • Query the database • Produce reports

  11. Goals of Database Design • Input • set of user requirements • Output • database structure capable of supporting user requirements

  12. Database Design Step 1 • Information-level design • gather user requirements • design a database that meets requirements as cleanly as possible • independent of DBMS

  13. Database Design Step 2 • Concerned with characteristics of specific DBMS • Must resolve issues such as • column names • data type • number of columns • data length

  14. General Design Guidelines • Identify the tables (entities) • Determine the primary keys (unique attribute) • Determine additional fields (attributes) • Determine relationships among tables

  15. General Design Guidelines (cont) • Determine data types for fields • Identify and remove unwanted redundancy • Storing a piece of data in more than one place • Determine a storage location • Determine additional properties for attributes

  16. Catch 22 • Students need some understanding of concepts before they create database objects. • Students think concepts are “boring” and want to get their hands on the software.

  17. Help is on the way! • Access 2010 • Use Datasheet view to implement design • Visually see columns as you create them • Assign data types • Add new fields • Change field size • Add validation rules • Add captions

  18. A Database Example Camashaly Design Group provides custom marketing solutions for the service, non-profit, and retail sectors. The company specializes in designing and maintaining Web sites and using social networking Web sites for online marketing. Camashaly uses business analysts to work collaboratively with clients. Camashaly would like to organize the data on clients and business analysts in to a database managed by Access 2010.

  19. Applying the DatabaseDesign Guidelines to Camashaly Design Group

  20. Word table

  21. Excel workbook

  22. Word table

  23. Excel workbook

  24. Our Approach • Integrate concepts and DBMS • Introduce common database objects • Tables • Forms • Queries • Reports • Use Datasheet view for one table • Use Design view for another table

  25. Our Approach (cont) • Import data from other Office applications • Less emphasis on typing • More realistic • Use Layout view • Easier to visualize changes

  26. Our Approach (cont) • Show routine database operations • Backing up a database • Renaming objects • Deleting objects • Compacting a database

  27. Advantages • Provides an overview of database tools • Follows the database creation process from design to implementation • Emphasizes the data independence feature of a database • Uses real-world situations • Encourages critical thinking • Encourages retention

  28. Your Turn • Try it out Thank you Phil and Mary

More Related