Showing posts with label Database. Show all posts
Showing posts with label Database. Show all posts

Monday, April 30, 2007

Want to get this videos on your computer?

Subscribe to my podcast on iTunes.

You can search on iTunes for Information Systems 12. However, I find searching on iTunes can take a long time. The quicker way is to use the Advanced Menu and subscribe using the feed below.

http://www.yapiodesign.com/krisolson/Information_Systems_12feed.xml


I left small mistakes in the Podcasts so that you can see that everyone makes syntax and logic errors. The trick is to find the errors and fix them. Determination and persistence are very admirable qualities when debugging programs.

Monday, April 23, 2007

Database Outline

Types of Databases
Data Topics
Relationships
Entity Relationship Diagrams
Multi-table Queries
More on the relational Model
Normalisation
Assessment

Database Assessment

Database overview
E-R Diagram
Normalisation
Open Book Test

Normalisation

Read handouts p. 211-216 and the "High Tech Talk" section at the end of Chapter 10 from your text book.

View video podcast. The podcast example is based on Exercise #1 at http://cs.senecac.on.ca/~dbs201/pages/Normalization_Practice.htm

Complete review exercises 10.1 & 10.2 from your handouts

More on the Relational Model

Handouts p60-70.

Be sure you understand notation for relations p. 66

Pay particular attention to knowing the following terms (most of which we have already discussed.

  • relation
  • entity
  • table
  • tuple
  • attribute
  • composite key
  • primary key
  • foreign key
Read p. 78-83 from handouts. Be sure you understand Entity Integrity, Referential Integrity, and Domain Integrity.

Multitable Queries

Microstar Ch 9

Entity Relationship Diagrams

Framework for data modeling (Handouts p 13 and 17)
Review Suggested Standards
Introduction to E-R Diagrams
Cardinality
Handouts p. 27-32 Types of Relationships
Review questions: 2.2, 2.7, 2.12
Handouts p. 48 - 53 Examples of Data modeling
Resolving M:N Relationships
Review Exercises: 2.1, 2.3,2.4 (E-R only), 2.5 (E-R only), 2.6
Challenge Problems 2.1, 2.2 , 2.3, 2.4

Microstar Relationships

Supplier Stock Problem
Complete Ch8 Microstar Materials covering Relationships

Monday, April 9, 2007

Data Topics

This video shows a flat file database and examines database terminology related to it.
  • Data duplication: data repeated in a table
  • Data redundancy: the unnecessary duplication of data
  • Data integrity: the accuracy or correctness of data
  • Table/ Entity / Relation: a cluster of data representing one thing stored in rows and columns
  • Row/Record/Tuple: collection data stored about one item in the table/ entity/ relation
  • Column/Field/ Attribute: the facts stored in each record
  • Primary Key: unique identifier for each record
  • Foreign Key: field in a table that matches a primary key in another table allowing the tables to be joined
  • Insertion Anomalies: The inability to add information to a database because extra data is required to add it to the database (in our example - we couldn't add supplier details before receiving a movie)
  • Update Anomalies: changes must be made in multiple locations (in our example: if a supplier moved the address would need to be changed in many records)
  • Deletion Anomalies: deleting a row causes other data to be deleted (in our example: removing a movie causes supplier details to be deleted)

Tuesday, March 20, 2007

Types of databases

http://unixspace.com/context/databases.html