SlideShare a Scribd company logo
1 of 13
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

Similar to IPT Year 12 how to design database

IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxReneeClintGortifacio
 
De vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 novemberDe vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 novemberlenasour
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptssuser39e08e
 
Cis 110 Education Organization -- snaptutorial.com
Cis 110   Education Organization -- snaptutorial.comCis 110   Education Organization -- snaptutorial.com
Cis 110 Education Organization -- snaptutorial.comDavisMurphyB68
 
Spss tutorial 1
Spss tutorial 1Spss tutorial 1
Spss tutorial 1debataraja
 
CIS 110 Education Specialist / snaptutorial.com
 CIS 110 Education Specialist / snaptutorial.com CIS 110 Education Specialist / snaptutorial.com
CIS 110 Education Specialist / snaptutorial.comstevesonz126
 
BUSI 331Marketing Research Report Part 3 InstructionsData .docx
BUSI 331Marketing Research Report Part 3 InstructionsData .docxBUSI 331Marketing Research Report Part 3 InstructionsData .docx
BUSI 331Marketing Research Report Part 3 InstructionsData .docxhumphrieskalyn
 
Qualitative data analysis using NVivo: An intermediate workshop
Qualitative data analysis using NVivo: An intermediate workshopQualitative data analysis using NVivo: An intermediate workshop
Qualitative data analysis using NVivo: An intermediate workshopBrenda Cecilia Padilla Rodríguez
 
De vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 novemberDe vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 novemberlenasour
 
CIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.comCIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.comJaseetha16
 
Cis 110 Success Begins / snaptutorial.com
Cis 110 Success Begins / snaptutorial.comCis 110 Success Begins / snaptutorial.com
Cis 110 Success Begins / snaptutorial.comRobinson065
 
Cis 110 Enthusiastic Study - snaptutorial.com
Cis 110 Enthusiastic Study - snaptutorial.comCis 110 Enthusiastic Study - snaptutorial.com
Cis 110 Enthusiastic Study - snaptutorial.comGeorgeDixon95
 
Academia to Data Science - A Hitchhiker's Guide
Academia to Data Science - A Hitchhiker's GuideAcademia to Data Science - A Hitchhiker's Guide
Academia to Data Science - A Hitchhiker's GuideSudeep Das, Ph.D.
 
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docxhyacinthshackley2629
 
CIS 110 Education Redefined / snaptutorial.com
CIS 110  Education Redefined / snaptutorial.comCIS 110  Education Redefined / snaptutorial.com
CIS 110 Education Redefined / snaptutorial.comMcdonaldRyan199
 

Similar to IPT Year 12 how to design database (20)

IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptx
 
De vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 novemberDe vry math 221 all ilabs latest 2016 november
De vry math 221 all ilabs latest 2016 november
 
Ddd ms dec 2010
Ddd ms dec 2010Ddd ms dec 2010
Ddd ms dec 2010
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.ppt
 
Data visualization with R
Data visualization with RData visualization with R
Data visualization with R
 
Cis 110 Education Organization -- snaptutorial.com
Cis 110   Education Organization -- snaptutorial.comCis 110   Education Organization -- snaptutorial.com
Cis 110 Education Organization -- snaptutorial.com
 
Spss tutorial 1
Spss tutorial 1Spss tutorial 1
Spss tutorial 1
 
Spss tutorial 1
Spss tutorial 1Spss tutorial 1
Spss tutorial 1
 
CIS 110 Education Specialist / snaptutorial.com
 CIS 110 Education Specialist / snaptutorial.com CIS 110 Education Specialist / snaptutorial.com
CIS 110 Education Specialist / snaptutorial.com
 
BUSI 331Marketing Research Report Part 3 InstructionsData .docx
BUSI 331Marketing Research Report Part 3 InstructionsData .docxBUSI 331Marketing Research Report Part 3 InstructionsData .docx
BUSI 331Marketing Research Report Part 3 InstructionsData .docx
 
Qualitative data analysis using NVivo: An intermediate workshop
Qualitative data analysis using NVivo: An intermediate workshopQualitative data analysis using NVivo: An intermediate workshop
Qualitative data analysis using NVivo: An intermediate workshop
 
De vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 novemberDe vry math221 all ilabs latest 2016 november
De vry math221 all ilabs latest 2016 november
 
CIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.comCIS 336 Wonderful Education--cis336.com
CIS 336 Wonderful Education--cis336.com
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorial
 
