text
stringlengths
146
1.06k
source
dict
### QUESTION Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position? ### CONTEXT CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) ### ANSWER SELECT location FROM table_25773116_2 WHERE pole_position = "Daniel Erickson" AND fastest_lap = "Cole Morgan"
{ "answer": "SELECT location FROM table_25773116_2 WHERE pole_position = \"Daniel Erickson\" AND fastest_lap = \"Cole Morgan\"", "context": "CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)", "question": "Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?" }
### QUESTION what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson ### CONTEXT CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR) ### ANSWER SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson"
{ "answer": "SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = \"Hector Lester Tim Mullen\" AND pole_position = \"Jonny Cocker Paul Drayson\"", "context": "CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR)", "question": "what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson" }
### QUESTION Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia? ### CONTEXT CREATE TABLE table_name_29 (total INTEGER, gold VARCHAR, nation VARCHAR) ### ANSWER SELECT MAX(total) FROM table_name_29 WHERE gold = 1 AND nation = "czechoslovakia"
{ "answer": "SELECT MAX(total) FROM table_name_29 WHERE gold = 1 AND nation = \"czechoslovakia\"", "context": "CREATE TABLE table_name_29 (total INTEGER, gold VARCHAR, nation VARCHAR)", "question": "Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia?" }
### QUESTION What are the average amount purchased and value purchased for the supplier who supplies the most products. ### CONTEXT CREATE TABLE Product_Suppliers (total_amount_purchased INTEGER, total_value_purchased INTEGER, supplier_id VARCHAR) ### ANSWER SELECT AVG(total_amount_purchased), AVG(total_value_purchased) FROM Product_Suppliers WHERE supplier_id = (SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY COUNT(*) DESC LIMIT 1)
{ "answer": "SELECT AVG(total_amount_purchased), AVG(total_value_purchased) FROM Product_Suppliers WHERE supplier_id = (SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY COUNT(*) DESC LIMIT 1)", "context": "CREATE TABLE Product_Suppliers (total_amount_purchased INTEGER, total_value_purchased INTEGER, supplier_id VARCHAR)", "question": "What are the average amount purchased and value purchased for the supplier who supplies the most products." }
### QUESTION Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne? ### CONTEXT CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) ### ANSWER SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne"
{ "answer": "SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = \"jostedal parish\" AND location_of_the_church = \"gaupne\"", "context": "CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)", "question": "Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?" }
### QUESTION In which city is the station licensed whose frequency MHz is higher than 102.3 and the ERP W is lower than 1,000? ### CONTEXT CREATE TABLE table_name_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) ### ANSWER SELECT city_of_license FROM table_name_60 WHERE frequency_mhz = 102.3 AND erp_w < 1 OFFSET 000
{ "answer": "SELECT city_of_license FROM table_name_60 WHERE frequency_mhz = 102.3 AND erp_w < 1 OFFSET 000", "context": "CREATE TABLE table_name_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)", "question": "In which city is the station licensed whose frequency MHz is higher than 102.3 and the ERP W is lower than 1,000?" }
### QUESTION find the name of employee who was awarded the most times in the evaluation. ### CONTEXT CREATE TABLE evaluation (Employee_ID VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR) ### ANSWER SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE evaluation (Employee_ID VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)", "question": "find the name of employee who was awarded the most times in the evaluation." }
### QUESTION What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome. ### CONTEXT CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR) ### ANSWER SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response'
{ "answer": "SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response'", "context": "CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR)", "question": "What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome." }
### QUESTION What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2? ### CONTEXT CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR) ### ANSWER SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0
{ "answer": "SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0", "context": "CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR)", "question": "What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2?" }
### QUESTION How many times is the accession number xp_001843282? ### CONTEXT CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR) ### ANSWER SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = "XP_001843282"
{ "answer": "SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = \"XP_001843282\"", "context": "CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR)", "question": "How many times is the accession number xp_001843282?" }
### QUESTION For the category of most popular star with a result of won for 2007, what was the award? ### CONTEXT CREATE TABLE table_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR) ### ANSWER SELECT award FROM table_name_27 WHERE result = "won" AND category = "most popular star" AND year = 2007
{ "answer": "SELECT award FROM table_name_27 WHERE result = \"won\" AND category = \"most popular star\" AND year = 2007", "context": "CREATE TABLE table_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)", "question": "For the category of most popular star with a result of won for 2007, what was the award?" }
### QUESTION How many different total results are there for the model with parchment/black interior/roof? ### CONTEXT CREATE TABLE table_2066296_5 (totals VARCHAR, interior_roof VARCHAR) ### ANSWER SELECT COUNT(totals) FROM table_2066296_5 WHERE interior_roof = "Parchment/black"
{ "answer": "SELECT COUNT(totals) FROM table_2066296_5 WHERE interior_roof = \"Parchment/black\"", "context": "CREATE TABLE table_2066296_5 (totals VARCHAR, interior_roof VARCHAR)", "question": "How many different total results are there for the model with parchment/black interior/roof?" }
### QUESTION How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world? ### CONTEXT CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR) ### ANSWER SELECT COUNT(binibining_pilipinas_international) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Maria Karla Bautista"
{ "answer": "SELECT COUNT(binibining_pilipinas_international) FROM table_1825751_4 WHERE binibining_pilipinas_world = \"Maria Karla Bautista\"", "context": "CREATE TABLE table_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)", "question": "How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?" }
### QUESTION Name the 2009 for wta premier mandatory tournaments ### CONTEXT CREATE TABLE table_name_99 (tournament VARCHAR) ### ANSWER SELECT 2009 FROM table_name_99 WHERE tournament = "wta premier mandatory tournaments"
{ "answer": "SELECT 2009 FROM table_name_99 WHERE tournament = \"wta premier mandatory tournaments\"", "context": "CREATE TABLE table_name_99 (tournament VARCHAR)", "question": "Name the 2009 for wta premier mandatory tournaments" }
### QUESTION What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains? ### CONTEXT CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR) ### ANSWER SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = "belgica mountains" AND name = "mount launoit"
{ "answer": "SELECT SUM(altitude__meters_) FROM table_name_93 WHERE range = \"belgica mountains\" AND name = \"mount launoit\"", "context": "CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR)", "question": "What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains?" }
### QUESTION Which player(s) played at Howard college? ### CONTEXT CREATE TABLE table_30108930_6 (player VARCHAR, college VARCHAR) ### ANSWER SELECT player FROM table_30108930_6 WHERE college = "Howard"
{ "answer": "SELECT player FROM table_30108930_6 WHERE college = \"Howard\"", "context": "CREATE TABLE table_30108930_6 (player VARCHAR, college VARCHAR)", "question": "Which player(s) played at Howard college?" }
### QUESTION In what poll is John Oxendine at 32%? ### CONTEXT CREATE TABLE table_name_67 (poll_source VARCHAR, john_oxendine VARCHAR) ### ANSWER SELECT poll_source FROM table_name_67 WHERE john_oxendine = "32%"
{ "answer": "SELECT poll_source FROM table_name_67 WHERE john_oxendine = \"32%\"", "context": "CREATE TABLE table_name_67 (poll_source VARCHAR, john_oxendine VARCHAR)", "question": "In what poll is John Oxendine at 32%?" }
### QUESTION Who is the player born before 1985 who is less than 2.02 tall? ### CONTEXT CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR) ### ANSWER SELECT player FROM table_name_2 WHERE year_born < 1985 AND height < 2.02
{ "answer": "SELECT player FROM table_name_2 WHERE year_born < 1985 AND height < 2.02", "context": "CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR)", "question": "Who is the player born before 1985 who is less than 2.02 tall?" }
### QUESTION what's the points with driver  rusty wallace ### CONTEXT CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR) ### ANSWER SELECT points FROM table_10160447_1 WHERE driver = "Rusty Wallace"
{ "answer": "SELECT points FROM table_10160447_1 WHERE driver = \"Rusty Wallace\"", "context": "CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)", "question": "what's the points with driver  rusty wallace" }
### QUESTION Name the championship for clay and corrado barazzutti ### CONTEXT CREATE TABLE table_23235767_4 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) ### ANSWER SELECT championship FROM table_23235767_4 WHERE surface = "Clay" AND opponent_in_the_final = "Corrado Barazzutti"
{ "answer": "SELECT championship FROM table_23235767_4 WHERE surface = \"Clay\" AND opponent_in_the_final = \"Corrado Barazzutti\"", "context": "CREATE TABLE table_23235767_4 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)", "question": "Name the championship for clay and corrado barazzutti" }
### QUESTION Which country has less than 4 votes? ### CONTEXT CREATE TABLE table_name_99 (state VARCHAR, council_votes INTEGER) ### ANSWER SELECT state FROM table_name_99 WHERE council_votes < 4
{ "answer": "SELECT state FROM table_name_99 WHERE council_votes < 4", "context": "CREATE TABLE table_name_99 (state VARCHAR, council_votes INTEGER)", "question": "Which country has less than 4 votes?" }
### QUESTION Name the pennant number for completion of 30 october 1934 and launched 29 march 1934 ### CONTEXT CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR) ### ANSWER SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934"
{ "answer": "SELECT pennant_number FROM table_name_43 WHERE launched = \"29 march 1934\" AND completed = \"30 october 1934\"", "context": "CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)", "question": "Name the pennant number for completion of 30 october 1934 and launched 29 march 1934" }
### QUESTION Where was the Ivy League conference tournament? ### CONTEXT CREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR) ### ANSWER SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = "Ivy League"
{ "answer": "SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = \"Ivy League\"", "context": "CREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)", "question": "Where was the Ivy League conference tournament?" }
### QUESTION What is Runner(s)-Up when Margin of Victory is 6 Strokes? ### CONTEXT CREATE TABLE table_name_87 (runner_s__up VARCHAR, margin_of_victory VARCHAR) ### ANSWER SELECT runner_s__up FROM table_name_87 WHERE margin_of_victory = "6 strokes"
{ "answer": "SELECT runner_s__up FROM table_name_87 WHERE margin_of_victory = \"6 strokes\"", "context": "CREATE TABLE table_name_87 (runner_s__up VARCHAR, margin_of_victory VARCHAR)", "question": "What is Runner(s)-Up when Margin of Victory is 6 Strokes?" }
### QUESTION Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup? ### CONTEXT CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR) ### ANSWER SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup"
{ "answer": "SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = \"Dave Clark\" AND gm_winning_team = \"Stuart Northrup\"", "context": "CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)", "question": "Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?" }
### QUESTION Name the tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274 ### CONTEXT CREATE TABLE table_1569625_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) ### ANSWER SELECT tournament FROM table_1569625_1 WHERE margin_of_victory = "3 strokes" AND winning_score = 71 - 66 - 70 - 67 = 274
{ "answer": "SELECT tournament FROM table_1569625_1 WHERE margin_of_victory = \"3 strokes\" AND winning_score = 71 - 66 - 70 - 67 = 274", "context": "CREATE TABLE table_1569625_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)", "question": "Name the tournament when margin of victory is 3 strokes and winning score is 71-66-70-67=274" }
### QUESTION How many weight stats are there for players from San Francisco, CA? ### CONTEXT CREATE TABLE table_22496374_1 (weight VARCHAR, home_town VARCHAR) ### ANSWER SELECT COUNT(weight) FROM table_22496374_1 WHERE home_town = "San Francisco, CA"
{ "answer": "SELECT COUNT(weight) FROM table_22496374_1 WHERE home_town = \"San Francisco, CA\"", "context": "CREATE TABLE table_22496374_1 (weight VARCHAR, home_town VARCHAR)", "question": "How many weight stats are there for players from San Francisco, CA?" }
### QUESTION Which GDP per capita (US$) (2004) has a Literacy (2003) of 90%, and an Area (km²) of 1247689.5? ### CONTEXT CREATE TABLE table_name_53 (gdp_per_capita__us INTEGER, literacy__2003_ VARCHAR, area__km²_ VARCHAR) ### ANSWER SELECT AVG(gdp_per_capita__us) AS $___2004_ FROM table_name_53 WHERE literacy__2003_ = "90%" AND area__km²_ = 1247689.5
{ "answer": "SELECT AVG(gdp_per_capita__us) AS $___2004_ FROM table_name_53 WHERE literacy__2003_ = \"90%\" AND area__km²_ = 1247689.5", "context": "CREATE TABLE table_name_53 (gdp_per_capita__us INTEGER, literacy__2003_ VARCHAR, area__km²_ VARCHAR)", "question": "Which GDP per capita (US$) (2004) has a Literacy (2003) of 90%, and an Area (km²) of 1247689.5?" }
### QUESTION What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5? ### CONTEXT CREATE TABLE table_name_2 (rank__timeslot_ INTEGER, rank__night_ VARCHAR, rating VARCHAR) ### ANSWER SELECT AVG(rank__timeslot_) FROM table_name_2 WHERE rating > 2.9 AND rating / SHARE(18 - 49) = 2.6 / 8 AND rank__night_ > 5
{ "answer": "SELECT AVG(rank__timeslot_) FROM table_name_2 WHERE rating > 2.9 AND rating / SHARE(18 - 49) = 2.6 / 8 AND rank__night_ > 5", "context": "CREATE TABLE table_name_2 (rank__timeslot_ INTEGER, rank__night_ VARCHAR, rating VARCHAR)", "question": "What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5?" }
### QUESTION What team did the Flames play against when 526 people attended the game? ### CONTEXT CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT opponent FROM table_name_11 WHERE attendance = 526
{ "answer": "SELECT opponent FROM table_name_11 WHERE attendance = 526", "context": "CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)", "question": "What team did the Flames play against when 526 people attended the game?" }
### QUESTION What district has counties represented by Baltimore county, a committee of health and government operations, and a first elected smaller than 2002? ### CONTEXT CREATE TABLE table_name_86 (district VARCHAR, first_elected VARCHAR, counties_represented VARCHAR, committee VARCHAR) ### ANSWER SELECT district FROM table_name_86 WHERE counties_represented = "baltimore county" AND committee = "health and government operations" AND first_elected < 2002
{ "answer": "SELECT district FROM table_name_86 WHERE counties_represented = \"baltimore county\" AND committee = \"health and government operations\" AND first_elected < 2002", "context": "CREATE TABLE table_name_86 (district VARCHAR, first_elected VARCHAR, counties_represented VARCHAR, committee VARCHAR)", "question": "What district has counties represented by Baltimore county, a committee of health and government operations, and a first elected smaller than 2002?" }
### QUESTION how many different meanings does Wednesday have? ### CONTEXT CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR) ### ANSWER SELECT COUNT(english_day_name_meaning) FROM table_2624098_1 WHERE modern_english_day_name = "Wednesday"
{ "answer": "SELECT COUNT(english_day_name_meaning) FROM table_2624098_1 WHERE modern_english_day_name = \"Wednesday\"", "context": "CREATE TABLE table_2624098_1 (english_day_name_meaning VARCHAR, modern_english_day_name VARCHAR)", "question": "how many different meanings does Wednesday have?" }
### QUESTION What is the maximum training hours for the students whose training hours is greater than 1000 in different positions? ### CONTEXT CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR) ### ANSWER SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos
{ "answer": "SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos", "context": "CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)", "question": "What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?" }
### QUESTION What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition? ### CONTEXT CREATE TABLE table_name_26 (venue VARCHAR, score VARCHAR, competition VARCHAR) ### ANSWER SELECT venue FROM table_name_26 WHERE score = "4-0" AND competition = "2002 tiger cup"
{ "answer": "SELECT venue FROM table_name_26 WHERE score = \"4-0\" AND competition = \"2002 tiger cup\"", "context": "CREATE TABLE table_name_26 (venue VARCHAR, score VARCHAR, competition VARCHAR)", "question": "What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition?" }
### QUESTION Who is the Original west end performer for the character Martha? ### CONTEXT CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) ### ANSWER SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha"
{ "answer": "SELECT original_west_end_performer FROM table_1901751_1 WHERE character = \"Martha\"", "context": "CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)", "question": "Who is the Original west end performer for the character Martha?" }
### QUESTION How many votes were tallied in 1956 with a % of national vote larger than 11.47? ### CONTEXT CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR) ### ANSWER SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47
{ "answer": "SELECT SUM(votes) FROM table_name_66 WHERE date = \"1956\" AND _percentage_of_national_vote > 11.47", "context": "CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR)", "question": "How many votes were tallied in 1956 with a % of national vote larger than 11.47?" }
### QUESTION Name the mixed doubles when tour is hong kong super series ### CONTEXT CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR) ### ANSWER SELECT mixed_doubles FROM table_14496232_2 WHERE tour = "Hong Kong Super Series"
{ "answer": "SELECT mixed_doubles FROM table_14496232_2 WHERE tour = \"Hong Kong Super Series\"", "context": "CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR)", "question": "Name the mixed doubles when tour is hong kong super series" }
### QUESTION Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States? ### CONTEXT CREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR) ### ANSWER SELECT player FROM table_name_71 WHERE nationality = "united states" AND position = "small forward" AND years_for_grizzlies = "1999-2002"
{ "answer": "SELECT player FROM table_name_71 WHERE nationality = \"united states\" AND position = \"small forward\" AND years_for_grizzlies = \"1999-2002\"", "context": "CREATE TABLE table_name_71 (player VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)", "question": "Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States?" }
### QUESTION On what Date were the Results¹ 4:0? ### CONTEXT CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR) ### ANSWER SELECT date FROM table_name_47 WHERE results¹ = "4:0"
{ "answer": "SELECT date FROM table_name_47 WHERE results¹ = \"4:0\"", "context": "CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR)", "question": "On what Date were the Results¹ 4:0?" }
### QUESTION What is the starting point of the north/south operating Palafox Street route? ### CONTEXT CREATE TABLE table_name_66 (starting_point VARCHAR, operates VARCHAR, name VARCHAR) ### ANSWER SELECT starting_point FROM table_name_66 WHERE operates = "north/south" AND name = "palafox street"
{ "answer": "SELECT starting_point FROM table_name_66 WHERE operates = \"north/south\" AND name = \"palafox street\"", "context": "CREATE TABLE table_name_66 (starting_point VARCHAR, operates VARCHAR, name VARCHAR)", "question": "What is the starting point of the north/south operating Palafox Street route?" }
### QUESTION Can you tell me Location Attendance that has the High points of andrew bogut (17)? ### CONTEXT CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR) ### ANSWER SELECT location_attendance FROM table_name_98 WHERE high_points = "andrew bogut (17)"
{ "answer": "SELECT location_attendance FROM table_name_98 WHERE high_points = \"andrew bogut (17)\"", "context": "CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR)", "question": "Can you tell me Location Attendance that has the High points of andrew bogut (17)?" }
### QUESTION What is the zip code in which the average mean sea level pressure is the lowest? ### CONTEXT CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER) ### ANSWER SELECT zip_code FROM weather GROUP BY zip_code ORDER BY AVG(mean_sea_level_pressure_inches) LIMIT 1
{ "answer": "SELECT zip_code FROM weather GROUP BY zip_code ORDER BY AVG(mean_sea_level_pressure_inches) LIMIT 1", "context": "CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER)", "question": "What is the zip code in which the average mean sea level pressure is the lowest?" }
### QUESTION What are the ids and names of the architects who built at least 3 bridges ? ### CONTEXT CREATE TABLE architect (id VARCHAR, name VARCHAR); CREATE TABLE bridge (architect_id VARCHAR) ### ANSWER SELECT T1.id, T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) >= 3
{ "answer": "SELECT T1.id, T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) >= 3", "context": "CREATE TABLE architect (id VARCHAR, name VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)", "question": "What are the ids and names of the architects who built at least 3 bridges ?" }
### QUESTION What body is at the World Championship for Underwater Target shooting? ### CONTEXT CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) ### ANSWER SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting"
{ "answer": "SELECT body FROM table_name_12 WHERE event_type = \"world championship\" AND sport = \"underwater target shooting\"", "context": "CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR)", "question": "What body is at the World Championship for Underwater Target shooting?" }
### QUESTION During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra? ### CONTEXT CREATE TABLE table_name_76 (stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR, points_classification VARCHAR) ### ANSWER SELECT stage FROM table_name_76 WHERE intergiro_classification = "miguel indurain" AND points_classification = "mario cipollini" AND young_rider_classification = "leonardo sierra"
{ "answer": "SELECT stage FROM table_name_76 WHERE intergiro_classification = \"miguel indurain\" AND points_classification = \"mario cipollini\" AND young_rider_classification = \"leonardo sierra\"", "context": "CREATE TABLE table_name_76 (stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR, points_classification VARCHAR)", "question": "During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra?" }
### QUESTION How many league cups associated with under 10 championships and a total of under 3? ### CONTEXT CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR) ### ANSWER SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3
{ "answer": "SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3", "context": "CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)", "question": "How many league cups associated with under 10 championships and a total of under 3?" }
### QUESTION What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011? ### CONTEXT CREATE TABLE table_name_32 (tournament VARCHAR) ### ANSWER SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
{ "answer": "SELECT 2009 FROM table_name_32 WHERE 2012 = \"a\" AND 2011 = \"1r\" AND tournament = \"shanghai masters\"", "context": "CREATE TABLE table_name_32 (tournament VARCHAR)", "question": "What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?" }
### QUESTION Which color is the background of the mandatory instructions? ### CONTEXT CREATE TABLE table_name_43 (background_colour VARCHAR, type_of_sign VARCHAR) ### ANSWER SELECT background_colour FROM table_name_43 WHERE type_of_sign = "mandatory instructions"
{ "answer": "SELECT background_colour FROM table_name_43 WHERE type_of_sign = \"mandatory instructions\"", "context": "CREATE TABLE table_name_43 (background_colour VARCHAR, type_of_sign VARCHAR)", "question": "Which color is the background of the mandatory instructions?" }
### QUESTION Name the location attendance for dirk nowitzki , caron butler (17) ### CONTEXT CREATE TABLE table_23284271_11 (location_attendance VARCHAR, high_points VARCHAR) ### ANSWER SELECT location_attendance FROM table_23284271_11 WHERE high_points = "Dirk Nowitzki , Caron Butler (17)"
{ "answer": "SELECT location_attendance FROM table_23284271_11 WHERE high_points = \"Dirk Nowitzki , Caron Butler (17)\"", "context": "CREATE TABLE table_23284271_11 (location_attendance VARCHAR, high_points VARCHAR)", "question": "Name the location attendance for dirk nowitzki , caron butler (17)" }
### QUESTION For averages of 1.58 and matches under 38, what is the average number of goals? ### CONTEXT CREATE TABLE table_name_79 (goals INTEGER, average VARCHAR, matches VARCHAR) ### ANSWER SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38
{ "answer": "SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38", "context": "CREATE TABLE table_name_79 (goals INTEGER, average VARCHAR, matches VARCHAR)", "question": "For averages of 1.58 and matches under 38, what is the average number of goals?" }
### QUESTION What was the attendence of the game on 26 April 1948 and an away team of Hawthorn? ### CONTEXT CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR) ### ANSWER SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_team = "hawthorn"
{ "answer": "SELECT crowd FROM table_name_12 WHERE date = \"26 april 1948\" AND away_team = \"hawthorn\"", "context": "CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)", "question": "What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?" }
### QUESTION I want the displacement for version of db ### CONTEXT CREATE TABLE table_name_28 (displacement VARCHAR, version VARCHAR) ### ANSWER SELECT displacement FROM table_name_28 WHERE version = "db"
{ "answer": "SELECT displacement FROM table_name_28 WHERE version = \"db\"", "context": "CREATE TABLE table_name_28 (displacement VARCHAR, version VARCHAR)", "question": "I want the displacement for version of db" }
### QUESTION What is the average pjehun measured by female enrollment? ### CONTEXT CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR) ### ANSWER SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment"
{ "answer": "SELECT AVG(pujehun) FROM table_name_10 WHERE measure = \"female enrollment\"", "context": "CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR)", "question": "What is the average pjehun measured by female enrollment?" }
### QUESTION How many chapters did Elmer Clifton direct? ### CONTEXT CREATE TABLE table_name_86 (chapters VARCHAR, director VARCHAR) ### ANSWER SELECT COUNT(chapters) FROM table_name_86 WHERE director = "elmer clifton"
{ "answer": "SELECT COUNT(chapters) FROM table_name_86 WHERE director = \"elmer clifton\"", "context": "CREATE TABLE table_name_86 (chapters VARCHAR, director VARCHAR)", "question": "How many chapters did Elmer Clifton direct?" }
### QUESTION What are the locations with a panthers mascot? ### CONTEXT CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR) ### ANSWER SELECT location FROM table_13456202_1 WHERE mascot = "Panthers"
{ "answer": "SELECT location FROM table_13456202_1 WHERE mascot = \"Panthers\"", "context": "CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)", "question": "What are the locations with a panthers mascot?" }
### QUESTION What is the maximum horsepower and the make of the car models with 3 cylinders? ### CONTEXT CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR) ### ANSWER SELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1
{ "answer": "SELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1", "context": "CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR)", "question": "What is the maximum horsepower and the make of the car models with 3 cylinders?" }
### QUESTION What is the attendance number later than week 9 on November 20, 1983? ### CONTEXT CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_45 WHERE week > 9 AND date = "november 20, 1983"
{ "answer": "SELECT COUNT(attendance) FROM table_name_45 WHERE week > 9 AND date = \"november 20, 1983\"", "context": "CREATE TABLE table_name_45 (attendance VARCHAR, week VARCHAR, date VARCHAR)", "question": "What is the attendance number later than week 9 on November 20, 1983?" }
### QUESTION What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo? ### CONTEXT CREATE TABLE table_name_13 (inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR) ### ANSWER SELECT inf_stem FROM table_name_13 WHERE subj_pres = "a" AND plur_pret = "uo"
{ "answer": "SELECT inf_stem FROM table_name_13 WHERE subj_pres = \"a\" AND plur_pret = \"uo\"", "context": "CREATE TABLE table_name_13 (inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR)", "question": "What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?" }
### QUESTION What is the name of the team that had 1 win and a rating of +85? ### CONTEXT CREATE TABLE table_name_51 (team VARCHAR, win__number VARCHAR, rating VARCHAR) ### ANSWER SELECT team FROM table_name_51 WHERE win__number = "1" AND rating = "+85"
{ "answer": "SELECT team FROM table_name_51 WHERE win__number = \"1\" AND rating = \"+85\"", "context": "CREATE TABLE table_name_51 (team VARCHAR, win__number VARCHAR, rating VARCHAR)", "question": "What is the name of the team that had 1 win and a rating of +85?" }
### QUESTION What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg? ### CONTEXT CREATE TABLE table_name_93 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR) ### ANSWER SELECT percentage_lost FROM table_name_93 WHERE starting_weight__kg_ > 102 AND weight_lost__kg_ = 46.9
{ "answer": "SELECT percentage_lost FROM table_name_93 WHERE starting_weight__kg_ > 102 AND weight_lost__kg_ = 46.9", "context": "CREATE TABLE table_name_93 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)", "question": "What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg?" }
### QUESTION Where is the company with estimated revenue of 33.3 billion headquartered? ### CONTEXT CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR) ### ANSWER SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"
{ "answer": "SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = \"33.3\"", "context": "CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR)", "question": "Where is the company with estimated revenue of 33.3 billion headquartered?" }
### QUESTION What is the outcome with marina erakovic as opponent? ### CONTEXT CREATE TABLE table_name_37 (outcome VARCHAR, opponent VARCHAR) ### ANSWER SELECT outcome FROM table_name_37 WHERE opponent = "marina erakovic"
{ "answer": "SELECT outcome FROM table_name_37 WHERE opponent = \"marina erakovic\"", "context": "CREATE TABLE table_name_37 (outcome VARCHAR, opponent VARCHAR)", "question": "What is the outcome with marina erakovic as opponent?" }
### QUESTION Show names and phones of customers who do not have address information. ### CONTEXT CREATE TABLE customer_address_history (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR) ### ANSWER SELECT customer_name, customer_phone FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_address_history)
{ "answer": "SELECT customer_name, customer_phone FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_address_history)", "context": "CREATE TABLE customer_address_history (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR)", "question": "Show names and phones of customers who do not have address information." }
### QUESTION Find the last names of the members of the club "Bootup Baltimore". ### CONTEXT CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) ### ANSWER SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
{ "answer": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Bootup Baltimore\"", "context": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)", "question": "Find the last names of the members of the club \"Bootup Baltimore\"." }
### QUESTION What was the result of the Australian Championships? ### CONTEXT CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR) ### ANSWER SELECT outcome FROM table_2139023_2 WHERE championship = "Australian championships"
{ "answer": "SELECT outcome FROM table_2139023_2 WHERE championship = \"Australian championships\"", "context": "CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR)", "question": "What was the result of the Australian Championships?" }
### QUESTION What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers? ### CONTEXT CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR) ### ANSWER SELECT us_air_date FROM table_18424435_4 WHERE canadian_viewers__million_ = "1.452"
{ "answer": "SELECT us_air_date FROM table_18424435_4 WHERE canadian_viewers__million_ = \"1.452\"", "context": "CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)", "question": "What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers?" }
### QUESTION What is the highest Per Capita Withdrawal (m 3 /p/yr), when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%), and when Total Freshwater Withdrawal (km 3 /yr) is less than 42.7? ### CONTEXT CREATE TABLE table_name_22 (per_capita_withdrawal__m_3__p_yr_ INTEGER, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR) ### ANSWER SELECT MAX(per_capita_withdrawal__m_3__p_yr_) FROM table_name_22 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1363(92%)" AND total_freshwater_withdrawal__km_3__yr_ < 42.7
{ "answer": "SELECT MAX(per_capita_withdrawal__m_3__p_yr_) FROM table_name_22 WHERE agricultural_use__m_3__p_yr__in__percentage_ = \"1363(92%)\" AND total_freshwater_withdrawal__km_3__yr_ < 42.7", "context": "CREATE TABLE table_name_22 (per_capita_withdrawal__m_3__p_yr_ INTEGER, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR)", "question": "What is the highest Per Capita Withdrawal (m 3 /p/yr), when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%), and when Total Freshwater Withdrawal (km 3 /yr) is less than 42.7?" }
### QUESTION What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl? ### CONTEXT CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR) ### ANSWER SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"
{ "answer": "SELECT score_in_the_final FROM table_name_44 WHERE surface = \"hard\" AND championship = \"washington, d.c. , u.s.\" AND opponent_in_the_final = \"ivan lendl\"", "context": "CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)", "question": "What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?" }
### QUESTION What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up? ### CONTEXT CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR) ### ANSWER SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 1990
{ "answer": "SELECT score FROM table_name_24 WHERE winners = \"galatasaray\" AND runners_up = \"trabzonspor\" AND year = 1990", "context": "CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR)", "question": "What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up?" }
### QUESTION What is the Opponent in the final of the game on february 2, 2004? ### CONTEXT CREATE TABLE table_name_68 (opponent_in_the_final VARCHAR, date VARCHAR) ### ANSWER SELECT opponent_in_the_final FROM table_name_68 WHERE date = "february 2, 2004"
{ "answer": "SELECT opponent_in_the_final FROM table_name_68 WHERE date = \"february 2, 2004\"", "context": "CREATE TABLE table_name_68 (opponent_in_the_final VARCHAR, date VARCHAR)", "question": "What is the Opponent in the final of the game on february 2, 2004?" }
### QUESTION Name the comptroller for office of prohibition ### CONTEXT CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR) ### ANSWER SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Prohibition"
{ "answer": "SELECT comptroller FROM table_22607062_1 WHERE ticket___office = \"Prohibition\"", "context": "CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR)", "question": "Name the comptroller for office of prohibition" }
### QUESTION Game Site of hoosier dome, and a Result of l 7–31 involved what attendance? ### CONTEXT CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR) ### ANSWER SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–31"
{ "answer": "SELECT attendance FROM table_name_29 WHERE game_site = \"hoosier dome\" AND result = \"l 7–31\"", "context": "CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR)", "question": "Game Site of hoosier dome, and a Result of l 7–31 involved what attendance?" }
### QUESTION When was the stokers' training ship launched? ### CONTEXT CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR) ### ANSWER SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship"
{ "answer": "SELECT launched FROM table_24496403_1 WHERE disposition = \"Stokers' training ship\"", "context": "CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR)", "question": "When was the stokers' training ship launched?" }
### QUESTION What are the highest wins with cuts smaller than 6, events of 4 and a top-5 smaller than 0? ### CONTEXT CREATE TABLE table_name_74 (wins INTEGER, top_5 VARCHAR, cuts_made VARCHAR, events VARCHAR) ### ANSWER SELECT MAX(wins) FROM table_name_74 WHERE cuts_made < 6 AND events = 4 AND top_5 < 0
{ "answer": "SELECT MAX(wins) FROM table_name_74 WHERE cuts_made < 6 AND events = 4 AND top_5 < 0", "context": "CREATE TABLE table_name_74 (wins INTEGER, top_5 VARCHAR, cuts_made VARCHAR, events VARCHAR)", "question": "What are the highest wins with cuts smaller than 6, events of 4 and a top-5 smaller than 0?" }
### QUESTION Find the names of customers who ordered both products Latte and Americano. ### CONTEXT CREATE TABLE products (product_id VARCHAR, product_details VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) ### ANSWER SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Latte' INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Americano'
{ "answer": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Latte' INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Americano'", "context": "CREATE TABLE products (product_id VARCHAR, product_details VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)", "question": "Find the names of customers who ordered both products Latte and Americano." }
### QUESTION When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid? ### CONTEXT CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR) ### ANSWER SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio"
{ "answer": "SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = \"juan manuel fangio\"", "context": "CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR)", "question": "When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid?" }
### QUESTION List the count and id of each product in all the orders. ### CONTEXT CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE products (product_id VARCHAR) ### ANSWER SELECT COUNT(*), T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id
{ "answer": "SELECT COUNT(*), T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id", "context": "CREATE TABLE orders (order_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE products (product_id VARCHAR)", "question": "List the count and id of each product in all the orders." }
### QUESTION What team was the opponent when the round was sf? ### CONTEXT CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR) ### ANSWER SELECT opponent FROM table_name_84 WHERE round = "sf"
{ "answer": "SELECT opponent FROM table_name_84 WHERE round = \"sf\"", "context": "CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR)", "question": "What team was the opponent when the round was sf?" }
### QUESTION what is the original air date for julie warner? ### CONTEXT CREATE TABLE table_26561498_1 (original_air_date VARCHAR, patient_portrayer VARCHAR) ### ANSWER SELECT original_air_date FROM table_26561498_1 WHERE patient_portrayer = "Julie Warner"
{ "answer": "SELECT original_air_date FROM table_26561498_1 WHERE patient_portrayer = \"Julie Warner\"", "context": "CREATE TABLE table_26561498_1 (original_air_date VARCHAR, patient_portrayer VARCHAR)", "question": "what is the original air date for julie warner?" }
### QUESTION What was the Venue of the San Francisco 49ers Home game with a Result of 30-10? ### CONTEXT CREATE TABLE table_name_89 (venue VARCHAR, home_team VARCHAR, result VARCHAR) ### ANSWER SELECT venue FROM table_name_89 WHERE home_team = "san francisco 49ers" AND result = "30-10"
{ "answer": "SELECT venue FROM table_name_89 WHERE home_team = \"san francisco 49ers\" AND result = \"30-10\"", "context": "CREATE TABLE table_name_89 (venue VARCHAR, home_team VARCHAR, result VARCHAR)", "question": "What was the Venue of the San Francisco 49ers Home game with a Result of 30-10?" }
### QUESTION What is the Opponents from the final with a Tournament that is puebla? ### CONTEXT CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, tournament VARCHAR) ### ANSWER SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = "puebla"
{ "answer": "SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = \"puebla\"", "context": "CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, tournament VARCHAR)", "question": "What is the Opponents from the final with a Tournament that is puebla?" }
### QUESTION What was the lowest lab for Gilera with a grid less than 12? ### CONTEXT CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) ### ANSWER SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = "gilera" AND grid < 12
{ "answer": "SELECT MIN(laps) FROM table_name_81 WHERE manufacturer = \"gilera\" AND grid < 12", "context": "CREATE TABLE table_name_81 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)", "question": "What was the lowest lab for Gilera with a grid less than 12?" }
### QUESTION Who was the supporting actress in "For Whom the Bell Tolls"? ### CONTEXT CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, film VARCHAR) ### ANSWER SELECT supporting_actress FROM table_24225238_1 WHERE film = "For Whom the Bell Tolls"
{ "answer": "SELECT supporting_actress FROM table_24225238_1 WHERE film = \"For Whom the Bell Tolls\"", "context": "CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, film VARCHAR)", "question": "Who was the supporting actress in \"For Whom the Bell Tolls\"?" }
### QUESTION Show the name of each party and the corresponding number of delegates from that party. ### CONTEXT CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR) ### ANSWER SELECT T2.Party, COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party
{ "answer": "SELECT T2.Party, COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party", "context": "CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)", "question": "Show the name of each party and the corresponding number of delegates from that party." }
### QUESTION How much Position has a Lost of 8, and a Played larger than 14? ### CONTEXT CREATE TABLE table_name_78 (position INTEGER, lost VARCHAR, played VARCHAR) ### ANSWER SELECT SUM(position) FROM table_name_78 WHERE lost = 8 AND played > 14
{ "answer": "SELECT SUM(position) FROM table_name_78 WHERE lost = 8 AND played > 14", "context": "CREATE TABLE table_name_78 (position INTEGER, lost VARCHAR, played VARCHAR)", "question": "How much Position has a Lost of 8, and a Played larger than 14?" }
### QUESTION How much international freight has a change of +0,2% with more than 0 international mail? ### CONTEXT CREATE TABLE table_name_75 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR) ### ANSWER SELECT COUNT(international_freight) FROM table_name_75 WHERE change = "+0,2%" AND international_mail > 0
{ "answer": "SELECT COUNT(international_freight) FROM table_name_75 WHERE change = \"+0,2%\" AND international_mail > 0", "context": "CREATE TABLE table_name_75 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR)", "question": "How much international freight has a change of +0,2% with more than 0 international mail?" }
### QUESTION What is the median income for the region where 24.4% pf people make below 60% of the median income? ### CONTEXT CREATE TABLE table_25042332_16 (median_income___intl INTEGER, below_60_percentage_of_median_income VARCHAR) ### ANSWER SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE below_60_percentage_of_median_income = "24.4%"
{ "answer": "SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE below_60_percentage_of_median_income = \"24.4%\"", "context": "CREATE TABLE table_25042332_16 (median_income___intl INTEGER, below_60_percentage_of_median_income VARCHAR)", "question": "What is the median income for the region where 24.4% pf people make below 60% of the median income?" }
### QUESTION Find the last name and age of the student who has allergy to both milk and cat. ### CONTEXT CREATE TABLE Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR) ### ANSWER SELECT lname, age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy = "Cat")
{ "answer": "SELECT lname, age FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = \"Milk\" INTERSECT SELECT StuID FROM Has_allergy WHERE Allergy = \"Cat\")", "context": "CREATE TABLE Has_allergy (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (lname VARCHAR, age VARCHAR, StuID VARCHAR, Allergy VARCHAR)", "question": "Find the last name and age of the student who has allergy to both milk and cat." }
### QUESTION What is the lowest poles of team comtec racing, which has a nc position? ### CONTEXT CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR) ### ANSWER SELECT MIN(poles) FROM table_name_84 WHERE position = "nc" AND team = "comtec racing"
{ "answer": "SELECT MIN(poles) FROM table_name_84 WHERE position = \"nc\" AND team = \"comtec racing\"", "context": "CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR)", "question": "What is the lowest poles of team comtec racing, which has a nc position?" }
### QUESTION What is the ERP W for the station whose call sign is K248BJ and whose frequency MHz is higher than 97.5? ### CONTEXT CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR, frequency_mhz VARCHAR) ### ANSWER SELECT AVG(erp_w) FROM table_name_59 WHERE call_sign = "k248bj" AND frequency_mhz > 97.5
{ "answer": "SELECT AVG(erp_w) FROM table_name_59 WHERE call_sign = \"k248bj\" AND frequency_mhz > 97.5", "context": "CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR, frequency_mhz VARCHAR)", "question": "What is the ERP W for the station whose call sign is K248BJ and whose frequency MHz is higher than 97.5?" }
### QUESTION Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra? ### CONTEXT CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR) ### ANSWER SELECT music___director FROM table_name_69 WHERE co___singer = "hemachandra" AND film = "khaleja"
{ "answer": "SELECT music___director FROM table_name_69 WHERE co___singer = \"hemachandra\" AND film = \"khaleja\"", "context": "CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR)", "question": "Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra?" }
### QUESTION What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0¾in)? ### CONTEXT CREATE TABLE table_name_45 (date VARCHAR, athlete VARCHAR, record VARCHAR) ### ANSWER SELECT date FROM table_name_45 WHERE athlete = "yelena isinbayeva" AND record = "4.90m(16ft0¾in)"
{ "answer": "SELECT date FROM table_name_45 WHERE athlete = \"yelena isinbayeva\" AND record = \"4.90m(16ft0¾in)\"", "context": "CREATE TABLE table_name_45 (date VARCHAR, athlete VARCHAR, record VARCHAR)", "question": "What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0¾in)?" }
### QUESTION Who is the lowest ranked player from the United States that has less than 3 Wins? ### CONTEXT CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3
{ "answer": "SELECT MIN(rank) FROM table_name_59 WHERE country = \"united states\" AND wins < 3", "context": "CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR)", "question": "Who is the lowest ranked player from the United States that has less than 3 Wins?" }
### QUESTION Name the total number of total for rank of 7 and bronze less than 1 ### CONTEXT CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_name_68 WHERE rank = "7" AND bronze < 1
{ "answer": "SELECT COUNT(total) FROM table_name_68 WHERE rank = \"7\" AND bronze < 1", "context": "CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR)", "question": "Name the total number of total for rank of 7 and bronze less than 1" }
### QUESTION Before 2007, what was the avg start that had a pole of 0 and in 65th position? ### CONTEXT CREATE TABLE table_name_81 (starts INTEGER, year VARCHAR, poles VARCHAR, position VARCHAR) ### ANSWER SELECT AVG(starts) FROM table_name_81 WHERE poles = 0 AND position = "65th" AND year < 2007
{ "answer": "SELECT AVG(starts) FROM table_name_81 WHERE poles = 0 AND position = \"65th\" AND year < 2007", "context": "CREATE TABLE table_name_81 (starts INTEGER, year VARCHAR, poles VARCHAR, position VARCHAR)", "question": "Before 2007, what was the avg start that had a pole of 0 and in 65th position?" }
### QUESTION What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6? ### CONTEXT CREATE TABLE table_name_56 (year VARCHAR, score VARCHAR, class VARCHAR, program_title VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_56 WHERE class = "piw" AND program_title = "the adventures of..." AND score > 94.6
{ "answer": "SELECT COUNT(year) FROM table_name_56 WHERE class = \"piw\" AND program_title = \"the adventures of...\" AND score > 94.6", "context": "CREATE TABLE table_name_56 (year VARCHAR, score VARCHAR, class VARCHAR, program_title VARCHAR)", "question": "What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6?" }
### QUESTION What's the 102kg when the snatch was snatch and the olympic record was the world record? ### CONTEXT CREATE TABLE table_name_56 (world_record VARCHAR) ### ANSWER SELECT 102 AS kg FROM table_name_56 WHERE world_record = "olympic record" AND "snatch" = "snatch"
{ "answer": "SELECT 102 AS kg FROM table_name_56 WHERE world_record = \"olympic record\" AND \"snatch\" = \"snatch\"", "context": "CREATE TABLE table_name_56 (world_record VARCHAR)", "question": "What's the 102kg when the snatch was snatch and the olympic record was the world record?" }
### QUESTION What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance? ### CONTEXT CREATE TABLE table_name_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### ANSWER SELECT SUM(week) FROM table_name_97 WHERE opponent = "houston oilers" AND attendance > 54 OFFSET 582
{ "answer": "SELECT SUM(week) FROM table_name_97 WHERE opponent = \"houston oilers\" AND attendance > 54 OFFSET 582", "context": "CREATE TABLE table_name_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR)", "question": "What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance?" }
### QUESTION What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻? ### CONTEXT CREATE TABLE table_name_95 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR) ### ANSWER SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = "wong fei hung - master of kung fu 我師傅係黃飛鴻"
{ "answer": "SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = \"wong fei hung - master of kung fu 我師傅係黃飛鴻\"", "context": "CREATE TABLE table_name_95 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)", "question": "What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻?" }
### QUESTION When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final? ### CONTEXT CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) ### ANSWER SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–6"
{ "answer": "SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = \"3–6, 6–4, 3–6, 4–6\"", "context": "CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)", "question": "When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?" }