Your SlideShare is downloading. ×
0
Mrs. Schneider                                           May 2012How to create a conceptual schema (CS) diagram usingNIAM ...
NIAM STEPS1.   State the elementary facts2.   Draw the first draft conceptual schema (CS)     diagram.3.   Remove surplus ...
BUSINESS ‘PROBLEM’  Nurture Nursery  specializes in native  plants. The business  requires a computerised  system that inc...
PLANT DATAFor each plant the system will need to store: biological name common name maximum growth height in metres co...
MORE INFORMATION   The plants are sold in four pot sizes (1 to    4), which have a corresponding retail price    ($4, $5,...
STATE THE ELEMENTARY FACTS     Plant with Biological name     Has     Common Name of     Plant with Biological name     Ha...
Plant with Biological nameHasFlowering Time with descriptionPlant with Biological nameHasAppearance described by the  pict...
Combination (Plant – Pot Size)HasQuantity in Stock with numberCombination (Plant – Pot Size)HasTotal Value with $Pot Size ...
DRAW THE DRAFT CONCEPTUAL SCHEMA
ADD UNIQUENESS CONSTRAINTS & MANDATORYROLES
DRAW LOOPS AROUND THE ROLESOPTIMAL NORMAL FORM
ESTABLISH TABLESRELATIONAL SCHEMA
WHAT IS NEXT IN THIS PROCESS?   After creating the conceptual schema you    would     start to create table definitions ...
Upcoming SlideShare
Loading in...5
×

IPT Year 12 how to design database

789

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
789
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "IPT Year 12 how to design database"

  1. 1. Mrs. Schneider May 2012How to create a conceptual schema (CS) diagram usingNIAM steps with an example ‘problem’IPT YEAR 12RELATIONAL DATABASE
  2. 2. NIAM STEPS1. State the elementary facts2. Draw the first draft conceptual schema (CS) diagram.3. Remove surplus entities and indicate derived facts.4. Add uniqueness constraints5. Add mandatory roles and cardinality constraints6. Check that conceptual schema can be populated by examples given
  3. 3. BUSINESS ‘PROBLEM’ Nurture Nursery specializes in native plants. The business requires a computerised system that includes functionality for inventory control and production of identification tags.
  4. 4. PLANT DATAFor each plant the system will need to store: biological name common name maximum growth height in metres colour of flowers the time of year for flowering picture of the plant.The identification tags will need to carry all this information.
  5. 5. MORE INFORMATION The plants are sold in four pot sizes (1 to 4), which have a corresponding retail price ($4, $5, $6, $8). The number of each plant in each pot size will also need to be stored. The nursery requires a simple way of updating stock numbers when plants are sold or stock replenished. The new stock most often comes in orders of a particular plant, but the business sometimes replenishes all stock by ordering a set quantity of all No. 1 size pots.
  6. 6. STATE THE ELEMENTARY FACTS Plant with Biological name Has Common Name of Plant with Biological name Has Maximum Height with metres Plant with Biological name Has Flower Colour with description
  7. 7. Plant with Biological nameHasFlowering Time with descriptionPlant with Biological nameHasAppearance described by the picturePlant with Biological nameIs inPot Size with number
  8. 8. Combination (Plant – Pot Size)HasQuantity in Stock with numberCombination (Plant – Pot Size)HasTotal Value with $Pot Size with numberHasPrice with $
  9. 9. DRAW THE DRAFT CONCEPTUAL SCHEMA
  10. 10. ADD UNIQUENESS CONSTRAINTS & MANDATORYROLES
  11. 11. DRAW LOOPS AROUND THE ROLESOPTIMAL NORMAL FORM
  12. 12. ESTABLISH TABLESRELATIONAL SCHEMA
  13. 13. WHAT IS NEXT IN THIS PROCESS? After creating the conceptual schema you would  start to create table definitions (planning how you will create the tables)  Draw draft forms (interfaces)  Possibly create an information flow diagram  Create the database within Access, Oracle etc.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×