Queries for Products
1. Products that are in the 'Beverages' category AND have a UnitsInStock greater than 50, OR are in the 'Confections' category AND have a UnitPrice less than 15, OR are discontinued AND have UnitsOnOrder greater than 0.
SQL Server Query 1
SELECT
p.ProductID,
p.ProductName,
c.CategoryName,
p.UnitsInStock,
p.UnitPrice,
p.Discontinued,
p.UnitsOnOrder
FROM Products p
JOIN Categories c ON p.CategoryID = c.CategoryID
WHERE
(c.CategoryName = 'Beverages' AND p.UnitsInStock > 50)
OR
(c.CategoryName = 'Confections' AND p.UnitPrice < 15)
OR
(p.Discontinued = 1 AND p.UnitsOnOrder > 0);
Create SQL query with SqlQueryBuilder 1
var (sql1, parameters1) = new SqlQueryBuilder()
.Select()
.Columns("p.ProductID"," p.ProductName"," c.CategoryName"," p.UnitsInStock"," p.UnitPrice"," p.Discontinued"," p.UnitsOnOrder")
.From("Products","p")
.Join(new List<IJoin>()
{
new INNERJOIN().TableName("Categories","c")
.On(new Column("p.CategoryID").Equale(new Column("c.CategoryID")))
})
.Where(
new Where()
.StartBracket(new Column("c.CategoryName").Equale("Beverages")).AND(new Column("c.UnitsInStock").GreaterThan(50)).EndBracket()
.OR().StartBracket(new Column("c.CategoryName").Equale("Confections")).AND(new Column("p.UnitPrice").LessThan(15)).EndBracket()
.OR().StartBracket(new Column("p.Discontinued").Equale(1)).AND(new Column("p.UnitsOnOrder").GreaterThan(0)).EndBracket()
)
.Build();
Query build by SqlQueryBuilder 1
SELECT p.ProductID,
p.ProductName,
c.CategoryName,
p.UnitsInStock,
p.UnitPrice,
p.Discontinued,
p.UnitsOnOrder
FROM Products AS p
INNER JOIN
Categories AS c
ON p.CategoryID = c.CategoryID
WHERE (c.CategoryName = @pMAIN_2507192104275867070
AND p.UnitsInStock > @pMAIN_2507192104275867071)
OR (c.CategoryName = @pMAIN_2507192104275867072
AND p.UnitPrice < @pMAIN_2507192104275867073)
OR (p.Discontinued = @pMAIN_2507192104275867074
AND p.UnitsOnOrder > @pMAIN_2507192104275867075);
Parameters (If used)
Name |
Value |
@pMAIN_2507192104275867070 |
Beverages |
@pMAIN_2507192104275867071 |
50 |
@pMAIN_2507192104275867072 |
Confections |
@pMAIN_2507192104275867073 |
15 |
@pMAIN_2507192104275867074 |
1 |
@pMAIN_2507192104275867075 |
0 |
Query Results 1:
|
ProductID |
ProductName |
CategoryName |
UnitsInStock |
UnitPrice |
Discontinued |
UnitsOnOrder |
1 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
25
|
9.2000
|
0
|
0
|
2 |
21
|
Sir Rodney's Scones
|
Confections
|
3
|
10.0000
|
0
|
40
|
3 |
25
|
NuNuCa Nuß-Nougat-Creme
|
Confections
|
76
|
14.0000
|
0
|
0
|
4 |
34
|
Sasquatch Ale
|
Beverages
|
111
|
14.0000
|
0
|
0
|
5 |
39
|
Chartreuse verte
|
Beverages
|
69
|
18.0000
|
0
|
0
|
6 |
47
|
Zaanse koeken
|
Confections
|
36
|
9.5000
|
0
|
0
|
7 |
48
|
Chocolade
|
Confections
|
15
|
12.7500
|
0
|
70
|
8 |
67
|
Laughing Lumberjack Lager
|
Beverages
|
52
|
14.0000
|
0
|
0
|
9 |
68
|
Scottish Longbreads
|
Confections
|
6
|
12.5000
|
0
|
10
|
10 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
125
|
7.7500
|
0
|
0
|
11 |
76
|
Lakkalikööri
|
Beverages
|
57
|
18.0000
|
0
|
0
|
2. Find Products That Have Been Ordered by Customers from 'Germany' AND 'France', but have a UnitsInStock less than the average UnitsInStock for their respective category, AND have not been reordered in the last 180 days.
SQL Server Query 2
SELECT
p.ProductID,
p.ProductName,
p.CategoryID,
p.UnitsInStock
FROM Products p
WHERE
-- Condition 1: Product ordered by a customer from 'Germany'
EXISTS (
SELECT 1
FROM [Order Details] od
JOIN Orders o ON od.OrderID = o.OrderID
JOIN Customers c ON o.CustomerID = c.CustomerID
WHERE od.ProductID = p.ProductID
AND c.Country = 'Germany'
)
AND
-- Condition 2: Product ordered by a customer from 'France'
EXISTS (
SELECT 1
FROM [Order Details] od2
JOIN Orders o2 ON od2.OrderID = o2.OrderID
JOIN Customers c2 ON o2.CustomerID = c2.CustomerID
WHERE od2.ProductID = p.ProductID
AND c2.Country = 'France'
)
AND
-- Condition 3: UnitsInStock is less than the average UnitsInStock for its category
p.UnitsInStock < (SELECT AVG(p2.UnitsInStock) FROM Products p2 WHERE p2.CategoryID = p.CategoryID)
AND
-- Condition 4: Product has not been reordered (no orders containing this product) in the last 180 days
NOT EXISTS (
SELECT 1
FROM [Order Details] od3
JOIN Orders o3 ON od3.OrderID = o3.OrderID
WHERE od3.ProductID = p.ProductID
AND o3.OrderDate >= DATEADD(day, -180, GETDATE())
);
Create SQL query with SqlQueryBuilder 2
var (sql2, parameters2) = new SqlQueryBuilder()
.Select()
.Columns("p.ProductID", "p.ProductName", "p.CategoryID", "p.UnitsInStock")
.From("Products", "p")
.Where(
new Where(new EXISTS(new SqlQueryBuilder().Select().ColumnWithValue(1, "Col1")
.From("[Order Details]","od")
.Join(new List<IJoin>()
{
new INNERJOIN().TableName("Orders","o")
.On(new Column("od.OrderID").Equale(new Column("o.OrderID"))),
new INNERJOIN().TableName("Customers","c")
.On(new Column("o.CustomerID").Equale(new Column("c.CustomerID")))
})
.Where(new Where(new Column("od.ProductID").Equale(new Column("p.ProductID")))
.AND(new Column("c.Country").Equale("Germany")))
)).AND(new EXISTS(
new SqlQueryBuilder().Select().ColumnWithValue(1,"Col1")
.From("[Order Details]","od2")
.Join(new List<IJoin>()
{
new INNERJOIN().TableName("Orders","o2")
.On(new Column("od2.OrderID").Equale(new Column("o2.OrderID"))),
new INNERJOIN().TableName("Customers","c2")
.On(new Column("o2.CustomerID").Equale(new Column("c2.CustomerID"))),
})
.Where(new Where(new Column("od2.ProductID").Equale(new Column("p.ProductID")))
.AND(new Column("c2.Country").Equale("France")))
)).AND(
new Column("p.UnitsInStock").LessThan(
new SqlQueryBuilder().Select().Column(new AVG("p2.UnitsInStock"))
.From("Products","p2").Where(new Where(
new Column("p2.CategoryID").Equale(new Column("p.CategoryID"))
))
)
).AND(new NOT_EXISTS(
new SqlQueryBuilder().Select().ColumnWithValue(1, "col1")
.From("[Order Details]","od3")
.Join(new List<IJoin>()
{
new INNERJOIN().TableName("Orders","o3")
.On(new Column("od3.OrderID").Equale(new Column("o3.OrderID")))
})
.Where(new Where(new Column("od3.ProductID").Equale(new Column("p.ProductID")))
.AND(new Column("o3.OrderDate").GreaterThanOrEqualeTo(new DATEADD(SqlDateInterval.day, -180, new GETDATE())))
)
))
)
.Build();
Query build by SqlQueryBuilder 2
SELECT p.ProductID,
p.ProductName,
p.CategoryID,
p.UnitsInStock
FROM Products AS p
WHERE EXISTS (SELECT @pMAIN_2507192104276041450 AS Col1
FROM [Order Details] AS od
INNER JOIN
Orders AS o
ON od.OrderID = o.OrderID
INNER JOIN
Customers AS c
ON o.CustomerID = c.CustomerID
WHERE od.ProductID = p.ProductID
AND c.Country = @pMAIN_2507192104276041451)
AND EXISTS (SELECT @pMAIN_2507192104276041452 AS Col1
FROM [Order Details] AS od2
INNER JOIN
Orders AS o2
ON od2.OrderID = o2.OrderID
INNER JOIN
Customers AS c2
ON o2.CustomerID = c2.CustomerID
WHERE od2.ProductID = p.ProductID
AND c2.Country = @pMAIN_2507192104276041453)
AND p.UnitsInStock < (SELECT AVG(p2.UnitsInStock) AS col1
FROM Products AS p2
WHERE p2.CategoryID = p.CategoryID)
AND NOT EXISTS (SELECT @pMAIN_2507192104276041454 AS col1
FROM [Order Details] AS od3
INNER JOIN
Orders AS o3
ON od3.OrderID = o3.OrderID
WHERE od3.ProductID = p.ProductID
AND o3.OrderDate >= DATEADD(day, @pMAIN_2507192104276041455, GETDATE()));
Parameters (If used)
Name |
Value |
@pMAIN_2507192104276041450 |
1 |
@pMAIN_2507192104276041451 |
Germany |
@pMAIN_2507192104276041452 |
1 |
@pMAIN_2507192104276041453 |
France |
@pMAIN_2507192104276041454 |
1 |
@pMAIN_2507192104276041455 |
-180 |
Query Results 2:
|
ProductID |
ProductName |
CategoryID |
UnitsInStock |
1 |
1
|
Chai
|
1
|
39
|
2 |
2
|
Chang
|
1
|
17
|
3 |
24
|
Guaraná Fantástica
|
1
|
20
|
4 |
35
|
Steeleye Stout
|
1
|
20
|
5 |
38
|
Côte de Blaye
|
1
|
17
|
6 |
43
|
Ipoh Coffee
|
1
|
17
|
7 |
70
|
Outback Lager
|
1
|
15
|
8 |
63
|
Vegie-spread
|
2
|
24
|
9 |
44
|
Gula Malacca
|
2
|
27
|
10 |
8
|
Northwoods Cranberry Sauce
|
2
|
6
|
11 |
15
|
Genen Shouyu
|
2
|
39
|
12 |
19
|
Teatime Chocolate Biscuits
|
3
|
25
|
13 |
21
|
Sir Rodney's Scones
|
3
|
3
|
14 |
26
|
Gumbär Gummibärchen
|
3
|
15
|
15 |
49
|
Maxilaku
|
3
|
10
|
16 |
62
|
Tarte au sucre
|
3
|
17
|
17 |
68
|
Scottish Longbreads
|
3
|
6
|
18 |
69
|
Gudbrandsdalsost
|
4
|
26
|
19 |
71
|
Flotemysost
|
4
|
26
|
20 |
72
|
Mozzarella di Giovanni
|
4
|
14
|
21 |
31
|
Gorgonzola Telino
|
4
|
0
|
22 |
11
|
Queso Cabrales
|
4
|
22
|
23 |
64
|
Wimmers gute Semmelknödel
|
5
|
22
|
24 |
52
|
Filo Mix
|
5
|
38
|
25 |
42
|
Singaporean Hokkien Fried Mee
|
5
|
26
|
26 |
56
|
Gnocchi di nonna Alice
|
5
|
21
|
27 |
57
|
Ravioli Angelo
|
5
|
36
|
28 |
54
|
Tourtière
|
6
|
21
|
29 |
17
|
Alice Mutton
|
6
|
0
|
30 |
29
|
Thüringer Rostbratwurst
|
6
|
0
|
31 |
7
|
Uncle Bob's Organic Dried Pears
|
7
|
15
|
32 |
74
|
Longlife Tofu
|
7
|
4
|
33 |
10
|
Ikura
|
8
|
31
|
34 |
13
|
Konbu
|
8
|
24
|
35 |
18
|
Carnarvon Tigers
|
8
|
42
|
36 |
37
|
Gravad lax
|
8
|
11
|
3. Identify Products that have been ordered in quantities larger than 50 in at least two separate orders, AND their UnitsInStock is less than their UnitsOnOrder, AND their ProductName contains exactly two 'o' characters (case-insensitive).
SQL Server Query 3
SELECT
P.ProductID,
P.ProductName,
P.UnitsInStock,
P.UnitsOnOrder
FROM Products P
WHERE
-- Condition 1: Has been ordered in quantities > 50 in at least two separate orders
(
SELECT COUNT(DISTINCT OD.OrderID)
FROM [Order Details] OD
WHERE OD.ProductID = P.ProductID
AND OD.Quantity > 50
) >= 2
AND
-- Condition 2: UnitsInStock is less than UnitsOnOrder
P.UnitsInStock < P.UnitsOnOrder
AND
-- Condition 3: ProductName contains exactly two 'o' characters (case-insensitive)
(LEN(LOWER(P.ProductName)) - LEN(REPLACE(LOWER(P.ProductName), 'o', ''))) = 2;
Create SQL query with SqlQueryBuilder 3
var (sql3, parameters3) = new SqlQueryBuilder()
.Select()
.Columns("P.ProductID","P.ProductName","P.UnitsInStock","P.UnitsOnOrder")
.From("Products", "P")
.Where(
new Where().StartBracket(new SqlQueryBuilder().Select()
.Column(new COUNT(new Column("OD.OrderID"), true), "Col1")
.From("[Order Details]","OD")
.Where(new Where(new Column("OD.ProductID").Equale(new Column("P.ProductID")))
.AND(new Column("OD.Quantity").GreaterThan(50))).GreaterThanOrEqualeTo(2)
).EndBracket()
.AND(new Column("P.UnitsInStock").LessThan(new Column("P.UnitsOnOrder")))
.AND(new ColumnArithmatic().StartBracket(new LEN(new LOWER(new Column("P.ProductName"))))
.SUBTRACT(new LEN(new REPLACE(new LOWER(new Column("P.ProductName")), "o", ""))).EndBracket().Equale(2))
)
.Build();
Query build by SqlQueryBuilder 3
SELECT P.ProductID,
P.ProductName,
P.UnitsInStock,
P.UnitsOnOrder
FROM Products AS P
WHERE ((SELECT COUNT(DISTINCT OD.OrderID) AS Col1
FROM [Order Details] AS OD
WHERE OD.ProductID = P.ProductID
AND OD.Quantity > @pMAIN_2507192104276587770) >= @pMAIN_2507192104276587771)
AND P.UnitsInStock < P.UnitsOnOrder
AND (LEN(LOWER(P.ProductName)) - LEN(REPLACE(LOWER(P.ProductName), @pMAIN_2507192104276587772, @pMAIN_2507192104276587773))) = @pMAIN_2507192104276587774;
Parameters (If used)
Name |
Value |
@pMAIN_2507192104276587770 |
50 |
@pMAIN_2507192104276587771 |
2 |
@pMAIN_2507192104276587772 |
o |
@pMAIN_2507192104276587773 |
|
@pMAIN_2507192104276587774 |
2 |
Query Results 3:
|
ProductID |
ProductName |
UnitsInStock |
UnitsOnOrder |
1 |
21
|
Sir Rodney's Scones
|
3
|
40
|
2 |
68
|
Scottish Longbreads
|
6
|
10
|
4. Snapshot of Monthly Product Sales with Category Information.
SQL Server Query 4
SELECT
p.ProductID,
p.ProductName,
c.CategoryName,
YEAR(o.OrderDate) AS SaleYear,
MONTH(o.OrderDate) AS SaleMonth,
SUM(od.Quantity) AS TotalQuantitySold,
SUM(od.Quantity * od.UnitPrice * (1 - od.Discount)) AS TotalRevenue
INTO MonthlyProductCategorySalesSnapshot -- The new table will be created here
FROM Products p
JOIN Categories c ON p.CategoryID = c.CategoryID
JOIN [Order Details] od ON p.ProductID = od.ProductID
JOIN Orders o ON od.OrderID = o.OrderID
GROUP BY
p.ProductID,
p.ProductName,
c.CategoryName,
YEAR(o.OrderDate),
MONTH(o.OrderDate)
HAVING SUM(od.Quantity) >= 50; -- Filter for products ordered at least 50 times
-- Now, you can query your new table
SELECT *
FROM MonthlyProductCategorySalesSnapshot
ORDER BY ProductName, SaleYear, SaleMonth;
-- Clean up the new table (useful if you're running this multiple times)
DROP TABLE IF EXISTS MonthlyProductCategorySalesSnapshot;
Create SQL query with SqlQueryBuilder 4
var (sql4, parameters4) = new SqlQueryBuilder()
.Select()
.Columns("p.ProductID","p.ProductName","c.CategoryName")
.Column(new YEAR(new Column("o.OrderDate")), "SaleYear")
.Column(new MONTH(new Column("o.OrderDate")), "SaleMonth")
.Column(new SUM(new Column("od.Quantity")), "TotalQuantitySold")
.Column(new SUM(new ColumnArithmatic(new Column("od.Quantity")).MULTIPLY(new Column("od.UnitPrice")).MULTIPLY()
.StartBracket(1).SUBTRACT(new Column("od.Discount")).EndBracket()), "TotalRevenue")
.INTO(new Table("MonthlyProductCategorySalesSnapshot"))
.From("Products", "p")
.Join(new List<IJoin>()
{
new INNERJOIN().TableName("Categories", "c")
.On(new Column("p.CategoryID").Equale(new Column("c.CategoryID"))),
new INNERJOIN().TableName("[Order Details]","od")
.On(new Column("p.ProductID").Equale(new Column("od.ProductID"))),
new INNERJOIN().TableName("Orders","o")
.On(new Column("od.OrderID").Equale(new Column("o.OrderID")))
})
.GroupBy(new GroupBy(new Column("p.ProductID"), new Column("p.ProductName"), new Column("c.CategoryName"),
new YEAR(new Column("o.OrderDate")), new MONTH(new Column("o.OrderDate"))))
.Having(new Having(new SUM(new Column("od.Quantity")).GreaterThanOrEqualeTo(50)))
.Select().Star().From("MonthlyProductCategorySalesSnapshot")
.OrderBy(new OrderBy().SetColumnAscending("ProductName").SetColumnAscending("SaleYear").SetColumnAscending("SaleMonth"))
.DropTable(new Table("MonthlyProductCategorySalesSnapshot"), true)
.Build();
Query build by SqlQueryBuilder 4
SELECT p.ProductID, p.ProductName, c.CategoryName, YEAR(o.OrderDate) AS SaleYear, MONTH(o.OrderDate) AS SaleMonth, SUM(od.Quantity) AS TotalQuantitySold, SUM(od.Quantity * od.UnitPrice * (@pMAIN_2505262233481230440 - od.Discount)) AS TotalRevenue INTO MonthlyProductCategorySalesSnapshot FROM Products AS p INNER JOIN Categories AS c ON p.CategoryID = c.CategoryID INNER JOIN [Order Details] AS od ON p.ProductID = od.ProductID INNER JOIN Orders AS o ON od.OrderID = o.OrderID GROUP BY p.ProductID, p.ProductName, c.CategoryName, YEAR(o.OrderDate), MONTH(o.OrderDate) HAVING SUM(od.Quantity) >= @pMAIN_2505262233481230441; SELECT * FROM MonthlyProductCategorySalesSnapshot ORDER BY ProductName ASC, SaleYear ASC, SaleMonth ASC;SELECT p.ProductID, p.ProductName, c.CategoryName, YEAR(o.OrderDate) AS SaleYear, MONTH(o.OrderDate) AS SaleMonth, SUM(od.Quantity) AS TotalQuantitySold, SUM(od.Quantity * od.UnitPrice * (@pMAIN_2505262233481230440 - od.Discount)) AS TotalRevenue INTO MonthlyProductCategorySalesSnapshot FROM Products AS p INNER JOIN Categories AS c ON p.CategoryID = c.CategoryID INNER JOIN [Order Details] AS od ON p.ProductID = od.ProductID INNER JOIN Orders AS o ON od.OrderID = o.OrderID GROUP BY p.ProductID, p.ProductName, c.CategoryName, YEAR(o.OrderDate), MONTH(o.OrderDate) HAVING SUM(od.Quantity) >= @pMAIN_2505262233481230441; SELECT * FROM MonthlyProductCategorySalesSnapshot ORDER BY ProductName ASC, SaleYear ASC, SaleMonth ASC; DROP TABLE IF EXISTS MonthlyProductCategorySalesSnapshot
Parameters (If used)
Name |
Value |
@pMAIN_2507192104276715980 |
1 |
@pMAIN_2507192104276715981 |
50 |
Query Results 4:
|
ProductId |
ProductName |
CategoryName |
SaleYear |
SaleMonth |
TotalQuantitySold |
TotalRevenue |
1 |
17
|
Alice Mutton
|
Meat/Poultry
|
1996
|
10
|
98
|
2948.40005493164
|
2 |
17
|
Alice Mutton
|
Meat/Poultry
|
1997
|
1
|
97
|
2355.60007476807
|
3 |
17
|
Alice Mutton
|
Meat/Poultry
|
1997
|
5
|
73
|
2718.29998779297
|
4 |
17
|
Alice Mutton
|
Meat/Poultry
|
1997
|
7
|
100
|
3900
|
5 |
17
|
Alice Mutton
|
Meat/Poultry
|
1997
|
10
|
55
|
1866.14999389648
|
6 |
17
|
Alice Mutton
|
Meat/Poultry
|
1997
|
12
|
108
|
3480.75
|
7 |
17
|
Alice Mutton
|
Meat/Poultry
|
1998
|
2
|
53
|
2035.79998779297
|
8 |
17
|
Alice Mutton
|
Meat/Poultry
|
1998
|
5
|
77
|
2702.69995117188
|
9 |
3
|
Aniseed Syrup
|
Condiments
|
1997
|
1
|
50
|
400
|
10 |
3
|
Aniseed Syrup
|
Condiments
|
1997
|
5
|
60
|
600
|
11 |
3
|
Aniseed Syrup
|
Condiments
|
1998
|
1
|
79
|
790
|
12 |
40
|
Boston Crab Meat
|
Seafood
|
1996
|
7
|
50
|
735
|
13 |
40
|
Boston Crab Meat
|
Seafood
|
1996
|
8
|
100
|
1308.29995727539
|
14 |
40
|
Boston Crab Meat
|
Seafood
|
1996
|
9
|
50
|
676.200012207031
|
15 |
40
|
Boston Crab Meat
|
Seafood
|
1997
|
1
|
52
|
577.709999084473
|
16 |
40
|
Boston Crab Meat
|
Seafood
|
1997
|
3
|
61
|
896.700012207031
|
17 |
40
|
Boston Crab Meat
|
Seafood
|
1997
|
6
|
52
|
956.799999237061
|
18 |
40
|
Boston Crab Meat
|
Seafood
|
1997
|
8
|
60
|
1104
|
19 |
40
|
Boston Crab Meat
|
Seafood
|
1997
|
9
|
144
|
2535.51992797852
|
20 |
40
|
Boston Crab Meat
|
Seafood
|
1997
|
11
|
99
|
1637.60000228882
|
21 |
40
|
Boston Crab Meat
|
Seafood
|
1998
|
1
|
115
|
1950.40002441406
|
22 |
40
|
Boston Crab Meat
|
Seafood
|
1998
|
2
|
103
|
1895.20002746582
|
23 |
40
|
Boston Crab Meat
|
Seafood
|
1998
|
4
|
55
|
919.999961853027
|
24 |
60
|
Camembert Pierrot
|
Dairy Products
|
1996
|
8
|
76
|
1931.20001220703
|
25 |
60
|
Camembert Pierrot
|
Dairy Products
|
1996
|
11
|
143
|
3587.67997741699
|
26 |
60
|
Camembert Pierrot
|
Dairy Products
|
1996
|
12
|
111
|
2418.08000183105
|
27 |
60
|
Camembert Pierrot
|
Dairy Products
|
1997
|
1
|
60
|
1550.40002441406
|
28 |
60
|
Camembert Pierrot
|
Dairy Products
|
1997
|
3
|
60
|
1632
|
29 |
60
|
Camembert Pierrot
|
Dairy Products
|
1997
|
4
|
106
|
3097.4001159668
|
30 |
60
|
Camembert Pierrot
|
Dairy Products
|
1997
|
7
|
125
|
4131
|
31 |
60
|
Camembert Pierrot
|
Dairy Products
|
1997
|
9
|
135
|
4428.5
|
32 |
60
|
Camembert Pierrot
|
Dairy Products
|
1997
|
11
|
65
|
2210
|
33 |
60
|
Camembert Pierrot
|
Dairy Products
|
1998
|
1
|
156
|
4998
|
34 |
60
|
Camembert Pierrot
|
Dairy Products
|
1998
|
2
|
100
|
3400
|
35 |
60
|
Camembert Pierrot
|
Dairy Products
|
1998
|
3
|
110
|
2978.40003967285
|
36 |
60
|
Camembert Pierrot
|
Dairy Products
|
1998
|
4
|
174
|
5854.79992675781
|
37 |
18
|
Carnarvon Tigers
|
Seafood
|
1996
|
10
|
60
|
2550
|
38 |
18
|
Carnarvon Tigers
|
Seafood
|
1997
|
8
|
82
|
5100
|
39 |
18
|
Carnarvon Tigers
|
Seafood
|
1998
|
1
|
55
|
3046.875
|
40 |
18
|
Carnarvon Tigers
|
Seafood
|
1998
|
4
|
53
|
2875
|
41 |
1
|
Chai
|
Beverages
|
1996
|
8
|
63
|
777.600036621094
|
42 |
1
|
Chai
|
Beverages
|
1997
|
10
|
70
|
1084.5
|
43 |
1
|
Chai
|
Beverages
|
1997
|
11
|
58
|
1044
|
44 |
1
|
Chai
|
Beverages
|
1998
|
1
|
84
|
1206
|
45 |
1
|
Chai
|
Beverages
|
1998
|
2
|
90
|
1548
|
46 |
1
|
Chai
|
Beverages
|
1998
|
3
|
81
|
1188
|
47 |
1
|
Chai
|
Beverages
|
1998
|
4
|
104
|
1741.5
|
48 |
2
|
Chang
|
Beverages
|
1996
|
7
|
105
|
1444
|
49 |
2
|
Chang
|
Beverages
|
1996
|
10
|
56
|
680.959999084473
|
50 |
2
|
Chang
|
Beverages
|
1997
|
1
|
60
|
912
|
51 |
2
|
Chang
|
Beverages
|
1997
|
2
|
55
|
733.400024414062
|
52 |
2
|
Chang
|
Beverages
|
1997
|
3
|
60
|
790.399993896484
|
53 |
2
|
Chang
|
Beverages
|
1997
|
8
|
100
|
1871.5
|
54 |
2
|
Chang
|
Beverages
|
1997
|
12
|
85
|
1505.75
|
55 |
2
|
Chang
|
Beverages
|
1998
|
1
|
62
|
1127.65000915527
|
56 |
2
|
Chang
|
Beverages
|
1998
|
2
|
61
|
1059.25
|
57 |
2
|
Chang
|
Beverages
|
1998
|
4
|
201
|
2949.75
|
58 |
2
|
Chang
|
Beverages
|
1998
|
5
|
62
|
1001.30001831055
|
59 |
39
|
Chartreuse verte
|
Beverages
|
1996
|
9
|
90
|
1252.79998779297
|
60 |
39
|
Chartreuse verte
|
Beverages
|
1996
|
11
|
104
|
1311.83996582031
|
61 |
39
|
Chartreuse verte
|
Beverages
|
1997
|
12
|
148
|
2424.60000038147
|
62 |
39
|
Chartreuse verte
|
Beverages
|
1998
|
1
|
59
|
1026
|
63 |
39
|
Chartreuse verte
|
Beverages
|
1998
|
2
|
133
|
2300.40000152588
|
64 |
4
|
Chef Anton's Cajun Seasoning
|
Condiments
|
1996
|
10
|
52
|
883.519989013672
|
65 |
4
|
Chef Anton's Cajun Seasoning
|
Condiments
|
1997
|
4
|
50
|
935
|
66 |
4
|
Chef Anton's Cajun Seasoning
|
Condiments
|
1997
|
5
|
100
|
2035
|
67 |
5
|
Chef Anton's Gumbo Mix
|
Condiments
|
1996
|
7
|
77
|
1047.19999694824
|
68 |
5
|
Chef Anton's Gumbo Mix
|
Condiments
|
1998
|
4
|
100
|
1974.875
|
69 |
48
|
Chocolade
|
Confections
|
1997
|
1
|
70
|
606.900024414062
|
70 |
38
|
Côte de Blaye
|
Beverages
|
1996
|
11
|
80
|
14545.1999511719
|
71 |
38
|
Côte de Blaye
|
Beverages
|
1997
|
1
|
99
|
18803.3603515625
|
72 |
38
|
Côte de Blaye
|
Beverages
|
1998
|
1
|
70
|
18049.75
|
73 |
38
|
Côte de Blaye
|
Beverages
|
1998
|
2
|
100
|
25559.5
|
74 |
38
|
Côte de Blaye
|
Beverages
|
1998
|
3
|
65
|
17127.5
|
75 |
58
|
Escargots de Bourgogne
|
Seafood
|
1996
|
12
|
95
|
837.400024414062
|
76 |
58
|
Escargots de Bourgogne
|
Seafood
|
1997
|
9
|
79
|
916.900024414062
|
77 |
58
|
Escargots de Bourgogne
|
Seafood
|
1998
|
1
|
90
|
1073.25
|
78 |
52
|
Filo Mix
|
Grains/Cereals
|
1997
|
6
|
100
|
700
|
79 |
52
|
Filo Mix
|
Grains/Cereals
|
1997
|
11
|
103
|
721
|
80 |
52
|
Filo Mix
|
Grains/Cereals
|
1998
|
3
|
63
|
370.299999237061
|
81 |
71
|
Flotemysost
|
Dairy Products
|
1996
|
10
|
70
|
1135.20001220703
|
82 |
71
|
Flotemysost
|
Dairy Products
|
1996
|
12
|
161
|
2597.19999694824
|
83 |
71
|
Flotemysost
|
Dairy Products
|
1997
|
1
|
75
|
1290
|
84 |
71
|
Flotemysost
|
Dairy Products
|
1997
|
2
|
82
|
1410.40000152588
|
85 |
71
|
Flotemysost
|
Dairy Products
|
1997
|
8
|
65
|
1236.25
|
86 |
71
|
Flotemysost
|
Dairy Products
|
1997
|
10
|
118
|
2214.5
|
87 |
71
|
Flotemysost
|
Dairy Products
|
1998
|
1
|
55
|
946
|
88 |
71
|
Flotemysost
|
Dairy Products
|
1998
|
2
|
55
|
1182.5
|
89 |
71
|
Flotemysost
|
Dairy Products
|
1998
|
4
|
197
|
4171
|
90 |
33
|
Geitost
|
Dairy Products
|
1996
|
7
|
85
|
161.5
|
91 |
33
|
Geitost
|
Dairy Products
|
1996
|
12
|
60
|
120
|
92 |
33
|
Geitost
|
Dairy Products
|
1997
|
1
|
119
|
238
|
93 |
33
|
Geitost
|
Dairy Products
|
1997
|
5
|
53
|
128.5
|
94 |
33
|
Geitost
|
Dairy Products
|
1997
|
9
|
68
|
167
|
95 |
33
|
Geitost
|
Dairy Products
|
1998
|
1
|
55
|
136
|
96 |
33
|
Geitost
|
Dairy Products
|
1998
|
2
|
70
|
150
|
97 |
33
|
Geitost
|
Dairy Products
|
1998
|
4
|
55
|
137.5
|
98 |
15
|
Genen Shouyu
|
Condiments
|
1997
|
9
|
50
|
775
|
99 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
1
|
105
|
3192
|
100 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
2
|
83
|
2401.60003662109
|
101 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
3
|
50
|
1337.60003662109
|
102 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
4
|
154
|
5517.60000610352
|
103 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
6
|
100
|
3382
|
104 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
8
|
80
|
2926
|
105 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
9
|
57
|
2097.60000610352
|
106 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
10
|
68
|
2223
|
107 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
11
|
97
|
3275.60000610352
|
108 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1997
|
12
|
100
|
3534
|
109 |
56
|
Gnocchi di nonna Alice
|
Grains/Cereals
|
1998
|
1
|
104
|
3838
|
110 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1996
|
8
|
55
|
542.5
|
111 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1996
|
10
|
85
|
688
|
112 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1996
|
11
|
120
|
1165
|
113 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1996
|
12
|
164
|
1559
|
114 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1997
|
5
|
135
|
1584.375
|
115 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1997
|
6
|
171
|
1865
|
116 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1997
|
10
|
70
|
875
|
117 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1997
|
12
|
149
|
1671.25
|
118 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1998
|
1
|
74
|
893.75
|
119 |
31
|
Gorgonzola Telino
|
Dairy Products
|
1998
|
3
|
153
|
1696.875
|
120 |
6
|
Grandma's Boysenberry Spread
|
Condiments
|
1997
|
8
|
70
|
1750
|
121 |
6
|
Grandma's Boysenberry Spread
|
Condiments
|
1998
|
2
|
50
|
1187.5
|
122 |
6
|
Grandma's Boysenberry Spread
|
Condiments
|
1998
|
3
|
88
|
2180
|
123 |
37
|
Gravad lax
|
Seafood
|
1998
|
1
|
60
|
1248
|
124 |
24
|
Guaraná Fantástica
|
Beverages
|
1997
|
3
|
133
|
464.400009155273
|
125 |
24
|
Guaraná Fantástica
|
Beverages
|
1997
|
10
|
55
|
247.5
|
126 |
24
|
Guaraná Fantástica
|
Beverages
|
1998
|
2
|
146
|
650.25
|
127 |
24
|
Guaraná Fantástica
|
Beverages
|
1998
|
3
|
200
|
888.75
|
128 |
24
|
Guaraná Fantástica
|
Beverages
|
1998
|
4
|
140
|
553.5
|
129 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1996
|
11
|
68
|
1906.55999755859
|
130 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1996
|
12
|
58
|
1670.39999389648
|
131 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1997
|
7
|
85
|
2331
|
132 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1997
|
10
|
55
|
1773
|
133 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1997
|
11
|
118
|
3879
|
134 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1998
|
2
|
50
|
1710
|
135 |
69
|
Gudbrandsdalsost
|
Dairy Products
|
1998
|
4
|
66
|
2246.40002441406
|
136 |
44
|
Gula Malacca
|
Condiments
|
1996
|
8
|
61
|
908.299987792969
|
137 |
44
|
Gula Malacca
|
Condiments
|
1996
|
11
|
77
|
1133.82495117188
|
138 |
44
|
Gula Malacca
|
Condiments
|
1997
|
2
|
100
|
1472.5
|
139 |
44
|
Gula Malacca
|
Condiments
|
1997
|
10
|
74
|
1390.67498779297
|
140 |
26
|
Gumbär Gummibärchen
|
Confections
|
1996
|
10
|
74
|
1655.84997558594
|
141 |
26
|
Gumbär Gummibärchen
|
Confections
|
1996
|
12
|
70
|
1307.25
|
142 |
26
|
Gumbär Gummibärchen
|
Confections
|
1997
|
1
|
72
|
1755.44996261597
|
143 |
26
|
Gumbär Gummibärchen
|
Confections
|
1997
|
2
|
51
|
1269.89999389648
|
144 |
26
|
Gumbär Gummibärchen
|
Confections
|
1998
|
1
|
105
|
2734.1865234375
|
145 |
26
|
Gumbär Gummibärchen
|
Confections
|
1998
|
4
|
81
|
2529.63000488281
|
146 |
22
|
Gustaf's Knäckebröd
|
Grains/Cereals
|
1997
|
8
|
95
|
1995
|
147 |
22
|
Gustaf's Knäckebröd
|
Grains/Cereals
|
1998
|
1
|
87
|
1827
|
148 |
10
|
Ikura
|
Seafood
|
1997
|
7
|
80
|
2480
|
149 |
10
|
Ikura
|
Seafood
|
1997
|
10
|
73
|
2207.19998168945
|
150 |
10
|
Ikura
|
Seafood
|
1997
|
12
|
52
|
1612
|
151 |
10
|
Ikura
|
Seafood
|
1998
|
1
|
131
|
3596
|
152 |
10
|
Ikura
|
Seafood
|
1998
|
2
|
80
|
2480
|
153 |
10
|
Ikura
|
Seafood
|
1998
|
3
|
75
|
2263
|
154 |
36
|
Inlagd Sill
|
Seafood
|
1996
|
9
|
52
|
638.399993896484
|
155 |
36
|
Inlagd Sill
|
Seafood
|
1996
|
10
|
60
|
790.399993896484
|
156 |
36
|
Inlagd Sill
|
Seafood
|
1997
|
5
|
120
|
2223
|
157 |
36
|
Inlagd Sill
|
Seafood
|
1997
|
7
|
76
|
1344.25
|
158 |
36
|
Inlagd Sill
|
Seafood
|
1998
|
1
|
50
|
712.5
|
159 |
36
|
Inlagd Sill
|
Seafood
|
1998
|
3
|
95
|
1619.75
|
160 |
36
|
Inlagd Sill
|
Seafood
|
1998
|
4
|
69
|
1225.5
|
161 |
43
|
Ipoh Coffee
|
Beverages
|
1996
|
9
|
56
|
2060.80001831055
|
162 |
43
|
Ipoh Coffee
|
Beverages
|
1997
|
5
|
85
|
3910
|
163 |
43
|
Ipoh Coffee
|
Beverages
|
1997
|
10
|
64
|
2944
|
164 |
43
|
Ipoh Coffee
|
Beverages
|
1998
|
4
|
60
|
2484
|
165 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1996
|
7
|
51
|
333.024993896484
|
166 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1997
|
4
|
110
|
945.299987792969
|
167 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1997
|
9
|
168
|
1582.60001373291
|
168 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1997
|
10
|
54
|
521.099990844727
|
169 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1997
|
12
|
74
|
689.974990844726
|
170 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1998
|
1
|
52
|
501.800003051758
|
171 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1998
|
4
|
113
|
940.392486572266
|
172 |
41
|
Jack's New England Clam Chowder
|
Seafood
|
1998
|
5
|
64
|
617.600002288818
|
173 |
13
|
Konbu
|
Seafood
|
1997
|
7
|
68
|
403.199996948242
|
174 |
13
|
Konbu
|
Seafood
|
1998
|
1
|
91
|
483.900000572205
|
175 |
13
|
Konbu
|
Seafood
|
1998
|
2
|
73
|
429.599990844727
|
176 |
13
|
Konbu
|
Seafood
|
1998
|
3
|
288
|
1584.60003662109
|
177 |
13
|
Konbu
|
Seafood
|
1998
|
4
|
193
|
1146
|
178 |
76
|
Lakkalikööri
|
Beverages
|
1996
|
10
|
51
|
734.400001525879
|
179 |
76
|
Lakkalikööri
|
Beverages
|
1997
|
5
|
50
|
900
|
180 |
76
|
Lakkalikööri
|
Beverages
|
1997
|
6
|
64
|
1152
|
181 |
76
|
Lakkalikööri
|
Beverages
|
1997
|
7
|
94
|
1659.60000228882
|
182 |
76
|
Lakkalikööri
|
Beverages
|
1997
|
10
|
50
|
805.5
|
183 |
76
|
Lakkalikööri
|
Beverages
|
1997
|
11
|
50
|
900
|
184 |
76
|
Lakkalikööri
|
Beverages
|
1998
|
1
|
91
|
1408.5
|
185 |
76
|
Lakkalikööri
|
Beverages
|
1998
|
3
|
139
|
2502
|
186 |
76
|
Lakkalikööri
|
Beverages
|
1998
|
4
|
146
|
2214
|
187 |
67
|
Laughing Lumberjack Lager
|
Beverages
|
1998
|
3
|
64
|
744.800018310547
|
188 |
74
|
Longlife Tofu
|
Produce
|
1996
|
7
|
57
|
384
|
189 |
74
|
Longlife Tofu
|
Produce
|
1996
|
12
|
84
|
648
|
190 |
74
|
Longlife Tofu
|
Produce
|
1997
|
12
|
50
|
462.5
|
191 |
65
|
Louisiana Fiery Hot Pepper Sauce
|
Condiments
|
1997
|
2
|
63
|
1011.35998535156
|
192 |
65
|
Louisiana Fiery Hot Pepper Sauce
|
Condiments
|
1997
|
4
|
74
|
1468.75
|
193 |
65
|
Louisiana Fiery Hot Pepper Sauce
|
Condiments
|
1997
|
10
|
65
|
1299.83752441406
|
194 |
65
|
Louisiana Fiery Hot Pepper Sauce
|
Condiments
|
1997
|
11
|
50
|
1041.97499084473
|
195 |
65
|
Louisiana Fiery Hot Pepper Sauce
|
Condiments
|
1997
|
12
|
82
|
1557.69997406006
|
196 |
65
|
Louisiana Fiery Hot Pepper Sauce
|
Condiments
|
1998
|
2
|
64
|
1312.46746826172
|
197 |
66
|
Louisiana Hot Spiced Okra
|
Condiments
|
1997
|
2
|
60
|
816
|
198 |
66
|
Louisiana Hot Spiced Okra
|
Condiments
|
1997
|
3
|
60
|
693.600036621094
|
199 |
66
|
Louisiana Hot Spiced Okra
|
Condiments
|
1997
|
12
|
50
|
850
|
200 |
51
|
Manjimup Dried Apples
|
Produce
|
1996
|
7
|
75
|
2957.40002441406
|
201 |
51
|
Manjimup Dried Apples
|
Produce
|
1997
|
5
|
54
|
2480.40014648438
|
202 |
51
|
Manjimup Dried Apples
|
Produce
|
1997
|
6
|
93
|
4717
|
203 |
51
|
Manjimup Dried Apples
|
Produce
|
1997
|
12
|
188
|
9195.5
|
204 |
51
|
Manjimup Dried Apples
|
Produce
|
1998
|
3
|
74
|
3922
|
205 |
51
|
Manjimup Dried Apples
|
Produce
|
1998
|
4
|
133
|
6426.25
|
206 |
32
|
Mascarpone Fabioli
|
Dairy Products
|
1997
|
4
|
50
|
1280
|
207 |
32
|
Mascarpone Fabioli
|
Dairy Products
|
1998
|
4
|
85
|
2696
|
208 |
49
|
Maxilaku
|
Confections
|
1997
|
1
|
60
|
936
|
209 |
49
|
Maxilaku
|
Confections
|
1998
|
2
|
87
|
1596
|
210 |
49
|
Maxilaku
|
Confections
|
1998
|
3
|
68
|
1360
|
211 |
49
|
Maxilaku
|
Confections
|
1998
|
4
|
62
|
1240
|
212 |
9
|
Mishi Kobe Niku
|
Meat/Poultry
|
1997
|
9
|
50
|
3637.5
|
213 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1996
|
10
|
90
|
2397.75
|
214 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1996
|
12
|
87
|
2059.97991943359
|
215 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1997
|
2
|
50
|
1390
|
216 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1997
|
5
|
55
|
1914.00001144409
|
217 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1997
|
6
|
54
|
1879.20001220703
|
218 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1997
|
8
|
75
|
2610
|
219 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1998
|
1
|
55
|
1722.59991455078
|
220 |
72
|
Mozzarella di Giovanni
|
Dairy Products
|
1998
|
3
|
101
|
3514.79998779297
|
221 |
30
|
Nord-Ost Matjeshering
|
Seafood
|
1996
|
7
|
60
|
931.5
|
222 |
30
|
Nord-Ost Matjeshering
|
Seafood
|
1996
|
10
|
58
|
1047.42004394531
|
223 |
30
|
Nord-Ost Matjeshering
|
Seafood
|
1997
|
11
|
60
|
1553.40002441406
|
224 |
30
|
Nord-Ost Matjeshering
|
Seafood
|
1998
|
2
|
126
|
2983.82244873047
|
225 |
8
|
Northwoods Cranberry Sauce
|
Condiments
|
1996
|
11
|
140
|
3920
|
226 |
8
|
Northwoods Cranberry Sauce
|
Condiments
|
1997
|
10
|
50
|
2000
|
227 |
25
|
NuNuCa Nuß-Nougat-Creme
|
Confections
|
1996
|
11
|
60
|
672
|
228 |
25
|
NuNuCa Nuß-Nougat-Creme
|
Confections
|
1997
|
4
|
78
|
865.199951171875
|
229 |
25
|
NuNuCa Nuß-Nougat-Creme
|
Confections
|
1997
|
12
|
62
|
693
|
230 |
25
|
NuNuCa Nuß-Nougat-Creme
|
Confections
|
1998
|
1
|
51
|
620.200004577637
|
231 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1997
|
2
|
55
|
514.799987792969
|
232 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1997
|
7
|
85
|
1049.75
|
233 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1997
|
9
|
70
|
864.5
|
234 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1998
|
1
|
52
|
651.300001144409
|
235 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1998
|
2
|
65
|
845
|
236 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1998
|
3
|
70
|
910
|
237 |
77
|
Original Frankfurter grüne Soße
|
Condiments
|
1998
|
4
|
79
|
1013.35000610352
|
238 |
70
|
Outback Lager
|
Beverages
|
1996
|
9
|
55
|
660
|
239 |
70
|
Outback Lager
|
Beverages
|
1996
|
12
|
60
|
720
|
240 |
70
|
Outback Lager
|
Beverages
|
1997
|
3
|
72
|
792
|
241 |
70
|
Outback Lager
|
Beverages
|
1997
|
10
|
116
|
1558.5
|
242 |
70
|
Outback Lager
|
Beverages
|
1998
|
1
|
96
|
1372.5
|
243 |
70
|
Outback Lager
|
Beverages
|
1998
|
2
|
83
|
1083.75
|
244 |
70
|
Outback Lager
|
Beverages
|
1998
|
4
|
69
|
939
|
245 |
55
|
Pâté chinois
|
Meat/Poultry
|
1996
|
12
|
135
|
2361.59985351562
|
246 |
55
|
Pâté chinois
|
Meat/Poultry
|
1997
|
2
|
180
|
2937.59985351562
|
247 |
55
|
Pâté chinois
|
Meat/Poultry
|
1997
|
12
|
60
|
1080
|
248 |
55
|
Pâté chinois
|
Meat/Poultry
|
1998
|
4
|
181
|
4110
|
249 |
16
|
Pavlova
|
Confections
|
1996
|
7
|
95
|
1112
|
250 |
16
|
Pavlova
|
Confections
|
1996
|
11
|
56
|
739.480041503906
|
251 |
16
|
Pavlova
|
Confections
|
1997
|
2
|
85
|
1023.73500061035
|
252 |
16
|
Pavlova
|
Confections
|
1997
|
3
|
53
|
663.725021362305
|
253 |
16
|
Pavlova
|
Confections
|
1997
|
4
|
50
|
872.5
|
254 |
16
|
Pavlova
|
Confections
|
1997
|
5
|
84
|
1334.92497253418
|
255 |
16
|
Pavlova
|
Confections
|
1997
|
9
|
93
|
1352.37499237061
|
256 |
16
|
Pavlova
|
Confections
|
1997
|
12
|
85
|
1483.25
|
257 |
16
|
Pavlova
|
Confections
|
1998
|
1
|
50
|
872.5
|
258 |
16
|
Pavlova
|
Confections
|
1998
|
2
|
63
|
958.004989624024
|
259 |
16
|
Pavlova
|
Confections
|
1998
|
3
|
173
|
2830.39001464844
|
260 |
53
|
Perth Pasties
|
Meat/Poultry
|
1996
|
12
|
130
|
3170.19995117188
|
261 |
53
|
Perth Pasties
|
Meat/Poultry
|
1997
|
2
|
65
|
1703
|
262 |
53
|
Perth Pasties
|
Meat/Poultry
|
1997
|
10
|
123
|
4029.48000335693
|
263 |
53
|
Perth Pasties
|
Meat/Poultry
|
1998
|
4
|
80
|
2328.79989624023
|
264 |
11
|
Queso Cabrales
|
Dairy Products
|
1996
|
10
|
50
|
672
|
265 |
11
|
Queso Cabrales
|
Dairy Products
|
1997
|
5
|
93
|
1832.25
|
266 |
11
|
Queso Cabrales
|
Dairy Products
|
1997
|
6
|
50
|
924
|
267 |
11
|
Queso Cabrales
|
Dairy Products
|
1997
|
12
|
85
|
1601.25
|
268 |
11
|
Queso Cabrales
|
Dairy Products
|
1998
|
1
|
60
|
1218
|
269 |
11
|
Queso Cabrales
|
Dairy Products
|
1998
|
2
|
90
|
1680
|
270 |
11
|
Queso Cabrales
|
Dairy Products
|
1998
|
3
|
52
|
1065.75
|
271 |
12
|
Queso Manchego La Pastora
|
Dairy Products
|
1997
|
9
|
100
|
3800
|
272 |
12
|
Queso Manchego La Pastora
|
Dairy Products
|
1998
|
3
|
50
|
1900
|
273 |
59
|
Raclette Courdavault
|
Dairy Products
|
1996
|
7
|
100
|
3938
|
274 |
59
|
Raclette Courdavault
|
Dairy Products
|
1996
|
10
|
58
|
2228.60000610352
|
275 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
1
|
115
|
4364.80001831055
|
276 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
3
|
162
|
7128
|
277 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
6
|
52
|
2420
|
278 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
7
|
85
|
4372.5
|
279 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
10
|
110
|
5703.5
|
280 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
11
|
93
|
4881.25
|
281 |
59
|
Raclette Courdavault
|
Dairy Products
|
1997
|
12
|
65
|
3533.75
|
282 |
59
|
Raclette Courdavault
|
Dairy Products
|
1998
|
1
|
147
|
7749.5
|
283 |
59
|
Raclette Courdavault
|
Dairy Products
|
1998
|
4
|
322
|
16285.5
|
284 |
57
|
Ravioli Angelo
|
Grains/Cereals
|
1996
|
7
|
65
|
1002.30000305176
|
285 |
57
|
Ravioli Angelo
|
Grains/Cereals
|
1996
|
11
|
50
|
780
|
286 |
57
|
Ravioli Angelo
|
Grains/Cereals
|
1998
|
1
|
64
|
1238.25
|
287 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1996
|
10
|
50
|
310
|
288 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1997
|
4
|
86
|
638.599990844726
|
289 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1997
|
6
|
126
|
887.375
|
290 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1997
|
7
|
70
|
496
|
291 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1997
|
9
|
55
|
426.25
|
292 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1997
|
12
|
117
|
815.299995422363
|
293 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1998
|
2
|
134
|
992
|
294 |
75
|
Rhönbräu Klosterbier
|
Beverages
|
1998
|
3
|
217
|
1543.02500152588
|
295 |
73
|
Röd Kaviar
|
Seafood
|
1997
|
9
|
50
|
750
|
296 |
73
|
Röd Kaviar
|
Seafood
|
1997
|
10
|
50
|
716.25
|
297 |
45
|
Rogede sild
|
Seafood
|
1997
|
5
|
100
|
807.5
|
298 |
45
|
Rogede sild
|
Seafood
|
1997
|
10
|
110
|
1045
|
299 |
45
|
Rogede sild
|
Seafood
|
1997
|
11
|
84
|
665
|
300 |
28
|
Rössle Sauerkraut
|
Produce
|
1997
|
2
|
57
|
2074.79998779297
|
301 |
28
|
Rössle Sauerkraut
|
Produce
|
1997
|
4
|
66
|
2991.36000061035
|
302 |
28
|
Rössle Sauerkraut
|
Produce
|
1997
|
10
|
60
|
2462.39990234375
|
303 |
28
|
Rössle Sauerkraut
|
Produce
|
1998
|
3
|
60
|
2599.19993591309
|
304 |
28
|
Rössle Sauerkraut
|
Produce
|
1998
|
4
|
90
|
3944.39990234375
|
305 |
34
|
Sasquatch Ale
|
Beverages
|
1998
|
4
|
180
|
2331
|
306 |
27
|
Schoggi Schokolade
|
Confections
|
1997
|
2
|
50
|
1755
|
307 |
27
|
Schoggi Schokolade
|
Confections
|
1997
|
4
|
120
|
5268
|
308 |
27
|
Schoggi Schokolade
|
Confections
|
1997
|
7
|
50
|
2195
|
309 |
27
|
Schoggi Schokolade
|
Confections
|
1998
|
3
|
55
|
2414.5
|
310 |
68
|
Scottish Longbreads
|
Confections
|
1996
|
12
|
68
|
664
|
311 |
68
|
Scottish Longbreads
|
Confections
|
1997
|
1
|
66
|
510
|
312 |
68
|
Scottish Longbreads
|
Confections
|
1997
|
5
|
55
|
687.5
|
313 |
68
|
Scottish Longbreads
|
Confections
|
1997
|
10
|
85
|
962.5
|
314 |
68
|
Scottish Longbreads
|
Confections
|
1997
|
12
|
73
|
912.5
|
315 |
68
|
Scottish Longbreads
|
Confections
|
1998
|
2
|
58
|
725
|
316 |
68
|
Scottish Longbreads
|
Confections
|
1998
|
3
|
80
|
750
|
317 |
68
|
Scottish Longbreads
|
Confections
|
1998
|
5
|
55
|
687.5
|
318 |
42
|
Singaporean Hokkien Fried Mee
|
Grains/Cereals
|
1997
|
3
|
50
|
560
|
319 |
42
|
Singaporean Hokkien Fried Mee
|
Grains/Cereals
|
1997
|
4
|
70
|
912.800003051758
|
320 |
42
|
Singaporean Hokkien Fried Mee
|
Grains/Cereals
|
1997
|
7
|
100
|
1120
|
321 |
42
|
Singaporean Hokkien Fried Mee
|
Grains/Cereals
|
1997
|
9
|
96
|
1183
|
322 |
42
|
Singaporean Hokkien Fried Mee
|
Grains/Cereals
|
1998
|
1
|
62
|
809.200012207031
|
323 |
42
|
Singaporean Hokkien Fried Mee
|
Grains/Cereals
|
1998
|
4
|
112
|
1517.60000610352
|
324 |
20
|
Sir Rodney's Marmalade
|
Confections
|
1998
|
3
|
70
|
5467.5
|
325 |
21
|
Sir Rodney's Scones
|
Confections
|
1997
|
1
|
92
|
712
|
326 |
21
|
Sir Rodney's Scones
|
Confections
|
1997
|
2
|
80
|
512
|
327 |
21
|
Sir Rodney's Scones
|
Confections
|
1997
|
4
|
52
|
440
|
328 |
21
|
Sir Rodney's Scones
|
Confections
|
1997
|
8
|
97
|
885
|
329 |
21
|
Sir Rodney's Scones
|
Confections
|
1997
|
9
|
72
|
708
|
330 |
21
|
Sir Rodney's Scones
|
Confections
|
1997
|
11
|
70
|
680
|
331 |
21
|
Sir Rodney's Scones
|
Confections
|
1998
|
2
|
60
|
580
|
332 |
21
|
Sir Rodney's Scones
|
Confections
|
1998
|
3
|
148
|
1420
|
333 |
21
|
Sir Rodney's Scones
|
Confections
|
1998
|
4
|
103
|
1015
|
334 |
61
|
Sirop d'érable
|
Condiments
|
1997
|
2
|
115
|
2314.20007324219
|
335 |
61
|
Sirop d'érable
|
Condiments
|
1997
|
7
|
120
|
2565
|
336 |
61
|
Sirop d'érable
|
Condiments
|
1998
|
2
|
50
|
1254
|
337 |
61
|
Sirop d'érable
|
Condiments
|
1998
|
4
|
97
|
2425.35009765625
|
338 |
46
|
Spegesild
|
Seafood
|
1996
|
12
|
73
|
673.919982910156
|
339 |
46
|
Spegesild
|
Seafood
|
1997
|
9
|
105
|
1260
|
340 |
35
|
Steeleye Stout
|
Beverages
|
1996
|
8
|
104
|
1497.59999847412
|
341 |
35
|
Steeleye Stout
|
Beverages
|
1996
|
10
|
80
|
1000.80004882812
|
342 |
35
|
Steeleye Stout
|
Beverages
|
1996
|
12
|
70
|
950.399963378906
|
343 |
35
|
Steeleye Stout
|
Beverages
|
1997
|
1
|
95
|
1195.20001220703
|
344 |
35
|
Steeleye Stout
|
Beverages
|
1997
|
5
|
56
|
954
|
345 |
35
|
Steeleye Stout
|
Beverages
|
1997
|
7
|
54
|
837
|
346 |
35
|
Steeleye Stout
|
Beverages
|
1998
|
1
|
59
|
1017
|
347 |
35
|
Steeleye Stout
|
Beverages
|
1998
|
3
|
50
|
900
|
348 |
35
|
Steeleye Stout
|
Beverages
|
1998
|
4
|
117
|
2049.29998779297
|
349 |
62
|
Tarte au sucre
|
Confections
|
1996
|
8
|
52
|
2048.79998779297
|
350 |
62
|
Tarte au sucre
|
Confections
|
1996
|
9
|
125
|
4826.5
|
351 |
62
|
Tarte au sucre
|
Confections
|
1997
|
1
|
75
|
2955
|
352 |
62
|
Tarte au sucre
|
Confections
|
1997
|
5
|
60
|
2908.70001220703
|
353 |
62
|
Tarte au sucre
|
Confections
|
1997
|
8
|
95
|
4091.90014648438
|
354 |
62
|
Tarte au sucre
|
Confections
|
1997
|
10
|
68
|
3352.39990234375
|
355 |
62
|
Tarte au sucre
|
Confections
|
1998
|
1
|
101
|
4745.125
|
356 |
62
|
Tarte au sucre
|
Confections
|
1998
|
2
|
61
|
2913.63000488281
|
357 |
62
|
Tarte au sucre
|
Confections
|
1998
|
3
|
156
|
6966.08990478516
|
358 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
1996
|
11
|
80
|
584
|
359 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
1997
|
2
|
67
|
458.439994812012
|
360 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
1997
|
8
|
50
|
446.199996948242
|
361 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
1997
|
12
|
74
|
646.759994506836
|
362 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
1998
|
4
|
85
|
759
|
363 |
19
|
Teatime Chocolate Biscuits
|
Confections
|
1998
|
5
|
52
|
455.399993896484
|
364 |
29
|
Thüringer Rostbratwurst
|
Meat/Poultry
|
1997
|
10
|
52
|
6362.80603027344
|
365 |
29
|
Thüringer Rostbratwurst
|
Meat/Poultry
|
1997
|
12
|
72
|
8083.48706054688
|
366 |
29
|
Thüringer Rostbratwurst
|
Meat/Poultry
|
1998
|
2
|
164
|
18444.7099609375
|
367 |
29
|
Thüringer Rostbratwurst
|
Meat/Poultry
|
1998
|
4
|
122
|
11636.2598266602
|
368 |
14
|
Tofu
|
Produce
|
1996
|
12
|
57
|
864.900024414062
|
369 |
14
|
Tofu
|
Produce
|
1997
|
1
|
67
|
1208.99998474121
|
370 |
14
|
Tofu
|
Produce
|
1997
|
4
|
70
|
1627.5
|
371 |
14
|
Tofu
|
Produce
|
1997
|
6
|
56
|
1106.70001220703
|
372 |
54
|
Tourtière
|
Meat/Poultry
|
1996
|
11
|
114
|
654.900009155274
|
373 |
54
|
Tourtière
|
Meat/Poultry
|
1997
|
2
|
101
|
588.820001602173
|
374 |
54
|
Tourtière
|
Meat/Poultry
|
1997
|
7
|
54
|
402.299999237061
|
375 |
54
|
Tourtière
|
Meat/Poultry
|
1997
|
10
|
115
|
715.200012207031
|
376 |
23
|
Tunnbröd
|
Grains/Cereals
|
1997
|
1
|
60
|
432
|
377 |
23
|
Tunnbröd
|
Grains/Cereals
|
1997
|
5
|
90
|
706.5
|
378 |
23
|
Tunnbröd
|
Grains/Cereals
|
1998
|
1
|
88
|
729
|
379 |
23
|
Tunnbröd
|
Grains/Cereals
|
1998
|
2
|
80
|
666
|
380 |
7
|
Uncle Bob's Organic Dried Pears
|
Produce
|
1997
|
4
|
50
|
1275
|
381 |
7
|
Uncle Bob's Organic Dried Pears
|
Produce
|
1997
|
7
|
55
|
1650
|
382 |
7
|
Uncle Bob's Organic Dried Pears
|
Produce
|
1997
|
10
|
90
|
2700
|
383 |
7
|
Uncle Bob's Organic Dried Pears
|
Produce
|
1998
|
3
|
217
|
6510
|
384 |
7
|
Uncle Bob's Organic Dried Pears
|
Produce
|
1998
|
4
|
124
|
3720
|
385 |
50
|
Valkoinen suklaa
|
Confections
|
1997
|
11
|
60
|
942.5
|
386 |
63
|
Vegie-spread
|
Condiments
|
1996
|
10
|
80
|
2386.80004882812
|
387 |
63
|
Vegie-spread
|
Condiments
|
1997
|
1
|
100
|
3202.875
|
388 |
63
|
Vegie-spread
|
Condiments
|
1998
|
3
|
105
|
4609.5
|
389 |
64
|
Wimmers gute Semmelknödel
|
Grains/Cereals
|
1996
|
10
|
50
|
1330
|
390 |
64
|
Wimmers gute Semmelknödel
|
Grains/Cereals
|
1997
|
2
|
71
|
1715.6999206543
|
391 |
64
|
Wimmers gute Semmelknödel
|
Grains/Cereals
|
1997
|
6
|
54
|
1735.64996337891
|
392 |
64
|
Wimmers gute Semmelknödel
|
Grains/Cereals
|
1998
|
1
|
111
|
3441.375
|
393 |
64
|
Wimmers gute Semmelknödel
|
Grains/Cereals
|
1998
|
5
|
132
|
4387.00500488281
|
394 |
47
|
Zaanse koeken
|
Confections
|
1997
|
1
|
85
|
589
|
395 |
47
|
Zaanse koeken
|
Confections
|
1997
|
9
|
71
|
668.79999923706
|
396 |
47
|
Zaanse koeken
|
Confections
|
1997
|
10
|
67
|
517.75
|
5. Specific Product Information with Supplier Contacts for Reporting.
SQL Server Query 5
SELECT
p.ProductID,
p.ProductName,
p.UnitPrice,
p.UnitsInStock,
p.UnitsOnOrder,
p.ReorderLevel,
s.CompanyName AS SupplierName,
s.ContactName AS SupplierContact,
s.Phone AS SupplierPhone,
s.HomePage AS SupplierHomePage
INTO HighStockProductsWithSupplierContacts
FROM Products p
JOIN Suppliers s ON p.SupplierID = s.SupplierID
WHERE
p.UnitsInStock > 50 -- Products with high stock
AND p.ReorderLevel >= 10; -- And a decent reorder level
-- Query the specific product info
SELECT *
FROM HighStockProductsWithSupplierContacts
ORDER BY ProductName;
-- Clean up
DROP TABLE IF EXISTS HighStockProductsWithSupplierContacts;
Create SQL query with SqlQueryBuilder 5
var (sql5, parameters5) = new SqlQueryBuilder()
.Select()
.Columns("p.ProductID","p.ProductName","p.UnitPrice","p.UnitsInStock","p.UnitsOnOrder","p.ReorderLevel")
.Column("s.CompanyName", "SupplierName")
.Column("s.ContactName", "SupplierContact")
.Column("s.Phone", "SupplierPhone")
.Column("s.HomePage", "SupplierHomePage")
.INTO(new Table("HighStockProductsWithSupplierContacts"))
.From("Products", "p")
.Join(new List<IJoin>()
{
new INNERJOIN().TableName("Suppliers", "s")
.On(new Column("p.SupplierID").Equale(new Column("s.SupplierID")))
})
.Where(new Where(new Column("p.UnitsInStock").GreaterThan(50))
.AND(new Column("p.ReorderLevel").GreaterThanOrEqualeTo(10))
)
.Select().Star().From("HighStockProductsWithSupplierContacts")
.OrderBy(new OrderBy().SetColumnAscending("ProductName"))
.DropTable(new Table("HighStockProductsWithSupplierContacts"), true)
.Build();
Query build by SqlQueryBuilder 5
SELECT p.ProductID,
p.ProductName,
p.UnitPrice,
p.UnitsInStock,
p.UnitsOnOrder,
p.ReorderLevel,
s.CompanyName AS SupplierName,
s.ContactName AS SupplierContact,
s.Phone AS SupplierPhone,
s.HomePage AS SupplierHomePage
INTO HighStockProductsWithSupplierContacts
FROM Products AS p
INNER JOIN
Suppliers AS s
ON p.SupplierID = s.SupplierID
WHERE p.UnitsInStock > @pMAIN_2507192104276993680
AND p.ReorderLevel >= @pMAIN_2507192104276993681;
SELECT *
FROM HighStockProductsWithSupplierContacts
ORDER BY ProductName ASC;
DROP TABLE IF EXISTS HighStockProductsWithSupplierContacts
Parameters (If used)
Name |
Value |
@pMAIN_2507192104276993680 |
50 |
@pMAIN_2507192104276993681 |
10 |
Query Results 5:
|
ProductID |
ProductName |
UnitPrice |
UnitsInStock |
UnitsOnOrder |
ReorderLevel |
SupplierName |
SupplierContact |
SupplierPhone |
SupplierHomePage |
1 |
40
|
Boston Crab Meat
|
18.4000
|
123
|
0
|
30
|
New England Seafood Cannery
|
Robb Merchant
|
(617) 555-3267
|
|
2 |
58
|
Escargots de Bourgogne
|
13.2500
|
62
|
0
|
20
|
Escargots Nouveaux
|
Marie Delamare
|
85.57.00.07
|
|
3 |
33
|
Geitost
|
2.5000
|
112
|
0
|
20
|
Norske Meierier
|
Beate Vileid
|
(0)2-953010
|
|
4 |
6
|
Grandma's Boysenberry Spread
|
25.0000
|
120
|
0
|
25
|
Grandma Kelly's Homestead
|
Regina Murphy
|
(313) 555-5735
|
|
5 |
22
|
Gustaf's Knäckebröd
|
21.0000
|
104
|
0
|
25
|
PB Knäckebröd AB
|
Lars Peterson
|
031-987 65 43
|
|
6 |
36
|
Inlagd Sill
|
19.0000
|
112
|
0
|
20
|
Svensk Sjöföda AB
|
Michael Björn
|
08-123 45 67
|
|
7 |
41
|
Jack's New England Clam Chowder
|
9.6500
|
85
|
0
|
10
|
New England Seafood Cannery
|
Robb Merchant
|
(617) 555-3267
|
|
8 |
76
|
Lakkalikööri
|
18.0000
|
57
|
0
|
20
|
Karkki Oy
|
Anne Heikkonen
|
(953) 10956
|
|
9 |
67
|
Laughing Lumberjack Lager
|
14.0000
|
52
|
0
|
10
|
Bigfoot Breweries
|
Cheryl Saylor
|
(503) 555-9931
|
|
10 |
25
|
NuNuCa Nuß-Nougat-Creme
|
14.0000
|
76
|
0
|
30
|
Heli Süßwaren GmbH & Co. KG
|
Petra Winkler
|
(010) 9984510
|
|
11 |
55
|
Pâté chinois
|
24.0000
|
115
|
0
|
20
|
Ma Maison
|
Jean-Guy Lauzon
|
(514) 555-9022
|
|
12 |
75
|
Rhönbräu Klosterbier
|
7.7500
|
125
|
0
|
25
|
Plutzer Lebensmittelgroßmärkte AG
|
Martin Bein
|
(069) 992755
|
Plutzer (on the World Wide Web)#http://www.microsoft.com/accessdev/sampleapps/plutzer.htm#
|
13 |
34
|
Sasquatch Ale
|
14.0000
|
111
|
0
|
15
|
Bigfoot Breweries
|
Cheryl Saylor
|
(503) 555-9931
|
|
14 |
61
|
Sirop d'érable
|
28.5000
|
113
|
0
|
25
|
Forêts d'érables
|
Chantal Goulet
|
(514) 555-2955
|
|
15 |
23
|
Tunnbröd
|
9.0000
|
61
|
0
|
25
|
PB Knäckebröd AB
|
Lars Peterson
|
031-987 65 43
|
|
16 |
50
|
Valkoinen suklaa
|
16.2500
|
65
|
0
|
30
|
Karkki Oy
|
Anne Heikkonen
|
(953) 10956
|
|