SlideShare a Scribd company logo
1 of 4
SOLUTIONJUG.COM
CIS/336 iLab 2 of 7 - SQL Course
CLICK HERE TO GET THE SOLUTION !!!!!!!!
L A B O V E R V I E W
Scenario/Summary
Lab two introduces the next step in creating a data model, the Entity Relationship Diagram (ERD).
You will be given a business scenario for a company named Clapham Specialty Store, which is a
small specialist grocery and delicatessen. The business specifications will outline a number of things
about the business, some of which will apply directly to the database you are being asked to model.
There is a table which lists the entities (tables) that will be needed for the database and related
attributes (columns) for each entity. There is also a column that lists specific information about the
entity that will be helpful in determining its relationship to other entities within the model.
Be sure to include the minimum and maximum occurrences of each relationship (cardinality) and to
supply a name to the relationship that will work in both directions. If there is not a single word that
will apply, then supply a separate name for each direction of the relationship.
Narrative/Case Study
The Clapham Specialty Store is a small, specialist grocery and delicatessen. A new owner, John
Balfour, who would like to expand the store and improve its profits, has recently purchased the
store. The store sells general groceries, wines and liquors, and has a small deli counter. The store is
open from 5:00 a.m. to 12:00 midnight. Many of the customers are repeat customers who come in
to buy products they forgot from their regular grocery shopping expedition at the supermarket.
The store sells about 3,000 different products ranging from toilet cleaner to 2 oz. jars of caviar, and
champagne to liverwurst. Each product is displayed on a shelf on one side or the other of the aisle.
The products arrive and their details (cost, quantity, SKU number, package size, purchase date) are
recorded in the back room before they are displayed. The new owner wants to know which products
the store sells most of and which are the most profitable.
The following is some general information about the company and its current processes.
The store has 3 cash registers.
Between 3 and 7 employees will work at any given time, depending on the time of day and how
busy they are.
An employee logs in to the register at the start of a shift and logs out at the end.
The name, address, Social Security number and other information is recorded for every employee.
All employees are paid weekly against an hourly rate which varies depending on their job
description.
Each sale is identified by a Receipt No. and a timestamp (date and time) and consists of sale items
with a quantity and price recorded for each product.
As a convenience for known customers, they offer a local delivery service. Deliveries are only made
to customers who are registered at the store; walk-ins must record their name, address, and phone
number before a delivery can be made to them.
John can find the cost of the goods from the accounts system. What John would like to have is a
point of sale system (POS) that records what has been sold to whom, by whom, for how much, and
when. Also, he needs to be able to record the delivery trips that are made, who makes the delivery,
how long the delivery takes, and the amount of the sale. There is concern at this point that the cost
of delivering the sales to customers is not worth the return on investment.
Requirements:
You have been asked to develop a logical data model for Clapham Specialty Store based on the
information given to you by John and his staff. Through analysis of the nouns and verbs in the case
study above, you have accumulated the following entity, attribute, and relationship information
shown in the table below. The attribute list may not be complete. If you determine that additional
attributes are needed to better define an entity then you should add them.
Entities Attributes and Relationships for Clapham Store:
Entity
Attributes
Relationships
Employee
ID Number, Last Name, First Name, Phone Number, Employee Type ID
An Employee can belong to any one of the three job categories, but can belong to one and only one
of the three. Employees have names and other contact information.
Employee Type
Type ID, Description, Hourly Pay Rate
An employee can be either a clerk, delivery person, or a supervisor.
Register Log
Register Log Number, Register Number, Log In Time, Log Out Time, Employee ID
Sales are made using a register and can be tracked by the register log number. An employee must
log into the register before he/she can use it and must log out when finished with a shift at that
register. An employee may use more than one register during a period of work.
Register
Register Number, Register Location Description, Register Serial Number
The store has 3 registers: One located at the back of the store and two located at the front of the
store; one on the left and one on the right of the entrance.
Deliveries
Delivery Number, Employee ID, Sales Receipt Number, Time the Employee Left and Returned
Relates to both the employee and the sale entities. This entity will help track deliveries. An
employee can make many deliveries but a sale is delivered by one and only one employee.
Location
Location ID, Aisle, Side, Shelf
Relates to product and identifies one or more areas of the store where products are displayed.
Product
Product ID, Name, Package Size, Cost, Quantity on Hand (QOH), Last Purchased Date, Reorder
Minimum
Identifies the products the store sells. One or more products can be sold per sale. The quantity on
hand allows John to determine his inventory levels. The reorder minimum can be used to determine
when the inventory level has reached a reorder point.
Sale
Receipt Number, Sales Amount, Sale Date- Time
A sale is identified by a single receipt. Sales are:
made to one or more Customers but only one customer at a time.
made by one or more Register Clerks but only one clerk per sale.
recorded on one or more Registers but only one register per sale.
delivered by one or more delivery persons but no one sale can be delivered by more than one
delivery person.
Sold Items
Receipt Number, Product ID, Item Price, Quantity Sold
Sale Item is part of sale and records product sold per sale. Sale item must be able to associate
multiple products sold on a single sales receipt.
Customer
Customer Number, First Name, Last Name, Address, Phone Number
A customer can be associated with multiple sales, but any one sale is to one and only one customer.
A sale can occur without a customer registering in the system.
Using MS Visio, develop an ERD that meets the following guidelines:
Draw the entities with their attributes.
Indicate the relationships between the entities using Crow's Foot notation. You will need to
determine the cardinality and optionality for each direction of the relationships. Some of the Foreign
Key relationships are identified in the graph above but not all. Be sure you identify and account for
all Foreign Key relationships.
Add a name (in both directions) to the relationships. Remember, if you can verbalize the relationship
in both directions then you probably have a valid relationship.
Deliverables
The deliverable for this lab will be your completed ERD as a single MS Word document using
copy/paste from the MS Visio application and named "lab2_solutions_yourname".
L A B S T E P S
STEP 1: Drawing entities and attributes
Be sure to include all of the entities that have been defined. You need to include at least the primary
and foreign key attributes where applicable in your diagram.
STEP 2: Indication of all relationships
Be sure that you link all entities based on PK to FK relationships. There may be a case where you
need to identify a combination PK and if so make sure that all of the relationships involved are
defined. Be sure that you have set your Visio editor to show Crow's Foot notation. Also, be sure that
you are defining the correct cardinality for the relationships.
STEP 3: Naming of relationships
Do not accept the default naming convention for your relationships in all cases. There may be some
relationships where this is applicable, but in most cases you will want to explicitly name the
relationship. Be sure that you have provided a verb phrase for both directions in the relationship.
This is the end of lab #2
CLICK HERE TO GET THE SOLUTION !!!!!!!!

