SlideShare a Scribd company logo
Mrs. Schneider
                                           May 2012




How to create a conceptual schema (CS) diagram using
NIAM steps with an example ‘problem’

IPT YEAR 12
RELATIONAL DATABASE
NIAM STEPS
1.   State the elementary facts
2.   Draw the first draft conceptual schema (CS)
     diagram.
3.   Remove surplus entities and indicate derived
     facts.
4.   Add uniqueness constraints
5.   Add mandatory roles and cardinality
     constraints
6.   Check that conceptual schema can be
     populated by examples given
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.
PLANT DATA
For 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.
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.
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
Plant with Biological name
Has
Flowering Time with description

Plant with Biological name
Has
Appearance described by the
  picture

Plant with Biological name
Is in
Pot Size with number
Combination (Plant – Pot Size)
Has
Quantity in Stock with number

Combination (Plant – Pot Size)
Has
Total Value with $

Pot Size with number
Has
Price with $
DRAW THE DRAFT CONCEPTUAL SCHEMA
ADD UNIQUENESS CONSTRAINTS & MANDATORY
ROLES
DRAW LOOPS AROUND THE ROLES
OPTIMAL NORMAL FORM
ESTABLISH TABLES
RELATIONAL SCHEMA
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.

More Related Content

PPT
Lecture 8
PPTX
Random sample breed test in poultry
PDF
School Arcade proposal presentation
PPTX
12 ipt 0203 Storage and Retrieval
DOCX
FertilizersFertID FertilizerName NutrientRatio Price Form.docx
PDF
Nursery maintenance
PPTX
Oracle: Dw Design
PPTX
Oracle: DW Design
Lecture 8
Random sample breed test in poultry
School Arcade proposal presentation
12 ipt 0203 Storage and Retrieval
FertilizersFertID FertilizerName NutrientRatio Price Form.docx
Nursery maintenance
Oracle: Dw Design
Oracle: DW Design

More from elketeaches (14)

PPTX
PD Byte - 'Coding' introduction
PPTX
Alice3 Introduction
PDF
Robotics intro
PPTX
The promise of digital technology in education to deliver equity and transfor...
PPTX
Leading Girls into ICT: Increasing female participation at Somerset College (...
PPTX
Leading Girls into ICT: Increasing female participation at Somerset College (...
PPTX
Gaming & Gender
PPTX
Lego Mindstorms EV3 - teaching & learning
PPTX
Arduino Introduction Guide 1
PPTX
Arduino Intro Guide 2
PPTX
2022 Commonwealth Games in Quebec
PPTX
Social connectedness teaching strategy
PPTX
e4e Mrs Schneider Introduction
PPTX
Cyberbullying in the Middle Years
PD Byte - 'Coding' introduction
Alice3 Introduction
Robotics intro
The promise of digital technology in education to deliver equity and transfor...
Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...
Gaming & Gender
Lego Mindstorms EV3 - teaching & learning
Arduino Introduction Guide 1
Arduino Intro Guide 2
2022 Commonwealth Games in Quebec
Social connectedness teaching strategy
e4e Mrs Schneider Introduction
Cyberbullying in the Middle Years
Ad

Recently uploaded (20)

PPTX
The various Industrial Revolutions .pptx
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
The various Industrial Revolutions .pptx
Web App vs Mobile App What Should You Build First.pdf
WOOl fibre morphology and structure.pdf for textiles
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
A comparative study of natural language inference in Swahili using monolingua...
A contest of sentiment analysis: k-nearest neighbor versus neural network
NewMind AI Weekly Chronicles – August ’25 Week III
Hindi spoken digit analysis for native and non-native speakers
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Final SEM Unit 1 for mit wpu at pune .pptx
NewMind AI Weekly Chronicles - August'25-Week II
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Getting started with AI Agents and Multi-Agent Systems
Zenith AI: Advanced Artificial Intelligence
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Assigned Numbers - 2025 - Bluetooth® Document
cloud_computing_Infrastucture_as_cloud_p
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Ad

IPT Year 12 how to design database

  • 1. Mrs. Schneider May 2012 How to create a conceptual schema (CS) diagram using NIAM steps with an example ‘problem’ IPT YEAR 12 RELATIONAL DATABASE
  • 2. NIAM STEPS 1. State the elementary facts 2. Draw the first draft conceptual schema (CS) diagram. 3. Remove surplus entities and indicate derived facts. 4. Add uniqueness constraints 5. Add mandatory roles and cardinality constraints 6. Check that conceptual schema can be populated by examples given
  • 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. PLANT DATA For 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. 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. 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. Plant with Biological name Has Flowering Time with description Plant with Biological name Has Appearance described by the picture Plant with Biological name Is in Pot Size with number
  • 8. Combination (Plant – Pot Size) Has Quantity in Stock with number Combination (Plant – Pot Size) Has Total Value with $ Pot Size with number Has Price with $
  • 9. DRAW THE DRAFT CONCEPTUAL SCHEMA
  • 10. ADD UNIQUENESS CONSTRAINTS & MANDATORY ROLES
  • 11. DRAW LOOPS AROUND THE ROLES OPTIMAL NORMAL FORM
  • 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.