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

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 

Recently uploaded (20)

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 

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.