-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNorthwind.Oracle.sql
10008 lines (8815 loc) · 902 KB
/
Northwind.Oracle.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
CREATE TABLE Employees (
EmployeeID number(1, 1) NOT NULL ,
LastName varchar2 (20) NOT NULL ,
FirstName varchar2 (10) NOT NULL ,
Title varchar2 (30) NULL ,
TitleOfCourtesy varchar2 (25) NULL ,
BirthDate date NULL ,
HireDate date NULL ,
Address varchar2 (60) NULL ,
City varchar2 (15) NULL ,
Region varchar2 (15) NULL ,
PostalCode varchar2 (10) NULL ,
Country varchar2 (15) NULL ,
HomePhone varchar2 (24) NULL ,
Extension varchar2 (4) NULL ,
Photo blob NULL ,
Notes blob NULL ,
ReportsTo number NULL ,
PhotoPath varchar2 (255) NULL );
/*
CONSTRAINT PK_Employees PRIMARY KEY
(
EmployeeID
),
CONSTRAINT FK_Employees_Employees FOREIGN KEY
(
ReportsTo
) REFERENCES xxms.Employees (
EmployeeID
),
CONSTRAINT CK_Birthdate CHECK (BirthDate < getdate())
);
*/
CREATE INDEX LastName ON Employees(LastName);
CREATE INDEX PostalCode ON Employees(PostalCode);
CREATE TABLE Categories (
CategoryID number(1, 1) NOT NULL ,
CategoryName varchar2(15) NOT NULL ,
Description blob NULL,
Picture blob NULL);
/*
CONSTRAINT PK_Categories PRIMARY KEY CLUSTERED
(
CategoryID
)
);
*/
CREATE INDEX CategoryName ON Categories(CategoryName);
CREATE TABLE Customers (
CustomerID varchar2 (5) NOT NULL ,
CompanyName varchar2 (40) NOT NULL ,
ContactName varchar2 (30) NULL ,
ContactTitle varchar2 (30) NULL ,
Address varchar2 (60) NULL ,
City varchar2 (15) NULL ,
Region varchar2 (15) NULL ,
PostalCode varchar2 (10) NULL ,
Country varchar2 (15) NULL ,
Phone varchar2 (24) NULL ,
Fax varchar2 (24) NULL);
/*
CONSTRAINT PK_Customers PRIMARY KEY CLUSTERED
(
CustomerID
)
);
*/
CREATE INDEX City ON Customers(City);
CREATE INDEX CompanyName ON Customers(CompanyName);
CREATE INDEX PostalCode ON Customers(PostalCode);
CREATE INDEX Region ON Customers(Region);
CREATE TABLE Shippers (
ShipperID number NOT NULL ,
CompanyName varchar2 (40) NOT NULL ,
Phone varchar2 (24) NULL);
/*
CONSTRAINT PK_Shippers PRIMARY KEY CLUSTERED
(
ShipperID
)
);
*/
CREATE TABLE Suppliers (
SupplierID number NOT NULL ,
CompanyName varchar2 (40) NOT NULL ,
ContactName varchar2 (30) NULL ,
ContactTitle varchar2 (30) NULL ,
Address varchar2 (60) NULL ,
City varchar2 (15) NULL ,
Region varchar2 (15) NULL ,
PostalCode varchar2 (10) NULL ,
Country varchar2 (15) NULL ,
Phone varchar2 (24) NULL ,
Fax varchar2 (24) NULL ,
HomePage varchar2(2000) NULL);
/*
CONSTRAINT PK_Suppliers PRIMARY KEY CLUSTERED
(
SupplierID
)
);
*/
CREATE INDEX CompanyName ON Suppliers(CompanyName);
CREATE INDEX PostalCode ON Suppliers(PostalCode);
CREATE TABLE Orders (
OrderID number NOT NULL ,
CustomerID varchar2 (5) NULL ,
EmployeeID number NULL ,
OrderDate varchar2(15) NULL ,
RequiredDate varchar2(15) NULL ,
ShippedDate varchar2(15) NULL ,
ShipVia number NULL ,
Freight number NULL,
ShipName varchar2 (40) NULL ,
ShipAddress varchar2 (60) NULL ,
ShipCity varchar2 (15) NULL ,
ShipRegion varchar2 (15) NULL ,
ShipPostalCode varchar2 (10) NULL ,
ShipCountry varchar2 (15) NULL);
/*
CONSTRAINT PK_Orders PRIMARY KEY CLUSTERED
(
OrderID
),
CONSTRAINT FK_Orders_Customers FOREIGN KEY
(
CustomerID
) REFERENCES xxms.Customers (
CustomerID
),
CONSTRAINT FK_Orders_Employees FOREIGN KEY
(
EmployeeID
) REFERENCES xxms.Employees (
EmployeeID
),
CONSTRAINT FK_Orders_Shippers FOREIGN KEY
(
ShipVia
) REFERENCES xxms.Shippers (
ShipperID
)
);
*/
CREATE INDEX CustomerID ON Orders(CustomerID);
CREATE INDEX CustomersOrders ON Orders(CustomerID);
CREATE INDEX EmployeeID ON Orders(EmployeeID);
CREATE INDEX EmployeesOrders ON Orders(EmployeeID);
CREATE INDEX OrderDate ON Orders(OrderDate);
CREATE INDEX ShippedDate ON Orders(ShippedDate);
CREATE INDEX ShippersOrders ON Orders(ShipVia);
CREATE INDEX ShipPostalCode ON Orders(ShipPostalCode);
CREATE TABLE Products (
ProductID number NOT NULL ,
ProductName varchar2 (40) NOT NULL ,
SupplierID number NULL ,
CategoryID number NULL ,
QuantityPerUnit varchar2 (20) NULL ,
UnitPrice number NULL ,
UnitsInStock number NULL ,
UnitsOnOrder number NULL ,
ReorderLevel number NULL ,
Discontinued number NOT NULL);
/*
CONSTRAINT PK_Products PRIMARY KEY CLUSTERED
(
ProductID
),
CONSTRAINT FK_Products_Categories FOREIGN KEY
(
CategoryID
) REFERENCES xxms.Categories (
CategoryID
),
CONSTRAINT FK_Products_Suppliers FOREIGN KEY
(
SupplierID
) REFERENCES xxms.Suppliers (
SupplierID
),
CONSTRAINT CK_Products_UnitPrice CHECK (UnitPrice >= 0),
CONSTRAINT CK_ReorderLevel CHECK (ReorderLevel >= 0),
CONSTRAINT CK_UnitsInStock CHECK (UnitsInStock >= 0),
CONSTRAINT CK_UnitsOnOrder CHECK (UnitsOnOrder >= 0)
);
*/
CREATE INDEX CategoriesProducts ON Products(CategoryID);
CREATE INDEX CategoryID ON Products(CategoryID);
CREATE INDEX ProductName ON Products(ProductName);
CREATE INDEX SupplierID ON Products(SupplierID);
CREATE INDEX SuppliersProducts ON Products(SupplierID);
CREATE TABLE Order_Details (
OrderID number NOT NULL ,
ProductID number NOT NULL ,
UnitPrice number NOT NULL ,
Quantity number NOT NULL ,
Discount number NOT NULL );
/*
CONSTRAINT PK_Order_Details PRIMARY KEY CLUSTERED
(
OrderID,
ProductID
),
CONSTRAINT FK_Order_Details_Orders FOREIGN KEY
(
OrderID
) REFERENCES xxms.Orders (
OrderID
),
CONSTRAINT FK_Order_Details_Products FOREIGN KEY
(
ProductID
) REFERENCES xxms.Products (
ProductID
),
CONSTRAINT CK_Discount CHECK (Discount >= 0 and (Discount <= 1)),
CONSTRAINT CK_Quantity CHECK (Quantity > 0),
CONSTRAINT CK_UnitPrice CHECK (UnitPrice >= 0)
);
*/
create synonym "Order Details" for Order_Details;
CREATE INDEX OrderID ON Order_Details(OrderID);
CREATE INDEX OrdersOrder_Details ON Order_Details(OrderID);
CREATE INDEX ProductID ON Order_Details(ProductID);
CREATE INDEX ProductsOrder_Details ON Order_Details(ProductID);
create view Customer_and_Suppliers_by_City AS
SELECT City, CompanyName, ContactName, 'Customers' TableFrom
FROM Customers
UNION
SELECT City, CompanyName, ContactName, 'Suppliers'
FROM Suppliers;
--ORDER BY City, CompanyName
create synonym "Customer and Suppliers by City" for Customer_and_Suppliers_by_City;
create view Alphabetical_list_of_products AS
SELECT Products.*, Categories.CategoryName
FROM Categories, Products
WHERE Categories.CategoryID = Products.CategoryID
and (((Products.Discontinued)=0));
create synonym "Alphabetical list of products" for Alphabetical_list_of_products;
create view Current_Product_List AS
SELECT ProductID, ProductName
FROM Products
WHERE (((Discontinued)=0));
--ORDER BY Product_List.ProductName
create synonym "Current Product List" for Current_Product_List;
create view Orders_Qry AS
SELECT Orders.OrderID, Orders.CustomerID, Orders.EmployeeID, Orders.OrderDate, Orders.RequiredDate,
Orders.ShippedDate, Orders.ShipVia, Orders.Freight, Orders.ShipName, Orders.ShipAddress, Orders.ShipCity,
Orders.ShipRegion, Orders.ShipPostalCode, Orders.ShipCountry,
Customers.CompanyName, Customers.Address, Customers.City, Customers.Region, Customers.PostalCode, Customers.Country
FROM Customers,Orders
where Customers.CustomerID = Orders.CustomerID;
create synonym "Orders Qry" for Orders_Qry;
create view Products_Above_Average_Price AS
SELECT Products.ProductName, Products.UnitPrice
FROM Products
WHERE Products.UnitPrice>(SELECT AVG(UnitPrice) From Products);
--ORDER BY Products.UnitPrice DESC
create synonym "Products Above Average Price" for Products_Above_Average_Price;
create view Products_by_Category AS
SELECT Categories.CategoryName, Products.ProductName, Products.QuantityPerUnit, Products.UnitsInStock, Products.Discontinued
FROM Categories, Products
WHERE Categories.CategoryID = Products.CategoryID
and Products.Discontinued <> 1;
--ORDER BY Categories.CategoryName, Products.ProductName
create synonym "Products by Category" for Products_by_Category;
create or replace view Quarterly_Orders AS
SELECT DISTINCT Customers.CustomerID, Customers.CompanyName, Customers.City, Customers.Country
FROM Customers, Orders
WHERE Customers.CustomerID = Orders.CustomerID
and to_date(Orders.OrderDate, 'MM/DD/YYYY') BETWEEN to_date('19970101', 'YYYYMMDD') And to_date('19971231', 'YYYYMMDD');
create synonym "Quarterly Orders" for Quarterly_Orders;
create view Invoices AS
SELECT Orders.ShipName, Orders.ShipAddress, Orders.ShipCity, Orders.ShipRegion, Orders.ShipPostalCode,
Orders.ShipCountry, Orders.CustomerID, Customers.CompanyName AS CustomerName, Customers.Address, Customers.City,
Customers.Region, Customers.PostalCode, Customers.Country,
(FirstName||' '||LastName) AS Salesperson,
Orders.OrderID, Orders.OrderDate, Orders.RequiredDate, Orders.ShippedDate, Shippers.CompanyName As ShipperName,
Order_Details.ProductID, Products.ProductName, Order_Details.UnitPrice, Order_Details.Quantity,
Order_Details.Discount,
Order_Details.UnitPrice*Quantity*(1-Discount)/100 *100 AS ExtendedPrice, Orders.Freight
FROM Shippers, Products, Employees, Customers, Orders, Order_Details
where Customers.CustomerID = Orders.CustomerID
and Employees.EmployeeID = Orders.EmployeeID
and Orders.OrderID = Order_Details.OrderID
and Products.ProductID = Order_Details.ProductID
and Shippers.ShipperID = Orders.ShipVia;
create view Order_Details_Extended AS
SELECT Order_Details.OrderID, Order_Details.ProductID, Products.ProductName,
Order_Details.UnitPrice, Order_Details.Quantity, Order_Details.Discount,
Order_Details.UnitPrice*Quantity*(1-Discount)/100 * 100 AS ExtendedPrice
FROM Products, Order_Details
where Products.ProductID = Order_Details.ProductID;
--ORDER BY Order Details.OrderID
create synonym "Order Details Extended" for Order_Details_Extended;
create view Order_Subtotals AS
SELECT Order_Details.OrderID, Sum(Order_Details.UnitPrice*Quantity*(1-Discount)/100*100) AS Subtotal
FROM Order_Details
GROUP BY Order_Details.OrderID;
create synonym "Order Subtotals" for Order_Subtotals;
create or replace view Product_Sales_for_1997 AS
SELECT Categories.CategoryName, Products.ProductName,
Sum(Order_Details.UnitPrice*Quantity*(1-Discount)/100*100) AS ProductSales
FROM Categories , Products, Order_Details, Orders
where Categories.CategoryID = Products.CategoryID
and Orders.OrderID = Order_Details.OrderID
and Products.ProductID = Order_Details.ProductID
and to_date(Orders.ShippedDate, 'MM/DD/YYYY') Between to_date('19970101', 'YYYYMMDD') And to_date('19971231', 'YYYYMMDD')
GROUP BY Categories.CategoryName, Products.ProductName;
create synonym "Product Sales for 1997" for Product_Sales_for_1997;
create view Category_Sales_for_1997 AS
SELECT Product_Sales_for_1997.CategoryName, Sum(Product_Sales_for_1997.ProductSales) AS CategorySales
FROM Product_Sales_for_1997
GROUP BY Product_Sales_for_1997.CategoryName;
create synonym "Category Sales for 1997" for Category_Sales_for_1997;
create or replace view Sales_by_Category AS
SELECT Categories.CategoryID, Categories.CategoryName, Products.ProductName,
Sum(Order_Details_Extended.ExtendedPrice) AS ProductSales
FROM Categories, Products, Order_Details_Extended, Orders
where Orders.OrderID = Order_Details_Extended.OrderID
and Products.ProductID = Order_Details_Extended.ProductID
and Categories.CategoryID = Products.CategoryID
and to_date(Orders.OrderDate, 'MM/DD/YYYY') BETWEEN to_date('19970101', 'YYYYMMDD') And to_date('19971231', 'YYYYMMDD')
GROUP BY Categories.CategoryID, Categories.CategoryName, Products.ProductName;
--ORDER BY Products.ProductName
create synonym "Sales by Category" for Sales_by_Category;
create or replace view Sales_Totals_by_Amount AS
SELECT Order_Subtotals.Subtotal AS SaleAmount, Orders.OrderID, Customers.CompanyName, Orders.ShippedDate
FROM Customers, Order_Subtotals, Orders
where Orders.OrderID = Order_Subtotals.OrderID
and Customers.CustomerID = Orders.CustomerID
and (Order_Subtotals.Subtotal >2500) AND (to_date(Orders.ShippedDate, 'MM/DD/YYYY') BETWEEN to_date('19970101', 'YYYYMMDD') And to_date('19971231', 'YYYYMMDD'));
create synonym "Sales Totals by Amount" for Sales_Totals_by_Amount;
create view Summary_of_Sales_by_Quarter AS
SELECT Orders.ShippedDate, Orders.OrderID, Order_Subtotals.Subtotal
FROM Orders, Order_Subtotals
where Orders.OrderID = Order_Subtotals.OrderID
and Orders.ShippedDate IS NOT NULL;
--ORDER BY Orders.ShippedDate
create synonym "Summary of Sales by Quarter" for Summary_of_Sales_by_Quarter;
create view Summary_of_Sales_by_Year AS
SELECT Orders.ShippedDate, Orders.OrderID, Order_Subtotals.Subtotal
FROM Orders, Order_Subtotals
where Orders.OrderID = Order_Subtotals.OrderID
and Orders.ShippedDate IS NOT NULL;
--ORDER BY Orders.ShippedDate
create synonym "Summary of Sales by Year" for Summary_of_Sales_by_Year;
/*
create procedure Ten Most Expensive Products AS
SET ROWCOUNT 10
SELECT Products.ProductName AS TenMostExpensiveProducts, Products.UnitPrice
FROM Products
ORDER BY Products.UnitPrice DESC
create procedure Employee Sales by Country
@Beginning_Date DateTime, @Ending_Date DateTime AS
SELECT Employees.Country, Employees.LastName, Employees.FirstName, Orders.ShippedDate, Orders.OrderID, Order Subtotals.Subtotal AS SaleAmount
FROM Employees INNER JOIN
(Orders INNER JOIN Order Subtotals ON Orders.OrderID = Order Subtotals.OrderID)
ON Employees.EmployeeID = Orders.EmployeeID
WHERE Orders.ShippedDate Between @Beginning_Date And @Ending_Date
create procedure Sales by Year
@Beginning_Date DateTime, @Ending_Date DateTime AS
SELECT Orders.ShippedDate, Orders.OrderID, Order Subtotals.Subtotal, DATENAME(yy,ShippedDate) AS Year
FROM Orders INNER JOIN Order Subtotals ON Orders.OrderID = Order Subtotals.OrderID
WHERE Orders.ShippedDate Between @Beginning_Date And @Ending_Date
*/
/*
ALTER TABLE Categories CHECK CONSTRAINT ALL;
ALTER TABLE Customers NOCHECK CONSTRAINT ALL;
*/
INSERT INTO Customers VALUES('ALFKI','Alfreds Futterkiste','Maria Anders','Sales Representative','Obere Str. 57','Berlin',NULL,'12209','Germany','030-0074321','030-0076545');
INSERT INTO Customers VALUES('ANATR','Ana Trujillo Emparedados y helados','Ana Trujillo','Owner','Avda. de la Constitución 2222','México D.F.',NULL,'05021','Mexico','(5) 555-4729','(5) 555-3745');
INSERT INTO Customers VALUES('ANTON','Antonio Moreno Taquería','Antonio Moreno','Owner','Mataderos 2312','México D.F.',NULL,'05023','Mexico','(5) 555-3932',NULL);
INSERT INTO Customers VALUES('AROUT','Around the Horn','Thomas Hardy','Sales Representative','120 Hanover Sq.','London',NULL,'WA1 1DP','UK','(171) 555-7788','(171) 555-6750');
INSERT INTO Customers VALUES('BERGS','Berglunds snabbköp','Christina Berglund','Order Administrator','Berguvsvägen 8','Luleå',NULL,'S-958 22','Sweden','0921-12 34 65','0921-12 34 67');
INSERT INTO Customers VALUES('BLAUS','Blauer See Delikatessen','Hanna Moos','Sales Representative','Forsterstr. 57','Mannheim',NULL,'68306','Germany','0621-08460','0621-08924');
INSERT INTO Customers VALUES('BLONP','Blondesddsl père et fils','Frédérique Citeaux','Marketing Manager','24, place Kléber','Strasbourg',NULL,'67000','France','88.60.15.31','88.60.15.32');
INSERT INTO Customers VALUES('BOLID','Bólido Comidas preparadas','Martín Sommer','Owner','C/ Araquil, 67','Madrid',NULL,'28023','Spain','(91) 555 22 82','(91) 555 91 99');
INSERT INTO Customers VALUES('BONAP','Bon app''','Laurence Lebihan','Owner','12, rue des Bouchers','Marseille',NULL,'13008','France','91.24.45.40','91.24.45.41');
INSERT INTO Customers VALUES('BOTTM','Bottom-Dollar Markets','Elizabeth Lincoln','Accounting Manager','23 Tsawassen Blvd.','Tsawassen','BC','T2F 8M4','Canada','(604) 555-4729','(604) 555-3745');
INSERT INTO Customers VALUES('BSBEV','B''s Beverages','Victoria Ashworth','Sales Representative','Fauntleroy Circus','London',NULL,'EC2 5NT','UK','(171) 555-1212',NULL);
INSERT INTO Customers VALUES('CACTU','Cactus Comidas para llevar','Patricio Simpson','Sales Agent','Cerrito 333','Buenos Aires',NULL,'1010','Argentina','(1) 135-5555','(1) 135-4892');
INSERT INTO Customers VALUES('CENTC','Centro comercial Moctezuma','Francisco Chang','Marketing Manager','Sierras de Granada 9993','México D.F.',NULL,'05022','Mexico','(5) 555-3392','(5) 555-7293');
INSERT INTO Customers VALUES('CHOPS','Chop-suey Chinese','Yang Wang','Owner','Hauptstr. 29','Bern',NULL,'3012','Switzerland','0452-076545',NULL);
INSERT INTO Customers VALUES('COMMI','Comércio Mineiro','Pedro Afonso','Sales Associate','Av. dos Lusíadas, 23','Sao Paulo','SP','05432-043','Brazil','(11) 555-7647',NULL);
INSERT INTO Customers VALUES('CONSH','Consolidated Holdings','Elizabeth Brown','Sales Representative','Berkeley Gardens 12 Brewery','London',NULL,'WX1 6LT','UK','(171) 555-2282','(171) 555-9199');
INSERT INTO Customers VALUES('DRACD','Drachenblut Delikatessen','Sven Ottlieb','Order Administrator','Walserweg 21','Aachen',NULL,'52066','Germany','0241-039123','0241-059428');
INSERT INTO Customers VALUES('DUMON','Du monde entier','Janine Labrune','Owner','67, rue des Cinquante Otages','Nantes',NULL,'44000','France','40.67.88.88','40.67.89.89');
INSERT INTO Customers VALUES('EASTC','Eastern Connection','Ann Devon','Sales Agent','35 King George','London',NULL,'WX3 6FW','UK','(171) 555-0297','(171) 555-3373');
INSERT INTO Customers VALUES('ERNSH','Ernst Handel','Roland Mendel','Sales Manager','Kirchgasse 6','Graz',NULL,'8010','Austria','7675-3425','7675-3426');
INSERT INTO Customers VALUES('FAMIA','Familia Arquibaldo','Aria Cruz','Marketing Assistant','Rua Orós, 92','Sao Paulo','SP','05442-030','Brazil','(11) 555-9857',NULL);
INSERT INTO Customers VALUES('FISSA','FISSA Fabrica Inter. Salchichas S.A.','Diego Roel','Accounting Manager','C/ Moralzarzal, 86','Madrid',NULL,'28034','Spain','(91) 555 94 44','(91) 555 55 93');
INSERT INTO Customers VALUES('FOLIG','Folies gourmandes','Martine Rancé','Assistant Sales Agent','184, chaussée de Tournai','Lille',NULL,'59000','France','20.16.10.16','20.16.10.17');
INSERT INTO Customers VALUES('FOLKO','Folk och fä HB','Maria Larsson','Owner','Åkergatan 24','Bräcke',NULL,'S-844 67','Sweden','0695-34 67 21',NULL);
INSERT INTO Customers VALUES('FRANK','Frankenversand','Peter Franken','Marketing Manager','Berliner Platz 43','München',NULL,'80805','Germany','089-0877310','089-0877451');
INSERT INTO Customers VALUES('FRANR','France restauration','Carine Schmitt','Marketing Manager','54, rue Royale','Nantes',NULL,'44000','France','40.32.21.21','40.32.21.20');
INSERT INTO Customers VALUES('FRANS','Franchi S.p.A.','Paolo Accorti','Sales Representative','Via Monte Bianco 34','Torino',NULL,'10100','Italy','011-4988260','011-4988261');
INSERT INTO Customers VALUES('FURIB','Furia Bacalhau e Frutos do Mar','Lino Rodriguez','Sales Manager','Jardim das rosas n. 32','Lisboa',NULL,'1675','Portugal','(1) 354-2534','(1) 354-2535');
INSERT INTO Customers VALUES('GALED','Galería del gastrónomo','Eduardo Saavedra','Marketing Manager','Rambla de Cataluña, 23','Barcelona',NULL,'08022','Spain','(93) 203 4560','(93) 203 4561');
INSERT INTO Customers VALUES('DOS','Godos Cocina Típica','José Pedro Freyre','Sales Manager','C/ Romero, 33','Sevilla',NULL,'41101','Spain','(95) 555 82 82',NULL)
INSERT INTO Customers VALUES('URL','Gourmet Lanchonetes','André Fonseca','Sales Associate','Av. Brasil, 442','Campinas','SP','04876-786','Brazil','(11) 555-9482',NULL);
INSERT INTO Customers VALUES('GREAL','Great Lakes Food Market','Howard Snyder','Marketing Manager','2732 Baker Blvd.','Eugene','OR','97403','USA','(503) 555-7555',NULL);
INSERT INTO Customers VALUES('GROSR','GROSELLA-Restaurante','Manuel Pereira','Owner','5ª Ave. Los Palos Grandes','Caracas','DF','1081','Venezuela','(2) 283-2951','(2) 283-3397');
INSERT INTO Customers VALUES('HANAR','Hanari Carnes','Mario Pontes','Accounting Manager','Rua do Paço, 67','Rio de Janeiro','RJ','05454-876','Brazil','(21) 555-0091','(21) 555-8765');
INSERT INTO Customers VALUES('HILAA','HILARION-Abastos','Carlos Hernández','Sales Representative','Carrera 22 con Ave. Carlos Soublette #8-35','San Cristóbal','Táchira','5022','Venezuela','(5) 555-1340','(5) 555-1948');
INSERT INTO Customers VALUES('HUNGC','Hungry Coyote Import Store','Yoshi Latimer','Sales Representative','City Center Plaza 516 Main St.','Elgin','OR','97827','USA','(503) 555-6874','(503) 555-2376');
INSERT INTO Customers VALUES('HUN','Hungry Owl All-Night Grocers','Patricia McKenna','Sales Associate','8 Johnstown Road','Cork','Co. Cork',NULL,'Ireland','2967 542','2967 3333');
INSERT INTO Customers VALUES('ISLAT','Island Trading','Helen Bennett','Marketing Manager','Garden House Crowther Way','Cowes','Isle of Wight','PO31 7PJ','UK','(198) 555-8888',NULL);
INSERT INTO Customers VALUES('KOENE','Königlich Essen','Philip Cramer','Sales Associate','Maubelstr. 90','Brandenburg',NULL,'14776','Germany','0555-09876',NULL);
INSERT INTO Customers VALUES('LACOR','La corne d''abondance','Daniel Tonini','Sales Representative','67, avenue de l''Europe','Versailles',NULL,'78000','France','30.59.84.10','30.59.85.11');
INSERT INTO Customers VALUES('LAMAI','La maison d''Asie','Annette Roulet','Sales Manager','1 rue Alsace-Lorraine','Toulouse',NULL,'31000','France','61.77.61.10','61.77.61.11');
INSERT INTO Customers VALUES('LAUGB','Laughing Bacchus Wine Cellars','Yoshi Tannamuri','Marketing Assistant','1900 Oak St.','Vancouver','BC','V3F 2K1','Canada','(604) 555-3392','(604) 555-7293');
INSERT INTO Customers VALUES('LAZYK','Lazy K Kountry Store','John Steel','Marketing Manager','12 Orchestra Terrace','Walla Walla','WA','99362','USA','(509) 555-7969','(509) 555-6221');
INSERT INTO Customers VALUES('LEHMS','Lehmanns Marktstand','Renate Messner','Sales Representative','Magazinweg 7','Frankfurt a.M.',NULL,'60528','Germany','069-0245984','069-0245874');
INSERT INTO Customers VALUES('LETSS','Let''s Stop N Shop','Jaime Yorres','Owner','87 Polk St. Suite 5','San Francisco','CA','94117','USA','(415) 555-5938',NULL);
INSERT INTO Customers VALUES('LILAS','LILA-Supermercado','Carlos González','Accounting Manager','Carrera 52 con Ave. Bolívar #65-98 Llano Largo','Barquisimeto','Lara','3508','Venezuela','(9) 331-6954','(9) 331-7256');
INSERT INTO Customers VALUES('LINOD','LINO-Delicateses','Felipe Izquierdo','Owner','Ave. 5 de Mayo Porlamar','I. de Margarita','Nueva Esparta','4980','Venezuela','(8) 34-56-12','(8) 34-93-93');
INSERT INTO Customers VALUES('LONEP','Lonesome Pine Restaurant','Fran Wilson','Sales Manager','89 Chiaroscuro Rd.','Portland','OR','97219','USA','(503) 555-9573','(503) 555-9646');
INSERT INTO Customers VALUES('MAGAA','Magazzini Alimentari Riuniti','Giovanni Rovelli','Marketing Manager','Via Ludovico il Moro 22','Bergamo',NULL,'24100','Italy','035-640230','035-640231');
INSERT INTO Customers VALUES('MAISD','Maison Dewey','Catherine Dewey','Sales Agent','Rue Joseph-Bens 532','Bruxelles',NULL,'B-1180','Belgium','(02) 201 24 67','(02) 201 24 68');
INSERT INTO Customers VALUES('MEREP','Mère Paillarde','Jean Fresnière','Marketing Assistant','43 rue St. Laurent','Montréal','Québec','H1J 1C3','Canada','(514) 555-8054','(514) 555-8055');
INSERT INTO Customers VALUES('MORGK','Morgenstern Gesundkost','Alexander Feuer','Marketing Assistant','Heerstr. 22','Leipzig',NULL,'04179','Germany','0342-023176',NULL);
INSERT INTO Customers VALUES('NORTS','North/South','Simon Crowther','Sales Associate','South House 300 Queensbridge','London',NULL,'SW7 1RZ','UK','(171) 555-7733','(171) 555-2530');
INSERT INTO Customers VALUES('OCEAN','Océano Atlántico Ltda.','Yvonne Moncada','Sales Agent','Ing. Gustavo Moncada 8585 Piso 20-A','Buenos Aires',NULL,'1010','Argentina','(1) 135-5333','(1) 135-5535');
INSERT INTO Customers VALUES('OLDWO','Old World Delicatessen','Rene Phillips','Sales Representative','2743 Bering St.','Anchorage','AK','99508','USA','(907) 555-7584','(907) 555-2880');
INSERT INTO Customers VALUES('OTTIK','Ottilies Käseladen','Henriette Pfalzheim','Owner','Mehrheimerstr. 369','Köln',NULL,'50739','Germany','0221-0644327','0221-0765721');
INSERT INTO Customers VALUES('PARIS','Paris spécialités','Marie Bertrand','Owner','265, boulevard Charonne','Paris',NULL,'75012','France','(1) 42.34.22.66','(1) 42.34.22.77');
INSERT INTO Customers VALUES('PERIC','Pericles Comidas clásicas','Guillermo Fernández','Sales Representative','Calle Dr. Jorge Cash 321','México D.F.',NULL,'05033','Mexico','(5) 552-3745','(5) 545-3745');
INSERT INTO Customers VALUES('PICCO','Piccolo und mehr','Georg Pipps','Sales Manager','Geislweg 14','Salzburg',NULL,'5020','Austria','6562-9722','6562-9723');
INSERT INTO Customers VALUES('PRINI','Princesa Isabel Vinhos','Isabel de Castro','Sales Representative','Estrada da saúde n. 58','Lisboa',NULL,'1756','Portugal','(1) 356-5634',NULL);
INSERT INTO Customers VALUES('QUEDE','Que Delícia','Bernardo Batista','Accounting Manager','Rua da Panificadora, 12','Rio de Janeiro','RJ','02389-673','Brazil','(21) 555-4252','(21) 555-4545');
INSERT INTO Customers VALUES('QUEEN','Queen Cozinha','Lúcia Carvalho','Marketing Assistant','Alameda dos Canàrios, 891','Sao Paulo','SP','05487-020','Brazil','(11) 555-1189',NULL);
INSERT INTO Customers VALUES('QUICK','QUICK-Stop','Horst Kloss','Accounting Manager','Taucherstraße 10','Cunewalde',NULL,'01307','Germany','0372-035188',NULL);
INSERT INTO Customers VALUES('RANCH','Rancho grande','Sergio Gutiérrez','Sales Representative','Av. del Libertador 900','Buenos Aires',NULL,'1010','Argentina','(1) 123-5555','(1) 123-5556');
INSERT INTO Customers VALUES('RATTC','Rattlesnake Canyon Grocery','Paula Wilson','Assistant Sales Representative','2817 Milton Dr.','Albuquerque','NM','87110','USA','(505) 555-5939','(505) 555-3620');
INSERT INTO Customers VALUES('REGGC','Reggiani Caseifici','Maurizio Moroni','Sales Associate','Strada Provinciale 124','Reggio Emilia',NULL,'42100','Italy','0522-556721','0522-556722');
INSERT INTO Customers VALUES('RICAR','Ricardo Adocicados','Janete Limeira','Assistant Sales Agent','Av. Copacabana, 267','Rio de Janeiro','RJ','02389-890','Brazil','(21) 555-3412',NULL);
INSERT INTO Customers VALUES('RICSU','Richter Supermarkt','Michael Holz','Sales Manager','Grenzacherweg 237','Genève',NULL,'1203','Switzerland','0897-034214',NULL);
INSERT INTO Customers VALUES('ROMEY','Romero y tomillo','Alejandra Camino','Accounting Manager','Gran Vía, 1','Madrid',NULL,'28001','Spain','(91) 745 6200','(91) 745 6210');
INSERT INTO Customers VALUES('SANTG','Santé Gourmet','Jonas Bergulfsen','Owner','Erling Skakkes gate 78','Stavern',NULL,'4110','Norway','07-98 92 35','07-98 92 47');
INSERT INTO Customers VALUES('SAVEA','Save-a-lot Markets','Jose Pavarotti','Sales Representative','187 Suffolk Ln.','Boise','ID','83720','USA','(208) 555-8097',NULL);
INSERT INTO Customers VALUES('SEVES','Seven Seas Imports','Hari Kumar','Sales Manager','90 Wadhurst Rd.','London',NULL,'OX15 4NB','UK','(171) 555-1717','(171) 555-5646');
INSERT INTO Customers VALUES('SIMOB','Simons bistro','Jytte Petersen','Owner','Vinbæltet 34','Kobenhavn',NULL,'1734','Denmark','31 12 34 56','31 13 35 57');
INSERT INTO Customers VALUES('SPECD','Spécialités du monde','Dominique Perrier','Marketing Manager','25, rue Lauriston','Paris',NULL,'75016','France','(1) 47.55.60.10','(1) 47.55.60.20');
INSERT INTO Customers VALUES('SPLIR','Split Rail Beer and Ale','Art Braunschweiger','Sales Manager','P.O. Box 555','Lander','WY','82520','USA','(307) 555-4680','(307) 555-6525');
INSERT INTO Customers VALUES('SUPRD','Suprêmes délices','Pascale Cartrain','Accounting Manager','Boulevard Tirou, 255','Charleroi',NULL,'B-6000','Belgium','(071) 23 67 22 20','(071) 23 67 22 21');
INSERT INTO Customers VALUES('THEBI','The Big Cheese','Liz Nixon','Marketing Manager','89 Jefferson Way Suite 2','Portland','OR','97201','USA','(503) 555-3612',NULL);
INSERT INTO Customers VALUES('THECR','The Cracker Box','Liu Wong','Marketing Assistant','55 Grizzly Peak Rd.','Butte','MT','59801','USA','(406) 555-5834','(406) 555-8083');
INSERT INTO Customers VALUES('TOMSP','Toms Spezialitäten','Karin Josephs','Marketing Manager','Luisenstr. 48','Münster',NULL,'44087','Germany','0251-031259','0251-035695');
INSERT INTO Customers VALUES('TORTU','Tortuga Restaurante','Miguel Angel Paolino','Owner','Avda. Azteca 123','México D.F.',NULL,'05033','Mexico','(5) 555-2933',NULL);
INSERT INTO Customers VALUES('TRADH','Tradição Hipermercados','Anabela Domingues','Sales Representative','Av. Inês de Castro, 414','Sao Paulo','SP','05634-030','Brazil','(11) 555-2167','(11) 555-2168');
INSERT INTO Customers VALUES('TRAIH','Trail''s Head Gourmet Provisioners','Helvetius Nagy','Sales Associate','722 DaVinci Blvd.','Kirkland','WA','98034','USA','(206) 555-8257','(206) 555-2174');
INSERT INTO Customers VALUES('VAFFE','Vaffeljernet','Palle Ibsen','Sales Manager','Smagsloget 45','Århus',NULL,'8200','Denmark','86 21 32 43','86 22 33 44');
INSERT INTO Customers VALUES('VICTE','Victuailles en stock','Mary Saveley','Sales Agent','2, rue du Commerce','Lyon',NULL,'69004','France','78.32.54.86','78.32.54.87');
INSERT INTO Customers VALUES('VINET','Vins et alcools Chevalier','Paul Henriot','Accounting Manager','59 rue de l''Abbaye','Reims',NULL,'51100','France','26.47.15.10','26.47.15.11');
INSERT INTO Customers VALUES('WANDK','Die Wandernde Kuh','Rita Müller','Sales Representative','Adenauerallee 900','Stuttgart',NULL,'70563','Germany','0711-020361','0711-035428');
INSERT INTO Customers VALUES('WARTH','Wartian Herkku','Pirkko Koskitalo','Accounting Manager','Torikatu 38','Oulu',NULL,'90110','Finland','981-443655','981-443655');
INSERT INTO Customers VALUES('WELLI','Wellington Importadora','Paula Parente','Sales Manager','Rua do Mercado, 12','Resende','SP','08737-363','Brazil','(14) 555-8122',NULL);
INSERT INTO Customers VALUES('WHITC','White Clover Markets','Karl Jablonski','Owner','305 - 14th Ave. S. Suite 3B','Seattle','WA','98128','USA','(206) 555-4112','(206) 555-4115');
INSERT INTO Customers VALUES('WILMK','Wilman Kala','Matti Karttunen','Owner/Marketing Assistant','Keskuskatu 45','Helsinki',NULL,'21240','Finland','90-224 8858','90-224 8858');
INSERT INTO Customers VALUES('WOLZA','Wolski Zajazd','Zbyszek Piestrzeniewicz','Owner','ul. Filtrowa 68','Warszawa',NULL,'01-012','Poland','(26) 642-7012','(26) 642-7012');
/*
ALTER TABLE Customers CHECK CONSTRAINT ALL;
ALTER TABLE Employees NOCHECK CONSTRAINT ALL;
ALTER TABLE Employees CHECK CONSTRAINT ALL;
ALTER TABLE Order Details NOCHECK CONSTRAINT ALL;
*/
INSERT INTO Order_Details VALUES(10248,11,14,12,0);
INSERT INTO Order_Details VALUES(10248,42,9.8,10,0);
INSERT INTO Order_Details VALUES(10248,72,34.8,5,0);
INSERT INTO Order_Details VALUES(10249,14,18.6,9,0);
INSERT INTO Order_Details VALUES(10249,51,42.4,40,0);
INSERT INTO Order_Details VALUES(10250,41,7.7,10,0);
INSERT INTO Order_Details VALUES(10250,51,42.4,35,0.15);
INSERT INTO Order_Details VALUES(10250,65,16.8,15,0.15);
INSERT INTO Order_Details VALUES(10251,22,16.8,6,0.05);
INSERT INTO Order_Details VALUES(10251,57,15.6,15,0.05);
INSERT INTO Order_Details VALUES(10251,65,16.8,20,0);
INSERT INTO Order_Details VALUES(10252,20,64.8,40,0.05);
INSERT INTO Order_Details VALUES(10252,33,2,25,0.05);
INSERT INTO Order_Details VALUES(10252,60,27.2,40,0);
INSERT INTO Order_Details VALUES(10253,31,10,20,0);
INSERT INTO Order_Details VALUES(10253,39,14.4,42,0);
INSERT INTO Order_Details VALUES(10253,49,16,40,0);
INSERT INTO Order_Details VALUES(10254,24,3.6,15,0.15);
INSERT INTO Order_Details VALUES(10254,55,19.2,21,0.15);
INSERT INTO Order_Details VALUES(10254,74,8,21,0);
INSERT INTO Order_Details VALUES(10255,2,15.2,20,0);
INSERT INTO Order_Details VALUES(10255,16,13.9,35,0);
INSERT INTO Order_Details VALUES(10255,36,15.2,25,0);
INSERT INTO Order_Details VALUES(10255,59,44,30,0);
INSERT INTO Order_Details VALUES(10256,53,26.2,15,0);
INSERT INTO Order_Details VALUES(10256,77,10.4,12,0);
INSERT INTO Order_Details VALUES(10257,27,35.1,25,0);
INSERT INTO Order_Details VALUES(10257,39,14.4,6,0);
INSERT INTO Order_Details VALUES(10257,77,10.4,15,0);
INSERT INTO Order_Details VALUES(10258,2,15.2,50,0.2);
INSERT INTO Order_Details VALUES(10258,5,17,65,0.2);
INSERT INTO Order_Details VALUES(10258,32,25.6,6,0.2);
INSERT INTO Order_Details VALUES(10259,21,8,10,0);
INSERT INTO Order_Details VALUES(10259,37,20.8,1,0);
INSERT INTO Order_Details VALUES(10260,41,7.7,16,0.25);
INSERT INTO Order_Details VALUES(10260,57,15.6,50,0);
INSERT INTO Order_Details VALUES(10260,62,39.4,15,0.25);
INSERT INTO Order_Details VALUES(10260,70,12,21,0.25);
INSERT INTO Order_Details VALUES(10261,21,8,20,0);
INSERT INTO Order_Details VALUES(10261,35,14.4,20,0);
INSERT INTO Order_Details VALUES(10262,5,17,12,0.2);
INSERT INTO Order_Details VALUES(10262,7,24,15,0);
INSERT INTO Order_Details VALUES(10262,56,30.4,2,0);
INSERT INTO Order_Details VALUES(10263,16,13.9,60,0.25);
INSERT INTO Order_Details VALUES(10263,24,3.6,28,0);
INSERT INTO Order_Details VALUES(10263,30,20.7,60,0.25);
INSERT INTO Order_Details VALUES(10263,74,8,36,0.25);
INSERT INTO Order_Details VALUES(10264,2,15.2,35,0);
INSERT INTO Order_Details VALUES(10264,41,7.7,25,0.15);
INSERT INTO Order_Details VALUES(10265,17,31.2,30,0);
INSERT INTO Order_Details VALUES(10265,70,12,20,0);
INSERT INTO Order_Details VALUES(10266,12,30.4,12,0.05);
INSERT INTO Order_Details VALUES(10267,40,14.7,50,0);
INSERT INTO Order_Details VALUES(10267,59,44,70,0.15);
INSERT INTO Order_Details VALUES(10267,76,14.4,15,0.15);
INSERT INTO Order_Details VALUES(10268,29,99,10,0);
INSERT INTO Order_Details VALUES(10268,72,27.8,4,0);
INSERT INTO Order_Details VALUES(10269,33,2,60,0.05);
INSERT INTO Order_Details VALUES(10269,72,27.8,20,0.05);
INSERT INTO Order_Details VALUES(10270,36,15.2,30,0);
INSERT INTO Order_Details VALUES(10270,43,36.8,25,0);
INSERT INTO Order_Details VALUES(10271,33,2,24,0);
INSERT INTO Order_Details VALUES(10272,20,64.8,6,0);
INSERT INTO Order_Details VALUES(10272,31,10,40,0);
INSERT INTO Order_Details VALUES(10272,72,27.8,24,0);
INSERT INTO Order_Details VALUES(10273,10,24.8,24,0.05);
INSERT INTO Order_Details VALUES(10273,31,10,15,0.05);
INSERT INTO Order_Details VALUES(10273,33,2,20,0);
INSERT INTO Order_Details VALUES(10273,40,14.7,60,0.05);
INSERT INTO Order_Details VALUES(10273,76,14.4,33,0.05);
INSERT INTO Order_Details VALUES(10274,71,17.2,20,0);
INSERT INTO Order_Details VALUES(10274,72,27.8,7,0);
INSERT INTO Order_Details VALUES(10275,24,3.6,12,0.05);
INSERT INTO Order_Details VALUES(10275,59,44,6,0.05);
INSERT INTO Order_Details VALUES(10276,10,24.8,15,0);
INSERT INTO Order_Details VALUES(10276,13,4.8,10,0);
INSERT INTO Order_Details VALUES(10277,28,36.4,20,0);
INSERT INTO Order_Details VALUES(10277,62,39.4,12,0);
INSERT INTO Order_Details VALUES(10278,44,15.5,16,0);
INSERT INTO Order_Details VALUES(10278,59,44,15,0);
INSERT INTO Order_Details VALUES(10278,63,35.1,8,0);
INSERT INTO Order_Details VALUES(10278,73,12,25,0);
INSERT INTO Order_Details VALUES(10279,17,31.2,15,0.25);
INSERT INTO Order_Details VALUES(10280,24,3.6,12,0);
INSERT INTO Order_Details VALUES(10280,55,19.2,20,0);
INSERT INTO Order_Details VALUES(10280,75,6.2,30,0);
INSERT INTO Order_Details VALUES(10281,19,7.3,1,0);
INSERT INTO Order_Details VALUES(10281,24,3.6,6,0);
INSERT INTO Order_Details VALUES(10281,35,14.4,4,0);
INSERT INTO Order_Details VALUES(10282,30,20.7,6,0);
INSERT INTO Order_Details VALUES(10282,57,15.6,2,0);
INSERT INTO Order_Details VALUES(10283,15,12.4,20,0);
INSERT INTO Order_Details VALUES(10283,19,7.3,18,0);
INSERT INTO Order_Details VALUES(10283,60,27.2,35,0);
INSERT INTO Order_Details VALUES(10283,72,27.8,3,0);
INSERT INTO Order_Details VALUES(10284,27,35.1,15,0.25);
INSERT INTO Order_Details VALUES(10284,44,15.5,21,0);
INSERT INTO Order_Details VALUES(10284,60,27.2,20,0.25);
INSERT INTO Order_Details VALUES(10284,67,11.2,5,0.25);
INSERT INTO Order_Details VALUES(10285,1,14.4,45,0.2);
INSERT INTO Order_Details VALUES(10285,40,14.7,40,0.2);
INSERT INTO Order_Details VALUES(10285,53,26.2,36,0.2);
INSERT INTO Order_Details VALUES(10286,35,14.4,100,0);
INSERT INTO Order_Details VALUES(10286,62,39.4,40,0);
INSERT INTO Order_Details VALUES(10287,16,13.9,40,0.15);
INSERT INTO Order_Details VALUES(10287,34,11.2,20,0);
INSERT INTO Order_Details VALUES(10287,46,9.6,15,0.15);
INSERT INTO Order_Details VALUES(10288,54,5.9,10,0.1);
INSERT INTO Order_Details VALUES(10288,68,10,3,0.1);
INSERT INTO Order_Details VALUES(10289,3,8,30,0);
INSERT INTO Order_Details VALUES(10289,64,26.6,9,0);
INSERT INTO Order_Details VALUES(10290,5,17,20,0);
INSERT INTO Order_Details VALUES(10290,29,99,15,0);
INSERT INTO Order_Details VALUES(10290,49,16,15,0);
INSERT INTO Order_Details VALUES(10290,77,10.4,10,0);
INSERT INTO Order_Details VALUES(10291,13,4.8,20,0.1);
INSERT INTO Order_Details VALUES(10291,44,15.5,24,0.1);
INSERT INTO Order_Details VALUES(10291,51,42.4,2,0.1);
INSERT INTO Order_Details VALUES(10292,20,64.8,20,0);
INSERT INTO Order_Details VALUES(10293,18,50,12,0);
INSERT INTO Order_Details VALUES(10293,24,3.6,10,0);
INSERT INTO Order_Details VALUES(10293,63,35.1,5,0);
INSERT INTO Order_Details VALUES(10293,75,6.2,6,0);
INSERT INTO Order_Details VALUES(10294,1,14.4,18,0);
INSERT INTO Order_Details VALUES(10294,17,31.2,15,0);
INSERT INTO Order_Details VALUES(10294,43,36.8,15,0);
INSERT INTO Order_Details VALUES(10294,60,27.2,21,0);
INSERT INTO Order_Details VALUES(10294,75,6.2,6,0);
INSERT INTO Order_Details VALUES(10295,56,30.4,4,0);
INSERT INTO Order_Details VALUES(10296,11,16.8,12,0);
INSERT INTO Order_Details VALUES(10296,16,13.9,30,0);
INSERT INTO Order_Details VALUES(10296,69,28.8,15,0);
INSERT INTO Order_Details VALUES(10297,39,14.4,60,0);
INSERT INTO Order_Details VALUES(10297,72,27.8,20,0);
INSERT INTO Order_Details VALUES(10298,2,15.2,40,0);
INSERT INTO Order_Details VALUES(10298,36,15.2,40,0.25);
INSERT INTO Order_Details VALUES(10298,59,44,30,0.25);
INSERT INTO Order_Details VALUES(10298,62,39.4,15,0);
INSERT INTO Order_Details VALUES(10299,19,7.3,15,0);
INSERT INTO Order_Details VALUES(10299,70,12,20,0);
INSERT INTO Order_Details VALUES(10300,66,13.6,30,0);
INSERT INTO Order_Details VALUES(10300,68,10,20,0);
INSERT INTO Order_Details VALUES(10301,40,14.7,10,0);
INSERT INTO Order_Details VALUES(10301,56,30.4,20,0);
INSERT INTO Order_Details VALUES(10302,17,31.2,40,0);
INSERT INTO Order_Details VALUES(10302,28,36.4,28,0);
INSERT INTO Order_Details VALUES(10302,43,36.8,12,0);
INSERT INTO Order_Details VALUES(10303,40,14.7,40,0.1);
INSERT INTO Order_Details VALUES(10303,65,16.8,30,0.1);
INSERT INTO Order_Details VALUES(10303,68,10,15,0.1);
INSERT INTO Order_Details VALUES(10304,49,16,30,0);
INSERT INTO Order_Details VALUES(10304,59,44,10,0);
INSERT INTO Order_Details VALUES(10304,71,17.2,2,0);
INSERT INTO Order_Details VALUES(10305,18,50,25,0.1);
INSERT INTO Order_Details VALUES(10305,29,99,25,0.1);
INSERT INTO Order_Details VALUES(10305,39,14.4,30,0.1);
INSERT INTO Order_Details VALUES(10306,30,20.7,10,0);
INSERT INTO Order_Details VALUES(10306,53,26.2,10,0);
INSERT INTO Order_Details VALUES(10306,54,5.9,5,0);
INSERT INTO Order_Details VALUES(10307,62,39.4,10,0);
INSERT INTO Order_Details VALUES(10307,68,10,3,0);
INSERT INTO Order_Details VALUES(10308,69,28.8,1,0);
INSERT INTO Order_Details VALUES(10308,70,12,5,0);
INSERT INTO Order_Details VALUES(10309,4,17.6,20,0);
INSERT INTO Order_Details VALUES(10309,6,20,30,0);
INSERT INTO Order_Details VALUES(10309,42,11.2,2,0);
INSERT INTO Order_Details VALUES(10309,43,36.8,20,0);
INSERT INTO Order_Details VALUES(10309,71,17.2,3,0);
INSERT INTO Order_Details VALUES(10310,16,13.9,10,0);
INSERT INTO Order_Details VALUES(10310,62,39.4,5,0);
INSERT INTO Order_Details VALUES(10311,42,11.2,6,0);
INSERT INTO Order_Details VALUES(10311,69,28.8,7,0);
INSERT INTO Order_Details VALUES(10312,28,36.4,4,0);
INSERT INTO Order_Details VALUES(10312,43,36.8,24,0);
INSERT INTO Order_Details VALUES(10312,53,26.2,20,0);
INSERT INTO Order_Details VALUES(10312,75,6.2,10,0);
INSERT INTO Order_Details VALUES(10313,36,15.2,12,0);
INSERT INTO Order_Details VALUES(10314,32,25.6,40,0.1);
INSERT INTO Order_Details VALUES(10314,58,10.6,30,0.1);
INSERT INTO Order_Details VALUES(10314,62,39.4,25,0.1);
INSERT INTO Order_Details VALUES(10315,34,11.2,14,0);
INSERT INTO Order_Details VALUES(10315,70,12,30,0);
INSERT INTO Order_Details VALUES(10316,41,7.7,10,0);
INSERT INTO Order_Details VALUES(10316,62,39.4,70,0);
INSERT INTO Order_Details VALUES(10317,1,14.4,20,0);
INSERT INTO Order_Details VALUES(10318,41,7.7,20,0);
INSERT INTO Order_Details VALUES(10318,76,14.4,6,0);
INSERT INTO Order_Details VALUES(10319,17,31.2,8,0);
INSERT INTO Order_Details VALUES(10319,28,36.4,14,0);
INSERT INTO Order_Details VALUES(10319,76,14.4,30,0);
INSERT INTO Order_Details VALUES(10320,71,17.2,30,0);
INSERT INTO Order_Details VALUES(10321,35,14.4,10,0);
INSERT INTO Order_Details VALUES(10322,52,5.6,20,0);
INSERT INTO Order_Details VALUES(10323,15,12.4,5,0);
INSERT INTO Order_Details VALUES(10323,25,11.2,4,0);
INSERT INTO Order_Details VALUES(10323,39,14.4,4,0);
INSERT INTO Order_Details VALUES(10324,16,13.9,21,0.15);
INSERT INTO Order_Details VALUES(10324,35,14.4,70,0.15);
INSERT INTO Order_Details VALUES(10324,46,9.6,30,0);
INSERT INTO Order_Details VALUES(10324,59,44,40,0.15);
INSERT INTO Order_Details VALUES(10324,63,35.1,80,0.15);
INSERT INTO Order_Details VALUES(10325,6,20,6,0);
INSERT INTO Order_Details VALUES(10325,13,4.8,12,0);
INSERT INTO Order_Details VALUES(10325,14,18.6,9,0);
INSERT INTO Order_Details VALUES(10325,31,10,4,0);
INSERT INTO Order_Details VALUES(10325,72,27.8,40,0);
INSERT INTO Order_Details VALUES(10326,4,17.6,24,0);
INSERT INTO Order_Details VALUES(10326,57,15.6,16,0);
INSERT INTO Order_Details VALUES(10326,75,6.2,50,0);
INSERT INTO Order_Details VALUES(10327,2,15.2,25,0.2);
INSERT INTO Order_Details VALUES(10327,11,16.8,50,0.2);
INSERT INTO Order_Details VALUES(10327,30,20.7,35,0.2);
INSERT INTO Order_Details VALUES(10327,58,10.6,30,0.2);
INSERT INTO Order_Details VALUES(10328,59,44,9,0);
INSERT INTO Order_Details VALUES(10328,65,16.8,40,0);
INSERT INTO Order_Details VALUES(10328,68,10,10,0);
INSERT INTO Order_Details VALUES(10329,19,7.3,10,0.05);
INSERT INTO Order_Details VALUES(10329,30,20.7,8,0.05);
INSERT INTO Order_Details VALUES(10329,38,210.8,20,0.05);
INSERT INTO Order_Details VALUES(10329,56,30.4,12,0.05);
INSERT INTO Order_Details VALUES(10330,26,24.9,50,0.15);
INSERT INTO Order_Details VALUES(10330,72,27.8,25,0.15);
INSERT INTO Order_Details VALUES(10331,54,5.9,15,0);
INSERT INTO Order_Details VALUES(10332,18,50,40,0.2);
INSERT INTO Order_Details VALUES(10332,42,11.2,10,0.2);
INSERT INTO Order_Details VALUES(10332,47,7.6,16,0.2);
INSERT INTO Order_Details VALUES(10333,14,18.6,10,0);
INSERT INTO Order_Details VALUES(10333,21,8,10,0.1);
INSERT INTO Order_Details VALUES(10333,71,17.2,40,0.1);
INSERT INTO Order_Details VALUES(10334,52,5.6,8,0);
INSERT INTO Order_Details VALUES(10334,68,10,10,0);
INSERT INTO Order_Details VALUES(10335,2,15.2,7,0.2);
INSERT INTO Order_Details VALUES(10335,31,10,25,0.2);
INSERT INTO Order_Details VALUES(10335,32,25.6,6,0.2);
INSERT INTO Order_Details VALUES(10335,51,42.4,48,0.2);
INSERT INTO Order_Details VALUES(10336,4,17.6,18,0.1);
INSERT INTO Order_Details VALUES(10337,23,7.2,40,0);
INSERT INTO Order_Details VALUES(10337,26,24.9,24,0);
INSERT INTO Order_Details VALUES(10337,36,15.2,20,0);
INSERT INTO Order_Details VALUES(10337,37,20.8,28,0);
INSERT INTO Order_Details VALUES(10337,72,27.8,25,0);
INSERT INTO Order_Details VALUES(10338,17,31.2,20,0);
INSERT INTO Order_Details VALUES(10338,30,20.7,15,0);
INSERT INTO Order_Details VALUES(10339,4,17.6,10,0);
INSERT INTO Order_Details VALUES(10339,17,31.2,70,0.05);
INSERT INTO Order_Details VALUES(10339,62,39.4,28,0);
INSERT INTO Order_Details VALUES(10340,18,50,20,0.05);
INSERT INTO Order_Details VALUES(10340,41,7.7,12,0.05);
INSERT INTO Order_Details VALUES(10340,43,36.8,40,0.05);
INSERT INTO Order_Details VALUES(10341,33,2,8,0);
INSERT INTO Order_Details VALUES(10341,59,44,9,0.15);
INSERT INTO Order_Details VALUES(10342,2,15.2,24,0.2);
INSERT INTO Order_Details VALUES(10342,31,10,56,0.2);
INSERT INTO Order_Details VALUES(10342,36,15.2,40,0.2);
INSERT INTO Order_Details VALUES(10342,55,19.2,40,0.2);
INSERT INTO Order_Details VALUES(10343,64,26.6,50,0);
INSERT INTO Order_Details VALUES(10343,68,10,4,0.05);
INSERT INTO Order_Details VALUES(10343,76,14.4,15,0);
INSERT INTO Order_Details VALUES(10344,4,17.6,35,0);
INSERT INTO Order_Details VALUES(10344,8,32,70,0.25);
INSERT INTO Order_Details VALUES(10345,8,32,70,0);
INSERT INTO Order_Details VALUES(10345,19,7.3,80,0);
INSERT INTO Order_Details VALUES(10345,42,11.2,9,0);
INSERT INTO Order_Details VALUES(10346,17,31.2,36,0.1);
INSERT INTO Order_Details VALUES(10346,56,30.4,20,0);
INSERT INTO Order_Details VALUES(10347,25,11.2,10,0);
INSERT INTO Order_Details VALUES(10347,39,14.4,50,0.15);
INSERT INTO Order_Details VALUES(10347,40,14.7,4,0);
INSERT INTO Order_Details VALUES(10347,75,6.2,6,0.15);
INSERT INTO Order_Details VALUES(10348,1,14.4,15,0.15);
INSERT INTO Order_Details VALUES(10348,23,7.2,25,0);
INSERT INTO Order_Details VALUES(10349,54,5.9,24,0);
INSERT INTO Order_Details VALUES(10350,50,13,15,0.1);
INSERT INTO Order_Details VALUES(10350,69,28.8,18,0.1);
INSERT INTO Order_Details VALUES(10351,38,210.8,20,0.05);
INSERT INTO Order_Details VALUES(10351,41,7.7,13,0);
INSERT INTO Order_Details VALUES(10351,44,15.5,77,0.05);
INSERT INTO Order_Details VALUES(10351,65,16.8,10,0.05);
INSERT INTO Order_Details VALUES(10352,24,3.6,10,0);
INSERT INTO Order_Details VALUES(10352,54,5.9,20,0.15);
INSERT INTO Order_Details VALUES(10353,11,16.8,12,0.2);
INSERT INTO Order_Details VALUES(10353,38,210.8,50,0.2);
INSERT INTO Order_Details VALUES(10354,1,14.4,12,0);
INSERT INTO Order_Details VALUES(10354,29,99,4,0);
INSERT INTO Order_Details VALUES(10355,24,3.6,25,0);
INSERT INTO Order_Details VALUES(10355,57,15.6,25,0);
INSERT INTO Order_Details VALUES(10356,31,10,30,0);
INSERT INTO Order_Details VALUES(10356,55,19.2,12,0);
INSERT INTO Order_Details VALUES(10356,69,28.8,20,0);
INSERT INTO Order_Details VALUES(10357,10,24.8,30,0.2);
INSERT INTO Order_Details VALUES(10357,26,24.9,16,0);
INSERT INTO Order_Details VALUES(10357,60,27.2,8,0.2);
INSERT INTO Order_Details VALUES(10358,24,3.6,10,0.05);
INSERT INTO Order_Details VALUES(10358,34,11.2,10,0.05);
INSERT INTO Order_Details VALUES(10358,36,15.2,20,0.05);
INSERT INTO Order_Details VALUES(10359,16,13.9,56,0.05);
INSERT INTO Order_Details VALUES(10359,31,10,70,0.05);
INSERT INTO Order_Details VALUES(10359,60,27.2,80,0.05);
INSERT INTO Order_Details VALUES(10360,28,36.4,30,0);
INSERT INTO Order_Details VALUES(10360,29,99,35,0);
INSERT INTO Order_Details VALUES(10360,38,210.8,10,0);
INSERT INTO Order_Details VALUES(10360,49,16,35,0);
INSERT INTO Order_Details VALUES(10360,54,5.9,28,0);
INSERT INTO Order_Details VALUES(10361,39,14.4,54,0.1);
INSERT INTO Order_Details VALUES(10361,60,27.2,55,0.1);
INSERT INTO Order_Details VALUES(10362,25,11.2,50,0);
INSERT INTO Order_Details VALUES(10362,51,42.4,20,0);
INSERT INTO Order_Details VALUES(10362,54,5.9,24,0);
INSERT INTO Order_Details VALUES(10363,31,10,20,0);
INSERT INTO Order_Details VALUES(10363,75,6.2,12,0);
INSERT INTO Order_Details VALUES(10363,76,14.4,12,0);
INSERT INTO Order_Details VALUES(10364,69,28.8,30,0);
INSERT INTO Order_Details VALUES(10364,71,17.2,5,0);
INSERT INTO Order_Details VALUES(10365,11,16.8,24,0);
INSERT INTO Order_Details VALUES(10366,65,16.8,5,0);
INSERT INTO Order_Details VALUES(10366,77,10.4,5,0);
INSERT INTO Order_Details VALUES(10367,34,11.2,36,0);
INSERT INTO Order_Details VALUES(10367,54,5.9,18,0);
INSERT INTO Order_Details VALUES(10367,65,16.8,15,0);
INSERT INTO Order_Details VALUES(10367,77,10.4,7,0);
INSERT INTO Order_Details VALUES(10368,21,8,5,0.1);
INSERT INTO Order_Details VALUES(10368,28,36.4,13,0.1);
INSERT INTO Order_Details VALUES(10368,57,15.6,25,0);
INSERT INTO Order_Details VALUES(10368,64,26.6,35,0.1);
INSERT INTO Order_Details VALUES(10369,29,99,20,0);
INSERT INTO Order_Details VALUES(10369,56,30.4,18,0.25);
INSERT INTO Order_Details VALUES(10370,1,14.4,15,0.15);
INSERT INTO Order_Details VALUES(10370,64,26.6,30,0);
INSERT INTO Order_Details VALUES(10370,74,8,20,0.15);
INSERT INTO Order_Details VALUES(10371,36,15.2,6,0.2);
INSERT INTO Order_Details VALUES(10372,20,64.8,12,0.25);
INSERT INTO Order_Details VALUES(10372,38,210.8,40,0.25);
INSERT INTO Order_Details VALUES(10372,60,27.2,70,0.25);
INSERT INTO Order_Details VALUES(10372,72,27.8,42,0.25);
INSERT INTO Order_Details VALUES(10373,58,10.6,80,0.2);
INSERT INTO Order_Details VALUES(10373,71,17.2,50,0.2);
INSERT INTO Order_Details VALUES(10374,31,10,30,0);
INSERT INTO Order_Details VALUES(10374,58,10.6,15,0);
INSERT INTO Order_Details VALUES(10375,14,18.6,15,0);
INSERT INTO Order_Details VALUES(10375,54,5.9,10,0);
INSERT INTO Order_Details VALUES(10376,31,10,42,0.05);
INSERT INTO Order_Details VALUES(10377,28,36.4,20,0.15);
INSERT INTO Order_Details VALUES(10377,39,14.4,20,0.15);
INSERT INTO Order_Details VALUES(10378,71,17.2,6,0);
INSERT INTO Order_Details VALUES(10379,41,7.7,8,0.1);
INSERT INTO Order_Details VALUES(10379,63,35.1,16,0.1);
INSERT INTO Order_Details VALUES(10379,65,16.8,20,0.1);
INSERT INTO Order_Details VALUES(10380,30,20.7,18,0.1);
INSERT INTO Order_Details VALUES(10380,53,26.2,20,0.1);
INSERT INTO Order_Details VALUES(10380,60,27.2,6,0.1);
INSERT INTO Order_Details VALUES(10380,70,12,30,0);
INSERT INTO Order_Details VALUES(10381,74,8,14,0);
INSERT INTO Order_Details VALUES(10382,5,17,32,0);
INSERT INTO Order_Details VALUES(10382,18,50,9,0);
INSERT INTO Order_Details VALUES(10382,29,99,14,0);
INSERT INTO Order_Details VALUES(10382,33,2,60,0);
INSERT INTO Order_Details VALUES(10382,74,8,50,0);
INSERT INTO Order_Details VALUES(10383,13,4.8,20,0);
INSERT INTO Order_Details VALUES(10383,50,13,15,0);
INSERT INTO Order_Details VALUES(10383,56,30.4,20,0);
INSERT INTO Order_Details VALUES(10384,20,64.8,28,0);
INSERT INTO Order_Details VALUES(10384,60,27.2,15,0);
INSERT INTO Order_Details VALUES(10385,7,24,10,0.2);
INSERT INTO Order_Details VALUES(10385,60,27.2,20,0.2);
INSERT INTO Order_Details VALUES(10385,68,10,8,0.2);
INSERT INTO Order_Details VALUES(10386,24,3.6,15,0);
INSERT INTO Order_Details VALUES(10386,34,11.2,10,0);
INSERT INTO Order_Details VALUES(10387,24,3.6,15,0);
INSERT INTO Order_Details VALUES(10387,28,36.4,6,0);
INSERT INTO Order_Details VALUES(10387,59,44,12,0);
INSERT INTO Order_Details VALUES(10387,71,17.2,15,0);
INSERT INTO Order_Details VALUES(10388,45,7.6,15,0.2);
INSERT INTO Order_Details VALUES(10388,52,5.6,20,0.2);
INSERT INTO Order_Details VALUES(10388,53,26.2,40,0);
INSERT INTO Order_Details VALUES(10389,10,24.8,16,0);
INSERT INTO Order_Details VALUES(10389,55,19.2,15,0);
INSERT INTO Order_Details VALUES(10389,62,39.4,20,0);
INSERT INTO Order_Details VALUES(10389,70,12,30,0);
INSERT INTO Order_Details VALUES(10390,31,10,60,0.1);
INSERT INTO Order_Details VALUES(10390,35,14.4,40,0.1);
INSERT INTO Order_Details VALUES(10390,46,9.6,45,0);
INSERT INTO Order_Details VALUES(10390,72,27.8,24,0.1);
INSERT INTO Order_Details VALUES(10391,13,4.8,18,0);
INSERT INTO Order_Details VALUES(10392,69,28.8,50,0);
INSERT INTO Order_Details VALUES(10393,2,15.2,25,0.25);
INSERT INTO Order_Details VALUES(10393,14,18.6,42,0.25);
INSERT INTO Order_Details VALUES(10393,25,11.2,7,0.25);
INSERT INTO Order_Details VALUES(10393,26,24.9,70,0.25);
INSERT INTO Order_Details VALUES(10393,31,10,32,0);
INSERT INTO Order_Details VALUES(10394,13,4.8,10,0);
INSERT INTO Order_Details VALUES(10394,62,39.4,10,0);
INSERT INTO Order_Details VALUES(10395,46,9.6,28,0.1);
INSERT INTO Order_Details VALUES(10395,53,26.2,70,0.1);
INSERT INTO Order_Details VALUES(10395,69,28.8,8,0);
INSERT INTO Order_Details VALUES(10396,23,7.2,40,0);
INSERT INTO Order_Details VALUES(10396,71,17.2,60,0);
INSERT INTO Order_Details VALUES(10396,72,27.8,21,0);
INSERT INTO Order_Details VALUES(10397,21,8,10,0.15);
INSERT INTO Order_Details VALUES(10397,51,42.4,18,0.15);
INSERT INTO Order_Details VALUES(10398,35,14.4,30,0);