1. I S M 4 2 1 2 - 0 0 1
SUNSHINE WINERY DATABASE
DOCUMENTATION
Austin Baragar, Jack Gebhart, Jacob Hyppolite, Ryan
Price, Peter Sheridan
Fall
15
2. 2 SUNSHINE WINERY DATABASE DOCUMENTATION
Table of Contents
OVERVIEW ............................................................................................................................ 4
INTRO TO SQL SERVER........................................................................................................... 4
Software Recommendation ............................................................................................................4
About Microsoft SQL Server............................................................................................................4
HOW TO ACCESS THE DATABASE ........................................................................................... 5
STEP 1............................................................................................................................................5
STEP 2............................................................................................................................................6
STEP 3............................................................................................................................................7
STEP 4............................................................................................................................................7
STEP 5............................................................................................................................................8
REPORTS AND VIEWS ............................................................................................................ 9
Views .................................................................................................................................... 9
HOW TO ACCESS THE VIEWS...........................................................................................................9
STEP 1....................................................................................................................................................9
STEP 2....................................................................................................................................................9
VIEW 1.........................................................................................................................................10
VIEW 2.........................................................................................................................................11
VIEW 3.........................................................................................................................................11
VIEW 4.........................................................................................................................................12
VIEW 5.........................................................................................................................................12
Reports ............................................................................................................................... 13
HOW TO ACCESS THE REPORTS.....................................................................................................13
STEP 1..................................................................................................................................................13
STEP 3..................................................................................................................................................13
STEP 3..................................................................................................................................................14
STEP 4..................................................................................................................................................15
STEP 5..................................................................................................................................................15
REPORT 1.....................................................................................................................................16
REPORT 2.....................................................................................................................................17
REPORT 3.....................................................................................................................................18
REPORT 4.....................................................................................................................................19
REPORT 5.....................................................................................................................................20
Appendixes ......................................................................................................................... 21
Appendix A ..................................................................................................................................22
Entity Relationship Diagram................................................................................................................22
Relational Schema...............................................................................................................................23
Data Dictionary ...................................................................................................................................24
3. SUNSHINE WINERY DATABASE DOCUMENTATION 3
APPENDIX B .................................................................................................................................31
SQL SERVER DATABASE DIAGRAM......................................................................................................31
APPENDIX C .................................................................................................................................32
REPORT 1.............................................................................................................................................32
REPORT 2.............................................................................................................................................32
REPORT 3.............................................................................................................................................32
REPORT 4.............................................................................................................................................35
REPORT 5.............................................................................................................................................36
APPENDIX D.................................................................................................................................39
Bottle TABLE........................................................................................................................................39
Company TABLE ..................................................................................................................................40
Customer TABLE..................................................................................................................................41
Customer Order TABLE .......................................................................................................................42
Customer Order Line TABLE................................................................................................................43
Employee TABLE..................................................................................................................................44
Grape TABLE........................................................................................................................................45
Grape Percentage TABLE ....................................................................................................................45
Harvest TABLE.....................................................................................................................................46
Individual TABLE..................................................................................................................................46
Product TABLE.....................................................................................................................................47
Soil Type TABLE...................................................................................................................................48
Vendor TABLE......................................................................................................................................48
Vendor Order TABLE ...........................................................................................................................48
Vendor Order Line TABLE....................................................................................................................49
Vineyard TABLE...................................................................................................................................49
Wine TABLE.........................................................................................................................................50
4. 4 SUNSHINE WINERY DATABASE DOCUMENTATION
OVERVIEW
Sunshine Winery is a fast growing business, and its record keeping needs are accelerating accordingly.
To keep up with this pace, Sunshine Winery will need a system to maintain operational . To best suit the
scaling needs of the organization, Microsoft SQL Server was selected as the DBMS. More about the tool
follows this overview. Also included in this report is documentation on how to use SQL Server to yield
maximum value, example reports that could be run at regular intervals, example views that will provide
a quick overview of key database columns, and appendixes with additional database information.
INTRO TO SQL SERVER
Software Recommendation
Sunshine Winery has grown to the point that managing its data in its current form has become
cumbersome and tedious. A DBMS will increase efficiency and prepare for managing future growth. The
owners of the winery acknowledged the need for a better system than their current method because of
the growing pains associated with more business. To create a scalable transactional database and meet
business objectives, Microsoft SQL Server was selected as the database tool best suited to handle
Sunshine Winery’s more advanced record keeping needs.
About Microsoft SQL Server
Microsoft SQL Server is a “Leader” in the Gartner Magic Quadrant for DBMS. It has a long history of
success for clients in multiple industries, and is noted for its ability to scale. Basic database features such
as “SELECT”, “INSERT”, “CREATE”, and “DROP” are all present in SQL Server, but it has extended
functionality to generate easy to design tabular or matrix reports by using Visual Studio. Also included
with SQL Server is Management Studio (the graphical user interface (GUI)). Management studio has
powerful features to ensure data security and ease of use. Technical stakeholders will find SQL Server
sufficient for data governance and management; business stakeholders will find SQL Server capable of
delivering critical reports to discover insights. SQL Server is a database tool capable of handling any data,
and promises great value with proper implementation.
5. SUNSHINE WINERY DATABASE DOCUMENTATION 5
HOW TO ACCESS THE DATABASE
STEP 1
Locate and open the SQL Server Management
Studio.
This can be either a desktop icon or an item in the
start menu. (Start menu shown here)
6. 6 SUNSHINE WINERY DATABASE DOCUMENTATION
STEP 2
Users will be prompted with the below window.
Select the appropriate server name.
Then select “Connect”.
7. SUNSHINE WINERY DATABASE DOCUMENTATION 7
STEP 3
The SQL Server Management Studio should now be
open and you should see “Sunshine Winery” under the
“Databases” expanded tree in the “Object Explorer”.
Expand the tree for the Sunshine Winery database by
clicking the one to the left of the database.
STEP 4
After you expand the “Sunshine Winery” tree, you will
see a list of other trees.
Expand the tree named “Tables”
8. 8 SUNSHINE WINERY DATABASE DOCUMENTATION
STEP 5
After expanding the “Tables” tree you can now see the list of the tables that make up your
database.
To review or modify a table without using the SQL command line interface, right click on the
desired table and then select “Edit Top 200 Rows”.
9. SUNSHINE WINERY DATABASE DOCUMENTATION 9
REPORTS AND VIEWS
Views
HOW TO ACCESS THE VIEWS
STEP 1
Open “Object Explorer”.
Double click “Views”.
STEP 2
Double click on desired View to
open it.
10. 10 SUNSHINE WINERY DATABASE DOCUMENTATION
VIEW 1
This view shows which kinds of bottles Sunshine Winery orders from a particular vendor.
11. SUNSHINE WINERY DATABASE DOCUMENTATION 11
VIEW 2
This view shows the Glass Color, Bottle Capacity, and the number of bottles left for each type.
Useful for a quick bottle inventory check.
VIEW 3
This view shows a particular customer order, and the slack between order and delivery. Useful
for determining logistical efficiency.
12. 12 SUNSHINE WINERY DATABASE DOCUMENTATION
VIEW 4
This view shows the discounts Sunshine Winery is giving customers on orders. This will be useful
to query later, and develop a break down of how discounts are distributed.
VIEW 5
This view shows employee assignments to various vineyards. This will be useful to query later to
determine how to better assign employees.
13. SUNSHINE WINERY DATABASE DOCUMENTATION 13
Reports
HOW TO ACCESS THE REPORTS
STEP 1
Start up SQL Server Data Tools.
It will a desktop icon or in the start menu list of programs.
STEP 2
Once in Data Tools click on File
Then hover over Open
Finally, click on Project/Solution
This can be accomplished with the keyboard shortcut “Ctrl+Shift+O”
14. 14 SUNSHINE WINERY DATABASE DOCUMENTATION
STEP 3
Select the appropriate project (in this case Sunshine Winery).
Then click Open.
15. SUNSHINE WINERY DATABASE DOCUMENTATION 15
STEP 4
Look at the Solution Explorer
Right click on the desired report.
Click open.
STEP 5
Your report is now visible, and may be viewed or edited from here.
16. 16 SUNSHINE WINERY DATABASE DOCUMENTATION
REPORT 1
Efficiency is critical for any supply chain. A winery is no different. This report shows how much each
grape produces on each vineyard. This data will allow management to understand how each grape
performs year to year in each vineyard. A best vineyard for each grape can be chosen, and if yield begins
to drop off, management will know to rotate crops next season.
17. SUNSHINE WINERY DATABASE DOCUMENTATION 17
REPORT 2
This is another efficiency report designed to give management more insight into how certain grapes are
performing in a particular vineyard. Sugar content is the metric of interest in this report. Grapes can be
benchmarked against industry and winery averages for sugar content. This will allow management to
select the best field for each grape in any given year.
18. 18 SUNSHINE WINERY DATABASE DOCUMENTATION
REPORT 3
Just-In-Time logistics is the standard for supply chain. A winery’s operations are no exception. This
report will help with bottle ordering by seeing which bottles Sunshine Winery orders from which
vendors. This will also give management an idea of how much business is done with each vendor.
19. SUNSHINE WINERY DATABASE DOCUMENTATION 19
REPORT 4
Understanding what customers want is critical to growing business. There is a great need to tailor
promotional offers to a specific customer based on what wines they like to drink. From this report we
can see how long they’ve been a customer with us and give promotions based on longevity of the
account and how much of what kind of wine they have purchased from us in the past.
20. 20 SUNSHINE WINERY DATABASE DOCUMENTATION
REPORT 5
How is business? This is a common question posed, and this reports answers it. It contains a breakdown
of the turnover on all the wine Sunshine Winery sells for all time. This is another useful report to
determine which wines are the stars of the company. Additionally, a grand total is included so
management can see how much it has made over the years.
22. 22 SUNSHINE WINERY DATABASE DOCUMENTATION
Appendix A
Appendix A contains the logical and physical diagrams for the database; as well as the data dictionary.
Entity Relationship Diagram
24. 24 SUNSHINE WINERY DATABASE DOCUMENTATION
Data Dictionary
Table: Bottle
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
BottleID
PK; Unique
Sequential
Bottle ID
tinyint Y
Capacity
Bottle
Volume
Capacity in
Milliliters
smallint
375 OR 750 OR
1500
GlassColor
Bottle glass
color
char 5
‘Green’ OR
‘Brown’ OR
‘Clear’
Shape Bottle Shape varchar 16
‘High
Shouldered’ OR
‘Slope
Shouldered’ OR
‘Tall Slender’
QuantityOnHand
Quantity of
bottles on
hand
int >=0
UsualCost
Expected
Vendor Unit
Charge for
Bottle Type
smallmon
ey
>=0.00
Table: Company
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
CustomerID
FK to Customer
Table; Company
Customer Identity
int Y
CompanyName
Customer company
name
varchar 30 Y
TaxIdentificationNumber
Company Tax
Identification
number
char 10 Y
LIKE
'[0-9][0-
9]-[0-9]
[0-9][0-
9][0-9]-
[0-9][0-
9][0-9]
Y
25. SUNSHINE WINERY DATABASE DOCUMENTATION 25
Table: Customer
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
CustomerID
PK. Unique
Sequential
Customer ID
int Y Y
Street
Street name
of customer
varchar 30
City
City of
customer
varchar 25
State
State of
customer
char 2
LIKE ‘[A-
Z][A-Z]’
Zip
Zip code of
customer
char 5
LIKE '[0-9][0-
9] [0-9][0-
9][0-9]'
CustomerType
Specifies
Customer
Type C =
Company, I
= Individual
char 1 ‘C’ ‘C’ OR ‘I’
Phone
Phone
Number of
Customer
char 14
LIKE '([0-9][0-
9][0-9]) [0-
9][0-9][0-9]-
[0-9][0-9][0-
9][0-9]
Table: CustomerOrder
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
CustomerOrderNo
PK. Unique
Sequantial
Order No
int Y Y
CustomerID
FK to Customer
Table
int Y
OrderDate
Date product
was ordered
date GETDATE() <=GETDATE()
ShipmentDate
Date Order was
Shipped
date >=OrderDate Y
26. 26 SUNSHINE WINERY DATABASE DOCUMENTATION
Table: CustomerOrderLine
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
CustomerOrderNo
CPK.FK. to
Customer
Order Table
int Y
ProductID
CPK.FK. to
Product
Table
smallint Y
QuantityOrdered
Amount of a
Product that
was Ordered
smallint >0
QuantityShipped
Amount of a
Product that
was Shipped
smallint
>=0 AND
<=QuantiyOr
dered
Y
ActualPrice
Actual Unit
Price
Charged for
Product,
Each
smallmon
ey
>=0.00
Table: Employee
Column
Name
Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
EmployeeID
PK. Unique Sequential
Number Generated for
Each Employee.
smallint Y Y
FirstName
First Name of
Employee
varchar 15
LastName
Last Name of
Employee
varchar 20 Y
Street Street Name varchar 30
City Name of City varchar 25
State Name of State char 2 ‘CA’
LIKE ‘[A-
Z][A-Z]’
Zip Postal Zip Code char 5
LIKE '[0-9][0-
9] [0-9][0-9][0-
9]'
Position Position at Vineyard varchar 20
Phone Phone Number char 14
LIKE '([0-9][0-
9] [0-9]) [0-
9][0-9] [0-9]-
[0-9][0-9] [0-
9][0-9]'
Y
SupervisorID
Recursive FK.
Synonym for
EmployeeID
Smallint Y
27. SUNSHINE WINERY DATABASE DOCUMENTATION 27
Table: Grape
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
GrapeName
PK. Unique Name of
Grape Type
varchar 20 Y
StorageContainer
Container Type
Grapes are Stored in
varchar 15
‘Stainless
Steel’ OR
‘Oak’
AgingRequirement
Aging Requirement in
Days
smallint >=0
Table: GrapePrecentage
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
GrapeName
CPK, FK to
Grape Table
varchar 20 Y
WineID
CPK, FK to Wine
Table
smallint Y
GrapePercentage
Percentage of
Grape in the Wine
decimal (4,3)
>0.000 AND
<=1.000
Table: Harvest
Column
Name
Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
GrapeName
FK; to Grape
Name
varchar 20 Y
VineyardName
CPK; FK; to
Vineyard table;
vineyard where
grapes are grown
varchar 20 Y
Vintage
CPK; FK Year
Grape Harvested
smallint >=2011 Y
JuiceYield
Juice Yield of
Grape per Harvest
(In Liters)
int >=0 Y
SugarContent
Grape Sugar
Content (%)
decimal (3,3)
>= .000 AND
<=.500
Y
Table: Individual
Column
Name
Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
CustomerID
FK to Customer Table;
Individual Customer
Identity
int Y
FirstName Customer First Name varchar 15
LastName Customer Last Name varchar 20 Y
DateOfBirth Customer Date of Birth date
<=GETDATE ()
– 21*365.25
28. 28 SUNSHINE WINERY DATABASE DOCUMENTATION
Table: Product
Column
Name
Description Date Type Size Identity Unique Default Check
Allow
Nulls
Index
ProductID
PK. Unique
Sequential ID for Each
Product
smallint Y Y
CaseQuantity
Number of Bottles in a
Case of Product
tinyint
>0 AND
<=24
ListPrice Price of the Product smallmoney >=0.00
BottleID FK to Bottle Table tinyint
WineID FK to Wine Table smallint
Table: SoilType
Column
Name
Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
VineyardName
CPK. FK. to Vineyard
Table
varchar 20 Y
SoilType
CPK. Kind of Soil in
Vineyard
varchar 20 Y
Table: Vendor
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
VendorID
PK; Uniquely
Sequentially Identifies
a Vendor
tinyint Y Y
CompanyName A Company’s Name varchar 30 Y
Street
Street Number and
Name of Vendor
varchar 30
City Name of Vendor’s City varchar 25
State
Name of Vendor’s
State
char 2
LIKE ‘[A-
Z][A-Z]’
Zip Vendor’s Zip Code char 5
LIKE '[0-9][0-
9] [0-9][0-
9][0-9]'
Phone
Vendor’s Office Phone
Number
char 14 Y
LIKE '([0-
9][0-9][0-9])
[0-9][0-9][0-
9]-[0-9][0-
9][0-9][0-9]'
Y
29. SUNSHINE WINERY DATABASE DOCUMENTATION 29
Table: VendorOrder
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
VendorOrderNo
PK;
VendorOrder
uniquely ID’s
orders
int Y Y
DateOrdered
Date in
which the
order was
made
date GETDATE() <=GETDATE()
DateReceived
Date which a
Particular
Ordered was
Received
date <=DateOrdered Y
VendorID
FK; To
Vendor Table
tinyint Y
Table: VendorOrderLine
Column Name Description Date Type Size Identity Unique Default Check
Allow
Nulls
Index
BottleID
CPK; FK; to
Bottle Table
tinyint
VendorOrderNo
CPK; FK; to
VendorOrder
Table
int Y
QuantityOrdered
Number of a
specific bottle
ordered
int >0
QuantityReceived
Number of
specific
bottles
received from
the order
int
>=0 AND
<=Quantit
yOrdered
Y
ActualCost
Actual Unit
Cost Charged
for Bottle
smallmoney >=0.00
Table: Vineyard
Column
Name
Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
VineyardName
PK. Name of the
Vineyard
varchar 20 Y
EmployeeID
FK. Foreign key to
Employee Table
smallint Y Y
Size
Size of Vineyard in
Acres
decimal (4,2) >0.00
30. 30 SUNSHINE WINERY DATABASE DOCUMENTATION
Table: Wine
Column Name Description
Date
Type
Size Identity Unique Default Check
Allow
Nulls
Index
WineID
PK. Unique
Sequential ID for
Each Wine
smallint Y Y
Name Name of the Wine varchar 40 Y
Vintage
Year the Wine was
Made
smallint >=2011
Category Type of Wine varchar 5
‘Red’ OR ‘White’
OR ‘Rose’
PercentAlcohol
Percent Alcohol in
the Wine in Liters
decimal (3,3)
>=.000 AND
<=.250
Y
TotalVolume
Amount of Wine
Made
int >=0 Y
WineMakerID
FK to Employee
Table; Synonym
for Employee ID;
Wine Maker
smallint
31. SUNSHINE WINERY DATABASE DOCUMENTATION 31
APPENDIX B
Appendix B contains the SQL Server generated database diagram. It is essentially a confirmation of the
model by showing the relationships between the various tables.
SQL SERVER DATABASE DIAGRAM
Bottle
BottleID
Capacity
GlassColor
Shape
QuantityOnHand
UsualCost
Company
CustomerID
CompanyName
TaxIdentificationNumber
Customer
CustomerID
Street
City
State
Zip
CustomerType
Phone
CustomerOrder
CustomerOrderNo
CustomerID
OrderDate
ShipmentDate
CustomerOrderLine
CustomerOrderNo
ProductID
QuantityOrdered
QuantityShipped
ActualPrice
Employee
EmployeeID
FirstName
LastName
Street
City
State
Zip
Position
Phone
SupervisorID
Grape
GrapeName
StorageContainer
AgingRequirement
GrapePercentage
GrapeName
WineID
GrapePercentage
Harvest
GrapeName
VineyardName
Vintage
JuiceYield
SugarContent
Individual
CustomerID
FirstName
LastName
DateOfBirth
Product
ProductID
CaseQuantity
ListPrice
BottleID
WineID
SoilType
VineyardName
SoilType
Vendor
VendorID
CompanyName
Street
City
State
Zip
Phone
VendorOrder
VendorOrderNo
DateOrdered
DateReceived
VendorID
VendorOrderLine
BottleID
VendorOrderNo
QuantityOrdered
QuantityReceived
ActualCost
Vineyard
VineyardName
EmployeeID
Size
Wine
WineID
Name
Vintage
Category
PercentAlcohol
TotalVolume
WineMakerID
32. 32 SUNSHINE WINERY DATABASE DOCUMENTATION
APPENDIX C
Appendix C contains full versions of the reports shown earlier and the test data used for the examples.
REPORT 1
REPORT 2
Page 1 of 1
Page 1 of 1
39. APPENDIX D
Appendix D is a collection of all the sample data used to fill the tables of the Sunshine Winery database.
Bottle TABLE
Bottle
BottleID Capacity GlassColor Shape QuantityOnHand UsualCost
-------- -------- ---------- ---------------- -------------- ---------------------
1 375 Green High Shouldered 14 3.50
2 375 Green Slope Shouldered 15 3.50
3 375 Green Tall Slender 16 3.50
4 375 Brown High Shouldered 15 3.50
5 375 Brown Slope Shouldered 15 3.50
6 375 Brown Tall Slender 16 3.50
7 375 Clear High Shouldered 17 3.50
8 375 Clear Slope Shouldered 15 3.50
9 375 Clear Slope Shouldered 16 3.50
10 750 Green High Shouldered 15 3.50
11 750 Green Slope Shouldered 18 4.25
12 750 Green Tall Slender 17 4.25
13 750 Brown High Shouldered 16 4.25
14 750 Brown Slope Shouldered 15 4.25
15 750 Brown Tall Slender 16 4.25
16 750 Clear High Shouldered 15 4.25
17 750 Clear Slope Shouldered 16 4.25
18 750 Clear Tall Slender 15 4.25
19 1500 Green High Shouldered 16 5.50
20 1500 Green Slope Shouldered 15 5.50
21 1500 Green Tall Slender 16 5.50
22 1500 Brown High Shouldered 15 5.50
23 1500 Brown Slope Shouldered 17 5.50
24 1500 Brown Tall Slender 16 5.50
25 1500 Clear High Shouldered 17 5.50
26 1500 Clear Slope Shouldered 16 5.50
27 1500 Clear Tall Slender 15 5.50
(27 row(s) affected)
40. 40 SUNSHINE WINERY DATABASE DOCUMENTATION
Company TABLE
Company
CustomerID CompanyName TaxIdentificationNumber
----------- ------------------------------ -----------------------
1 ABC Fine Wines 12-1234-123
2 Mike Liquor Store 12-2356-456
3 Beer & Wine Palace 15-4565-487
4 Beer Cave 17-9874-568
5 Man Cave Liquors 45-7899-254
6 41 St Liquor 87-5874-852
7 Tampa Fine Wines 97-8524-987
8 St Pete Wine Shoppe 45-9874-321
9 Wine World 98-9874-987
10 Winos Workshop 85-2588-365
11 HouseWife Heaven 12-3698-742
12 Courgar Town Wine Supply 74-9874-544
13 Worlds Wine 54-8996-887
14 Kennedy Blvd Liquors 87-8524-854
22 World Of Beer 58-9854-663
27 The Liquor Store 21-2514-654
30 The Wine Cave 25-6356-987
35 Hubert Wines 65-6985-214
40 Wine and Spirits 25-9854-142
46 Arlington Wine and Liquor 21-5486-254
48 Artisan Wine Depot 53-5847-652
50 Bella Vino Wine Market 21-6564-544
54 Bedford Wine Merchants 56-6548-685
(23 row(s) affected)
41. SUNSHINE WINERY DATABASE DOCUMENTATION 41
Customer TABLE
Customer
CustomerID Street City State Zip CustomerType Phone
----------- ------------------------------ ------------------------- ----- ----- ------------ -------------
1 2 Rieder Lane Lubbock TX 79452 C (898)743-9534
2 10 Stuart Hill Colorado Springs CO 80930 C (373)342-4567
3 9877 Lunder Road Dallas TX 75287 C (435)492-8467
4 76 Clove Trail Philadeplphia PA 19125 C (365)453-5257
5 694 Farmco Court Racine WI 53405 C (732)432-6893
6 8150 Carberry Park Topeka KS 66606 C (462)421-5068
7 788 Rutledge Alley Weston VA 22096 C (472)424-9876
8 80 Hagan Plaza Baltimore MD 21239 C (432)685-4598
9 92 Monterey Ave Chicago IL 32098 C (633)752-9636
10 76 Kim Junction Las Vegas NV 56984 C (463)374-8630
11 5202 Anzinger Lane Killeen TX 76544 C (733)382-9765
12 8136 Vahlen Park El Paso TX 79928 C (457)963-0843
13 749 Mcbride Terrace Phoeniz AZ 78634 C (212)873-9477
14 4607 Havey Pass Oxnard CA 98032 C (736)836-8684
15 759 Merchant Point Bradenton FL 33458 I (483)542-9756
16 52 Bobwhite Drive Tyler TX 54876 I (746)355-0762
17 80128 Pankratz Alley SpringField IL 34921 I (740)847-8364
18 8 Center Plaza Bradenton FL 33458 I (757)854-3789
19 6 Bluestem Trail Washington DC 23454 I (755)865-9764
20 47890 Sutherland Street Houston TX 48932 I (758)859-8632
21 342 Summit Street Cincinatti OH 45875 I (824)863-8563
22 27 Forest Parkway Montgomery AL 36199 C (864)511-9764
25 73 Gemini Ave Scranton PA 98589 I (584)568-8788
27 751 Redwing Avenue Pittsburgh PA 54875 C (587)648-9873
28 7 Becker Avenue Carlsbad CA 46748 I (365)458-9876
29 6 Old Gate Terrace Washington DC 33548 I (804)548-5874
30 64509 Monica Crossing San Antonio TX 35468 C (803)834-3981
31 60 Marquette Park San Jose CA 95160 I (987)548-9875
32 998 Vahlen Avenue Worcester MA 54875 I (801)469-9584
33 665 Anthes Parkway Oakland CA 94627 I (987)548-3254
35 54113 Westfield Junction Kansas CIty MO 64187 C (587)487-9652
36 8437 Briar Crest Drive Houston TX 77276 I (592)697-9685
37 650 Oakridge Plaza Aurora CO 80015 I (589)835-9323
40 30 Lotheville Court Oklahoma CIty OK 73147 C (987)254-9645
41 352 Porter Court Grand Rapids MI 49518 I (546)321-5487
42 367 Dixon Drive Topeka KS 66642 I (654)218-5874
46 957 Shoshone Circle Hagesrstown MD 21747 C (564)465-5874
47 88504 Dryden Park Denver CO 80243 I (847)587-8754
48 93 Cambridge Way Spring Hill FL 20167 C (889)893-6452
49 836 Gina Crossing Sterling VA 23587 I (842)242-4509
50 46 Brenthwood Way Philadelphia PA 25487 C (587)987-3254
51 170 Schmilgen Drive Saint Augustine FL 34251 I (584)659-9363
53 5626 Sage Ave Roanoke VA 23654 I (654)987-6245
54 9834 Hooker Park Long Beach CA 98342 C (548)654-3265
55 2867 Declaration Circle Lehigh Acres FL 25412 I (232)652-9641
56 5418 Summit Hill Columbia SC 21545 I (658)548-9872
57 2541 Sheridan Junction Vienna VA 25635 I (982)837-8123
58 93 Vidon Park Dallas TX 25415 I (412)484-9583
59 959 Kropf Hill Bethesda MD 54124 I (874)824-0293
60 243 Burnout Place Houston TX 77001 C (213)456-8479
(50 row(s) affected)
44. 44 SUNSHINE WINERY DATABASE DOCUMENTATION
27 15 10 10 200.00
29 37 4 4 180.00
29 42 5 5 100.00
29 46 8 8 176.00
29 55 10 10 320.00
30 2 15 15 10.00
30 4 10 10 5.00
(70 row(s) affected)
Employee TABLE
Employee
EmployeeID FirstName LastName Street City State Zip Position Phone SupervisorID
---------- --------------- -------------------- ------------------------------ ------------------------- ----- ----- -------------------- ------------ ------------
1114 Carter Pewtershmit 555 RI Road Quahog CA 12345 Owner (555)-123-1325 NULL
1116 Peter Griffin 123 Spooner Street Quahog CA 12345 Vineyard Manager (555)-154-1234 1114
1117 Lois Griffin 123 Sponner Street Quahog CA 12345 Vineyard Manager NULL 1114
1118 Brian Griffin 123 Spooner Street Quahog CA 12345 Vineyard Manager (555)-549-4656 1114
1119 Stewie Griffin 123 Spooner Street Quahog CA 12345 Vineyard Manager (555)-879-6661 1114
1120 Meg Griffin 456 Spooner Street Quahog CA 54445 Vineyard Manager (123)-595-8746 1114
1121 Homer Simpson 125 Happy Hideaway Springfield CA 54446 Vineyard Manager (555)-691-6911 1114
1122 Marge Simpson 126 Main Street Springfield CA 54446 Vineyard Manager (555)-897-1234 1114
1123 Clint Eastwood 111 Awesome Ave Moreno Valley CA 54444 Field Hand (123)-999-7774 1116
1124 Harry Clahan 123 Dirty Harry Street San Francisco CA 54464 Field Hand (558)-546-9111 1117
1125 Tom Hanks 145 World War Way Sierra Valley CA 54478 Field Hand (879)-499-1235 1117
1126 James Ryan 111 Save Me Street San Diego CA 54593 Field Hand (555)-999-1111 1118
1127 Raymond Barone 111 Loves Ave Long Island CA 99872 Field Hand (678)-999-9999 1118
1128 Robert Barone 554 Cop Lane Westchase CA 95866 Field Hand (798)-588-9999 1119
1129 Debra Barone 556 Madeup Street Abby CA 65986 Field Hand (897)-895-9852 1119
1130 Marie Barone 569 Annoy Alley New Yorkshire CA 66545 Field Hand (999)-246-5684 1120
1132 Frank Barone 569 Annoy Alley New Yorkshire CA 66545 Field Hand (999)-246-5685 1120
1133 Lenard Hoffseder 585 Big Bang Pasadena CA 55975 Field Hand (558)-586-5474 1121
1134 Sheldon Cooper 586 Big Bang Pasadena CA 55975 Field Hand (585)-995-2686 1121
1135 Howard Walowitz 6958 Big Bang Pasadena CA 55959 Wine Maker (857)-474-3843 1114
1137 Raz Cutherpally 5449 Physics Way Pasadena CA 58756 Wine Maker (559)-334-2214 1114
1138 Darth Vater 1 Death Star Place Milkway Valley CA 11235 Wine Maker (697)-664-1123 1114
1139 Luke Skywalker 321 Hath Place Exoplanet City CA 88558 Wine Maker (554)-698-2585 1114
1140 Yoda Greenguy 142 Swamp Planet Place Degoba CA 12346 Assistant NULL 1135
1142 Teddy Rosevelt 252 National Park Dr Bear Lake CA 55286 Assistant (545)-551-1264 1137
1143 George Bush 43 President Little Texas CA 43434 Assistant (559)-998-3110 1138
1144 Donald Trump 564 Sky Scrapper Place Badhare CA 54459 Assistant (558)-984-3646 1139
1145 Ben Carson 45 President Whitehouse CA 45455 Tasting Room Manager (559)-994-2585 1114
1146 Peter Sheridan 7942 Fort Loop New Port CA 34658 BarTender (552)-527-2545 1145
1148 John Doe 585 Palace Loop Port South CA 68456 Server (658)-585-2886 1145
1149 George Washington 1600 Penn Ave Washington CA 66455 Server (001)-001-0001 1145
1150 Abraham Lincold 1616 Penn Ave Washington CA 64645 Server (016)-016-0016 1145
1151 Ulysess Grant 5756 Gettyburg Ave Badhare CA 54459 Server (000)-190-1864 1145
1152 George Patton 2533 General Way Little Texas CA 43434 Server (585)-665-1944 1145
1153 Henry Lionheart 5855 Brittish Way New Yorkshire CA 66545 Janitor NULL 1145
1154 John Smith 2184 2nd Street Abby CA 65986 Tour Guide (649)-587-8544 1145
1155 Mary Brown 1546 Griswald Lane Abby CA 65986 Tour Guide (548)-546-2844 1145
1156 Tony Stewart 1158 Car Loop Exoplanet City CA 88558 Maintenance Manager (256)-548-2468 1114
1157 Dale Earnheart 1485 Three Place Exoplanet City CA 88558 Maintenance Worker (555)-284-5849 1156
1159 George Picard 5446 Enterprise Road Milkyway Valley CA 11235 Maintennace Worker (255)-248-5446 1156
1160 Ronda Rousey 123 MMA Street Degoba CA 12346 Maintenance Wor (564)-254-2995 1156
1161 Jason Aldean 574 Country Way Degoba CA 12346 Maintenance Workerq (684)-468-8978 1156
1162 Davey Crocket 546 Alamo Drive Bear Lake CA 55286 Maintenace Worker (249)-554-4469 1156
1163 Matt Damon 844 Famous Street Bear Lake CA 55286 Shipping Manager (856)-576-2648 1114
1164 Sargent Shultz 155 Germany Streetq Whitehouse CA 45455 Shipping Clerk (168)-546-1667 1163
1165 The Doctor 218 Who Street Whitehouse CA 45455 Shipping Clerk (586)-594-6685 1163
1166 John Adams 546 Bill Ave Whitehouse CA 45455 Packager (189)-596-2696 1163
1167 Thomas Jefferson 556 Deco Street Whitehouse CA 45455 Forklift Driver (549)-564-5695 1163
1168 Ronald Reagan 4866 Republican Way Port South CA 68456 Order Filler (166)-598-9844 1163
1170 Jack Sparrow 546 Captain Street Port South CA 68456 Order Filler (556)-679-6893 1163
(50 row(s) affected)