db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
scientist_1
|
Find name of the project that needs the least amount of time to finish and the name of scientists who worked on it.
|
scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text)
|
scientists : name (text) , ssn (number) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number)
| 0 |
scientist_1
|
What is the name of the project that requires the fewest number of hours, and the names of the scientists assigned to it?
|
scientists : ssn (number) , name (text) | projects : code (text) , name (text) , hours (number) | assignedto : scientist (number) , project (text)
|
scientists : name (text) , ssn (number) | projects : name (text) , code (text) , hours (number) | assignedto : project (text) , scientist (number)
| 0 |
wine_1
|
What is the name of the highest rated wine?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number)
| 0.9 |
wine_1
|
Give the name of the wine with the highest score.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number)
| 0.9 |
wine_1
|
Which winery is the wine that has the highest score from?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text) , score (number)
| 0.9 |
wine_1
|
What is the winery at which the wine with the highest score was made?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text) , score (number)
| 0.9 |
wine_1
|
Find the names of all wines produced in 2008.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , year (number)
| 0.9 |
wine_1
|
What are the names of all wines produced in 2008?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , year (number)
| 0.9 |
wine_1
|
List the grapes and appelations of all wines.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text) , appelation (text)
| 0.9 |
wine_1
|
What are the grapes and appelations of each wine?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text) , appelation (text)
| 0.9 |
wine_1
|
List the names and scores of all wines.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number)
| 0.9 |
wine_1
|
What are the names and scores of all wines?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number)
| 0.9 |
wine_1
|
List the area and county of all appelations.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : area (text) , county (text)
| 0.9 |
wine_1
|
What are the areas and counties for all appelations?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : area (text) , county (text)
| 0.9 |
wine_1
|
What are the prices of wines produced before the year of 2010?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , year (number)
| 0.9 |
wine_1
|
Return the prices of wines produced before 2010.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , year (number)
| 0.9 |
wine_1
|
List the names of all distinct wines that have scores higher than 90.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number)
| 0.9 |
wine_1
|
What are the names of wines with scores higher than 90?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number)
| 0.9 |
wine_1
|
List the names of all distinct wines that are made of red color grape.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , grape (text) | grapes : grape (text) , color (text)
| 0.8 |
wine_1
|
What are the names of wines made from red grapes?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , grape (text) | grapes : grape (text) , color (text)
| 0.8 |
wine_1
|
Find the names of all distinct wines that have appellations in North Coast area.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , appelation (text) | appellations : appelation (text) , area (text)
| 0.8 |
wine_1
|
What are the distinct names of wines that have appellations in the North Coast area?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , appelation (text) | appellations : appelation (text) , area (text)
| 0.8 |
wine_1
|
How many wines are produced at Robert Biale winery?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text)
| 0.95 |
wine_1
|
Count the number of wines produced at Robert Biale winery.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text)
| 0.95 |
wine_1
|
How many appelations are in Napa Country?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : county (text) , no (number)
| 0.9 |
wine_1
|
Count the number of appelations in Napa County.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : county (text) , no (number)
| 0.9 |
wine_1
|
Give me the average prices of wines that are produced by appelations in Sonoma County.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , appelation (text) | appellations : appelation (text) , county (text)
| 0.8 |
wine_1
|
What is the average price of wines produced in appelations in Sonoma County?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , appelation (text) | appellations : appelation (text) , county (text)
| 0.8 |
wine_1
|
What are the names and scores of wines that are made of white color grapes?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number) , grape (text) | grapes : grape (text) , color (text)
| 0.75 |
wine_1
|
Give the names and scores of wines made from white grapes.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , score (number) , grape (text) | grapes : grape (text) , color (text)
| 0.75 |
wine_1
|
Find the maximum price of wins from the appelations in Central Coast area and produced before the year of 2005.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , appelation (text) , year (number) | appellations : appelation (text) , area (text)
| 0.75 |
wine_1
|
What is the maximum price of wines from the appelation in the Central Coast area, which was produced before 2005?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , appelation (text) , year (number) | appellations : appelation (text) , area (text)
| 0.75 |
wine_1
|
Find the the grape whose white color grapes are used to produce wines with scores higher than 90.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
grapes : grape (text) , color (text) | wine : grape (text) , score (number)
| 0.8 |
wine_1
|
Find the white grape used to produce wines with scores above 90.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
grapes : grape (text) , color (text) | wine : grape (text) , score (number)
| 0.8 |
wine_1
|
What are the wines that have prices higher than 50 and made of Red color grapes?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , grape (text) , price (number) | grapes : grape (text) , color (text)
| 0.75 |
wine_1
|
What are the names of wines made from red grapes and with prices above 50?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , grape (text) , price (number) | grapes : grape (text) , color (text)
| 0.75 |
wine_1
|
What are the wines that have prices lower than 50 and have appelations in Monterey county?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , appelation (text) , price (number) | appellations : appelation (text) , county (text)
| 0.75 |
wine_1
|
Give the neames of wines with prices below 50 and with appelations in Monterey county.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , appelation (text) , price (number) | appellations : appelation (text) , county (text)
| 0.75 |
wine_1
|
What are the numbers of wines for different grapes?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text)
| 0.95 |
wine_1
|
How many wines are there for each grape?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text)
| 0.95 |
wine_1
|
What are the average prices of wines for different years?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , year (number)
| 0.9 |
wine_1
|
What is the average prices of wines for each each?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , year (number)
| 0.9 |
wine_1
|
Find the distinct names of all wines that have prices higher than some wines from John Anthony winery.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , price (number) , winery (text)
| 0.85 |
wine_1
|
What are the distinct names of wines with prices higher than any wine from John Anthony winery.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , price (number) , winery (text)
| 0.85 |
wine_1
|
List the names of all distinct wines in alphabetical order.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text)
| 0.95 |
wine_1
|
What are the names of wines, sorted in alphabetical order?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text)
| 0.95 |
wine_1
|
List the names of all distinct wines ordered by price.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , price (number)
| 0.9 |
wine_1
|
What are the names of wines, sorted by price ascending?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , price (number)
| 0.9 |
wine_1
|
What is the area of the appelation that produces the highest number of wines before the year of 2010?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : area (text) , appelation (text) , no (number) | wine : appelation (text) , year (number)
| 0.75 |
wine_1
|
What is the area for the appelation which produced the most wines prior to 2010?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : area (text) , appelation (text) , no (number) | wine : appelation (text) , year (number)
| 0.75 |
wine_1
|
What is the color of the grape whose wine products has the highest average price?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
grapes : color (text) , grape (text) | wine : grape (text) , price (number)
| 0.8 |
wine_1
|
Give the color of the grape whose wine products have the highest average price?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
grapes : color (text) , grape (text) | wine : grape (text) , price (number)
| 0.8 |
wine_1
|
Find the distinct names of wines produced before the year of 2000 or after the year of 2010.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , year (number)
| 0.9 |
wine_1
|
Give the distinct names of wines made before 2000 or after 2010.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , year (number)
| 0.9 |
wine_1
|
Find the distinct winery of wines having price between 50 and 100.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text) , price (number)
| 0.9 |
wine_1
|
What are the distinct wineries which produce wines costing between 50 and 100?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text) , price (number)
| 0.9 |
wine_1
|
What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , cases (number) , year (number) , grape (text)
| 0.8 |
wine_1
|
Give the average price and case of wines made from Zinfandel grapes in the year 2009.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , cases (number) , year (number) , grape (text)
| 0.8 |
wine_1
|
What are the maximum price and score of wines produced by St. Helena appelation?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , score (number) , appelation (text)
| 0.85 |
wine_1
|
Give the maximum price and score for wines produced in the appelation St. Helena.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , score (number) , appelation (text)
| 0.85 |
wine_1
|
What are the maximum price and score of wines in each year?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , score (number) , year (number)
| 0.85 |
wine_1
|
What are the maximum price and score of wines for each year?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , score (number) , year (number)
| 0.85 |
wine_1
|
What are the average price and score of wines grouped by appelation?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , score (number) , appelation (text)
| 0.85 |
wine_1
|
What are the average price and score of wines for each appelation?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , score (number) , appelation (text)
| 0.85 |
wine_1
|
Find the wineries that have at least four wines.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text)
| 0.95 |
wine_1
|
Which wineries produce at least four wines?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text)
| 0.95 |
wine_1
|
Find the country of all appelations who have at most three wines.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : county (text) , appelation (text) , no (number) | wine : appelation (text)
| 0.8 |
wine_1
|
What are the countries for appelations with at most 3 wines?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : county (text) , appelation (text) , no (number) | wine : appelation (text)
| 0.8 |
wine_1
|
What are the names of wines whose production year are before the year of all wines by Brander winery?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , year (number) , winery (text)
| 0.85 |
wine_1
|
What are the names of wines produced before any wine from the Brander winery?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , year (number) , winery (text)
| 0.85 |
wine_1
|
What are the names of wines that are more expensive then all wines made in the year 2006?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , price (number) , year (number)
| 0.85 |
wine_1
|
Give the names of wines with prices above any wine produced in 2006.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : name (text) , price (number) , year (number)
| 0.85 |
wine_1
|
Find the top 3 wineries with the greatest number of wines made of white color grapes.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text) , grape (text) | grapes : grape (text) , color (text) , id (number)
| 0.75 |
wine_1
|
Which 3 wineries produce the most wines made from white grapes?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : winery (text) , grape (text) | grapes : grape (text) , color (text) , id (number)
| 0.75 |
wine_1
|
List the grape, winery and year of the wines whose price is bigger than 100 ordered by year.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text) , winery (text) , year (number) , price (number)
| 0.8 |
wine_1
|
What are the grapes, wineries and years for wines with price higher than 100, sorted by year?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text) , winery (text) , year (number) , price (number)
| 0.8 |
wine_1
|
List the grape, appelation and name of wines whose score is higher than 93 ordered by Name.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text) , appelation (text) , name (text) , score (number)
| 0.8 |
wine_1
|
What are the grapes, appelations, and wines with scores above 93, sorted by Name?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : grape (text) , appelation (text) , name (text) , score (number)
| 0.8 |
wine_1
|
Find the appelations that produce wines after the year of 2008 but not in Central Coast area.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : appelation (text) , area (text) | wine : appelation (text) , year (number)
| 0.8 |
wine_1
|
What are the appelations for wines produced after 2008 but not in the Central Coast area?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : appelation (text) , area (text) | wine : appelation (text) , year (number)
| 0.8 |
wine_1
|
Find the average price of wines that are not produced from Sonoma county.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , appelation (text) | appellations : appelation (text) , county (text)
| 0.8 |
wine_1
|
What is the average price for wines not produced in Sonoma county?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
wine : price (number) , appelation (text) | appellations : appelation (text) , county (text)
| 0.8 |
wine_1
|
Find the county where produces the most number of wines with score higher than 90.
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : county (text) , appelation (text) , no (number) | wine : appelation (text) , score (number)
| 0.75 |
wine_1
|
What is the county that produces the most wines scoring higher than 90?
|
grapes : id (number) , grape (text) , color (text) | appellations : no (number) , appelation (text) , county (text) , state (text) , area (text) , isava (text) | wine : no (number) , grape (text) , winery (text) , appelation (text) , state (text) , name (text) , year (number) , price (number) , score (number) , cases (number) , drink (text)
|
appellations : county (text) , appelation (text) , no (number) | wine : appelation (text) , score (number)
| 0.75 |
train_station
|
How many train stations are there?
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : station_id (number)
| 0.928571 |
train_station
|
Show the name, location, and number of platforms for all stations.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : name (text) , location (text) , number_of_platforms (number)
| 0.785714 |
train_station
|
What are all locations of train stations?
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : location (text)
| 0.928571 |
train_station
|
Show the names and total passengers for all train stations not in London.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : name (text) , total_passengers (number) , location (text)
| 0.785714 |
train_station
|
Show the names and main services for train stations that have the top three total number of passengers.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : name (text) , main_services (text) , total_passengers (number)
| 0.785714 |
train_station
|
What is the average and maximum number of total passengers for train stations in London or Glasgow?
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : total_passengers (number) , location (text)
| 0.857143 |
train_station
|
Show all locations and the total number of platforms and passengers for all train stations in each location.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : location (text) , number_of_platforms (number) , total_passengers (number)
| 0.785714 |
train_station
|
Show all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : location (text) , number_of_platforms (number) , total_passengers (number)
| 0.785714 |
train_station
|
Show all locations which don't have a train station with at least 15 platforms.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : location (text) , number_of_platforms (number)
| 0.857143 |
train_station
|
Show the location with most number of train stations.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : location (text) , station_id (number)
| 0.857143 |
train_station
|
Show the name, time, and service for all trains.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
train : name (text) , time (text) , service (text)
| 0.785714 |
train_station
|
Show the number of trains
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
train : train_id (number)
| 0.928571 |
train_station
|
Show the name and service for all trains in order by time.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
train : name (text) , service (text) , time (text)
| 0.785714 |
train_station
|
Show the station name and number of trains in each station.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : name (text) , station_id (number) | train_station : station_id (number) , train_id (number)
| 0.714286 |
train_station
|
show the train name and station name for each train.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : name (text) , station_id (number) | train : name (text) , train_id (number) | train_station : station_id (number) , train_id (number)
| 0.571429 |
train_station
|
Show all train names and times in stations in London in descending order by train time.
|
station : station_id (number) , name (text) , annual_entry_exit (number) , annual_interchanges (number) , total_passengers (number) , location (text) , main_services (text) , number_of_platforms (number) | train : train_id (number) , name (text) , time (text) , service (text) | train_station : train_id (number) , station_id (number)
|
station : name (text) , station_id (number) , location (text) | train : name (text) , time (text) , train_id (number) | train_station : station_id (number) , train_id (number)
| 0.428571 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.