BCIS 4660 HOMEWORK 07 SECTION 2 EVE 4/14/2016 PAGE 1

advertisement
4/14/2016
10:36 PM
8.7
BCIS 4660 HOMEWORK 07
SECTION 2 EVE
Section 2
Overall Total?
2016C
State
Section 2
Team Suggestions
Number
to Team
2016C
Bonus Reports;
Notes:
Dr. Bs
Deducti
ons; and
fixes
State
Bonus Notes
Bonus
Reports
SE
DR. B'S ANALYSIS
If NO Deductions = 4; Total; 4
pts
1.5
IF Total NOT
printed (-1)
FL & 6 &
CA 20
WA
1
OR
2
AZ
3
$ 34,198.20 11.5
$ 20,773.19 12.5
$ 30,362.29 NM
4.0
4.0
5.3
8.0
14.0
11.5
9.0
8
$ 24,350.00 OK
9
LA
10
NE
11
$ 12,861.28 $ 16,413.18 12
$28,905.45 NV
13
TX
14
$ 7,196,769.92 $25,133.52 0
7.5
9
FL & CA in OrderDetail ONLY; Total at left based on 141 records
OrderDetailME not merged with CA & FL; ONLY Even $ numbers; Change ExtPrice to Currency; ME ONLY Total
3 Inc. ExtPrice fields in OrderDetail‐
needs fix'n; All TeamIDs were 9‐‐
I fixed.
I Merged RepLA and Rep file
65
NW
2 TAL Reports?;
partial credit for
Item rep, and Cust
rep; GT errors -1;
$Format ST -.5
5 reports; $format
on ST and GTs -.5;
SQL on Rep5 -1;
Desc order by ;
GroupBy Cust# -1;
Sales -.5;
Incomplete data -1
Year Rep1 -.25
$Format; Item
Rep4 Inc. GT -.5;
ONLY 2 reports
NW
NE
10
MW
Not good 2 sets of reports;
practice to put () BEST Formats with
in table names; ID ID ONLY data -1;
no GT on Rep or
only Total: Item# reports -1; No
$21,241.93
subtotals my month
and year on Rep5 5
NV is the richest Totals vary by
team: Sales over report; some are
NV only, some are
$7 million! ALL -1; Sort Rep2
$7,189,106.40
by Cust#; Dup
Customers -.5;
Subtotal by Yr and
Month Rep5-.5
TeamID of CA is Use Group Bys on
all report SQL -2;
20, not 5; Use Subtotals by
Group by in SQL Groups -2; Sort
for Reports
DESC on Rep -.5
7.5
NW
Great Job!
NE
65
0
40
0
65
0
Only NM
23
0
13
0
0
65
0
141
Order
Detail
missing 1
rep
23
Rep# 2
chars;
Rep #30
illegal?
0
-1
Field size for
CustNum 3; and
RepNum 2; -.5
Time Key Inc.;
updated to
CorrTimeKey;
Field size Cust#
3; Rep#2
0
-2
0
23
0
180
Y
4
No
0
1
0
Y
4
No
0
2
0
Y
4
Only NM
0
3
-3
4
94
-0.5
Y
4
Original
ERD had
NO
relationship
s
95
0
Y
4
OrderDetail
not final
merged file
-0.5
5
55
0
Y
4
No
0
6&
20
95
0
Y
4
Yes;
incomplet
OrderDetail
-0.5
7C
94
0
Y
4
Wrong
OrderDetail
in ERD
-1
8
96
0
Y
4
Need
Merged
Tables
-1
9
95
0
Y
4
Rep Table
not linked
-0.5
10
95
0
Y
4
No
0
11
95
0
Y
4
Wrong
OrderDetail
in ERD
-1
12
99
-0.5
Y
4
0
13
96
0
Y
4
0
14
0800
1000
80 OrderDetail in
LA
-0.5
143
143
0
I needed to insert
OrderDetail
(FINAL), with
corrected Integer
fields for
TimeKey, and
TeamID
CustNum
3?
0900
-1
1100
1200
-2
130000
23
-0.5
0700
-2
-1
123
0
4 pts
0500
TeamID was 9 for
all records; I fixed
120000
23
43 records; CA &
FL only; I added
98 more from
Order/Orderline
join-total now 141
ME only; CA+FL
in ERD?? -1
143
110000
Y
0600
100000
23
Notes Custo
mer
WA & CA
Only; field
size 3
95
0400
0
80
-0.5
ERD
Team
Deducti Number
ons
0300
43
090000
After my
merge
ERD
issues
6&
20
95
-0.5
0
080000
0
52
0
143
141
0
95
0100
OrderDetailNEW
has 146 records.
FYI
070000
22
190
65
Notes
No CA, NO FL,
Err on Calc
ExtPrice (-.5);
fixed; field size 5
060000
200
0
143
-0.5
Sugges- Deduction
File
Dr. Bs
tions
s
Provide Disk/File
Customer Customer d; on
DeducTable
time
tions
0200
050000
23
110
65
Deductions CustNo Customer
OrderDetail
Records
55
143
040000
100
0
81
030000
23
PZL, P
TX
0
010
GME, N
SW
23
020
65
NV
0
23
0
Sugges-tions
OrderDetail
Table
020000
23
030
GME, M
SW
-0.5
040
95
GME, L
No FL;
field size 2
050
PZL, K
ID
5.5
-0.5
143
010000
20
65
LA
8
ONLY NM
PZL, J
SE
Rep
060
66
OK
Notes
070
TOY, I
SW
5.5
0
TOY, H
NE
5 reports; SQL
uses LA only data 1; Subtotal Errs -2;
GT errors -1; Sort
Desc Rep -.5
5 reports!
65
Order
Detail
Records
43
080
0
TOY, G
FL &
CA
23
-0.5
PZL, B
MW
ME
3.25
No FL
65
66
NY
6
Item
PZL, A
MO
1.5
Notes
GME, F
SW
OrdNo
13
GME, D
SW
SE &
SW
Deductio RepNo
Rep
Sugges- Deductio
ns for
Records tions Rep
ns for
Item
(10)
Table
Rep
Table
Table
090
55
NM
7
Suggestions Item
Table
GME, C
AZ
6.5
Item
Records
(25)
40
FL &
CA
OR
0
$19,419.29 ID
8.5
5
$ 19,713.30 ME
8.0
5 Reports: $ format 1; Sort -.5; Rep 5
Subtot by Year by
Month w/I Yr. -1
Item#, Rep# not on
reports -.5; sort by
Item # -.5;
Reports used
different OrderDetail
tables -1.5; No Yr
by Mo Rep5 -1;
SQL issues -1
Alternate Report 5 reports; $Format
Tot: $25,695.11; GT -1; Cartesean
product on Year
Recommend Rep1; DESC order
using by RepSales -.5;
OrderDetail; delele the
Other OrderDetailNEW "Summary .. Lines" .5
is confusing? 7C
ItemNo
WA
FL & 6 &
CA 20
NY
3.0
Good Job!
State
Est.:
[+10]
Original TAL
Reports ONLY
4
$ 11,797.73 $ 7,663.52 Total: WA ONLY; Some tables have FL, CA and WA … but inconsistent
Very confusing choice for OrderDetail tables; I USED OrderDetailNM
$ 9,562.34 MO
10.5
Fl & CA Data
Required
No FL or CA
data (-2)
FL:$4,016.04
CA: $3,347.48
PAGE 1
1300
143
0
143
0
140000
Several
Duplication
Customers
1400
No
Download