More Related Content

Similar to Cis 336 ilab 2 of 7

Cis336 week 2 i lab 2
Cis336 week 2 i lab 2Cis336 week 2 i lab 2
Cis336 week 2 i lab 2CIS339
 
Cis336 week 2 i lab 2
Cis336 week 2 i lab 2Cis336 week 2 i lab 2
Cis336 week 2 i lab 27Fase1
 
Database Management Systems Project Report
Database Management Systems Project ReportDatabase Management Systems Project Report
Database Management Systems Project ReportSheena Nguyen
 
What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...Muhammad Tahir Mehmood
 
DATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docx
DATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docxDATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docx
DATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docxwhittemorelucilla
 
Master data
Master dataMaster data
Master datababloo6
 
Overview of SAP ERP
Overview of SAP ERPOverview of SAP ERP
Overview of SAP ERPRakeshB46
 
AimTo give you practical experience in database modelling, no.docx
AimTo give you practical experience in database modelling, no.docxAimTo give you practical experience in database modelling, no.docx
AimTo give you practical experience in database modelling, no.docxsimonlbentley59018
 
MS Dynamics CRM
MS Dynamics CRMMS Dynamics CRM
MS Dynamics CRMarjunrs
 
The five secrets of B2B commerce success
The five secrets of B2B commerce successThe five secrets of B2B commerce success
The five secrets of B2B commerce successDavid Ricketts
 
5 steps to more sales on Amazon - part 3
5 steps to more sales on Amazon - part 35 steps to more sales on Amazon - part 3
5 steps to more sales on Amazon - part 3Basil Boluk
 
Coin Loyalty CRM
Coin Loyalty CRMCoin Loyalty CRM
Coin Loyalty CRMSajosh Joy
 
List segmentation-secrets
List segmentation-secretsList segmentation-secrets
List segmentation-secretsHatim Hatta
 
Procurement process
Procurement processProcurement process
Procurement processbabloo6
 
