Professional Documents
Culture Documents
Assignment - Sablay - Sample Table
Assignment - Sablay - Sample Table
SALES TABLE
Total
CUSTOMER TABLE
Expenditure Cycle
Purchases
Primary Keys Foreign Keys
Purchase ID Vendor ID
0010 552
0011 553
0012 554
0013 555
0014 556
0015 557
0016 558
0017 559
0018 560
0019 561
0020 562
0021 563
Vendor
Primary Keys Foreign Keys
Vendor ID Vendor Name
441 Kathleen Laica P. Sablay
452 John Rover Sisalbo
463 Zysa Sablay
474 Jamaica Sablay
485 Renz Tubaran
496 Jay Ar Antonio
Production Cycle
Inventory
Primary keys Foreign Keys
Product ID Product Name
Fn-4929-Sy Mascara
Fn-1693-Sy Foundation
Fn-8439-Sy Lipstick
Fn-9547-Sy Eyeshadow palette
Fn-9430-Sy Blush
Fn-5138-Sy Highlighter
Fn-0027-Sy Concealer
Fn-2510-Sy Setting spray
Fn-7923-Sy Eyeliner
Fn-6257-Sy Bronzer
Fn-5455-Sy Lip gloss
Fn-6666-Sy Makeup brushes
Inventory - Sales+A84:I124A84:I122
Primary Keys Foreign Keys
Inventory ID Product ID
IV-5894310 PR-001
IV-2679534 PR-002
IV-7164089 PR-003
IV-3947062 PR-004
IV-8251796 PR-005
IV-1025683 PR-006
IV-4539271 PR-007
IV-6810295 PR-008
IV-3418752 PR-009
IV-9285047 PR-010
IV-6253908 PR-011
IV-1772406 PR-012
Payroll Cycle
Employee
Primary Keys Foreign Keys
Sales Person Employee ID
Oliver Thompson EM-5738291
Ava Rodriguez EM-1947520
Ethan Collins EM-8629134
Mia Johnson EM-3984217
Benjamin Martinez EM-7265981
Harper Davis EM-4157392
Noah Wilson EM-9804527
Emma Anderson EM-2365901
William Taylor EM-8102764
Sophia Clark EM-6579038
James Mitchell EM-1234567
Charlotte Lewis EM-9876543
Payroll
Primary Keys Foreign Keys
Employee ID Payroll ID
EM-5738291 KL-5738291
EM-1947520 KL-1947520
EM-8629134 KL-8629134
EM-3984217 KL-3984217
EM-7265981 KL-7265981
EM-4157392 KL-4157392
EM-9804527 KL-9804527
EM-2365901 KL-2365901
EM-8102764 KL-8102764
EM-6579038 KL-6579038
EM-1234567 KL-1234567
EM-9876543 KL-9876543
Foreign keys Foreign keys
Customer Number Inventory ID
CU-5894310 IV-5894310
CU-2679534 IV-2679534
CU-7164089 IV-7164089
CU-3947062 IV-3947062
CU-8251796 IV-8251796
CU-1025683 IV-1025683
CU-4539271 IV-4539271
CU-6810295 IV-6810295
CU-3418752 IV-3418752
CU-9285047 IV-9285047
CU-6253908 IV-6253908
CU-1772406 IV-1772406
Foreign Keys
Purchase Date Product ID
01/01/2023 Fn-4929-Sy
01/01/2023 Fn-1693-Sy
01/01/2023 Fn-8439-Sy
01/01/2023 Fn-9547-Sy
01/01/2023 Fn-9430-Sy
01/01/2023 Fn-5138-Sy
01/01/2023 Fn-0027-Sy
01/01/2023 Fn-2510-Sy
01/01/2023 Fn-7923-Sy
01/01/2023 Fn-6257-Sy
01/01/2023 Fn-5455-Sy
01/01/2023 Fn-6666-Sy
Attributes
Address Phone
Villasis, Santiago City, 3311 Isabela 0956 521 7106
Mabini, Santiago City, 3311 Isabela 0921 737 9478
Rosario, Santiago City, 3311 Isabela 0978 456 3124
Baluarte, Santiago City, 3311 Isabela 0923 416 7842
Rosario, Santiago City, 3311 Isabela 0967 542 1344
Plaridel, Santiago City, 3311 Isabela 0961 139 0389
Attributes
Description Unit Cost
Mascara 1,000.00
Foundation 500.00
Lipstick 1,500.00
Eyeshadow palette 1,500.00
Blush 1,200.00
Highlighter 3,000.00
Concealer 5,000.00
Setting spray 4,500.00
Eyeliner 1,000.00
Bronzer 200.00
Lip gloss 400.00
Makeup brushes 1500.00
Attributes
Product Name Quantity
Mascara 12
Foundation 16
Lipstick 18
Eyeshadow palette 11
Blush 15
Highlighter 14
Concealer 13
Setting spray 17
Eyeliner 10
Bronzer 19
Lip gloss 20
Makeup brushes 10
Attributes
Address Phone
Rosario, Santiago City, 3311 Isabela 0974 382 4175
Victory Sur, Santiago City, 3311 Isabela 0932 165 8439
Victory Norte, Santiago City, 3311 Isabela 0953 923 7741
Villasis, Santiago City, 3311 Isabela 0985 301 5482
Patul, Santiago City, 3311 Isabela 0913 267 0054
Baluarte, Santiago City, 3311 Isabela 0932 097 1245
Dubinan East, Santiago City, 3311 Isabela 0947 381 2096
Mabini, Santiago City, 3311 Isabela 9437 521 0066
Rosario, Santiago City, 3311 Isabela 0911 224 3665
Calaocan, Santiago City, 3311 Isabela 0913 925 3052
Malvar, Santiago City, 3311 Isabela 0922 331 1667
Mabini, Santiago City, 3311 Isabela 0987 654 3218
Attributes
Inclusion Date Payroll Date
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
05/01/2023 - 05/31/2023 5/31/2023
Foreign Keys Attributes
Product ID Quantity Sold
PR-001 7
PR-002 11
PR-003 18
PR-004 13
PR-005 6
PR-006 19
PR-007 9
PR-008 15
PR-009 8
PR-010 16
PR-011 12
PR-012 17
Attributes
Quantity Unit Cost
20 1,000.00
19 500.00
20 1,500.00
19 1,200.00
16 3,000.00
12 5,000.00
10 4,500.00
13 1,000.00
21 200.00
15 400.00
14 1500.00
10 500.00
Email
oiassabelingon@gmail.com
donnadimalanta@gmail.com
merylldulnuan@gmail.com
jonathanjames@gmail.com
rheamanding@gmail.com
justineanne@gmail.com
307,400.00
Account status
Active
Active
Active
Active
Active
Active
Active
Active
Active
Active
Active
Active
Total Cost
20,000.00
9,500.00
30,000.00
22,800.00
48,000.00
60,000.00
45,000.00
13,000.00
4,200.00
6,000.00
21000
5000
Total Salary
5,000.00
4,800.00
4,900.00
4,700.00
4,800.00
4,800.00
4,600.00
4,800.00
4,800.00
4,800.00
4,800.00
4,800.00
Total Salary
5,000.00
4,800.00
4,900.00
4,700.00
4,800.00
4,800.00
4,600.00
4,800.00
4,800.00
4,800.00
4,800.00
4,800.00
Foreign keys
Payment Method Sales Person
Cash Oliver Thompson
Cash Ava Rodriguez
Cash Ethan Collins
Cash Mia Johnson
Cash Benjamin Martinez
Cash Harper Davis
Cash Noah Wilson
Cash Emma Anderson
Cash William Taylor
Cash Sophia Clark
Cash James Mitchell
Cash Charlotte Lewis