query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | Mastercard refers to CreditCardType = 'MasterCard'; between 12/25/2014 and 5/20/2016 refers to TransactionDate BETWEEN '2014-12-25' AND '2016-05-20'; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | Australia refers to Country = 'Australia'; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | name of the customer = First, Last; 5-star review refers to StarRating = 5; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | name of the root beer brand refers to BrandName; advertised on facebook refers to FacebookPage IS not NULL; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | between 2015 to 2016 refers to TransactionDate > = '2015-01-01' AND TransactionDate < '2016-12-31'; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | type of card refers to CreditCardType; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | FALSE; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | 5-star rating refers to StarRating = 5; in 2013 refers to ReviewDate LIKE '2013%'; unit profit available to wholesalers = SUBTRACT(CurrentRetailPrice, WholesaleCost); |
How many brands of root beers are available in cans and contain corn syrup and artificial sweeteners? | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; | 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 is the precise location of zip code 95819? | precise location = Latitude, Longitude; | Bulldog refers to BrandName = 'Bulldog'; purchased in August, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '08'; |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | most amount of profit per unit refers to MAX(SUBTRACT(CurrentRetailPrice, WholesaleCost)); least amount of profit per unit refers to MIN(SUBTRACT(CurrentRetailPrice, WholesaleCost)); |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | MasterCard refers to CreditCardType = 'MasterCard'; in 2014 refers to TransactionDate > = '2014-01-01' AND TransactionDate < = '2014-12-31'; |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | email address refers to Email; transaction 100016 refers to TransactionID = 100016; |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | brand of beer refers to BrandName; worst rated most times refers to MAX(COUNT(StarRating = 1)); |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | A&W refers to BrandName = 'A&W'; |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | root beer brands refers to BrandName; highest market evaluation and acceptance refers to MAX(COUNT(StarRating = 5)); |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | 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 precise location of zip code 95819? | precise location = Latitude, Longitude; | Australia refers to Country = 'Australia'; |
What is the precise location of zip code 95819? | precise location = Latitude, Longitude; | 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 location sold more bottles of beer? | 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')); | 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'; |
Which location sold more bottles of beer? | 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')); | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
Which location sold more bottles of beer? | 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')); | 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'; |
Which location sold more bottles of beer? | 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')); | 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); |
Which location sold more bottles of beer? | 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')); | precise location refers to Latitude, Longitude; American Express refers to CreditCardType = 'American Express'; |
Which location sold more bottles of beer? | 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')); | transaction no. refers to TransactionID; TransactionID = 103545; |
Which location sold more bottles of beer? | 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')); | most amount of profit per unit refers to MAX(SUBTRACT(CurrentRetailPrice, WholesaleCost)); least amount of profit per unit refers to MIN(SUBTRACT(CurrentRetailPrice, WholesaleCost)); |
Which location sold more bottles of beer? | 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')); | star rating is more than 3 refers to StarRating > 3; |
Which location sold more bottles of beer? | 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')); | name of the customer = First, Last; 5-star review refers to StarRating = 5; |
Which location sold more bottles of beer? | 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')); | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | September 2014 refers to ReviewDate LIKE '2014-09%'; brand of beers refers to BrandName; highest star ratings refers to MAX(StarRating); |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | non-sweetened refers to honey = 'FALSE' AND artificialsweetener = 'FALSE'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | California refers to State = 'CA'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | 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'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | AJ Stephans refers to BreweryName = 'AJ Stephans Beverages'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | Bulldog refers to BrandName = 'Bulldog'; purchased in August, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '08'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | 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'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | 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'; |
Which brand has the lowest star rating with a "Too spicy!" review? | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; | 5-star rating refers to StarRating = 5; in 2013 refers to ReviewDate LIKE '2013%'; unit profit available to wholesalers = SUBTRACT(CurrentRetailPrice, WholesaleCost); |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | most common refers to MAX(COUNT(StarRating)); containing corn syrup refers to CornSyrup = 'TRUE'; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; male customer refers to Gender = 'M'; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | brand of root beer refers to BrandName; lowest rating refers to MIN(StarRating); |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | Mastercard refers to CreditCardType = 'MasterCard'; between 12/25/2014 and 5/20/2016 refers to TransactionDate BETWEEN '2014-12-25' AND '2016-05-20'; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | California refers to State = 'CA'; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | average cost = DIVIDE(SUM(PurchasePrice > 2), COUNT(RootBeerID) WHERE PurchasePrice > 2); more than 2 dollars refers to PurchasePrice > 2; in bottles refers to ContainerType = 'Bottle'; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | 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'; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | FALSE; |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | brand of root beer refers to BrandName; highly rated refers to MAX(COUNT(StarRating = 5)); |
List the full name and phone number of male customers from Fair Oaks who are subscribed to the email list. | 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'; | 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'; |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | Thomas Kemper refers to BrandName = 'Thomas Kemper'; latitude the beer is consumed the most refers to MAX(COUNT(Latitude)); |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | 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 beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | 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'; |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | most amount of profit per unit refers to MAX(SUBTRACT(CurrentRetailPrice, WholesaleCost)); least amount of profit per unit refers to MIN(SUBTRACT(CurrentRetailPrice, WholesaleCost)); |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | root beer brand refers to BrandName; lowest purchase refers to MIN(COUNT(BrandID)); |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | full name = First, Last; River City refers to BrandName = 'River City'; 5-star refers to StarRating = 5; |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | lowest star rating refers to MIN(StarRating); "Too spicy!" review refers to Review = 'Too Spicy!'; |
Among the root beers sold in bottles, how many are sold at the location 38.559615, -121.42243? | in bottles refers to ContainerType = 'Bottle'; location 38.559615, -121.42243 refers to latitude = 38.559615 AND longitude = -121.42243; | MasterCard refers to CreditCardType = 'MasterCard'; in 2014 refers to TransactionDate > = '2014-01-01' AND TransactionDate < = '2014-12-31'; |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | 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' |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | customer that has the most reviews refers to MAX(COUNT(CustomerID)); full name = First, Last; |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | FALSE; |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | brand of root beer refers to BrandName; highly rated refers to MAX(COUNT(StarRating = 5)); |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | most purchased root beer refers to MAX(COUNT(BrandID)); in 2016 refers to PurchaseDate > = '2016-01-01' AND PurchaseDate < = '2016-12-31'; |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; male customer refers to Gender = 'M'; |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | brand of root beer refers to BrandName; lowest unit profit available to wholesalers refers to MIN(SUBTRACT(CurrentRetailPrice, WholesaleCost)); ID of the customer refers to CustomerID; highest number of purchases refers to MAX(COUNT(CustomerID)); |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | review content of "Tastes like Australia." refers to Review = 'Tastes like Australia.'; |
Please list the full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | 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 full names of the customers who have purchased at least one root beer produced by AJ Stephans Beverages. | 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'; | precise location = Latitude, Longitude; |
Please name all of the cities in California. | California refers to State = 'CA'; | Thomas Kemper refers to BrandName = 'Thomas Kemper'; latitude the beer is consumed the most refers to MAX(COUNT(Latitude)); |
Please name all of the cities in California. | California refers to State = 'CA'; | 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'; |
Please name all of the cities in California. | California refers to State = 'CA'; | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
Please name all of the cities in California. | California refers to State = 'CA'; | type of card refers to CreditCardType; |
Please name all of the cities in California. | California refers to State = 'CA'; | between 2015 to 2016 refers to TransactionDate > = '2015-01-01' AND TransactionDate < '2016-12-31'; |
Please name all of the cities in California. | California refers to State = 'CA'; | available in cans refers to AvailableInCans = 'TRUE'; contain corn syrup refers to CornSyrup = 'TRUE'; contain artificial sweeteners refers to ArtificialSweetener = 'TRUE'; |
Please name all of the cities in California. | California refers to State = 'CA'; | FALSE; |
Please name all of the cities in California. | California refers to State = 'CA'; | 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'; |
Please name all of the cities in California. | California refers to State = 'CA'; | 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'; |
Please name all of the cities in California. | California refers to State = 'CA'; | most 5 star ratings refers to MAX(COUNT(StarRating = 5)); name of the brewery refers to BreweryName; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | brand of root beer refers to BrandName; highly rated refers to MAX(COUNT(StarRating = 5)); |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | dates of purchase refers to TransactionDate; male customer refers to Gender = 'M'; purchased more than 3 root beers refers to COUNT(CustomerID) > 3; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | average cost = DIVIDE(SUM(PurchasePrice > 2), COUNT(RootBeerID) WHERE PurchasePrice > 2); more than 2 dollars refers to PurchasePrice > 2; in bottles refers to ContainerType = 'Bottle'; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | FALSE; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | in July, 2014 refers to SUBSTR(TransactionDate, 1, 4) = '2014' AND SUBSTR(TransactionDate, 6, 2) = '07'; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | bottle of beer refers to ContainerType = 'Bottle'; American Express refers to CreditCardType = 'American Express'; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | full name = First Last; first top 10 customers refers to MIN(FirstPurchaseDate) LIMIT 10; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | 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'; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | Sac State Union refers to LocationName = 'Sac State Union'; American Express credit card refers to CreditCardType = 'American Express'; in 2014 refers to TransactionDate LIKE '2014%'; |
What is the name of the brand of the beer with the shortest brewed history? | name of the brand of the beer refers to BrandName; shortest brewed history refers to MAX(FirstBrewedYear); | 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; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | email addresses refers to Email; Sacramento refers to City = 'Sacramento'; star rating of more than 3 refers to StarRating > 3; in 2014 refers to ReviewDate LIKE '2014%'; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | California refers to State = 'CA'; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | percentage difference = (DIVIDE(MULTIPLY(SUBTRACT(SUM(PurchasePrice WHERE BrandName = 'River City'), SUM(PurchasePrice WHERE BrandName = 'Frostie')), 100), SUM(PurchasePrice WHERE BrandName = 'Frostie'))); River City refers to BrandName = 'River City'; Frostie refers to BrandName = 'Frostie'; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | name of the root beer brand refers to BrandName; advertised on facebook refers to FacebookPage IS not NULL; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | brand of root beer refers to BrandName; lowest rating refers to MIN(StarRating); |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | 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; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | September 2014 refers to ReviewDate LIKE '2014-09%'; brand of beers refers to BrandName; highest star ratings refers to MAX(StarRating); |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | Sac State Union refers to LocationName = 'Sac State Union'; American Express credit card refers to CreditCardType = 'American Express'; in 2014 refers to TransactionDate LIKE '2014%'; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | AJ Stephans refers to BreweryName = 'AJ Stephans Beverages'; |
From which cities are the customers who gave 5 stars in their reviews in November 2012? | 5 stars refers to StarRating = 5; in November 2012 refers to ReviewDate LIKE '2012-11%'; | 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'; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.