Microsoft Access CS 110 Fall 2005 Schema A description of the structure of a database • Objects in a database • Relationships between objects A table is one way to organize (model) a schema Hierarchies is another Relational DBs is a third The importance of schema Schema “define” the database The model used to implement the schema should be complementary In-class Project Form groups of three Submit a solution with all group members’ names Your task is… Develop a schema Customer name Customer address Item purchased Credit card number What issues were encountered? Repetition of information • Same item bought more than once • Same account used more than once • Same address used more than once • What if multiple credit cards? • What if multiple addresses? What if number of items is fixed? Operations (lookahead) Create relationships Demonstrate referential integrity View tables with relationships Change contents of tables Operations (test) Create database from data files