BI in Retail sector
BI in Retail sectorBI in Retail sector
BI in Retail sectorashutosh2811
 
100% Free mobile POS System, PhoneSwipe's inside Rich Features
100% Free mobile POS System, PhoneSwipe's inside Rich Features100% Free mobile POS System, PhoneSwipe's inside Rich Features
100% Free mobile POS System, PhoneSwipe's inside Rich FeaturesLee James
 
7 reasons why your b2b demand gen sucks
7 reasons why your b2b demand gen sucks7 reasons why your b2b demand gen sucks
7 reasons why your b2b demand gen sucksConvergeHub
 

Similar to Cis 336 ilab 2 of 7 (20)

Cis336 week 2 i lab 2
Cis336 week 2 i lab 2Cis336 week 2 i lab 2
Cis336 week 2 i lab 2
 
Cis336 week 2 i lab 2
Cis336 week 2 i lab 2Cis336 week 2 i lab 2
Cis336 week 2 i lab 2
 
Database Management Systems Project Report
Database Management Systems Project ReportDatabase Management Systems Project Report
Database Management Systems Project Report
 
What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...
 
DATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docx
DATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docxDATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docx
DATABASE SYSTEMS DEVELOPMENT & IMPLEMENTATION PLAN1DATABASE SYS.docx
 
Master data
Master dataMaster data
Master data
 
Overview of SAP ERP
Overview of SAP ERPOverview of SAP ERP
Overview of SAP ERP
 
Sellers Guide
Sellers GuideSellers Guide
Sellers Guide
 
AimTo give you practical experience in database modelling, no.docx
AimTo give you practical experience in database modelling, no.docxAimTo give you practical experience in database modelling, no.docx
AimTo give you practical experience in database modelling, no.docx
 
MS Dynamics CRM
MS Dynamics CRMMS Dynamics CRM
MS Dynamics CRM
 
The five secrets of B2B commerce success
The five secrets of B2B commerce successThe five secrets of B2B commerce success
The five secrets of B2B commerce success
 
My sales for billing
My sales for billing My sales for billing
My sales for billing
 
5 steps to more sales on Amazon - part 3
5 steps to more sales on Amazon - part 35 steps to more sales on Amazon - part 3
5 steps to more sales on Amazon - part 3
 
Coin Loyalty CRM
Coin Loyalty CRMCoin Loyalty CRM
Coin Loyalty CRM
 
List segmentation-secrets
List segmentation-secretsList segmentation-secrets
List segmentation-secrets
 
Procurement process
Procurement processProcurement process
Procurement process
 
BI in Retail sector
BI in Retail sectorBI in Retail sector
BI in Retail sector
 
It bi retail
It bi retailIt bi retail
It bi retail
 
100% Free mobile POS System, PhoneSwipe's inside Rich Features
100% Free mobile POS System, PhoneSwipe's inside Rich Features100% Free mobile POS System, PhoneSwipe's inside Rich Features
100% Free mobile POS System, PhoneSwipe's inside Rich Features
 
7 reasons why your b2b demand gen sucks
7 reasons why your b2b demand gen sucks7 reasons why your b2b demand gen sucks
7 reasons why your b2b demand gen sucks
 

More from comp274

Itco 620 unit 4 project 1
Itco 620 unit 4 project 1Itco 620 unit 4 project 1
Itco 620 unit 4 project 1comp274
 
Itco 620 unit 2 project 2
Itco 620 unit 2 project 2Itco 620 unit 2 project 2
Itco 620 unit 2 project 2comp274
 
Itco 620 unit 1 project 1
Itco 620 unit 1 project 1Itco 620 unit 1 project 1
Itco 620 unit 1 project 1comp274
 
Itco 620 unit 5 project
Itco 620 unit 5 projectItco 620 unit 5 project
Itco 620 unit 5 projectcomp274
 
Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6comp274
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6comp274
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6comp274
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6comp274
 
Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7comp274
 
Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7comp274
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7comp274
 
Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7comp274
 
Cis 115 week 6 exercise
Cis 115 week 6 exerciseCis 115 week 6 exercise
Cis 115 week 6 exercisecomp274
 
Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7comp274
 

More from comp274 (16)

Week 4
Week 4Week 4
Week 4
 
Week 3
Week 3Week 3
Week 3
 
Itco 620 unit 4 project 1
Itco 620 unit 4 project 1Itco 620 unit 4 project 1
Itco 620 unit 4 project 1
 
