query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | name of the root beer brand refers to BrandName; advertised on facebook refers to FacebookPage IS not NULL; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | users permit the company to send regular emails to them refers to subscribedtoemaillist = 'TRUE'; Visa card refers to creditcardtype = 'Visa'; in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | precise location = Latitude, Longitude; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | bottle root beer refers to ContainerType = 'Bottle'; purchased between 4/3/2015 and 10/26/2015 refers to PurchaseDate BETWEEN '2015-04-23' AND '2015-10-26'; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | between 2015 to 2016 refers to TransactionDate > = '2015-01-01' AND TransactionDate < '2016-12-31'; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | MasterCard refers to CreditCardType = 'MasterCard'; in 2014 refers to TransactionDate > = '2014-01-01' AND TransactionDate < = '2014-12-31'; |
Which brewery brewed the most sold root beer in 2015? | brewery refers to BreweryName; most sold root beer refers to MAX(COUNT(BrandID)); in 2015 refers to TransactionDate > = '2015-01-01' AND TransactionDate < = '2015-12-31'; | difference = SUBTRACT(COUNT(ContainerType = 'Bottle' WHERE State = 'LA'), COUNT(ContainerType = 'Bottle' State = 'MO')); bottles refers to ContainerType = 'Bottle'; Louisiana refers to State = 'LA'; Missouri refers to State = 'MO'; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | AJ Stephans refers to BreweryName = 'AJ Stephans Beverages'; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | full name = First, Last; customers who have purchased at least one root beer refers to CustomerID > = 1; produced by AJ Stephans Beverages refers to BreweryName = 'AJ Stephans Beverages'; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | difference in the average = SUBTRACT(DIVIDE(MULTIPLY(SUM(Honey = 'TRUE'), 1.0), COUNT(TransactionDate)), DIVIDE(MULTIPLY(SUM(Honey = 'FALSE'), 1.0), COUNT(TransactionDate))); contain honey refers to Honey = 'TRUE'; don’t contain honey refers to Honey = 'FALSE' |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | location refers to LocationName; bottle of beer refers to ContainerType = 'Bottle'; location that sold more bottles of beer refers to MAX(COUNT(LocationID WHERE ContainerType = 'Bottle')); |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | FALSE; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | most 5 star ratings refers to MAX(COUNT(StarRating = 5)); name of the brewery refers to BreweryName; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | stars refers to StarRating; Frostie refers to BrandName = 'Frostie'; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | California refers to State = 'CA'; |
What brand of beer has been the worst rated most times? | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); | Between Sac State Union and Sac State American River Courtyard refers to LocationName IN('Sac State American River Courtyard', 'Sac State Union'); Dog n Suds refers to BrandName = 'Dog n Suds'; sold the most root beer refers to MAX(COUNT(BrandID)); |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | 5-star rating refers to StarRating = 5; in 2013 refers to ReviewDate LIKE '2013%'; unit profit available to wholesalers = SUBTRACT(CurrentRetailPrice, WholesaleCost); |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | FALSE; |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | location refers to LocationName; bottle of beer refers to ContainerType = 'Bottle'; location that sold more bottles of beer refers to MAX(COUNT(LocationID WHERE ContainerType = 'Bottle')); |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | percentage = MULTIPLY(DIVIDE(SUM(LocationName = 'Sac State American River Courtyard'), COUNT(LocationID)), 1.0); Sac State American River Courtyard refers to LocationName = 'Sac State American River Courtyard'; |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | brand refers to BrandName; in 2012 refers to ReviewDate LIKE '2012%'; lowest star rating refers to MIN(StarRating); contains cane sugar as well as honey refers to CaneSugar = 'TRUE' AND Honey = 'TRUE'; |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | root beer brands refers to BrandName; highest market evaluation and acceptance refers to MAX(COUNT(StarRating = 5)); |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | not subscribed to the mailing list refers to SubscribedToEmailList = 'FALSE'; percentage = MULTIPLY(DIVIDE(SUM(CustomerID WHERE StarRating > 3), COUNT(CustomerID) WHERE SubscribedToEmailList = 'FALSE'), 1.0); |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | full name = First, Last; male customers refers to Gender = 'M'; Fair Oaks refers to City = 'Fair Oaks'; subscribed to the email list refers to SubscribedToEmailList = 'TRUE'; |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | name of the customer = First, Last; 5-star review refers to StarRating = 5; |
Please list the brands of all the root beer that Frank-Paul Santangelo had purchased on 2014/7/7. | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; | star rating is more than 3 refers to StarRating > 3; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | review content of "Tastes like Australia." refers to Review = 'Tastes like Australia.'; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | California refers to State = 'CA'; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | precise location = Latitude, Longitude; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | Bulldog refers to BrandName = 'Bulldog'; purchased in August, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '08'; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | do not advertise on Twitter refers to twitter IS NULL; in August, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '08'; |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | September 2014 refers to ReviewDate LIKE '2014-09%'; brand of beers refers to BrandName; highest star ratings refers to MAX(StarRating); |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | 5-star rating refers to StarRating = 5; in 2013 refers to ReviewDate LIKE '2013%'; unit profit available to wholesalers = SUBTRACT(CurrentRetailPrice, WholesaleCost); |
Among the root beer purchased in 2014, what percentage were sold in cans? | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; | star rating is more than 3 refers to StarRating > 3; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | difference in the average = SUBTRACT(DIVIDE(MULTIPLY(SUM(Honey = 'TRUE'), 1.0), COUNT(TransactionDate)), DIVIDE(MULTIPLY(SUM(Honey = 'FALSE'), 1.0), COUNT(TransactionDate))); contain honey refers to Honey = 'TRUE'; don’t contain honey refers to Honey = 'FALSE' |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | difference = SUBTRACT(COUNT(ContainerType = 'Bottle' WHERE State = 'LA'), COUNT(ContainerType = 'Bottle' State = 'MO')); bottles refers to ContainerType = 'Bottle'; Louisiana refers to State = 'LA'; Missouri refers to State = 'MO'; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | 3 star rating refers to StarRating = 3; Frostie refers to BrandName = 'Frostie'; if SubscribedToEmailList = 'TRUE', it means the user permit the company to send regular emails to him/her; if SubscribedToEmailList = FALSE', it means the user did not permit the company to send regular emails to him/her; rating on 2014/4/24 refers to ReviewDate = '2014-04-24'; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | AJ Stephans refers to BreweryName = 'AJ Stephans Beverages'; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | Mastercard refers to CreditCardType = 'MasterCard'; between 12/25/2014 and 5/20/2016 refers to TransactionDate BETWEEN '2014-12-25' AND '2016-05-20'; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | customer that has the most reviews refers to MAX(COUNT(CustomerID)); full name = First, Last; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | most purchased root beer refers to MAX(COUNT(BrandID)); in 2016 refers to PurchaseDate > = '2016-01-01' AND PurchaseDate < = '2016-12-31'; |
Which of the root beer brand have the lowest purchase? | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); | location refers to LocationName; bottle of beer refers to ContainerType = 'Bottle'; location that sold more bottles of beer refers to MAX(COUNT(LocationID WHERE ContainerType = 'Bottle')); |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | most purchased root beer refers to MAX(COUNT(BrandID)); in 2016 refers to PurchaseDate > = '2016-01-01' AND PurchaseDate < = '2016-12-31'; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | customer that has the most reviews refers to MAX(COUNT(CustomerID)); full name = First, Last; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | non-sweetened refers to honey = 'FALSE' AND artificialsweetener = 'FALSE'; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | in 2014 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'; percentage = MULTIPLY(DIVIDE(SUM(ContainerType = 'Can'), COUNT(RootBeerID) WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2014-12-31'), 1.0); in cans refers to ContainerType = 'Can'; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | Mastercard refers to CreditCardType = 'MasterCard'; between 12/25/2014 and 5/20/2016 refers to TransactionDate BETWEEN '2014-12-25' AND '2016-05-20'; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | bottle root beer refers to ContainerType = 'Bottle'; purchased between 4/3/2015 and 10/26/2015 refers to PurchaseDate BETWEEN '2015-04-23' AND '2015-10-26'; |
What are the full names of the customer who gave River City a 5-star? | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | brand refers to BrandName; in 2012 refers to ReviewDate LIKE '2012%'; lowest star rating refers to MIN(StarRating); contains cane sugar as well as honey refers to CaneSugar = 'TRUE' AND Honey = 'TRUE'; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | name of the customer = First, Last; 5-star review refers to StarRating = 5; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | most purchased root beer refers to MAX(COUNT(BrandID)); in 2016 refers to PurchaseDate > = '2016-01-01' AND PurchaseDate < = '2016-12-31'; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | difference in the average = SUBTRACT(DIVIDE(MULTIPLY(SUM(Honey = 'TRUE'), 1.0), COUNT(TransactionDate)), DIVIDE(MULTIPLY(SUM(Honey = 'FALSE'), 1.0), COUNT(TransactionDate))); contain honey refers to Honey = 'TRUE'; don’t contain honey refers to Honey = 'FALSE' |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | location refers to LocationName; bottle of beer refers to ContainerType = 'Bottle'; location that sold more bottles of beer refers to MAX(COUNT(LocationID WHERE ContainerType = 'Bottle')); |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | FALSE; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | do not advertise on Twitter refers to twitter IS NULL; in August, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '08'; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | full name = First, Last; American Express cards refers to CreditCardType = 'American Express'; Sac State Union refers to LocationName = 'Sac State Union'; |
What is the email address of the customer who made a purchase in transaction 100016? | email address refers to Email; transaction 100016 refers to TransactionID = 100016; | California refers to State = 'CA'; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | not subscribed to the mailing list refers to SubscribedToEmailList = 'FALSE'; percentage = MULTIPLY(DIVIDE(SUM(CustomerID WHERE StarRating > 3), COUNT(CustomerID) WHERE SubscribedToEmailList = 'FALSE'), 1.0); |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | Between Sac State Union and Sac State American River Courtyard refers to LocationName IN('Sac State American River Courtyard', 'Sac State Union'); Dog n Suds refers to BrandName = 'Dog n Suds'; sold the most root beer refers to MAX(COUNT(BrandID)); |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | brands of the root beer refers to BrandName; purchased on 2014/7/7 refers to transactiondate = '2014-07-07'; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | AJ Stephans refers to BreweryName = 'AJ Stephans Beverages'; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | email address refers to Email; transaction 100016 refers to TransactionID = 100016; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | type of card refers to CreditCardType; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; male customer refers to Gender = 'M'; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | Australia refers to Country = 'Australia'; |
List the brands of root beer produced by Dr Pepper Snapple Group and calculate their percentage of purchases between 2014 to 2016. | brand of root beer refers to BrandName; produced by Dr Pepper Snapple Group refers to BreweryName = 'Dr Pepper Snapple Group'; percentage of purchases = MULTIPLY(DIVIDE(SUM(BrandID WHERE PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31'), COUNT(BrandID) WHERE BreweryName = 'Dr Pepper Snapple Group'), 1.0); between 2014 to 2016 refers to PurchaseDate > = '2014-01-01' AND PurchaseDate < = '2016-12-31; | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | average star rating = AVG(StarRating); female customers refers to Gender = 'F; from 1/25/2015 to 3/10/2015 refers to ReviewDate BETWEEN '2015-01-25' AND '2015-03-10'; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | male customers refers to Gender = 'M'; Sacramento refers to City = 'Sacramento'; percentage = MULTIPLY(DIVIDE(SUM(BrandID WHERE BrandName = 'Dominion'), COUNT(BrandID) WHERE City = 'Sacramento'), 1.0); Dominion refers to BrandName = 'Dominion'; in 2013 refers to TransactionDate > = 2013-01-01 AND TransactionDate < 2014-01-01; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | Between Sac State Union and Sac State American River Courtyard refers to LocationName IN('Sac State American River Courtyard', 'Sac State Union'); Dog n Suds refers to BrandName = 'Dog n Suds'; sold the most root beer refers to MAX(COUNT(BrandID)); |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | FALSE; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | transaction no. refers to TransactionID; TransactionID = 103545; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | Australia refers to Country = 'Australia'; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | Bulldog refers to BrandName = 'Bulldog'; purchased in August, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '08'; |
Among the transactions, what percentage is done by using a visa card? | visa card refers to CreditCardType = 'Visa'; percentage = MULTIPLY(DIVIDE(SUM(CreditCardType = 'Visa'), COUNT(TransactionID)), 1.0); | MasterCard refers to CreditCardType = 'MasterCard'; in 2014 refers to TransactionDate > = '2014-01-01' AND TransactionDate < = '2014-12-31'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | between 2015 to 2016 refers to TransactionDate > = '2015-01-01' AND TransactionDate < '2016-12-31'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | most 5 star ratings refers to MAX(COUNT(StarRating = 5)); name of the brewery refers to BreweryName; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | Between Sac State Union and Sac State American River Courtyard refers to LocationName IN('Sac State American River Courtyard', 'Sac State Union'); Dog n Suds refers to BrandName = 'Dog n Suds'; sold the most root beer refers to MAX(COUNT(BrandID)); |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | precise location = Latitude, Longitude; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | users permit the company to send regular emails to them refers to subscribedtoemaillist = 'TRUE'; Visa card refers to creditcardtype = 'Visa'; in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | AJ Stephans refers to BreweryName = 'AJ Stephans Beverages'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | A&W refers to BrandName = 'A&W'; |
How many transactions were made at Sac State Union? | Sac State Union refers to LocationName = 'Sac State Union'; | sold in 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014'; percentage = DIVIDE(MULTIPLY(SUM(BreweryName = 'AJ Stephans Beverages'), 1.0), COUNT(RootBeerID)) WHERE SUBSTR(TransactionDate, 1, 4) = '2014'; AJ Stephans Beverages refers to BreweryName = 'AJ Stephans Beverages'; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.