1sf/bird-sql-train-with-schema huggingface dataset:
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: How many orders of O'Sullivan Plantations 2-Door Library in Landvery Oak in central superstore were shipped through the shipping mode with the fastest delivery speed?
Evidence: 'O'Sullivan Cherrywood Estates Traditional Bookcase' is the "Product Name"; shipping mode with the fastest delivery speed refers to "Ship Mode" = 'First Class'
SQL: SELECT COUNT(DISTINCT T1.`Order ID`) FROM central_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'O''Sullivan Plantations 2-Door Library in Landvery Oak' AND T2.Region = 'Central' AND T1.`Ship Mode` = 'First Class'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: What is the name of the corporate customer from Rhode Island who had the highest number of orders in 2016 from the east superstore?
Evidence: corporate customer refers to Segment = 'Corporate'; Rhode Island refers to State = 'Rhode Island'; in 2016 refers to "Order Date" BETWEEN '2016-01-01' AND '2016-12-31'; east superstore refers to Region = 'East'; highest number of orders refers to max(order_number); name of corporate customer refers to "Customer Name"
SQL: SELECT T2.`Customer Name` FROM east_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T2.Segment = 'Corporate' AND T2.State = 'Rhode Island' AND T2.Region = 'East' AND STRFTIME('%Y', T1.`Order Date`) = '2016' GROUP BY T2.`Customer Name` ORDER BY COUNT(T2.`Customer Name`) DESC LIMIT 1
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: Among the orders with sales value of no less than 5,000 in west superstore, how many were bought by the customers in California?
Evidence: customers in California refers to State = 'California'; orders with sales value of no less than 5,000 refers to Sales > = 5,000
SQL: SELECT COUNT(DISTINCT T1.`Order ID`) FROM west_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` INNER JOIN people AS T3 ON T3.`Customer ID` = T1.`Customer ID` WHERE T1.Sales > 5000 AND T3.State = 'California' AND T2.Region = 'West'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: In which segment does the customer who purchased the product from the east superstore with the highest original price belong?
Evidence: highest original price refers to max(divide(Sales, subtract(1, Discount)))
SQL: SELECT T2.Segment FROM east_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T1.`Product ID` WHERE T1.Region = 'East' ORDER BY (T1.Sales / (1 - T1.Discount)) DESC LIMIT 1
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: What is the shipment duration for order number CA-2011-134103?
Evidence: shipment duration = subtract("Ship Date", "Order Date"); order number CA-2011-134103 refers to "Order ID" = 'CA-2011-134103'
SQL: SELECT DISTINCT strftime('%J', `Ship Date`) - strftime('%J', `Order Date`) AS duration FROM central_superstore WHERE `Order ID` = 'CA-2011-134103'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: How many orders with a quantity greater than 5 have been shipped by the fastest delivery method?
Evidence: orders with a quantity greater than 5 refers to Quantity > 5; shipped by the fastest delivery method refers to Ship Mode = 'First Class'
SQL: SELECT COUNT(DISTINCT `Order ID`) FROM central_superstore WHERE Quantity > 5 AND `Ship Mode` = 'First Class'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: Please list any three orders that caused a loss to the company.
Evidence: caused a loss to the company refers to Profit < 0
SQL: SELECT `Order ID` FROM central_superstore WHERE Profit < 0 LIMIT 3
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: Which product did Phillina Ober buy?
Evidence: product refers to "Product Name"
SQL: SELECT DISTINCT T3.`Product Name` FROM people AS T1 INNER JOIN central_superstore AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T2.`Product ID` WHERE T1.`Customer Name` = 'Phillina Ober'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: Who was the customer in the South Region superstore who bought the most “Hon Multipurpose Stacking Arm Chairs"?
Evidence: customer refers to "Customer Name"; “Hon Multipurpose Stacking Arm Chairs" is the "Product Name";
SQL: SELECT T2.`Customer Name` FROM south_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T1.`Product ID` WHERE T3.`Product Name` = 'Hon Multipurpose Stacking Arm Chairs' GROUP BY T2.`Customer Name` ORDER BY COUNT(T2.`Customer Name`) DESC LIMIT 1
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: What is the profit from selling the "O'Sullivan Living Dimensions 2-Shelf Bookcases"?
Evidence: "O'Sullivan Living Dimensions 2-Shelf Bookcases" refers to "Product Name"
SQL: SELECT DISTINCT T1.Profit FROM central_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'O''Sullivan Living Dimensions 2-Shelf Bookcases'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: How many of the "Hon Pagoda Stacking Chairs" have been sold in total in the west superstore?
Evidence: Hon Pagoda Stacking Chairs' is the "Product Name"; west superstore refers to Region = 'West'
SQL: SELECT SUM(T1.Quantity) FROM west_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'Hon Pagoda Stacking Chairs'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: How many orders purchased by Aaron Bergman have been delivered with the slowest shipping speed?
Evidence: slowest shipping speed refers to "Ship Mode" = 'Standard Class'
SQL: SELECT COUNT(*) FROM people AS T1 INNER JOIN central_superstore AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T1.`Customer Name` = 'Aaron Bergman' AND T2.`Ship Mode` = 'Standard Class'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: What is the original price of the "Black Avery Flip-Chart Easel Binder"?
Evidence: "Black Avery Flip-Chart Easel Binder" is the "Product Name"; original price = divide(Sales, subtract(1, Discount))
SQL: SELECT T1.Sales / (1 - T1.Discount) FROM central_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'Blackstonian Pencils'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: What is the name of the product that Aimee Bixby bought?
Evidence: name of the product refers to "Product Name"
SQL: SELECT DISTINCT T3.`Product Name` FROM east_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T1.`Product ID` WHERE T2.`Customer Name` = 'Aimee Bixby'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: Indicate the profit of product Sauder Camden County Barrister Bookcase, Planked Cherry Finish.
Evidence: Sauder Camden County Barrister Bookcase, Planked Cherry Finish' refers to "Product Name"
SQL: SELECT DISTINCT T1.Profit FROM south_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'Sauder Camden County Barrister Bookcase, Planked Cherry Finish'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: How many furniture products had been shipped by standard class in the East superstore?
Evidence: furniture products refers to Category = 'Furniture'; shipped by standard class refers to "Ship Mode" = 'Standard Class'
SQL: SELECT COUNT(T2.Category) FROM east_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T1.`Ship Mode` = 'Standard Class'
Database: superstore
Tables: people, product, central_superstore, east_superstore, south_superstore, west_superstore
Columns (table index, column name): -1, *, 0, Customer ID, 0, Customer Name, 0, Segment, 0, Country, 0, City, 0, State, 0, Postal Code, 0, Region, 1, Product ID, 1, Product Name, 1, Category, 1, Sub-Category, 1, Region, 2, Row ID, 2, Order ID, 2, Order Date, 2, Ship Date, 2, Ship Mode, 2, Customer ID, 2, Region, 2, Product ID, 2, Sales, 2, Quantity, 2, Discount, 2, Profit, 3, Row ID, 3, Order ID, 3, Order Date, 3, Ship Date, 3, Ship Mode, 3, Customer ID, 3, Region, 3, Product ID, 3, Sales, 3, Quantity, 3, Discount, 3, Profit, 4, Row ID, 4, Order ID, 4, Order Date, 4, Ship Date, 4, Ship Mode, 4, Customer ID, 4, Region, 4, Product ID, 4, Sales, 4, Quantity, 4, Discount, 4, Profit, 5, Row ID, 5, Order ID, 5, Order Date, 5, Ship Date, 5, Ship Mode, 5, Customer ID, 5, Region, 5, Product ID, 5, Sales, 5, Quantity, 5, Discount, 5, Profit
Question: What is the highest profit order in the East superstore of customers from Houston, Texas?
Evidence: highest profit refers to max(Profit); Houston, Texas refers to City = 'Houston' and State = 'Texas'
SQL: SELECT T1.`Order ID` FROM east_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T2.City = 'Houston' AND T2.State = 'Texas' ORDER BY T1.Profit DESC LIMIT 1