Itco 620 unit 2 project 2
Itco 620 unit 2 project 2Itco 620 unit 2 project 2
Itco 620 unit 2 project 2
 
Itco 620 unit 1 project 1
Itco 620 unit 1 project 1Itco 620 unit 1 project 1
Itco 620 unit 1 project 1
 
Itco 620 unit 5 project
Itco 620 unit 5 projectItco 620 unit 5 project
Itco 620 unit 5 project
 
Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6Cis 355 ilab 4 of 6
Cis 355 ilab 4 of 6
 
Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6Cis 355 ilab 2 of 6
Cis 355 ilab 2 of 6
 
Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6Cis 355 ilab 1 of 6
Cis 355 ilab 1 of 6
 
Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6Cis 355 ilab 6 of 6
Cis 355 ilab 6 of 6
 
Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7Cis 170 ilab 4 of 7
Cis 170 ilab 4 of 7
 
Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7Cis 170 ilab 2 of 7
Cis 170 ilab 2 of 7
 
Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7Cis 170 ilab 1 of 7
Cis 170 ilab 1 of 7
 
Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7Cis 170 ilab 5 of 7
Cis 170 ilab 5 of 7
 
Cis 115 week 6 exercise
Cis 115 week 6 exerciseCis 115 week 6 exercise
Cis 115 week 6 exercise
 
Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7Cis 115 i lab 4 of 7
Cis 115 i lab 4 of 7
 

Recently uploaded

Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth MarketingShawn Pang
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creationsnakalysalcedo61
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCRsoniya singh
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Timedelhimodelshub1
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedLean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedKaiNexus
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Serviceankitnayak356677
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...lizamodels9
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 

Recently uploaded (20)

Tech Startup Growth Hacking 101 - Basics on Growth Marketing
Tech Startup Growth Hacking 101  - Basics on Growth MarketingTech Startup Growth Hacking 101  - Basics on Growth Marketing
Tech Startup Growth Hacking 101 - Basics on Growth Marketing
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Marketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet CreationsMarketing Management Business Plan_My Sweet Creations
Marketing Management Business Plan_My Sweet Creations
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Time
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… AbridgedLean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
Lean: From Theory to Practice — One City’s (and Library’s) Lean Story… Abridged
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 

