text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
How many seasons has UPS sponsored a car with a number larger than 17?
### CONTEXT
CREATE TABLE table_name_9 (season VARCHAR, car__number VARCHAR, sponsor VARCHAR)
### ANSWER
SELECT COUNT(season) FROM table_name_9 WHERE car__number > 17 AND sponsor = "ups" | {
"answer": "SELECT COUNT(season) FROM table_name_9 WHERE car__number > 17 AND sponsor = \"ups\"",
"context": "CREATE TABLE table_name_9 (season VARCHAR, car__number VARCHAR, sponsor VARCHAR)",
"question": "How many seasons has UPS sponsored a car with a number larger than 17?"
} |
### QUESTION
What was the recorded flaps of HBR Motorsport team?
### CONTEXT
CREATE TABLE table_25369796_1 (f_laps VARCHAR, team VARCHAR)
### ANSWER
SELECT f_laps FROM table_25369796_1 WHERE team = "HBR Motorsport" | {
"answer": "SELECT f_laps FROM table_25369796_1 WHERE team = \"HBR Motorsport\"",
"context": "CREATE TABLE table_25369796_1 (f_laps VARCHAR, team VARCHAR)",
"question": "What was the recorded flaps of HBR Motorsport team?"
} |
### QUESTION
What is the venue of the game that was played on 23 October 1966?
### CONTEXT
CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR)
### ANSWER
SELECT venue FROM table_name_41 WHERE date = "23 october 1966" | {
"answer": "SELECT venue FROM table_name_41 WHERE date = \"23 october 1966\"",
"context": "CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR)",
"question": "What is the venue of the game that was played on 23 October 1966?"
} |
### QUESTION
Which Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii?
### CONTEXT
CREATE TABLE table_name_15 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR)
### ANSWER
SELECT schwaben FROM table_name_15 WHERE oberbayern = "fc bayern munich ii" AND mittelfranken = "1. fc nuremberg ii" | {
"answer": "SELECT schwaben FROM table_name_15 WHERE oberbayern = \"fc bayern munich ii\" AND mittelfranken = \"1. fc nuremberg ii\"",
"context": "CREATE TABLE table_name_15 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR)",
"question": "Which Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii?"
} |
### QUESTION
What is the genre of the Chinese title 摸摸瓦力欧制造, which has a single-player game mode?
### CONTEXT
CREATE TABLE table_name_17 (genre VARCHAR, game_modes VARCHAR, chinese_title VARCHAR)
### ANSWER
SELECT genre FROM table_name_17 WHERE game_modes = "single-player" AND chinese_title = "摸摸瓦力欧制造" | {
"answer": "SELECT genre FROM table_name_17 WHERE game_modes = \"single-player\" AND chinese_title = \"摸摸瓦力欧制造\"",
"context": "CREATE TABLE table_name_17 (genre VARCHAR, game_modes VARCHAR, chinese_title VARCHAR)",
"question": "What is the genre of the Chinese title 摸摸瓦力欧制造, which has a single-player game mode?"
} |
### QUESTION
Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?
### CONTEXT
CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### ANSWER
SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational" | {
"answer": "SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = \"1 stroke\" AND tournament = \"world seniors invitational\"",
"context": "CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)",
"question": "Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?"
} |
### QUESTION
How many losses does Toronto Downtown Dingos have?
### CONTEXT
CREATE TABLE table_26200568_16 (losses VARCHAR, club VARCHAR)
### ANSWER
SELECT losses FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos" | {
"answer": "SELECT losses FROM table_26200568_16 WHERE club = \"Toronto Downtown Dingos\"",
"context": "CREATE TABLE table_26200568_16 (losses VARCHAR, club VARCHAR)",
"question": "How many losses does Toronto Downtown Dingos have?"
} |
### QUESTION
Name the report for circuit of kyalami for south african republic trophy
### CONTEXT
CREATE TABLE table_name_8 (report VARCHAR, circuit VARCHAR, race_name VARCHAR)
### ANSWER
SELECT report FROM table_name_8 WHERE circuit = "kyalami" AND race_name = "south african republic trophy" | {
"answer": "SELECT report FROM table_name_8 WHERE circuit = \"kyalami\" AND race_name = \"south african republic trophy\"",
"context": "CREATE TABLE table_name_8 (report VARCHAR, circuit VARCHAR, race_name VARCHAR)",
"question": "Name the report for circuit of kyalami for south african republic trophy"
} |
### QUESTION
Name the incumbent for virginia 18
### CONTEXT
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)
### ANSWER
SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 18" | {
"answer": "SELECT incumbent FROM table_2668387_18 WHERE district = \"Virginia 18\"",
"context": "CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)",
"question": "Name the incumbent for virginia 18"
} |
### QUESTION
What was the away team score at Hawthorn's home game?
### CONTEXT
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_28 WHERE home_team = "hawthorn" | {
"answer": "SELECT away_team AS score FROM table_name_28 WHERE home_team = \"hawthorn\"",
"context": "CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)",
"question": "What was the away team score at Hawthorn's home game?"
} |
### QUESTION
What are the names and types of the companies that have ever operated a flight?
### CONTEXT
CREATE TABLE operate_company (name VARCHAR, type VARCHAR, id VARCHAR); CREATE TABLE flight (Id VARCHAR)
### ANSWER
SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id | {
"answer": "SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id",
"context": "CREATE TABLE operate_company (name VARCHAR, type VARCHAR, id VARCHAR); CREATE TABLE flight (Id VARCHAR)",
"question": "What are the names and types of the companies that have ever operated a flight?"
} |
### QUESTION
What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?
### CONTEXT
CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
### ANSWER
SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id = T3.id WHERE T3.name = 'CProxy' AND T2.compatible_since_year > 1998 | {
"answer": "SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id = T3.id WHERE T3.name = 'CProxy' AND T2.compatible_since_year > 1998",
"context": "CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)",
"question": "What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?"
} |
### QUESTION
How many production codes were there for the episode that aired on November 15?
### CONTEXT
CREATE TABLE table_25691838_11 (production_code VARCHAR, original_airdate VARCHAR)
### ANSWER
SELECT COUNT(production_code) FROM table_25691838_11 WHERE original_airdate = "November 15" | {
"answer": "SELECT COUNT(production_code) FROM table_25691838_11 WHERE original_airdate = \"November 15\"",
"context": "CREATE TABLE table_25691838_11 (production_code VARCHAR, original_airdate VARCHAR)",
"question": "How many production codes were there for the episode that aired on November 15?"
} |
### QUESTION
Name the artist of 2 draw
### CONTEXT
CREATE TABLE table_14977252_2 (artist VARCHAR, draw VARCHAR)
### ANSWER
SELECT artist FROM table_14977252_2 WHERE draw = 2 | {
"answer": "SELECT artist FROM table_14977252_2 WHERE draw = 2",
"context": "CREATE TABLE table_14977252_2 (artist VARCHAR, draw VARCHAR)",
"question": "Name the artist of 2 draw"
} |
### QUESTION
What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645?
### CONTEXT
CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR)
### ANSWER
SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 7 | {
"answer": "SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = \"asphalt\" AND length__m_ > 645 AND name = \"berendries\" AND average_climb___percentage_ < 7",
"context": "CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR)",
"question": "What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645?"
} |
### QUESTION
What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16?
### CONTEXT
CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR)
### ANSWER
SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16 | {
"answer": "SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = \"18.8%\" AND bbc_one_weekly_ranking < 16",
"context": "CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR)",
"question": "What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16?"
} |
### QUESTION
What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?
### CONTEXT
CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_10592536_8 WHERE date_of_appointment = "28 November 2007" AND replaced_by = "Alex McLeish" | {
"answer": "SELECT date_of_vacancy FROM table_10592536_8 WHERE date_of_appointment = \"28 November 2007\" AND replaced_by = \"Alex McLeish\"",
"context": "CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, replaced_by VARCHAR)",
"question": "What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?"
} |
### QUESTION
Name the duration for vladimir vasyutin , alexander volkov
### CONTEXT
CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR)
### ANSWER
SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov" | {
"answer": "SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = \"Vladimir Vasyutin , Alexander Volkov\"",
"context": "CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR)",
"question": "Name the duration for vladimir vasyutin , alexander volkov"
} |
### QUESTION
What is the name and country for the artist with most number of exhibitions?
### CONTEXT
CREATE TABLE exhibition (artist_id VARCHAR); CREATE TABLE artist (name VARCHAR, country VARCHAR, artist_id VARCHAR)
### ANSWER
SELECT T2.name, T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.name, T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE exhibition (artist_id VARCHAR); CREATE TABLE artist (name VARCHAR, country VARCHAR, artist_id VARCHAR)",
"question": "What is the name and country for the artist with most number of exhibitions?"
} |
### QUESTION
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern?
### CONTEXT
CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR)
### ANSWER
SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern" | {
"answer": "SELECT MAX(points) FROM table_name_32 WHERE nationality = \"aut\" AND name = \"thomas morgenstern\"",
"context": "CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR)",
"question": "Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern?"
} |
### QUESTION
What's the CO2 g/km of a Fiat running on diesel with the L/100km urban more than 6.3 and an mpg-UK combined of 43.5?
### CONTEXT
CREATE TABLE table_name_20 (co_2_g_km VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, fuel_type VARCHAR, manufacturer VARCHAR)
### ANSWER
SELECT COUNT(co_2_g_km) FROM table_name_20 WHERE fuel_type = "diesel" AND manufacturer = "fiat" AND l_100km_urban__cold_ > 6.3 AND mpg_uk_combined = 43.5 | {
"answer": "SELECT COUNT(co_2_g_km) FROM table_name_20 WHERE fuel_type = \"diesel\" AND manufacturer = \"fiat\" AND l_100km_urban__cold_ > 6.3 AND mpg_uk_combined = 43.5",
"context": "CREATE TABLE table_name_20 (co_2_g_km VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, fuel_type VARCHAR, manufacturer VARCHAR)",
"question": "What's the CO2 g/km of a Fiat running on diesel with the L/100km urban more than 6.3 and an mpg-UK combined of 43.5?"
} |
### QUESTION
What was the theme during the week # of top 24 (12 men)
### CONTEXT
CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)
### ANSWER
SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)" | {
"answer": "SELECT theme FROM table_name_73 WHERE week__number = \"top 24 (12 men)\"",
"context": "CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)",
"question": "What was the theme during the week # of top 24 (12 men)"
} |
### QUESTION
Find the title, credit, and department name of courses that have more than one prerequisites?
### CONTEXT
CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, credits VARCHAR, dept_name VARCHAR, course_id VARCHAR)
### ANSWER
SELECT T1.title, T1.credits, T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) > 1 | {
"answer": "SELECT T1.title, T1.credits, T1.dept_name FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING COUNT(*) > 1",
"context": "CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (title VARCHAR, credits VARCHAR, dept_name VARCHAR, course_id VARCHAR)",
"question": "Find the title, credit, and department name of courses that have more than one prerequisites?"
} |
### QUESTION
Which team had a final stage when Claudio Chiappucci had the points?
### CONTEXT
CREATE TABLE table_name_23 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT trofeo_fast_team FROM table_name_23 WHERE points_classification = "claudio chiappucci" AND stage = "final" | {
"answer": "SELECT trofeo_fast_team FROM table_name_23 WHERE points_classification = \"claudio chiappucci\" AND stage = \"final\"",
"context": "CREATE TABLE table_name_23 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)",
"question": "Which team had a final stage when Claudio Chiappucci had the points?"
} |
### QUESTION
What director directed the role of shelby barret wyatt in 1935?
### CONTEXT
CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)
### ANSWER
SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt" | {
"answer": "SELECT director FROM table_name_14 WHERE year = 1935 AND role = \"shelby barret wyatt\"",
"context": "CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)",
"question": "What director directed the role of shelby barret wyatt in 1935?"
} |
### QUESTION
What's the value for race 4 when race 3 is dns and race 2 is 27?
### CONTEXT
CREATE TABLE table_name_55 (race_4 VARCHAR, race_3 VARCHAR, race_2 VARCHAR)
### ANSWER
SELECT race_4 FROM table_name_55 WHERE race_3 = "dns" AND race_2 = "27" | {
"answer": "SELECT race_4 FROM table_name_55 WHERE race_3 = \"dns\" AND race_2 = \"27\"",
"context": "CREATE TABLE table_name_55 (race_4 VARCHAR, race_3 VARCHAR, race_2 VARCHAR)",
"question": "What's the value for race 4 when race 3 is dns and race 2 is 27?"
} |
### QUESTION
Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top.
### CONTEXT
CREATE TABLE artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER)
### ANSWER
SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top > 2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top < 2 | {
"answer": "SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top > 2 INTERSECT SELECT T1.Famous_Title FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T2.Weeks_on_Top < 2",
"context": "CREATE TABLE artist (Famous_Title VARCHAR, Artist_ID VARCHAR); CREATE TABLE volume (Artist_ID VARCHAR, Weeks_on_Top INTEGER)",
"question": "Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top."
} |
### QUESTION
how many first elected with incumbent being charles edward bennett
### CONTEXT
CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = "Charles Edward Bennett" | {
"answer": "SELECT COUNT(first_elected) FROM table_1342013_9 WHERE incumbent = \"Charles Edward Bennett\"",
"context": "CREATE TABLE table_1342013_9 (first_elected VARCHAR, incumbent VARCHAR)",
"question": " how many first elected with incumbent being charles edward bennett"
} |
### QUESTION
What are the countries in which the agricultural use (m 3 /p/yr)(in %) is 2040(93%)?
### CONTEXT
CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
### ANSWER
SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "2040(93%)" | {
"answer": "SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = \"2040(93%)\"",
"context": "CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)",
"question": "What are the countries in which the agricultural use (m 3 /p/yr)(in %) is 2040(93%)?"
} |
### QUESTION
What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
### CONTEXT
CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
### ANSWER
SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 2 | {
"answer": "SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = \"maryland-eastern shore\" AND round < 2",
"context": "CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)",
"question": "What is the pick for the Maryland-Eastern Shore team with a round lower than 2?"
} |
### QUESTION
Show the names of countries that have more than one roller coaster.
### CONTEXT
CREATE TABLE roller_coaster (Country_ID VARCHAR); CREATE TABLE country (Name VARCHAR, Country_ID VARCHAR)
### ANSWER
SELECT T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name HAVING COUNT(*) > 1 | {
"answer": "SELECT T1.Name FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name HAVING COUNT(*) > 1",
"context": "CREATE TABLE roller_coaster (Country_ID VARCHAR); CREATE TABLE country (Name VARCHAR, Country_ID VARCHAR)",
"question": "Show the names of countries that have more than one roller coaster."
} |
### QUESTION
What is the score of the match at happy valley recreation ground pitch #2 with a 14:30 time?
### CONTEXT
CREATE TABLE table_name_93 (score VARCHAR, time VARCHAR, venue VARCHAR)
### ANSWER
SELECT score FROM table_name_93 WHERE time = "14:30" AND venue = "happy valley recreation ground pitch #2" | {
"answer": "SELECT score FROM table_name_93 WHERE time = \"14:30\" AND venue = \"happy valley recreation ground pitch #2\"",
"context": "CREATE TABLE table_name_93 (score VARCHAR, time VARCHAR, venue VARCHAR)",
"question": "What is the score of the match at happy valley recreation ground pitch #2 with a 14:30 time?"
} |
### QUESTION
When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length?
### CONTEXT
CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR)
### ANSWER
SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = "David Ashburn Richard Westbrook" | {
"answer": "SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = \"David Ashburn Richard Westbrook\"",
"context": "CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR)",
"question": "When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length?"
} |
### QUESTION
Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5
### CONTEXT
CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR)
### ANSWER
SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)" | {
"answer": "SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = \"36 (psip) 36 (uhf)\"",
"context": "CREATE TABLE table_name_3 (city_of_license VARCHAR, channels_tv___rf VARCHAR)",
"question": "Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5"
} |
### QUESTION
Which Score has a Opponent of Boston red sox and a Save of sager?
### CONTEXT
CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR, save VARCHAR)
### ANSWER
SELECT score FROM table_name_8 WHERE opponent = "boston red sox" AND save = "sager" | {
"answer": "SELECT score FROM table_name_8 WHERE opponent = \"boston red sox\" AND save = \"sager\"",
"context": "CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR, save VARCHAR)",
"question": "Which Score has a Opponent of Boston red sox and a Save of sager?"
} |
### QUESTION
What date was the Monsanto open located in Florida?
### CONTEXT
CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR)
### ANSWER
SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open" | {
"answer": "SELECT date FROM table_name_58 WHERE location = \"florida\" AND tournament = \"monsanto open\"",
"context": "CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR)",
"question": "What date was the Monsanto open located in Florida?"
} |
### QUESTION
What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06?
### CONTEXT
CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_06 VARCHAR)
### ANSWER
SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_06 = 3821 | {
"answer": "SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_06 = 3821",
"context": "CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_06 VARCHAR)",
"question": "What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06?"
} |
### QUESTION
What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184?
### CONTEXT
CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR)
### ANSWER
SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184 | {
"answer": "SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = \"21352022\" AND population > 184",
"context": "CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR)",
"question": "What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184?"
} |
### QUESTION
Who is the runner(s)-up for the Lady Carling Open with 3 strokes margin of victory?
### CONTEXT
CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### ANSWER
SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "3 strokes" AND tournament = "lady carling open" | {
"answer": "SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = \"3 strokes\" AND tournament = \"lady carling open\"",
"context": "CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)",
"question": "Who is the runner(s)-up for the Lady Carling Open with 3 strokes margin of victory?"
} |
### QUESTION
What females have males of 1 234?
### CONTEXT
CREATE TABLE table_name_21 (females VARCHAR, males VARCHAR)
### ANSWER
SELECT females FROM table_name_21 WHERE males = "1 234" | {
"answer": "SELECT females FROM table_name_21 WHERE males = \"1 234\"",
"context": "CREATE TABLE table_name_21 (females VARCHAR, males VARCHAR)",
"question": "What females have males of 1 234?"
} |
### QUESTION
What are all the languages for tsotsi?
### CONTEXT
CREATE TABLE table_13700749_1 (language_s_ VARCHAR, film_title VARCHAR)
### ANSWER
SELECT language_s_ FROM table_13700749_1 WHERE film_title = "Tsotsi" | {
"answer": "SELECT language_s_ FROM table_13700749_1 WHERE film_title = \"Tsotsi\"",
"context": "CREATE TABLE table_13700749_1 (language_s_ VARCHAR, film_title VARCHAR)",
"question": "What are all the languages for tsotsi?"
} |
### QUESTION
Nam the opponent for prudential center
### CONTEXT
CREATE TABLE table_16864968_9 (opponent VARCHAR, location VARCHAR)
### ANSWER
SELECT opponent FROM table_16864968_9 WHERE location = "Prudential Center" | {
"answer": "SELECT opponent FROM table_16864968_9 WHERE location = \"Prudential Center\"",
"context": "CREATE TABLE table_16864968_9 (opponent VARCHAR, location VARCHAR)",
"question": "Nam the opponent for prudential center"
} |
### QUESTION
Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132?
### CONTEXT
CREATE TABLE table_name_97 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_97 WHERE pick__number > 10 AND position = "tight end" AND overall < 132 | {
"answer": "SELECT MIN(round) FROM table_name_97 WHERE pick__number > 10 AND position = \"tight end\" AND overall < 132",
"context": "CREATE TABLE table_name_97 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)",
"question": "Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132?"
} |
### QUESTION
Which country has a to par of +2 for Bernhard Langer?
### CONTEXT
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### ANSWER
SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard langer" | {
"answer": "SELECT country FROM table_name_3 WHERE to_par = \"+2\" AND player = \"bernhard langer\"",
"context": "CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)",
"question": "Which country has a to par of +2 for Bernhard Langer?"
} |
### QUESTION
When дероње is the cyrillic name other names what is the largest ethnic group of 2002?
### CONTEXT
CREATE TABLE table_2562572_25 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
### ANSWER
SELECT largest_ethnic_group__2002_ FROM table_2562572_25 WHERE cyrillic_name_other_names = "Дероње" | {
"answer": "SELECT largest_ethnic_group__2002_ FROM table_2562572_25 WHERE cyrillic_name_other_names = \"Дероње\"",
"context": "CREATE TABLE table_2562572_25 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)",
"question": "When дероње is the cyrillic name other names what is the largest ethnic group of 2002?"
} |
### QUESTION
What did they do in the game when their record was 3-2-1?
### CONTEXT
CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR)
### ANSWER
SELECT result FROM table_21058823_1 WHERE record = "3-2-1" | {
"answer": "SELECT result FROM table_21058823_1 WHERE record = \"3-2-1\"",
"context": "CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR)",
"question": "What did they do in the game when their record was 3-2-1?"
} |
### QUESTION
List the name of playlist which has number of tracks greater than 100.
### CONTEXT
CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR); CREATE TABLE playlists (name VARCHAR, id VARCHAR)
### ANSWER
SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING COUNT(T1.track_id) > 100 | {
"answer": "SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING COUNT(T1.track_id) > 100",
"context": "CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR); CREATE TABLE playlists (name VARCHAR, id VARCHAR)",
"question": "List the name of playlist which has number of tracks greater than 100."
} |
### QUESTION
What general classification has david de la fuente as mountains classification, and thor hushovd as points classification?
### CONTEXT
CREATE TABLE table_name_45 (general_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT general_classification FROM table_name_45 WHERE mountains_classification = "david de la fuente" AND points_classification = "thor hushovd" | {
"answer": "SELECT general_classification FROM table_name_45 WHERE mountains_classification = \"david de la fuente\" AND points_classification = \"thor hushovd\"",
"context": "CREATE TABLE table_name_45 (general_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)",
"question": "What general classification has david de la fuente as mountains classification, and thor hushovd as points classification?"
} |
### QUESTION
What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330?
### CONTEXT
CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR)
### ANSWER
SELECT release_price___usd__ FROM table_name_32 WHERE model_number = "pentium dual-core t2330" | {
"answer": "SELECT release_price___usd__ FROM table_name_32 WHERE model_number = \"pentium dual-core t2330\"",
"context": "CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR)",
"question": "What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330?"
} |
### QUESTION
Name the difference for when drawn is larger than 2.0
### CONTEXT
CREATE TABLE table_15400878_1 (difference VARCHAR, drawn INTEGER)
### ANSWER
SELECT difference FROM table_15400878_1 WHERE drawn > 2.0 | {
"answer": "SELECT difference FROM table_15400878_1 WHERE drawn > 2.0",
"context": "CREATE TABLE table_15400878_1 (difference VARCHAR, drawn INTEGER)",
"question": "Name the difference for when drawn is larger than 2.0"
} |
### QUESTION
Which party experienced a result of lost re-election democratic-republican hold?
### CONTEXT
CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)
### ANSWER
SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold" | {
"answer": "SELECT party FROM table_2668352_16 WHERE result = \"Lost re-election Democratic-Republican hold\"",
"context": "CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)",
"question": "Which party experienced a result of lost re-election democratic-republican hold?"
} |
### QUESTION
Which City has 600kw 500kw ERP ?
### CONTEXT
CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR)
### ANSWER
SELECT city FROM table_name_86 WHERE erp__analog__digital_ = "600kw 500kw" | {
"answer": "SELECT city FROM table_name_86 WHERE erp__analog__digital_ = \"600kw 500kw\"",
"context": "CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR)",
"question": "Which City has 600kw 500kw ERP ?"
} |
### QUESTION
who is the the judges with local title being x factor and presenters being heikki paasonen jukka rossi (xtra factor)
### CONTEXT
CREATE TABLE table_13779832_1 (judges VARCHAR, local_title VARCHAR, presenters VARCHAR)
### ANSWER
SELECT judges FROM table_13779832_1 WHERE local_title = "X Factor" AND presenters = "Heikki Paasonen Jukka Rossi (Xtra Factor)" | {
"answer": "SELECT judges FROM table_13779832_1 WHERE local_title = \"X Factor\" AND presenters = \"Heikki Paasonen Jukka Rossi (Xtra Factor)\"",
"context": "CREATE TABLE table_13779832_1 (judges VARCHAR, local_title VARCHAR, presenters VARCHAR)",
"question": "who is the the judges with local title being x factor and presenters being heikki paasonen jukka rossi (xtra factor)"
} |
### QUESTION
What Country has the Play The Libation Bearers a Base of Mecklenburg?
### CONTEXT
CREATE TABLE table_name_52 (country VARCHAR, base VARCHAR, play VARCHAR)
### ANSWER
SELECT country FROM table_name_52 WHERE base = "mecklenburg" AND play = "the libation bearers" | {
"answer": "SELECT country FROM table_name_52 WHERE base = \"mecklenburg\" AND play = \"the libation bearers\"",
"context": "CREATE TABLE table_name_52 (country VARCHAR, base VARCHAR, play VARCHAR)",
"question": "What Country has the Play The Libation Bearers a Base of Mecklenburg?"
} |
### QUESTION
Show the first and last name of all the faculty members who participated in some activity, together with the number of activities they participated in.
### CONTEXT
CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR, facID VARCHAR)
### ANSWER
SELECT T1.fname, T1.lname, COUNT(*), T1.FacID FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID GROUP BY T1.FacID | {
"answer": "SELECT T1.fname, T1.lname, COUNT(*), T1.FacID FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID GROUP BY T1.FacID",
"context": "CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR, facID VARCHAR)",
"question": "Show the first and last name of all the faculty members who participated in some activity, together with the number of activities they participated in."
} |
### QUESTION
Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold?
### CONTEXT
CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR)
### ANSWER
SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = "bulgaria" AND bronze < 0 | {
"answer": "SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = \"bulgaria\" AND bronze < 0",
"context": "CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR)",
"question": "Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold?"
} |
### QUESTION
Show names and seatings, ordered by seating for all tracks opened after 2000.
### CONTEXT
CREATE TABLE track (name VARCHAR, seating VARCHAR, year_opened INTEGER)
### ANSWER
SELECT name, seating FROM track WHERE year_opened > 2000 ORDER BY seating | {
"answer": "SELECT name, seating FROM track WHERE year_opened > 2000 ORDER BY seating",
"context": "CREATE TABLE track (name VARCHAR, seating VARCHAR, year_opened INTEGER)",
"question": "Show names and seatings, ordered by seating for all tracks opened after 2000."
} |
### QUESTION
What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award?
### CONTEXT
CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_54 WHERE nominated_work = "the mineola twins" AND category = "outstanding actress in a play" AND award = "drama desk award" | {
"answer": "SELECT MAX(year) FROM table_name_54 WHERE nominated_work = \"the mineola twins\" AND category = \"outstanding actress in a play\" AND award = \"drama desk award\"",
"context": "CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR)",
"question": "What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award?"
} |
### QUESTION
What set 2 has 15:33 as the time?
### CONTEXT
CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR)
### ANSWER
SELECT set_2 FROM table_name_14 WHERE time = "15:33" | {
"answer": "SELECT set_2 FROM table_name_14 WHERE time = \"15:33\"",
"context": "CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR)",
"question": "What set 2 has 15:33 as the time?"
} |
### QUESTION
What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference?
### CONTEXT
CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR)
### ANSWER
SELECT previous_conference FROM table_name_88 WHERE conference_joined = "indiana lake shore" AND mascot = "governors" | {
"answer": "SELECT previous_conference FROM table_name_88 WHERE conference_joined = \"indiana lake shore\" AND mascot = \"governors\"",
"context": "CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR)",
"question": "What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference?"
} |
### QUESTION
Name the density for pennsbury village
### CONTEXT
CREATE TABLE table_22916979_5 (density VARCHAR, densest_incorporated_place VARCHAR)
### ANSWER
SELECT density FROM table_22916979_5 WHERE densest_incorporated_place = "Pennsbury Village" | {
"answer": "SELECT density FROM table_22916979_5 WHERE densest_incorporated_place = \"Pennsbury Village\"",
"context": "CREATE TABLE table_22916979_5 (density VARCHAR, densest_incorporated_place VARCHAR)",
"question": "Name the density for pennsbury village"
} |
### QUESTION
Who is the opponent for the winner outcome on a hard surface on August 27, 2011?
### CONTEXT
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)
### ANSWER
SELECT opponent FROM table_name_6 WHERE outcome = "winner" AND surface = "hard" AND date = "august 27, 2011" | {
"answer": "SELECT opponent FROM table_name_6 WHERE outcome = \"winner\" AND surface = \"hard\" AND date = \"august 27, 2011\"",
"context": "CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)",
"question": "Who is the opponent for the winner outcome on a hard surface on August 27, 2011?"
} |
### QUESTION
When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target?
### CONTEXT
CREATE TABLE table_18933037_3 (mission_target VARCHAR, cause_of_loss VARCHAR)
### ANSWER
SELECT mission_target FROM table_18933037_3 WHERE cause_of_loss = "Hit by SAM at 38,500 feet just after bomb release" | {
"answer": "SELECT mission_target FROM table_18933037_3 WHERE cause_of_loss = \"Hit by SAM at 38,500 feet just after bomb release\"",
"context": "CREATE TABLE table_18933037_3 (mission_target VARCHAR, cause_of_loss VARCHAR)",
"question": "When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target?"
} |
### QUESTION
Which organisation type hires most research staff?
### CONTEXT
CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)
### ANSWER
SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)",
"question": "Which organisation type hires most research staff?"
} |
### QUESTION
What was the score when Mark parterned with lorenzo manta?
### CONTEXT
CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)
### ANSWER
SELECT score FROM table_name_19 WHERE partner = "lorenzo manta" | {
"answer": "SELECT score FROM table_name_19 WHERE partner = \"lorenzo manta\"",
"context": "CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)",
"question": "What was the score when Mark parterned with lorenzo manta?"
} |
### QUESTION
Which streak before game 12 had a team points larger than 113 on November 16?
### CONTEXT
CREATE TABLE table_name_88 (streak VARCHAR, date VARCHAR, team_points VARCHAR, game VARCHAR)
### ANSWER
SELECT streak FROM table_name_88 WHERE team_points > 113 AND game < 12 AND date = "november 16" | {
"answer": "SELECT streak FROM table_name_88 WHERE team_points > 113 AND game < 12 AND date = \"november 16\"",
"context": "CREATE TABLE table_name_88 (streak VARCHAR, date VARCHAR, team_points VARCHAR, game VARCHAR)",
"question": "Which streak before game 12 had a team points larger than 113 on November 16?"
} |
### QUESTION
What title was used in the nomination of the Spanish language film Traffic?
### CONTEXT
CREATE TABLE table_name_43 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_title VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_name_43 WHERE language = "spanish" AND original_title = "traffic" | {
"answer": "SELECT film_title_used_in_nomination FROM table_name_43 WHERE language = \"spanish\" AND original_title = \"traffic\"",
"context": "CREATE TABLE table_name_43 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_title VARCHAR)",
"question": "What title was used in the nomination of the Spanish language film Traffic?"
} |
### QUESTION
What method resulted in a win and a time of 4:36?
### CONTEXT
CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR)
### ANSWER
SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36" | {
"answer": "SELECT method FROM table_name_44 WHERE res = \"win\" AND time = \"4:36\"",
"context": "CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR)",
"question": "What method resulted in a win and a time of 4:36?"
} |
### QUESTION
How many race 1's have 5 as the race 3, with points less than 59?
### CONTEXT
CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)
### ANSWER
SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59 | {
"answer": "SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = \"5\" AND points < 59",
"context": "CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)",
"question": "How many race 1's have 5 as the race 3, with points less than 59?"
} |
### QUESTION
What is the nomination title used for the original film, Monsieur Hawarden?
### CONTEXT
CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_name_18 WHERE original_title = "monsieur hawarden" | {
"answer": "SELECT film_title_used_in_nomination FROM table_name_18 WHERE original_title = \"monsieur hawarden\"",
"context": "CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)",
"question": "What is the nomination title used for the original film, Monsieur Hawarden?"
} |
### QUESTION
What is the total number of round picks from the Morris Brown School?
### CONTEXT
CREATE TABLE table_name_59 (round VARCHAR, school VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_name_59 WHERE school = "morris brown" | {
"answer": "SELECT COUNT(round) FROM table_name_59 WHERE school = \"morris brown\"",
"context": "CREATE TABLE table_name_59 (round VARCHAR, school VARCHAR)",
"question": "What is the total number of round picks from the Morris Brown School?"
} |
### QUESTION
What division is Traktor Tashkent in 2005?
### CONTEXT
CREATE TABLE table_name_83 (division VARCHAR, team VARCHAR, season VARCHAR)
### ANSWER
SELECT division FROM table_name_83 WHERE team = "traktor tashkent" AND season = "2005" | {
"answer": "SELECT division FROM table_name_83 WHERE team = \"traktor tashkent\" AND season = \"2005\"",
"context": "CREATE TABLE table_name_83 (division VARCHAR, team VARCHAR, season VARCHAR)",
"question": "What division is Traktor Tashkent in 2005?"
} |
### QUESTION
How many Laps have a Grid larger than 9, and a Time/Retired of +32.354?
### CONTEXT
CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)
### ANSWER
SELECT COUNT(laps) FROM table_name_87 WHERE grid > 9 AND time_retired = "+32.354" | {
"answer": "SELECT COUNT(laps) FROM table_name_87 WHERE grid > 9 AND time_retired = \"+32.354\"",
"context": "CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)",
"question": "How many Laps have a Grid larger than 9, and a Time/Retired of +32.354?"
} |
### QUESTION
What are the notes recorded for the model HIS HD4850 (512MB)?
### CONTEXT
CREATE TABLE table_19161046_1 (notes VARCHAR, model VARCHAR)
### ANSWER
SELECT notes FROM table_19161046_1 WHERE model = "HIS HD4850 (512MB)" | {
"answer": "SELECT notes FROM table_19161046_1 WHERE model = \"HIS HD4850 (512MB)\"",
"context": "CREATE TABLE table_19161046_1 (notes VARCHAR, model VARCHAR)",
"question": "What are the notes recorded for the model HIS HD4850 (512MB)?"
} |
### QUESTION
What is the largest amount of ends won when stolen ends were 3?
### CONTEXT
CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)
### ANSWER
SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3 | {
"answer": "SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3",
"context": "CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)",
"question": "What is the largest amount of ends won when stolen ends were 3?"
} |
### QUESTION
I want the outgoing manager for 19 february
### CONTEXT
CREATE TABLE table_name_57 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)
### ANSWER
SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = "19 february" | {
"answer": "SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = \"19 february\"",
"context": "CREATE TABLE table_name_57 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)",
"question": "I want the outgoing manager for 19 february"
} |
### QUESTION
What is Country, when Previous Team (League) is "Kingston Frontenacs ( OHL )", and when Player is "Anthony Stewart Category:Articles with hCards"?
### CONTEXT
CREATE TABLE table_name_45 (country VARCHAR, previous_team__league_ VARCHAR, player VARCHAR)
### ANSWER
SELECT country FROM table_name_45 WHERE previous_team__league_ = "kingston frontenacs ( ohl )" AND player = "anthony stewart category:articles with hcards" | {
"answer": "SELECT country FROM table_name_45 WHERE previous_team__league_ = \"kingston frontenacs ( ohl )\" AND player = \"anthony stewart category:articles with hcards\"",
"context": "CREATE TABLE table_name_45 (country VARCHAR, previous_team__league_ VARCHAR, player VARCHAR)",
"question": "What is Country, when Previous Team (League) is \"Kingston Frontenacs ( OHL )\", and when Player is \"Anthony Stewart Category:Articles with hCards\"?"
} |
### QUESTION
What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?
### CONTEXT
CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)
### ANSWER
SELECT AVG(share) FROM table_name_56 WHERE viewers__millions_ > 7.82 AND rank__timeslot_ = "3" AND rank__week_ = "54" | {
"answer": "SELECT AVG(share) FROM table_name_56 WHERE viewers__millions_ > 7.82 AND rank__timeslot_ = \"3\" AND rank__week_ = \"54\"",
"context": "CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)",
"question": "What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?"
} |
### QUESTION
What is the rank for Omni nashville hotel?
### CONTEXT
CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR)
### ANSWER
SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel" | {
"answer": "SELECT SUM(rank) FROM table_name_89 WHERE name = \"omni nashville hotel\"",
"context": "CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR)",
"question": "What is the rank for Omni nashville hotel?"
} |
### QUESTION
Which team had the least number of attendances in home games in 1980?
### CONTEXT
CREATE TABLE home_game (team_id VARCHAR, year VARCHAR, attendance VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)
### ANSWER
SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance LIMIT 1 | {
"answer": "SELECT T2.name FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T1.year = 1980 ORDER BY T1.attendance LIMIT 1",
"context": "CREATE TABLE home_game (team_id VARCHAR, year VARCHAR, attendance VARCHAR); CREATE TABLE team (name VARCHAR, team_id_br VARCHAR)",
"question": "Which team had the least number of attendances in home games in 1980?"
} |
### QUESTION
What are all the songs in albums under label "Universal Music Group"?
### CONTEXT
CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)
### ANSWER
SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.label = "Universal Music Group" | {
"answer": "SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.label = \"Universal Music Group\"",
"context": "CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR)",
"question": "What are all the songs in albums under label \"Universal Music Group\"?"
} |
### QUESTION
What was actor Teresa Graves's series before the year 1993?
### CONTEXT
CREATE TABLE table_name_82 (series VARCHAR, year VARCHAR, actor VARCHAR)
### ANSWER
SELECT series FROM table_name_82 WHERE year < 1993 AND actor = "teresa graves" | {
"answer": "SELECT series FROM table_name_82 WHERE year < 1993 AND actor = \"teresa graves\"",
"context": "CREATE TABLE table_name_82 (series VARCHAR, year VARCHAR, actor VARCHAR)",
"question": "What was actor Teresa Graves's series before the year 1993?"
} |
### QUESTION
What is the lowest number of members lost when the net change is −1?
### CONTEXT
CREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR)
### ANSWER
SELECT MIN(members_lost) FROM table_27671835_3 WHERE net_change = "−1" | {
"answer": "SELECT MIN(members_lost) FROM table_27671835_3 WHERE net_change = \"−1\"",
"context": "CREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR)",
"question": "What is the lowest number of members lost when the net change is −1?"
} |
### QUESTION
Which new team has a compensation-a round, and Frank Catalanotto as a player?
### CONTEXT
CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR)
### ANSWER
SELECT new_team FROM table_name_27 WHERE round = "compensation-a" AND player = "frank catalanotto" | {
"answer": "SELECT new_team FROM table_name_27 WHERE round = \"compensation-a\" AND player = \"frank catalanotto\"",
"context": "CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR)",
"question": "Which new team has a compensation-a round, and Frank Catalanotto as a player?"
} |
### QUESTION
What shows for 2007 at the Olympic Games as tournament.
### CONTEXT
CREATE TABLE table_name_55 (tournament VARCHAR)
### ANSWER
SELECT 2007 FROM table_name_55 WHERE tournament = "olympic games" | {
"answer": "SELECT 2007 FROM table_name_55 WHERE tournament = \"olympic games\"",
"context": "CREATE TABLE table_name_55 (tournament VARCHAR)",
"question": "What shows for 2007 at the Olympic Games as tournament."
} |
### QUESTION
what's the season with regionalliga nord being vfb oldenburg
### CONTEXT
CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR)
### ANSWER
SELECT season FROM table_14242137_11 WHERE regionalliga_nord = "VfB Oldenburg" | {
"answer": "SELECT season FROM table_14242137_11 WHERE regionalliga_nord = \"VfB Oldenburg\"",
"context": "CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR)",
"question": "what's the season with regionalliga nord being vfb oldenburg"
} |
### QUESTION
Who was hired to fill the spot that became vacant on 3 March 2009?
### CONTEXT
CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
### ANSWER
SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009" | {
"answer": "SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = \"3 march 2009\"",
"context": "CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR)",
"question": "Who was hired to fill the spot that became vacant on 3 March 2009?"
} |
### QUESTION
Who was the stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert?
### CONTEXT
CREATE TABLE table_name_99 (stage VARCHAR, yellow_jersey VARCHAR)
### ANSWER
SELECT stage AS winner FROM table_name_99 WHERE stage > 10 AND yellow_jersey = "joseph planckaert" | {
"answer": "SELECT stage AS winner FROM table_name_99 WHERE stage > 10 AND yellow_jersey = \"joseph planckaert\"",
"context": "CREATE TABLE table_name_99 (stage VARCHAR, yellow_jersey VARCHAR)",
"question": "Who was the stage winner when the stage was more than 10 and yellow jersey was Joseph Planckaert?"
} |
### QUESTION
What B Mountain Channel has station call letters of k41go?
### CONTEXT
CREATE TABLE table_name_75 (b_mountain_channel VARCHAR, station_call_letters VARCHAR)
### ANSWER
SELECT b_mountain_channel FROM table_name_75 WHERE station_call_letters = "k41go" | {
"answer": "SELECT b_mountain_channel FROM table_name_75 WHERE station_call_letters = \"k41go\"",
"context": "CREATE TABLE table_name_75 (b_mountain_channel VARCHAR, station_call_letters VARCHAR)",
"question": "What B Mountain Channel has station call letters of k41go?"
} |
### QUESTION
What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island?
### CONTEXT
CREATE TABLE table_name_8 (fastest_lap VARCHAR, circuit VARCHAR, pole_position VARCHAR, winning_team VARCHAR, race VARCHAR)
### ANSWER
SELECT fastest_lap FROM table_name_8 WHERE winning_team = "team brm" AND race = 1 AND pole_position = "leanne tander" AND circuit = "phillip island" | {
"answer": "SELECT fastest_lap FROM table_name_8 WHERE winning_team = \"team brm\" AND race = 1 AND pole_position = \"leanne tander\" AND circuit = \"phillip island\"",
"context": "CREATE TABLE table_name_8 (fastest_lap VARCHAR, circuit VARCHAR, pole_position VARCHAR, winning_team VARCHAR, race VARCHAR)",
"question": "What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island?"
} |
### QUESTION
How many trains call at Castor, Overton, Peterborough East and are operated by LNWR?
### CONTEXT
CREATE TABLE table_12221135_3 (arrival VARCHAR, operator VARCHAR, calling_at VARCHAR)
### ANSWER
SELECT COUNT(arrival) FROM table_12221135_3 WHERE operator = "LNWR" AND calling_at = "Castor, Overton, Peterborough East" | {
"answer": "SELECT COUNT(arrival) FROM table_12221135_3 WHERE operator = \"LNWR\" AND calling_at = \"Castor, Overton, Peterborough East\"",
"context": "CREATE TABLE table_12221135_3 (arrival VARCHAR, operator VARCHAR, calling_at VARCHAR)",
"question": "How many trains call at Castor, Overton, Peterborough East and are operated by LNWR?"
} |
### QUESTION
What language is the Tematico content with a sky tv package, and Fox Crime television service?
### CONTEXT
CREATE TABLE table_name_55 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
### ANSWER
SELECT language FROM table_name_55 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "fox crime" | {
"answer": "SELECT language FROM table_name_55 WHERE content = \"tematico\" AND package_option = \"sky tv\" AND television_service = \"fox crime\"",
"context": "CREATE TABLE table_name_55 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)",
"question": "What language is the Tematico content with a sky tv package, and Fox Crime television service?"
} |
### QUESTION
How many points were there when there were less than 16 rebounds and 5 assists?
### CONTEXT
CREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_name_83 WHERE assists = 5 AND rebounds < 16 | {
"answer": "SELECT COUNT(points) FROM table_name_83 WHERE assists = 5 AND rebounds < 16",
"context": "CREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)",
"question": "How many points were there when there were less than 16 rebounds and 5 assists?"
} |
### QUESTION
Which sum of # 100 has a Season of 1990, and an Against of warwickshire?
### CONTEXT
CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
### ANSWER
SELECT SUM(_number_100) FROM table_name_33 WHERE season = "1990" AND against = "warwickshire" | {
"answer": "SELECT SUM(_number_100) FROM table_name_33 WHERE season = \"1990\" AND against = \"warwickshire\"",
"context": "CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR)",
"question": "Which sum of # 100 has a Season of 1990, and an Against of warwickshire?"
} |
### QUESTION
If the incoming head coach is Carlos Azenha, what is the date of vacancy?
### CONTEXT
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, incoming_head_coach VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_27133147_3 WHERE incoming_head_coach = "Carlos Azenha" | {
"answer": "SELECT date_of_vacancy FROM table_27133147_3 WHERE incoming_head_coach = \"Carlos Azenha\"",
"context": "CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, incoming_head_coach VARCHAR)",
"question": "If the incoming head coach is Carlos Azenha, what is the date of vacancy?"
} |
### QUESTION
What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?
### CONTEXT
CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR)
### ANSWER
SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa" | {
"answer": "SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = \"Male\" AND specification = \"Minimum diameter of sakigawa\"",
"context": "CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR)",
"question": "What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?"
} |
### QUESTION
In which movie is Selva Nambi a co-singer?
### CONTEXT
CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)
### ANSWER
SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi" | {
"answer": "SELECT movie FROM table_name_20 WHERE co_singers = \"selva nambi\"",
"context": "CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)",
"question": "In which movie is Selva Nambi a co-singer?"
} |
### QUESTION
what is the average points when position is more than 5 and played is less than 10?
### CONTEXT
CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, played VARCHAR)
### ANSWER
SELECT AVG(points) FROM table_name_55 WHERE position > 5 AND played < 10 | {
"answer": "SELECT AVG(points) FROM table_name_55 WHERE position > 5 AND played < 10",
"context": "CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, played VARCHAR)",
"question": "what is the average points when position is more than 5 and played is less than 10?"
} |
### QUESTION
Tell me the total number of SP+FS with rank more than 8 for the netherlands and points more than 127.26
### CONTEXT
CREATE TABLE table_name_75 (fs VARCHAR, sp VARCHAR, points VARCHAR, rank VARCHAR, nation VARCHAR)
### ANSWER
SELECT COUNT(sp) + fs FROM table_name_75 WHERE rank > 8 AND nation = "netherlands" AND points > 127.26 | {
"answer": "SELECT COUNT(sp) + fs FROM table_name_75 WHERE rank > 8 AND nation = \"netherlands\" AND points > 127.26",
"context": "CREATE TABLE table_name_75 (fs VARCHAR, sp VARCHAR, points VARCHAR, rank VARCHAR, nation VARCHAR)",
"question": "Tell me the total number of SP+FS with rank more than 8 for the netherlands and points more than 127.26"
} |
### QUESTION
What are the first name, last name, and gender of all the good customers? Order by their last name.
### CONTEXT
CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, gender_mf VARCHAR, good_or_bad_customer VARCHAR)
### ANSWER
SELECT first_name, last_name, gender_mf FROM customers WHERE good_or_bad_customer = 'good' ORDER BY last_name | {
"answer": "SELECT first_name, last_name, gender_mf FROM customers WHERE good_or_bad_customer = 'good' ORDER BY last_name",
"context": "CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, gender_mf VARCHAR, good_or_bad_customer VARCHAR)",
"question": "What are the first name, last name, and gender of all the good customers? Order by their last name."
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.