Upload AutoTrain files
Browse files- raw/Unseen_table_csv.csv +18 -18
raw/Unseen_table_csv.csv
CHANGED
@@ -1,56 +1,56 @@
|
|
1 |
-
Natural Language,Golden Query
|
2 |
List all PO lineitem with a valid product source record in database ,"select * from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_ PRODUCT_SOURCE V
|
3 |
-
on P.product_id = V.product_id"
|
4 |
List all details of PO lineitem which have a product in product source table,"select * from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_ PRODUCT_SOURCE V
|
5 |
-
on P.product_id = V.product_id"
|
6 |
List all columns of PO lineitem that have a product present in product source table,"select * from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_ PRODUCT_SOURCE V
|
7 |
-
on P.product_id = V.product_id"
|
8 |
List all product who have atleast 1 quantity issued to them,"select * from PRODUCT_SOURCE V inner join RETAILBUYER_ PRODUCT_SOURCE V RETAILBUYER_POLINEITEM P
|
9 |
-
on P.product_id = V.product_id"
|
10 |
List all details of product source who have quantity issued to them,"select * from PRODUCT_SOURCE V inner join RETAILBUYER_ PRODUCT_SOURCE V RETAILBUYER_POLINEITEM P
|
11 |
-
on P.product_id = V.product_id"
|
12 |
List all columns of product source table who have been assigned quantity,"select * from PRODUCT_SOURCE V inner join RETAILBUYER_ PRODUCT_SOURCE V RETAILBUYER_POLINEITEM P
|
13 |
-
on P.product_id = V.product_id"
|
14 |
I would like to know the lineitem id and quantity for POs that have a product present in product source table,"select P.lineitem_id
|
15 |
, P.quantity from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_ SOURCE V
|
16 |
-
on P.product_id = V.product_id"
|
17 |
"List all product id, product description, and product unit price for product who have POs","select V.product_id, V.product_description, V.product_unitprice from RETAILBUYER_PRODUCT_SOURCE V inner join RETAILBUYER_POLINEITEM P
|
18 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
19 |
-
(500 rows, 5 columns)"
|
20 |
I would like to know the lineitem and po id for product that have a valid product that have quantity more than 15,"select P.LINEITEM_ID, P.PO_ID from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
21 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
22 |
-
where P.QUANTITY > 15"
|
23 |
I would like to know the lineitem and quantity for product where unit price is more 5,"select P.LINEITEM_ID, P.QUANTITY from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
24 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
25 |
-
where V.PRODUCT_UNITPRICE > 5"
|
26 |
"List lineitem, quantity, product id for product where unit price is more than 5 and contains soup in product description","select P.LINEITEM_ID, P.QUANTITY from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
27 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
28 |
-
where V.PRODUCT_DESC LIKE '%Soup%' AND V.PRODUCT_UNITPRICE > 5"
|
29 |
"List lineitem, quantity, product id for product where unit price is more than 5 and quantity is more than 15.","select P.LINEITEM_ID, P.QUANTITY from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
30 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
31 |
-
where P.QUANTITY > 15 AND V.PRODUCT_UNITPRICE >5"
|
32 |
What is the maximum product id for Product quantity greater than 25 ,"select max(v.product_id) from RETAILBUYER_POLINEITEM P
|
33 |
inner join
|
34 |
RETAILBUYER_PRODUCT_SOURCE V
|
35 |
on
|
36 |
P.PRODUCT_ID = V.PRODUCT_ID
|
37 |
-
where P.QUANTITY > 25"
|
38 |
What is the maximum product id of product that contains soup in product description who has been quantity greater than 25.,"select max(v.product_id) from RETAILBUYER_POLINEITEM P
|
39 |
inner join
|
40 |
RETAILBUYER_PRODUCT_SOURCE V
|
41 |
on
|
42 |
P.PRODUCT_ID = V.PRODUCT_ID
|
43 |
-
where V.PRODUCT_DESC LIKE '%Soup%' AND P.QUANTITY > 25"
|
44 |
What is the maximum lineitem id by unit price whose unit price is more 5,"select max(P.lineitem_id) from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
45 |
ON P.product_id = V.product_id
|
46 |
group by v.product_unitprice
|
47 |
-
having V.PRODUCT_unitprice > 5"
|
48 |
"What are the product ids, descriptions and sum of quantities ordered for the products in purchase order line items
|
49 |
","select L.product_id, P.product_desc, sum(L.quantity) from
|
50 |
RETAILBUYER_PRODUCT_SOURCE P
|
51 |
INNER JOIN
|
52 |
RETAILBUYER_POLINEITEM L
|
53 |
ON P.PRODUCT_ID = L.PRODUCT_ID
|
54 |
-
GROUP BY L.PRODUCT_ID, P.product_desc"
|
55 |
List all product and their details where no product quantity is less than 30,"select * from RETAILBUYER_PRODUCT_SOURCE
|
56 |
-
where product_id not in (select product_id from RETAILBUYER_POLINEITEM where quantity < 30)"
|
|
|
1 |
+
Natural Language,Golden Query
|
2 |
List all PO lineitem with a valid product source record in database ,"select * from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_ PRODUCT_SOURCE V
|
3 |
+
on P.product_id = V.product_id"
|
4 |
List all details of PO lineitem which have a product in product source table,"select * from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_ PRODUCT_SOURCE V
|
5 |
+
on P.product_id = V.product_id"
|
6 |
List all columns of PO lineitem that have a product present in product source table,"select * from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_ PRODUCT_SOURCE V
|
7 |
+
on P.product_id = V.product_id"
|
8 |
List all product who have atleast 1 quantity issued to them,"select * from PRODUCT_SOURCE V inner join RETAILBUYER_ PRODUCT_SOURCE V RETAILBUYER_POLINEITEM P
|
9 |
+
on P.product_id = V.product_id"
|
10 |
List all details of product source who have quantity issued to them,"select * from PRODUCT_SOURCE V inner join RETAILBUYER_ PRODUCT_SOURCE V RETAILBUYER_POLINEITEM P
|
11 |
+
on P.product_id = V.product_id"
|
12 |
List all columns of product source table who have been assigned quantity,"select * from PRODUCT_SOURCE V inner join RETAILBUYER_ PRODUCT_SOURCE V RETAILBUYER_POLINEITEM P
|
13 |
+
on P.product_id = V.product_id"
|
14 |
I would like to know the lineitem id and quantity for POs that have a product present in product source table,"select P.lineitem_id
|
15 |
, P.quantity from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_ SOURCE V
|
16 |
+
on P.product_id = V.product_id"
|
17 |
"List all product id, product description, and product unit price for product who have POs","select V.product_id, V.product_description, V.product_unitprice from RETAILBUYER_PRODUCT_SOURCE V inner join RETAILBUYER_POLINEITEM P
|
18 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
19 |
+
(500 rows, 5 columns)"
|
20 |
I would like to know the lineitem and po id for product that have a valid product that have quantity more than 15,"select P.LINEITEM_ID, P.PO_ID from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
21 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
22 |
+
where P.QUANTITY > 15"
|
23 |
I would like to know the lineitem and quantity for product where unit price is more 5,"select P.LINEITEM_ID, P.QUANTITY from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
24 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
25 |
+
where V.PRODUCT_UNITPRICE > 5"
|
26 |
"List lineitem, quantity, product id for product where unit price is more than 5 and contains soup in product description","select P.LINEITEM_ID, P.QUANTITY from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
27 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
28 |
+
where V.PRODUCT_DESC LIKE '%Soup%' AND V.PRODUCT_UNITPRICE > 5"
|
29 |
"List lineitem, quantity, product id for product where unit price is more than 5 and quantity is more than 15.","select P.LINEITEM_ID, P.QUANTITY from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
30 |
on P.PRODUCT_ID = V.PRODUCT_ID
|
31 |
+
where P.QUANTITY > 15 AND V.PRODUCT_UNITPRICE >5"
|
32 |
What is the maximum product id for Product quantity greater than 25 ,"select max(v.product_id) from RETAILBUYER_POLINEITEM P
|
33 |
inner join
|
34 |
RETAILBUYER_PRODUCT_SOURCE V
|
35 |
on
|
36 |
P.PRODUCT_ID = V.PRODUCT_ID
|
37 |
+
where P.QUANTITY > 25"
|
38 |
What is the maximum product id of product that contains soup in product description who has been quantity greater than 25.,"select max(v.product_id) from RETAILBUYER_POLINEITEM P
|
39 |
inner join
|
40 |
RETAILBUYER_PRODUCT_SOURCE V
|
41 |
on
|
42 |
P.PRODUCT_ID = V.PRODUCT_ID
|
43 |
+
where V.PRODUCT_DESC LIKE '%Soup%' AND P.QUANTITY > 25"
|
44 |
What is the maximum lineitem id by unit price whose unit price is more 5,"select max(P.lineitem_id) from RETAILBUYER_POLINEITEM P inner join RETAILBUYER_PRODUCT_SOURCE V
|
45 |
ON P.product_id = V.product_id
|
46 |
group by v.product_unitprice
|
47 |
+
having V.PRODUCT_unitprice > 5"
|
48 |
"What are the product ids, descriptions and sum of quantities ordered for the products in purchase order line items
|
49 |
","select L.product_id, P.product_desc, sum(L.quantity) from
|
50 |
RETAILBUYER_PRODUCT_SOURCE P
|
51 |
INNER JOIN
|
52 |
RETAILBUYER_POLINEITEM L
|
53 |
ON P.PRODUCT_ID = L.PRODUCT_ID
|
54 |
+
GROUP BY L.PRODUCT_ID, P.product_desc"
|
55 |
List all product and their details where no product quantity is less than 30,"select * from RETAILBUYER_PRODUCT_SOURCE
|
56 |
+
where product_id not in (select product_id from RETAILBUYER_POLINEITEM where quantity < 30)"
|