COMM 335 Lecture : Class 4 - Introduction to Database.pdf

149 views2 pages
15 May 2012
School
Department
Course
Professor

Document Summary

Non unique primary keys - using first/last name as pk. Foreign key name does not correspond to the actual data (a pk called custid, is called custname in another table) Duplicate data across two tables (first/last name of a customer in two tables) Note: while it is possible to have a database with 1 table that fulfills all the user requirements, lots of duplication will occur (anomalies) Entity relationship diagram is a technique to model real objects in a database. Database users, builder, designer refer an object with different terms, such as: For the purpose of this course we will use crow"s feet notation. An artist could have 0 to many songs, a song can only have one artist. Entity: person, object, event, concept the user environment about which organization wishes to maintain data. For accounting databases: people are often involved (student, customer) Attributes: properties within the entity (last/first name of a customer)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents