Académique Documents
Professionnel Documents
Culture Documents
Table Design
Form Design
Report Design
IBS, Chennai II IT Workshop on MS Access October 3-6, 2008 #
Access 2007 – File Menu
•Starting MS Access
2007
•Online Templates
•The Office Button
•The File Menu
•Personalize
•Access Ribbon
•Navigation Pane
•Workspace
•Custom
•Object Type
•Tables and Related Views
•Created Date , Modified Date
•Filter by Group
•Unrelated Objects , All
tables
•Divided into
Groups
•Home
•Create
•External Data
•Database Tools
•Datasheet
•View Status
•Switch Views
0 NF 1 NF 2 NF 3 NF
# Prod No.
Prod. Desc.
Inv. No.
Inv. Date
Contact Name
Customer Name
Quantity
Price
0 NF 1 NF 2 NF 3 NF
# Prod No. #@ Prod No.
Prod. Desc. # Inv. No.
Inv. No. Inv. Date
Inv. Date Contact Name
Contact Name Customer Name
Customer Name Quantity
Quantity Price
Price
# Prod. No.
Prod. Desc
•In each data group at 1 NF identify all data items that depend on only on a
part of the key.
•List these as a new relation. Copy the part key. The key also remains with the
original group.
0 NF 1 NF 2 NF 3 NF
# Prod No. #@ Prod No. # Inv. No.
Prod. Desc. # Inv. No. Inv. Date
Inv. No. Inv. Date Contact Name
Inv. Date Contact Name Customer Name
Contact Name Customer Name
Customer Name Quantity #@ Prod. No.
Quantity Price #@ Inv. No.
Price Quantity
# Prod. No. Price
Prod. Desc
# Prod. No.
Prod. Desc.
0 NF 1 NF 2 NF 3 NF
# Prod No. #@ Prod No. # Inv. No. # Inv. No.
Prod. Desc. Inv. No. Inv. Date Inv. Date
Inv. No. Inv. Date Contact Name Customer Name
Inv. Date Contact Name Customer Name
Contact Name Customer Name # Customer Name
Customer Name Quantity #@ Prod. No. Contact Name
Quantity Price #@ Inv. No.
Price Quantity #@ Prod. No.
# Prod. No. Price #@ Inv. No.
Prod. Desc Quantity
# Prod. No. Price
Prod. Desc.
# Prod. No.
Prod. Desc
Your billing rate for this assignment is Rs. 3500 per day.
0 NF
1 NF
•Every attribute must have a single value for any
occurrence of its entity.
To go from 0 NF to 1 NF
•Remove any multi-valued attributes from their 0 NF entity
and create a new entity for them.
•Copy the identifier of the original entity into the new
entity. This will probably part of the unique identifier for
the new entity.
0 NF 1 NF 2 NF 3 NF
EMPLOYEE ASSIGNMENT
# Emp No #@Emp No
Emp Name #@Proj. No
Dept Number Proj Name
Dept Name Start Date
Mgr No Billing Rate
Mgr Name EMPLOYEE
Proj No # Emp No
Proj Name Emp Name
Start Date Dept No
Billing Rate Dept Name
Mgr No
Mgr Name
2 NF
•Every attribute must depend on the entire key of its entity
To go from 1 NF to 2 NF
•Remove any partial dependent attributes from their 1 NF
entity and create a new entity.
•Copy that part of the identifier (on which the removed
attributes are dependent) into the new entity.
3 NF
•Every attribute must not depend on anything except the
entire unique identifier of its entity
To go from 2 NF to 3 NF
•Remove any non dependent attributes from their 2 NF
entity and put them in an entity of their own.
•This new entity will need a unique identifier of its own.
Is represented by
•solid line for mandatory relationship
•dotted line for optional relationship
•crow’s foot for m degree Relationship Notation
•single line for “1” degree
mandatory
optional
one
many
relationship
E1 1 E2
relationship2
Harry runs a video library for the members of his video club. It is
important for him to know about the titles on his shelves, of
course, but also how many copies he has, what sort of video format
they are, what their purchase price was, their condition, what their
run time is so forth.
VIDEO TITLE
VIDEO COPY
MEMBER
DAILY_RATE
SHELF
LOAN
RESERVATION
ENTITY DETAILS
VIDEO
# TITLE
TITLE_ID VIDEO
# COPY
TITLE_ID MEMBER
# MEMBER_ID SHELF
# SHELF_NO
● NAME # COPY_NO ● NAME ● RACK_NO
○ DESCRIPTION ● FORMAT ● ADDRESS ○ CAPACITY
○ TYPE ○ CONDITION ○ TEL_NO
● RATING ● STATUS
○ RUNTIME
DAILY_RATE
# RATE_CODE
● VALUE
● EFFECT_DATE
LOAN
# LOAN_ID RESERVATION
# REQ_ID
● MEMBER_ID ● MEMBER_ID
● TITLE_ID ● TITLE_ID
● COPY_ID ● REQ_DATE
● DATE_FROM ● FULFILLED
● DATE_DUE
○ DATE_RETURNED
○ AMT_BILLED
BWC Video Club
of VIDEO COPY
LOAN
Format
From_date subject of Condition
at
Exp_return
to of
used
in DAILY RATE
Amount
St_date
party to
source of
CUSTOMER
Memb_No VIDEO TITLE
ο Name Name
ο Renew_Dt ο Run_Time
ο Distributor
0
Loan
Request
Approv Loan
Customer al Process
ing
Rejecti System
on
Level 1
Customer
Loan 4.0
Request 1.0
Decide Int . Rate
Regret Receive Request
Documents Documents
Documents
5.0
2.0 3.0
Documents
Create Offer
Check Credit Prepare Docs .
Contra
Credit Status Int Rates ct
Customer
D1 Credit File D2 Int . Rate File
Context Diagram
0
Order P O
Invoic Super
Customer Builder Invoic Supplier
e e
System
Payment Payment
Reports
Management
Monthly 5.0
Statement
Customer Prepare
1.0
Order Statement
Prepare Order
Prices Sales
data
Regret D5 Sales Ledger
Priced SO
D2 Catalog
Sales
data
2.0 3.0 Order 4.0
Approved Details
Order
Check Credit Prepare Delivery Prepare Invoice
Order for
Delivery Invoic
Credit Status O / S Availabil e
Lines ity
Customer
D1 Credit File D4 O / S Orders D3 Stock File