Cis 110 Success Begins / snaptutorial.com
Cis 110 Success Begins / snaptutorial.comCis 110 Success Begins / snaptutorial.com
Cis 110 Success Begins / snaptutorial.com
 
Cis 110 Enthusiastic Study - snaptutorial.com
Cis 110 Enthusiastic Study - snaptutorial.comCis 110 Enthusiastic Study - snaptutorial.com
Cis 110 Enthusiastic Study - snaptutorial.com
 
Academia to Data Science - A Hitchhiker's Guide
Academia to Data Science - A Hitchhiker's GuideAcademia to Data Science - A Hitchhiker's Guide
Academia to Data Science - A Hitchhiker's Guide
 
Dwbi Project
Dwbi ProjectDwbi Project
Dwbi Project
 
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
1Copyright © 2014 Pearson Education, Inc. Publishing as Pren.docx
 
CIS 110 Education Redefined / snaptutorial.com
CIS 110  Education Redefined / snaptutorial.comCIS 110  Education Redefined / snaptutorial.com
CIS 110 Education Redefined / snaptutorial.com
 

More from elketeaches

PD Byte - 'Coding' introduction
PD Byte - 'Coding' introductionPD Byte - 'Coding' introduction
PD Byte - 'Coding' introductionelketeaches
 
Alice3 Introduction
Alice3 IntroductionAlice3 Introduction
Alice3 Introductionelketeaches
 
The promise of digital technology in education to deliver equity and transfor...
The promise of digital technology in education to deliver equity and transfor...The promise of digital technology in education to deliver equity and transfor...
The promise of digital technology in education to deliver equity and transfor...elketeaches
 
Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...elketeaches
 
Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...elketeaches
 
Lego Mindstorms EV3 - teaching & learning
Lego Mindstorms EV3 - teaching & learningLego Mindstorms EV3 - teaching & learning
Lego Mindstorms EV3 - teaching & learningelketeaches
 
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1elketeaches
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2elketeaches
 
2022 Commonwealth Games in Quebec
2022 Commonwealth Games in Quebec2022 Commonwealth Games in Quebec
2022 Commonwealth Games in Quebecelketeaches
 
Social connectedness teaching strategy
Social connectedness teaching strategySocial connectedness teaching strategy
Social connectedness teaching strategyelketeaches
 
e4e Mrs Schneider Introduction
e4e Mrs Schneider Introductione4e Mrs Schneider Introduction
e4e Mrs Schneider Introductionelketeaches
 
Cyberbullying in the Middle Years
Cyberbullying in the Middle YearsCyberbullying in the Middle Years
Cyberbullying in the Middle Yearselketeaches
 

More from elketeaches (14)

PD Byte - 'Coding' introduction
PD Byte - 'Coding' introductionPD Byte - 'Coding' introduction
PD Byte - 'Coding' introduction
 
Alice3 Introduction
Alice3 IntroductionAlice3 Introduction
Alice3 Introduction
 
Robotics intro
Robotics introRobotics intro
Robotics intro
 
The promise of digital technology in education to deliver equity and transfor...
The promise of digital technology in education to deliver equity and transfor...The promise of digital technology in education to deliver equity and transfor...
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 (...Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...
 
Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...Leading Girls into ICT: Increasing female participation at Somerset College (...
Leading Girls into ICT: Increasing female participation at Somerset College (...
 
Gaming & Gender
Gaming & GenderGaming & Gender
Gaming & Gender
 
Lego Mindstorms EV3 - teaching & learning
Lego Mindstorms EV3 - teaching & learningLego Mindstorms EV3 - teaching & learning
Lego Mindstorms EV3 - teaching & learning
 
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1
 
Arduino Intro Guide 2
Arduino Intro Guide 2Arduino Intro Guide 2
Arduino Intro Guide 2
 
2022 Commonwealth Games in Quebec
2022 Commonwealth Games in Quebec2022 Commonwealth Games in Quebec
2022 Commonwealth Games in Quebec
 
Social connectedness teaching strategy
Social connectedness teaching strategySocial connectedness teaching strategy
Social connectedness teaching strategy
 
e4e Mrs Schneider Introduction
e4e Mrs Schneider Introductione4e Mrs Schneider Introduction
e4e Mrs Schneider Introduction
 
Cyberbullying in the Middle Years
Cyberbullying in the Middle YearsCyberbullying in the Middle Years
Cyberbullying in the Middle Years
 

Recently uploaded

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

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.