Cis 336 ilab 2 of 7

  • 1. SOLUTIONJUG.COM CIS/336 iLab 2 of 7 - SQL Course CLICK HERE TO GET THE SOLUTION !!!!!!!! L A B O V E R V I E W Scenario/Summary Lab two introduces the next step in creating a data model, the Entity Relationship Diagram (ERD). You will be given a business scenario for a company named Clapham Specialty Store, which is a small specialist grocery and delicatessen. The business specifications will outline a number of things about the business, some of which will apply directly to the database you are being asked to model. There is a table which lists the entities (tables) that will be needed for the database and related attributes (columns) for each entity. There is also a column that lists specific information about the entity that will be helpful in determining its relationship to other entities within the model. Be sure to include the minimum and maximum occurrences of each relationship (cardinality) and to supply a name to the relationship that will work in both directions. If there is not a single word that will apply, then supply a separate name for each direction of the relationship. Narrative/Case Study The Clapham Specialty Store is a small, specialist grocery and delicatessen. A new owner, John Balfour, who would like to expand the store and improve its profits, has recently purchased the store. The store sells general groceries, wines and liquors, and has a small deli counter. The store is open from 5:00 a.m. to 12:00 midnight. Many of the customers are repeat customers who come in to buy products they forgot from their regular grocery shopping expedition at the supermarket. The store sells about 3,000 different products ranging from toilet cleaner to 2 oz. jars of caviar, and champagne to liverwurst. Each product is displayed on a shelf on one side or the other of the aisle. The products arrive and their details (cost, quantity, SKU number, package size, purchase date) are recorded in the back room before they are displayed. The new owner wants to know which products the store sells most of and which are the most profitable. The following is some general information about the company and its current processes. The store has 3 cash registers. Between 3 and 7 employees will work at any given time, depending on the time of day and how busy they are. An employee logs in to the register at the start of a shift and logs out at the end. The name, address, Social Security number and other information is recorded for every employee. All employees are paid weekly against an hourly rate which varies depending on their job description. Each sale is identified by a Receipt No. and a timestamp (date and time) and consists of sale items with a quantity and price recorded for each product.
  • 2. As a convenience for known customers, they offer a local delivery service. Deliveries are only made to customers who are registered at the store; walk-ins must record their name, address, and phone number before a delivery can be made to them. John can find the cost of the goods from the accounts system. What John would like to have is a point of sale system (POS) that records what has been sold to whom, by whom, for how much, and when. Also, he needs to be able to record the delivery trips that are made, who makes the delivery, how long the delivery takes, and the amount of the sale. There is concern at this point that the cost of delivering the sales to customers is not worth the return on investment. Requirements: You have been asked to develop a logical data model for Clapham Specialty Store based on the information given to you by John and his staff. Through analysis of the nouns and verbs in the case study above, you have accumulated the following entity, attribute, and relationship information shown in the table below. The attribute list may not be complete. If you determine that additional attributes are needed to better define an entity then you should add them. Entities Attributes and Relationships for Clapham Store: Entity Attributes Relationships Employee ID Number, Last Name, First Name, Phone Number, Employee Type ID An Employee can belong to any one of the three job categories, but can belong to one and only one of the three. Employees have names and other contact information. Employee Type Type ID, Description, Hourly Pay Rate An employee can be either a clerk, delivery person, or a supervisor. Register Log Register Log Number, Register Number, Log In Time, Log Out Time, Employee ID Sales are made using a register and can be tracked by the register log number. An employee must log into the register before he/she can use it and must log out when finished with a shift at that register. An employee may use more than one register during a period of work. Register Register Number, Register Location Description, Register Serial Number The store has 3 registers: One located at the back of the store and two located at the front of the store; one on the left and one on the right of the entrance. Deliveries Delivery Number, Employee ID, Sales Receipt Number, Time the Employee Left and Returned Relates to both the employee and the sale entities. This entity will help track deliveries. An employee can make many deliveries but a sale is delivered by one and only one employee. Location Location ID, Aisle, Side, Shelf Relates to product and identifies one or more areas of the store where products are displayed.
  • 3. Product Product ID, Name, Package Size, Cost, Quantity on Hand (QOH), Last Purchased Date, Reorder Minimum Identifies the products the store sells. One or more products can be sold per sale. The quantity on hand allows John to determine his inventory levels. The reorder minimum can be used to determine when the inventory level has reached a reorder point. Sale Receipt Number, Sales Amount, Sale Date- Time A sale is identified by a single receipt. Sales are: made to one or more Customers but only one customer at a time. made by one or more Register Clerks but only one clerk per sale. recorded on one or more Registers but only one register per sale. delivered by one or more delivery persons but no one sale can be delivered by more than one delivery person. Sold Items Receipt Number, Product ID, Item Price, Quantity Sold Sale Item is part of sale and records product sold per sale. Sale item must be able to associate multiple products sold on a single sales receipt. Customer Customer Number, First Name, Last Name, Address, Phone Number A customer can be associated with multiple sales, but any one sale is to one and only one customer. A sale can occur without a customer registering in the system. Using MS Visio, develop an ERD that meets the following guidelines: Draw the entities with their attributes. Indicate the relationships between the entities using Crow's Foot notation. You will need to determine the cardinality and optionality for each direction of the relationships. Some of the Foreign Key relationships are identified in the graph above but not all. Be sure you identify and account for all Foreign Key relationships. Add a name (in both directions) to the relationships. Remember, if you can verbalize the relationship in both directions then you probably have a valid relationship. Deliverables The deliverable for this lab will be your completed ERD as a single MS Word document using copy/paste from the MS Visio application and named "lab2_solutions_yourname". L A B S T E P S STEP 1: Drawing entities and attributes Be sure to include all of the entities that have been defined. You need to include at least the primary and foreign key attributes where applicable in your diagram. STEP 2: Indication of all relationships
  • 4. Be sure that you link all entities based on PK to FK relationships. There may be a case where you need to identify a combination PK and if so make sure that all of the relationships involved are defined. Be sure that you have set your Visio editor to show Crow's Foot notation. Also, be sure that you are defining the correct cardinality for the relationships. STEP 3: Naming of relationships Do not accept the default naming convention for your relationships in all cases. There may be some relationships where this is applicable, but in most cases you will want to explicitly name the relationship. Be sure that you have provided a verb phrase for both directions in the relationship. This is the end of lab #2 CLICK HERE TO GET THE SOLUTION !!!!!!!!