You are on page 1of 12

Database Systems

What are the main things we have learned?


What have been seen from your course work? What do you think about your skill in SQL? What would you expect in the examination?

What are the main things we have learned? (I)

Database Basis

What is database approaches Advantages and disadvantages (cost) of database systems, comparing with the conventional programming approaches such as Java, C++

Advantages and disadvantages of relational database

What are the main things we have learned? (II)

Relational database models

What a data model is

Three parts, what are they?

What are the main things we have learned? (III)

Relational database models:

What is the basic data structure in relational database?

A lot of concepts:

tables/relations, attributes, tuples keys: primary key, foreign key, candidate keys ...

What are the two basic integrity rules? How to check?

What are the main things we have learned?

Relational database models: the manipulative part

Relational Algebra

be carefully about the format.

How to define the Relational Algebra? How to link Relational Algebra to SQL?

What are the main things we have learned? (IV)

SQL:

How to define the SQL?

To retrieve information from one table To retrieve information from more than one tables

How to link Relational Algebra to SQL?

What are the main things we have learned? (V)

Database Design

ERD, and then tables


How to generate an appropriate ERD:

focus on the key things (entities) and their relationships.

From ERD to tables:

Be carefully about relationship between entities.

What are the main things we have learned? (VI)

Database Normalization

What is Database Normalization? NFs: 1NF, 2NF, 3NF Functional dependence

Partial functional dependence. Transitive functional dependence

How to perform the 1NF, 2NF and 3NF normalization?

What are the main things we have learned? (VII)

Physical Database Design

What it is about? What are the advantage and disadvantage of different database representations.

Database Administration

What do?

What have been seen from your course work?


ERD Many of you have identified the core entities:

Staff, Customer, Items, Branch

How about:

Manager? Price?

The relationship: some are not so clearly.

What have been seen from your course work?


Tables:

Attributes were not too bad, but some were not in the right tables.

Not normalized
Keys: foreign keys must have the same domain as the associated primary keys.

What have been seen from your course work?

Functional Dependence and Normalization

Normalization has to be done based on FDs, particularly based on the PFDs and TFDs.

You might also like