text
stringlengths
146
1.06k
source
dict
### QUESTION COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4? ### CONTEXT CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR) ### ANSWER SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4
{ "answer": "SELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4", "context": "CREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)", "question": "COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?" }
### QUESTION What is Regulator, when Conduct of Litigation is Yes, and when Probate Activities is Yes? ### CONTEXT CREATE TABLE table_name_13 (regulator VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) ### ANSWER SELECT regulator FROM table_name_13 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes"
{ "answer": "SELECT regulator FROM table_name_13 WHERE conduct_of_litigation = \"yes\" AND probate_activities = \"yes\"", "context": "CREATE TABLE table_name_13 (regulator VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR)", "question": "What is Regulator, when Conduct of Litigation is Yes, and when Probate Activities is Yes?" }
### QUESTION What is the copa mercosur 1999 result for team grêmio, who did not qualify for the Copa Libertadores 1999 and Copa Conmebol 1999? ### CONTEXT CREATE TABLE table_name_51 (copa_mercosur_1999 VARCHAR, team VARCHAR, copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR) ### ANSWER SELECT copa_mercosur_1999 FROM table_name_51 WHERE copa_libertadores_1999 = "did not qualify" AND copa_conmebol_1999 = "did not qualify" AND team = "grêmio"
{ "answer": "SELECT copa_mercosur_1999 FROM table_name_51 WHERE copa_libertadores_1999 = \"did not qualify\" AND copa_conmebol_1999 = \"did not qualify\" AND team = \"grêmio\"", "context": "CREATE TABLE table_name_51 (copa_mercosur_1999 VARCHAR, team VARCHAR, copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR)", "question": "What is the copa mercosur 1999 result for team grêmio, who did not qualify for the Copa Libertadores 1999 and Copa Conmebol 1999?" }
### QUESTION What is the verbal noun connected to the participle e-duki? ### CONTEXT CREATE TABLE table_12784134_1 (verbal_noun VARCHAR, participle VARCHAR) ### ANSWER SELECT verbal_noun FROM table_12784134_1 WHERE participle = "e-duki"
{ "answer": "SELECT verbal_noun FROM table_12784134_1 WHERE participle = \"e-duki\"", "context": "CREATE TABLE table_12784134_1 (verbal_noun VARCHAR, participle VARCHAR)", "question": "What is the verbal noun connected to the participle e-duki?" }
### QUESTION Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494? ### CONTEXT CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR) ### ANSWER SELECT director FROM table_name_12 WHERE series = "mm" AND production_num < 6494 AND release_date = "1934-09-15"
{ "answer": "SELECT director FROM table_name_12 WHERE series = \"mm\" AND production_num < 6494 AND release_date = \"1934-09-15\"", "context": "CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR)", "question": "Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494?" }
### QUESTION Find the names of the artists who are from Bangladesh and have never received rating higher than 7. ### CONTEXT CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, rating INTEGER); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, rating INTEGER) ### ANSWER SELECT DISTINCT artist_name FROM artist WHERE country = "Bangladesh" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 7
{ "answer": "SELECT DISTINCT artist_name FROM artist WHERE country = \"Bangladesh\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 7", "context": "CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, rating INTEGER); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, rating INTEGER)", "question": "Find the names of the artists who are from Bangladesh and have never received rating higher than 7." }
### QUESTION How many tv series had an adult rating of 1.2? ### CONTEXT CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR) ### ANSWER SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2"
{ "answer": "SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = \"1.2\"", "context": "CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR)", "question": "How many tv series had an adult rating of 1.2?" }
### QUESTION What is the brand of DXRE? ### CONTEXT CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR) ### ANSWER SELECT branding FROM table_name_35 WHERE callsign = "dxre"
{ "answer": "SELECT branding FROM table_name_35 WHERE callsign = \"dxre\"", "context": "CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR)", "question": "What is the brand of DXRE?" }
### QUESTION Who won when Jamie Green had the best lap? ### CONTEXT CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR) ### ANSWER SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Green"
{ "answer": "SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = \"Jamie Green\"", "context": "CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR)", "question": "Who won when Jamie Green had the best lap?" }
### QUESTION Show the name of the teacher for the math course. ### CONTEXT CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course_ID VARCHAR, Course VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR) ### ANSWER SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = "Math"
{ "answer": "SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = \"Math\"", "context": "CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course_ID VARCHAR, Course VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR)", "question": "Show the name of the teacher for the math course." }
### QUESTION What is Qual 2, when Best is 1:27.642? ### CONTEXT CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR) ### ANSWER SELECT qual_2 FROM table_name_27 WHERE best = "1:27.642"
{ "answer": "SELECT qual_2 FROM table_name_27 WHERE best = \"1:27.642\"", "context": "CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR)", "question": "What is Qual 2, when Best is 1:27.642?" }
### QUESTION What is the alignment that predicts an alignment of the linuxbinary link? ### CONTEXT CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR) ### ANSWER SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary"
{ "answer": "SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = \"linuxbinary\"", "context": "CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR)", "question": "What is the alignment that predicts an alignment of the linuxbinary link?" }
### QUESTION How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841? ### CONTEXT CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR) ### ANSWER SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendance = "KeyArena 16,841"
{ "answer": "SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = \"Earl Watson (11)\" AND location_attendance = \"KeyArena 16,841\"", "context": "CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR)", "question": "How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841?" }
### QUESTION Name the total number of median income for population 2006 for 365540 ### CONTEXT CREATE TABLE table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR) ### ANSWER SELECT COUNT(median_monthly_per_capita___labour_force_income__hkd_) FROM table_151994_1 WHERE population__2006_est_ = 365540
{ "answer": "SELECT COUNT(median_monthly_per_capita___labour_force_income__hkd_) FROM table_151994_1 WHERE population__2006_est_ = 365540", "context": "CREATE TABLE table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR)", "question": "Name the total number of median income for population 2006 for 365540" }
### QUESTION what's the grand finalist where winners is collingwood ### CONTEXT CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, winners VARCHAR) ### ANSWER SELECT grand_finalist FROM table_1139835_3 WHERE winners = "Collingwood"
{ "answer": "SELECT grand_finalist FROM table_1139835_3 WHERE winners = \"Collingwood\"", "context": "CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, winners VARCHAR)", "question": " what's the grand finalist where winners is collingwood" }
### QUESTION Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić ### CONTEXT CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) ### ANSWER SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić"
{ "answer": "SELECT score_in_the_final FROM table_name_1 WHERE outcome = \"runner-up\" AND surface = \"hard\" AND opponents_in_the_final = \"michaël llodra nenad zimonjić\"", "context": "CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)", "question": "Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić" }
### QUESTION Find the names of the artists who have produced English songs but have never received rating higher than 8. ### CONTEXT CREATE TABLE song (artist_name VARCHAR, languages VARCHAR, rating INTEGER) ### ANSWER SELECT DISTINCT artist_name FROM song WHERE languages = "english" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 8
{ "answer": "SELECT DISTINCT artist_name FROM song WHERE languages = \"english\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 8", "context": "CREATE TABLE song (artist_name VARCHAR, languages VARCHAR, rating INTEGER)", "question": "Find the names of the artists who have produced English songs but have never received rating higher than 8." }
### QUESTION Which project made the most number of outcomes? List the project details and the project id. ### CONTEXT CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR) ### ANSWER SELECT T1.project_details, T1.project_id FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.project_details, T1.project_id FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)", "question": "Which project made the most number of outcomes? List the project details and the project id." }
### QUESTION On July 31, 2008, what are the Democrat: Vivian Davis Figures percentages? ### CONTEXT CREATE TABLE table_16751596_12 (democrat VARCHAR, dates_administered VARCHAR) ### ANSWER SELECT democrat AS :_vivian_davis_figures FROM table_16751596_12 WHERE dates_administered = "July 31, 2008"
{ "answer": "SELECT democrat AS :_vivian_davis_figures FROM table_16751596_12 WHERE dates_administered = \"July 31, 2008\"", "context": "CREATE TABLE table_16751596_12 (democrat VARCHAR, dates_administered VARCHAR)", "question": "On July 31, 2008, what are the Democrat: Vivian Davis Figures percentages?" }
### QUESTION What was the final record for the game in which Dirk Nowitzki (19) had the high points? ### CONTEXT CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR) ### ANSWER SELECT record FROM table_17288869_7 WHERE high_points = "Dirk Nowitzki (19)"
{ "answer": "SELECT record FROM table_17288869_7 WHERE high_points = \"Dirk Nowitzki (19)\"", "context": "CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)", "question": "What was the final record for the game in which Dirk Nowitzki (19) had the high points?" }
### QUESTION What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1? ### CONTEXT CREATE TABLE table_name_87 (market_value__us INTEGER, rank VARCHAR, revenues__us$_billion_ VARCHAR, company VARCHAR) ### ANSWER SELECT AVG(market_value__us) AS $_billion_ FROM table_name_87 WHERE revenues__us$_billion_ > 6.2 AND company = "national bank of greece" AND rank < 1
{ "answer": "SELECT AVG(market_value__us) AS $_billion_ FROM table_name_87 WHERE revenues__us$_billion_ > 6.2 AND company = \"national bank of greece\" AND rank < 1", "context": "CREATE TABLE table_name_87 (market_value__us INTEGER, rank VARCHAR, revenues__us$_billion_ VARCHAR, company VARCHAR)", "question": "What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1?" }
### QUESTION What is the smallest crowd with fitzroy as the home team? ### CONTEXT CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) ### ANSWER SELECT MIN(crowd) FROM table_name_8 WHERE away_team = "fitzroy"
{ "answer": "SELECT MIN(crowd) FROM table_name_8 WHERE away_team = \"fitzroy\"", "context": "CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)", "question": "What is the smallest crowd with fitzroy as the home team?" }
### QUESTION What To par has a Country of united states, and a Score of 67-66-78-77=288? ### CONTEXT CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR) ### ANSWER SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288
{ "answer": "SELECT to_par FROM table_name_52 WHERE country = \"united states\" AND score = 67 - 66 - 78 - 77 = 288", "context": "CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)", "question": "What To par has a Country of united states, and a Score of 67-66-78-77=288?" }
### QUESTION Name the 012 club which has of norbert hosnyánszky category:articles with hcards? ### CONTEXT CREATE TABLE table_name_23 (name VARCHAR) ### ANSWER SELECT 2012 AS _club FROM table_name_23 WHERE name = "norbert hosnyánszky category:articles with hcards"
{ "answer": "SELECT 2012 AS _club FROM table_name_23 WHERE name = \"norbert hosnyánszky category:articles with hcards\"", "context": "CREATE TABLE table_name_23 (name VARCHAR)", "question": "Name the 012 club which has of norbert hosnyánszky category:articles with hcards?" }
### QUESTION How many original air dates totaled 26.06 million viewers? ### CONTEXT CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) ### ANSWER SELECT COUNT(original_air_date) FROM table_18217753_1 WHERE us_viewers__millions_ = "26.06"
{ "answer": "SELECT COUNT(original_air_date) FROM table_18217753_1 WHERE us_viewers__millions_ = \"26.06\"", "context": "CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)", "question": "How many original air dates totaled 26.06 million viewers?" }
### QUESTION Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site? ### CONTEXT CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_neutral_site VARCHAR) ### ANSWER SELECT missouri_vs FROM table_16201038_4 WHERE at_neutral_site = "MU, 2-1"
{ "answer": "SELECT missouri_vs FROM table_16201038_4 WHERE at_neutral_site = \"MU, 2-1\"", "context": "CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_neutral_site VARCHAR)", "question": "Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?" }
### QUESTION What was the compression ration when the engine was Wasp Jr. T1B2? ### CONTEXT CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR) ### ANSWER SELECT compression_ratio FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2"
{ "answer": "SELECT compression_ratio FROM table_1123802_1 WHERE engine = \"Wasp Jr. T1B2\"", "context": "CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR)", "question": "What was the compression ration when the engine was Wasp Jr. T1B2?" }
### QUESTION tell me the average roll for the featherston area and integrated authority. ### CONTEXT CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR) ### ANSWER SELECT AVG(roll) FROM table_name_48 WHERE area = "featherston" AND authority = "integrated"
{ "answer": "SELECT AVG(roll) FROM table_name_48 WHERE area = \"featherston\" AND authority = \"integrated\"", "context": "CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR)", "question": "tell me the average roll for the featherston area and integrated authority." }
### QUESTION How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers? ### CONTEXT CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) ### ANSWER SELECT COUNT(bronze) FROM table_name_79 WHERE gold > "14" AND rank = "14" AND silver > 25
{ "answer": "SELECT COUNT(bronze) FROM table_name_79 WHERE gold > \"14\" AND rank = \"14\" AND silver > 25", "context": "CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)", "question": "How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?" }
### QUESTION What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score? ### CONTEXT CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR) ### ANSWER SELECT home FROM table_name_60 WHERE attendance < 2248 AND score = "2:0" AND date = "21 september 2008"
{ "answer": "SELECT home FROM table_name_60 WHERE attendance < 2248 AND score = \"2:0\" AND date = \"21 september 2008\"", "context": "CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR)", "question": "What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score?" }
### QUESTION What is Record, when Method is "Technical Submission (Rear Naked Choke)"? ### CONTEXT CREATE TABLE table_name_4 (record VARCHAR, method VARCHAR) ### ANSWER SELECT record FROM table_name_4 WHERE method = "technical submission (rear naked choke)"
{ "answer": "SELECT record FROM table_name_4 WHERE method = \"technical submission (rear naked choke)\"", "context": "CREATE TABLE table_name_4 (record VARCHAR, method VARCHAR)", "question": "What is Record, when Method is \"Technical Submission (Rear Naked Choke)\"?" }
### QUESTION What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974? ### CONTEXT CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) ### ANSWER SELECT district FROM table_1341663_33 WHERE party = "Democratic" AND first_elected = 1974 AND incumbent = "Stephen J. Solarz"
{ "answer": "SELECT district FROM table_1341663_33 WHERE party = \"Democratic\" AND first_elected = 1974 AND incumbent = \"Stephen J. Solarz\"", "context": "CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)", "question": "What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?" }
### QUESTION How many Lost have a Team of flamengo, and an Against smaller than 5? ### CONTEXT CREATE TABLE table_name_92 (lost VARCHAR, team VARCHAR, against VARCHAR) ### ANSWER SELECT COUNT(lost) FROM table_name_92 WHERE team = "flamengo" AND against < 5
{ "answer": "SELECT COUNT(lost) FROM table_name_92 WHERE team = \"flamengo\" AND against < 5", "context": "CREATE TABLE table_name_92 (lost VARCHAR, team VARCHAR, against VARCHAR)", "question": "How many Lost have a Team of flamengo, and an Against smaller than 5?" }
### QUESTION What are the sale details and dates of transactions with amount smaller than 3000? ### CONTEXT CREATE TABLE SALES (sales_details VARCHAR, sales_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_id VARCHAR, amount_of_transaction INTEGER) ### ANSWER SELECT T1.sales_details, T2.date_of_transaction FROM SALES AS T1 JOIN TRANSACTIONS AS T2 ON T1.sales_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction < 3000
{ "answer": "SELECT T1.sales_details, T2.date_of_transaction FROM SALES AS T1 JOIN TRANSACTIONS AS T2 ON T1.sales_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction < 3000", "context": "CREATE TABLE SALES (sales_details VARCHAR, sales_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_id VARCHAR, amount_of_transaction INTEGER)", "question": "What are the sale details and dates of transactions with amount smaller than 3000?" }
### QUESTION What is the NFL club of the cornerback player with a pick greater than 63? ### CONTEXT CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR) ### ANSWER SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback"
{ "answer": "SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = \"cornerback\"", "context": "CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR)", "question": "What is the NFL club of the cornerback player with a pick greater than 63?" }
### QUESTION Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness? ### CONTEXT CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = "biodiversity richness"
{ "answer": "SELECT MIN(year) FROM table_name_99 WHERE rank < 132 AND name = \"biodiversity richness\"", "context": "CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR)", "question": "Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness?" }
### QUESTION What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers? ### CONTEXT CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR) ### ANSWER SELECT original_airdate FROM table_17467578_1 WHERE us_viewers__million_ = "3.73"
{ "answer": "SELECT original_airdate FROM table_17467578_1 WHERE us_viewers__million_ = \"3.73\"", "context": "CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)", "question": "What was the original airdate of the episode \"The Cold Turkey\", which was viewed by 3.73 million viewers?" }
### QUESTION What was Olazabal's winning score in the German Masters? ### CONTEXT CREATE TABLE table_name_62 (winning_score VARCHAR, tournament VARCHAR) ### ANSWER SELECT winning_score FROM table_name_62 WHERE tournament = "german masters"
{ "answer": "SELECT winning_score FROM table_name_62 WHERE tournament = \"german masters\"", "context": "CREATE TABLE table_name_62 (winning_score VARCHAR, tournament VARCHAR)", "question": "What was Olazabal's winning score in the German Masters?" }
### QUESTION Which tournament has a 2013 of 1r, and a 2012 of 1r? ### CONTEXT CREATE TABLE table_name_38 (tournament VARCHAR) ### ANSWER SELECT tournament FROM table_name_38 WHERE 2013 = "1r" AND 2012 = "1r"
{ "answer": "SELECT tournament FROM table_name_38 WHERE 2013 = \"1r\" AND 2012 = \"1r\"", "context": "CREATE TABLE table_name_38 (tournament VARCHAR)", "question": "Which tournament has a 2013 of 1r, and a 2012 of 1r?" }
### QUESTION what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0? ### CONTEXT CREATE TABLE table_name_29 (giro_wins INTEGER, young_rider VARCHAR, jerseys VARCHAR, country VARCHAR) ### ANSWER SELECT SUM(giro_wins) FROM table_name_29 WHERE jerseys = 2 AND country = "portugal" AND young_rider > 0
{ "answer": "SELECT SUM(giro_wins) FROM table_name_29 WHERE jerseys = 2 AND country = \"portugal\" AND young_rider > 0", "context": "CREATE TABLE table_name_29 (giro_wins INTEGER, young_rider VARCHAR, jerseys VARCHAR, country VARCHAR)", "question": "what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?" }
### QUESTION How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? ### CONTEXT CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR) ### ANSWER SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna"
{ "answer": "SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = \"yvetta kadakas & ivo linna\"", "context": "CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR)", "question": "How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have?" }
### QUESTION Where is every location where Nick is Bru? ### CONTEXT CREATE TABLE table_2112260_1 (location VARCHAR, nick VARCHAR) ### ANSWER SELECT location FROM table_2112260_1 WHERE nick = "BRU"
{ "answer": "SELECT location FROM table_2112260_1 WHERE nick = \"BRU\"", "context": "CREATE TABLE table_2112260_1 (location VARCHAR, nick VARCHAR)", "question": "Where is every location where Nick is Bru?" }
### QUESTION What entrant has a year earlier than 1960 and a veritas straight-6 engine? ### CONTEXT CREATE TABLE table_name_77 (entrant VARCHAR, year VARCHAR, engine VARCHAR) ### ANSWER SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = "veritas straight-6"
{ "answer": "SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = \"veritas straight-6\"", "context": "CREATE TABLE table_name_77 (entrant VARCHAR, year VARCHAR, engine VARCHAR)", "question": "What entrant has a year earlier than 1960 and a veritas straight-6 engine?" }
### QUESTION What is the sum of League Goals, when Position is "DF", when League Cup Apps is "0", when Total Apps is "7", and when FLT Goals is less than 0? ### CONTEXT CREATE TABLE table_name_95 (league_goals INTEGER, flt_goals VARCHAR, total_apps VARCHAR, position VARCHAR, league_cup_apps VARCHAR) ### ANSWER SELECT SUM(league_goals) FROM table_name_95 WHERE position = "df" AND league_cup_apps = "0" AND total_apps = "7" AND flt_goals < 0
{ "answer": "SELECT SUM(league_goals) FROM table_name_95 WHERE position = \"df\" AND league_cup_apps = \"0\" AND total_apps = \"7\" AND flt_goals < 0", "context": "CREATE TABLE table_name_95 (league_goals INTEGER, flt_goals VARCHAR, total_apps VARCHAR, position VARCHAR, league_cup_apps VARCHAR)", "question": "What is the sum of League Goals, when Position is \"DF\", when League Cup Apps is \"0\", when Total Apps is \"7\", and when FLT Goals is less than 0?" }
### QUESTION How many people attended the game on january 10 with a Score of 3 – 2? ### CONTEXT CREATE TABLE table_name_96 (attendance VARCHAR, score VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_96 WHERE score = "3 – 2" AND date = "january 10"
{ "answer": "SELECT COUNT(attendance) FROM table_name_96 WHERE score = \"3 – 2\" AND date = \"january 10\"", "context": "CREATE TABLE table_name_96 (attendance VARCHAR, score VARCHAR, date VARCHAR)", "question": "How many people attended the game on january 10 with a Score of 3 – 2?" }
### QUESTION Which Frequency has a Website of •, and a Webcast of •in san antonio? ### CONTEXT CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR) ### ANSWER SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio"
{ "answer": "SELECT AVG(frequency) FROM table_name_44 WHERE website = \"•\" AND webcast = \"•\" AND city_of_license = \"san antonio\"", "context": "CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR)", "question": "Which Frequency has a Website of •, and a Webcast of •in san antonio?" }
### QUESTION How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania? ### CONTEXT CREATE TABLE table_27529608_21 (semi_final__week_ VARCHAR, hometown VARCHAR) ### ANSWER SELECT COUNT(semi_final__week_) FROM table_27529608_21 WHERE hometown = "Pittsburgh, Pennsylvania"
{ "answer": "SELECT COUNT(semi_final__week_) FROM table_27529608_21 WHERE hometown = \"Pittsburgh, Pennsylvania\"", "context": "CREATE TABLE table_27529608_21 (semi_final__week_ VARCHAR, hometown VARCHAR)", "question": "How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania?" }
### QUESTION Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira? ### CONTEXT CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR) ### ANSWER SELECT competition FROM table_name_85 WHERE result = "2-0" AND location = "ferreiras" AND assist_pass = "casey nogueira"
{ "answer": "SELECT competition FROM table_name_85 WHERE result = \"2-0\" AND location = \"ferreiras\" AND assist_pass = \"casey nogueira\"", "context": "CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR)", "question": "Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira?" }
### QUESTION How many players has the highest points in the game against the Heat? ### CONTEXT CREATE TABLE table_23285849_6 (high_points VARCHAR, team VARCHAR) ### ANSWER SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = "Heat"
{ "answer": "SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = \"Heat\"", "context": "CREATE TABLE table_23285849_6 (high_points VARCHAR, team VARCHAR)", "question": "How many players has the highest points in the game against the Heat?" }
### QUESTION What is the average L/100km urban (cold) for engine capacities over 1910, mpg in the US (urban) under 25.3, mpg in the UK (combined) over 27.2, and mpg in the UK (urban, cold) of 22.4? ### CONTEXT CREATE TABLE table_name_27 (l_100km_urban__cold_ INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR, engine_capacity VARCHAR, mpg_us_urban VARCHAR) ### ANSWER SELECT AVG(l_100km_urban__cold_) FROM table_name_27 WHERE engine_capacity > 1910 AND mpg_us_urban < 25.3 AND mpg_uk_combined > 27.2 AND mpg_uk_urban__cold_ = 22.4
{ "answer": "SELECT AVG(l_100km_urban__cold_) FROM table_name_27 WHERE engine_capacity > 1910 AND mpg_us_urban < 25.3 AND mpg_uk_combined > 27.2 AND mpg_uk_urban__cold_ = 22.4", "context": "CREATE TABLE table_name_27 (l_100km_urban__cold_ INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR, engine_capacity VARCHAR, mpg_us_urban VARCHAR)", "question": "What is the average L/100km urban (cold) for engine capacities over 1910, mpg in the US (urban) under 25.3, mpg in the UK (combined) over 27.2, and mpg in the UK (urban, cold) of 22.4?" }
### QUESTION Who was featured in the election of charles edward bennett redistricted from 2nd? ### CONTEXT CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR) ### ANSWER SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd"
{ "answer": "SELECT candidates FROM table_1341843_10 WHERE incumbent = \"Charles Edward Bennett Redistricted from 2nd\"", "context": "CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR)", "question": "Who was featured in the election of charles edward bennett redistricted from 2nd?" }
### QUESTION How many drivers where there when the time/retired +3 laps and points were 24? ### CONTEXT CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) ### ANSWER SELECT COUNT(driver) FROM table_17319931_1 WHERE time_retired = "+3 laps" AND points = "24"
{ "answer": "SELECT COUNT(driver) FROM table_17319931_1 WHERE time_retired = \"+3 laps\" AND points = \"24\"", "context": "CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)", "question": "How many drivers where there when the time/retired +3 laps and points were 24?" }
### QUESTION What team was the opponent at Mile High Stadium? ### CONTEXT CREATE TABLE table_13259009_2 (opponent VARCHAR, game_site VARCHAR) ### ANSWER SELECT opponent FROM table_13259009_2 WHERE game_site = "Mile High Stadium"
{ "answer": "SELECT opponent FROM table_13259009_2 WHERE game_site = \"Mile High Stadium\"", "context": "CREATE TABLE table_13259009_2 (opponent VARCHAR, game_site VARCHAR)", "question": "What team was the opponent at Mile High Stadium?" }
### QUESTION What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560? ### CONTEXT CREATE TABLE table_name_24 (l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, mpg_uk_extra_urban VARCHAR, co_2_g_km VARCHAR, mpg_us_urban VARCHAR) ### ANSWER SELECT l_100km_urban__cold_ FROM table_name_24 WHERE co_2_g_km < 222 AND mpg_us_urban > 17.8 AND mpg_uk_extra_urban = 55.4 AND engine_capacity > 1560
{ "answer": "SELECT l_100km_urban__cold_ FROM table_name_24 WHERE co_2_g_km < 222 AND mpg_us_urban > 17.8 AND mpg_uk_extra_urban = 55.4 AND engine_capacity > 1560", "context": "CREATE TABLE table_name_24 (l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, mpg_uk_extra_urban VARCHAR, co_2_g_km VARCHAR, mpg_us_urban VARCHAR)", "question": "What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560?" }
### QUESTION What is the name of the minister from the party of minister for community safety and legal affairs? ### CONTEXT CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR) ### ANSWER SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs"
{ "answer": "SELECT name FROM table_name_45 WHERE party = \"minister for community safety and legal affairs\"", "context": "CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR)", "question": "What is the name of the minister from the party of minister for community safety and legal affairs?" }
### QUESTION How many number of screenings have an opening film of the journey of vaan nguyen? ### CONTEXT CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR) ### ANSWER SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen"
{ "answer": "SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = \"The Journey of Vaan Nguyen\"", "context": "CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR)", "question": "How many number of screenings have an opening film of the journey of vaan nguyen?" }
### QUESTION Name the event for hans ruep ### CONTEXT CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR) ### ANSWER SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep"
{ "answer": "SELECT event FROM table_18646111_13 WHERE athlete = \"Hans Ruep\"", "context": "CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR)", "question": "Name the event for hans ruep" }
### QUESTION Name the number of week for game site being memorial stadium for buffalo bills ### CONTEXT CREATE TABLE table_14940519_1 (week VARCHAR, game_site VARCHAR, opponent VARCHAR) ### ANSWER SELECT COUNT(week) FROM table_14940519_1 WHERE game_site = "Memorial Stadium" AND opponent = "Buffalo Bills"
{ "answer": "SELECT COUNT(week) FROM table_14940519_1 WHERE game_site = \"Memorial Stadium\" AND opponent = \"Buffalo Bills\"", "context": "CREATE TABLE table_14940519_1 (week VARCHAR, game_site VARCHAR, opponent VARCHAR)", "question": "Name the number of week for game site being memorial stadium for buffalo bills" }
### QUESTION When william b. campbell (u) is the successor what is the district? ### CONTEXT CREATE TABLE table_2147588_4 (district VARCHAR, successor VARCHAR) ### ANSWER SELECT district FROM table_2147588_4 WHERE successor = "William B. Campbell (U)"
{ "answer": "SELECT district FROM table_2147588_4 WHERE successor = \"William B. Campbell (U)\"", "context": "CREATE TABLE table_2147588_4 (district VARCHAR, successor VARCHAR)", "question": "When william b. campbell (u) is the successor what is the district?" }
### QUESTION What is the Comp of the Shooter with a Score of 489.5? ### CONTEXT CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR) ### ANSWER SELECT comp FROM table_name_3 WHERE score = "489.5"
{ "answer": "SELECT comp FROM table_name_3 WHERE score = \"489.5\"", "context": "CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR)", "question": "What is the Comp of the Shooter with a Score of 489.5?" }
### QUESTION what is the tournament when the court surface is clay and began in 1892? ### CONTEXT CREATE TABLE table_name_46 (tournament VARCHAR, court_surface VARCHAR, began VARCHAR) ### ANSWER SELECT tournament FROM table_name_46 WHERE court_surface = "clay" AND began = 1892
{ "answer": "SELECT tournament FROM table_name_46 WHERE court_surface = \"clay\" AND began = 1892", "context": "CREATE TABLE table_name_46 (tournament VARCHAR, court_surface VARCHAR, began VARCHAR)", "question": "what is the tournament when the court surface is clay and began in 1892?" }
### QUESTION What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8? ### CONTEXT CREATE TABLE table_name_97 (location VARCHAR, reservation VARCHAR) ### ANSWER SELECT AVG(2000) FROM table_name_97 WHERE location = "montana" AND reservation = "fort peck indian reservation" AND 1979 < 26.8
{ "answer": "SELECT AVG(2000) FROM table_name_97 WHERE location = \"montana\" AND reservation = \"fort peck indian reservation\" AND 1979 < 26.8", "context": "CREATE TABLE table_name_97 (location VARCHAR, reservation VARCHAR)", "question": "What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8?" }
### QUESTION Who is the player that plays position f from Fort Wayne Pistons? ### CONTEXT CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR) ### ANSWER SELECT player FROM table_name_89 WHERE team = "fort wayne pistons" AND position = "f"
{ "answer": "SELECT player FROM table_name_89 WHERE team = \"fort wayne pistons\" AND position = \"f\"", "context": "CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR)", "question": "Who is the player that plays position f from Fort Wayne Pistons?" }
### QUESTION What is the purpose for Frequency of 102.3? ### CONTEXT CREATE TABLE table_name_65 (purpose VARCHAR, frequency VARCHAR) ### ANSWER SELECT purpose FROM table_name_65 WHERE frequency = "102.3"
{ "answer": "SELECT purpose FROM table_name_65 WHERE frequency = \"102.3\"", "context": "CREATE TABLE table_name_65 (purpose VARCHAR, frequency VARCHAR)", "question": "What is the purpose for Frequency of 102.3?" }
### QUESTION What was the nominated work, nominated for the drama league award before 2007? ### CONTEXT CREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR) ### ANSWER SELECT nominated_work FROM table_name_29 WHERE result = "nominated" AND award = "drama league award" AND year < 2007
{ "answer": "SELECT nominated_work FROM table_name_29 WHERE result = \"nominated\" AND award = \"drama league award\" AND year < 2007", "context": "CREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR)", "question": "What was the nominated work, nominated for the drama league award before 2007?" }
### QUESTION What is the antiparticle symbol with a rest mess (mev/c2) of .47 ± .33? ### CONTEXT CREATE TABLE table_name_16 (antiparticle_symbol VARCHAR, rest_mass___mev___c_2__ VARCHAR) ### ANSWER SELECT antiparticle_symbol FROM table_name_16 WHERE rest_mass___mev___c_2__ = ".47 ± .33"
{ "answer": "SELECT antiparticle_symbol FROM table_name_16 WHERE rest_mass___mev___c_2__ = \".47 ± .33\"", "context": "CREATE TABLE table_name_16 (antiparticle_symbol VARCHAR, rest_mass___mev___c_2__ VARCHAR)", "question": "What is the antiparticle symbol with a rest mess (mev/c2) of .47 ± .33?" }
### QUESTION who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin ### CONTEXT CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR, voice_actor__english_2006___funimation_ VARCHAR) ### ANSWER SELECT voice_actor__english_1998___pioneer_ FROM table_1410384_1 WHERE voice_actor__english_1997___saban_ = "Alec Willows" AND voice_actor__english_2006___funimation_ = "Andy McAvin"
{ "answer": "SELECT voice_actor__english_1998___pioneer_ FROM table_1410384_1 WHERE voice_actor__english_1997___saban_ = \"Alec Willows\" AND voice_actor__english_2006___funimation_ = \"Andy McAvin\"", "context": "CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR, voice_actor__english_2006___funimation_ VARCHAR)", "question": "who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin" }
### QUESTION What year did Ivanovic win with Ivanovic greater than 4 and round of R16? ### CONTEXT CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"
{ "answer": "SELECT SUM(year) FROM table_name_95 WHERE winner = \"ivanovic\" AND \"ivanovic\" > 4 AND round = \"r16\"", "context": "CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR)", "question": "What year did Ivanovic win with Ivanovic greater than 4 and round of R16?" }
### QUESTION Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009? ### CONTEXT CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR) ### ANSWER SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–2009"
{ "answer": "SELECT senior_status FROM table_name_7 WHERE appointed_by = \"l. johnson category:articles with hcards\" AND born_died = \"1918–2009\"", "context": "CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR)", "question": "Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?" }
### QUESTION Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112 ### CONTEXT CREATE TABLE table_name_12 (declination___j2000__ VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) ### ANSWER SELECT declination___j2000__ FROM table_name_12 WHERE apparent_magnitude > 10.4 AND ngc_number = 5112
{ "answer": "SELECT declination___j2000__ FROM table_name_12 WHERE apparent_magnitude > 10.4 AND ngc_number = 5112", "context": "CREATE TABLE table_name_12 (declination___j2000__ VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)", "question": "Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112" }
### QUESTION Name the sanskrit word and meaning for aquarius ### CONTEXT CREATE TABLE table_20354_7 (sanskrit_word_and_meaning VARCHAR, zodiac_sign VARCHAR) ### ANSWER SELECT sanskrit_word_and_meaning FROM table_20354_7 WHERE zodiac_sign = "Aquarius"
{ "answer": "SELECT sanskrit_word_and_meaning FROM table_20354_7 WHERE zodiac_sign = \"Aquarius\"", "context": "CREATE TABLE table_20354_7 (sanskrit_word_and_meaning VARCHAR, zodiac_sign VARCHAR)", "question": "Name the sanskrit word and meaning for aquarius" }
### QUESTION When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket? ### CONTEXT CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR) ### ANSWER SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"
{ "answer": "SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = \"john emanuel\"", "context": "CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)", "question": "When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?" }
### QUESTION Who is the opponent in the final of the tournament on May 22, 2006? ### CONTEXT CREATE TABLE table_name_88 (opponent_in_final VARCHAR, date VARCHAR) ### ANSWER SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 2006"
{ "answer": "SELECT opponent_in_final FROM table_name_88 WHERE date = \"may 22, 2006\"", "context": "CREATE TABLE table_name_88 (opponent_in_final VARCHAR, date VARCHAR)", "question": "Who is the opponent in the final of the tournament on May 22, 2006?" }
### QUESTION What race after round 6 did Graham Rahal win with a pole position of graham rahal? ### CONTEXT CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR) ### ANSWER SELECT race_name FROM table_name_59 WHERE winning_driver = "graham rahal" AND round > 6 AND pole_position = "graham rahal"
{ "answer": "SELECT race_name FROM table_name_59 WHERE winning_driver = \"graham rahal\" AND round > 6 AND pole_position = \"graham rahal\"", "context": "CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR)", "question": "What race after round 6 did Graham Rahal win with a pole position of graham rahal?" }
### QUESTION What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1? ### CONTEXT CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR) ### ANSWER SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura"
{ "answer": "SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = \"mitsuru matsumura\"", "context": "CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR)", "question": "What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1?" }
### QUESTION What yacht type is involved where Bob Oatley is the skipper? ### CONTEXT CREATE TABLE table_25594888_1 (yacht VARCHAR, skipper VARCHAR) ### ANSWER SELECT yacht AS type FROM table_25594888_1 WHERE skipper = "Bob Oatley"
{ "answer": "SELECT yacht AS type FROM table_25594888_1 WHERE skipper = \"Bob Oatley\"", "context": "CREATE TABLE table_25594888_1 (yacht VARCHAR, skipper VARCHAR)", "question": "What yacht type is involved where Bob Oatley is the skipper?" }
### QUESTION What is the total number of postseason games that team Boston Red Stockings participated in? ### CONTEXT CREATE TABLE postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(*) FROM (SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings')
{ "answer": "SELECT COUNT(*) FROM (SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings')", "context": "CREATE TABLE postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)", "question": "What is the total number of postseason games that team Boston Red Stockings participated in?" }
### QUESTION What is the fewest number of wins that had fewer than 7 draws and more than 30 played? ### CONTEXT CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR) ### ANSWER SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30
{ "answer": "SELECT MIN(wins) FROM table_name_26 WHERE draws < 7 AND played > 30", "context": "CREATE TABLE table_name_26 (wins INTEGER, draws VARCHAR, played VARCHAR)", "question": "What is the fewest number of wins that had fewer than 7 draws and more than 30 played?" }
### QUESTION Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate? ### CONTEXT CREATE TABLE table_name_8 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR) ### ANSWER SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = "violent crime"
{ "answer": "SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = \"violent crime\"", "context": "CREATE TABLE table_name_8 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR)", "question": "Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate?" }
### QUESTION What is the id and family name of the driver who has the longest laptime? ### CONTEXT CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE laptimes (driverid VARCHAR, milliseconds VARCHAR) ### ANSWER SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds DESC LIMIT 1
{ "answer": "SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds DESC LIMIT 1", "context": "CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE laptimes (driverid VARCHAR, milliseconds VARCHAR)", "question": "What is the id and family name of the driver who has the longest laptime?" }
### QUESTION What is the release date of the CD by EG Records in the UK? ### CONTEXT CREATE TABLE table_name_32 (release_date INTEGER, music_label VARCHAR, media VARCHAR, country VARCHAR) ### ANSWER SELECT SUM(release_date) FROM table_name_32 WHERE media = "cd" AND country = "uk" AND music_label = "eg records"
{ "answer": "SELECT SUM(release_date) FROM table_name_32 WHERE media = \"cd\" AND country = \"uk\" AND music_label = \"eg records\"", "context": "CREATE TABLE table_name_32 (release_date INTEGER, music_label VARCHAR, media VARCHAR, country VARCHAR)", "question": "What is the release date of the CD by EG Records in the UK?" }
### QUESTION Which team was 3:47.761 on day 2? ### CONTEXT CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR) ### ANSWER SELECT team FROM table_name_78 WHERE day_2 = "3:47.761"
{ "answer": "SELECT team FROM table_name_78 WHERE day_2 = \"3:47.761\"", "context": "CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)", "question": "Which team was 3:47.761 on day 2?" }
### QUESTION How many tournament wins were at Volvo Masters Andalucia? ### CONTEXT CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR) ### ANSWER SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
{ "answer": "SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = \"Volvo Masters Andalucia\"", "context": "CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)", "question": "How many tournament wins were at Volvo Masters Andalucia?" }
### QUESTION How many hours were flown in each of the years where more than 64379058.0 kilometers were flown? ### CONTEXT CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER) ### ANSWER SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0
{ "answer": "SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0", "context": "CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER)", "question": "How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?" }
### QUESTION What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? ### CONTEXT CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR) ### ANSWER SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984
{ "answer": "SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = \"patronymic\" AND etymology = \"son of christian\" AND number_of_bearers_1971 > 45.984", "context": "CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)", "question": "What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984?" }
### QUESTION What player in the United States had a total of 286 and won in 2003? ### CONTEXT CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) ### ANSWER SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003"
{ "answer": "SELECT player FROM table_name_78 WHERE country = \"united states\" AND total = 286 AND year_s__won = \"2003\"", "context": "CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)", "question": "What player in the United States had a total of 286 and won in 2003?" }
### QUESTION What is the series episode number with a segment of D, and having fluorescent tubes? ### CONTEXT CREATE TABLE table_name_22 (series_ep VARCHAR, segment_d VARCHAR) ### ANSWER SELECT series_ep FROM table_name_22 WHERE segment_d = "fluorescent tubes"
{ "answer": "SELECT series_ep FROM table_name_22 WHERE segment_d = \"fluorescent tubes\"", "context": "CREATE TABLE table_name_22 (series_ep VARCHAR, segment_d VARCHAR)", "question": "What is the series episode number with a segment of D, and having fluorescent tubes?" }
### QUESTION What was the score of the away team when the game was played at vfl park? ### CONTEXT CREATE TABLE table_name_83 (away_team VARCHAR, venue VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_83 WHERE venue = "vfl park"
{ "answer": "SELECT away_team AS score FROM table_name_83 WHERE venue = \"vfl park\"", "context": "CREATE TABLE table_name_83 (away_team VARCHAR, venue VARCHAR)", "question": "What was the score of the away team when the game was played at vfl park?" }
### QUESTION In games where st kilda was the away team, what was the smallest crowd? ### CONTEXT CREATE TABLE table_name_68 (crowd INTEGER, away_team VARCHAR) ### ANSWER SELECT MIN(crowd) FROM table_name_68 WHERE away_team = "st kilda"
{ "answer": "SELECT MIN(crowd) FROM table_name_68 WHERE away_team = \"st kilda\"", "context": "CREATE TABLE table_name_68 (crowd INTEGER, away_team VARCHAR)", "question": "In games where st kilda was the away team, what was the smallest crowd?" }
### QUESTION how many series have production code 8acx05 ### CONTEXT CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR) ### ANSWER SELECT no_in_series FROM table_26259391_1 WHERE production_code = "8ACX05"
{ "answer": "SELECT no_in_series FROM table_26259391_1 WHERE production_code = \"8ACX05\"", "context": "CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR)", "question": "how many series have production code 8acx05" }
### QUESTION How many lesson does customer with first name Ray took? ### CONTEXT CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR); CREATE TABLE Lessons (customer_id VARCHAR) ### ANSWER SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Ray"
{ "answer": "SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Ray\"", "context": "CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR); CREATE TABLE Lessons (customer_id VARCHAR)", "question": "How many lesson does customer with first name Ray took?" }
### QUESTION How many degrees does the engineering department offer? ### CONTEXT CREATE TABLE Degree_Programs (department_id VARCHAR); CREATE TABLE Departments (department_id VARCHAR, department_name VARCHAR) ### ANSWER SELECT COUNT(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'
{ "answer": "SELECT COUNT(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer'", "context": "CREATE TABLE Degree_Programs (department_id VARCHAR); CREATE TABLE Departments (department_id VARCHAR, department_name VARCHAR)", "question": "How many degrees does the engineering department offer?" }
### QUESTION what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon ### CONTEXT CREATE TABLE table_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR) ### ANSWER SELECT wii_points FROM table_13663434_1 WHERE title_and_source = "Tsūshin Taikyoku: Igo Dōjō 2700-Mon"
{ "answer": "SELECT wii_points FROM table_13663434_1 WHERE title_and_source = \"Tsūshin Taikyoku: Igo Dōjō 2700-Mon\"", "context": "CREATE TABLE table_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR)", "question": "what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon" }
### QUESTION Which Points 1 has a Team of atherton collieries, and a Position smaller than 8? ### CONTEXT CREATE TABLE table_name_11 (points_1 INTEGER, team VARCHAR, position VARCHAR) ### ANSWER SELECT MAX(points_1) FROM table_name_11 WHERE team = "atherton collieries" AND position < 8
{ "answer": "SELECT MAX(points_1) FROM table_name_11 WHERE team = \"atherton collieries\" AND position < 8", "context": "CREATE TABLE table_name_11 (points_1 INTEGER, team VARCHAR, position VARCHAR)", "question": "Which Points 1 has a Team of atherton collieries, and a Position smaller than 8?" }
### QUESTION Name the name origin for 54.0e ### CONTEXT CREATE TABLE table_16799784_2 (name VARCHAR, longitude VARCHAR) ### ANSWER SELECT name AS origin FROM table_16799784_2 WHERE longitude = "54.0E"
{ "answer": "SELECT name AS origin FROM table_16799784_2 WHERE longitude = \"54.0E\"", "context": "CREATE TABLE table_16799784_2 (name VARCHAR, longitude VARCHAR)", "question": "Name the name origin for 54.0e" }
### QUESTION What was the score when the record was 21-31-13? ### CONTEXT CREATE TABLE table_17360840_9 (score VARCHAR, record VARCHAR) ### ANSWER SELECT score FROM table_17360840_9 WHERE record = "21-31-13"
{ "answer": "SELECT score FROM table_17360840_9 WHERE record = \"21-31-13\"", "context": "CREATE TABLE table_17360840_9 (score VARCHAR, record VARCHAR)", "question": "What was the score when the record was 21-31-13?" }
### QUESTION What is the home team score of the Ghantoot Racing and Polo Club Ground? ### CONTEXT CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"
{ "answer": "SELECT home_team AS score FROM table_name_25 WHERE ground = \"ghantoot racing and polo club\"", "context": "CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)", "question": "What is the home team score of the Ghantoot Racing and Polo Club Ground?" }
### QUESTION What is the regulated retail price for the tariff code ff0 prs? ### CONTEXT CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR) ### ANSWER SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "ff0 PRS"
{ "answer": "SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = \"ff0 PRS\"", "context": "CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)", "question": "What is the regulated retail price for the tariff code ff0 prs?" }
### QUESTION What is average frequency MHZ when is in portales, new mexico? ### CONTEXT CREATE TABLE table_name_13 (frequency_mhz INTEGER, city_of_license VARCHAR) ### ANSWER SELECT AVG(frequency_mhz) FROM table_name_13 WHERE city_of_license = "portales, new mexico"
{ "answer": "SELECT AVG(frequency_mhz) FROM table_name_13 WHERE city_of_license = \"portales, new mexico\"", "context": "CREATE TABLE table_name_13 (frequency_mhz INTEGER, city_of_license VARCHAR)", "question": "What is average frequency MHZ when is in portales, new mexico?" }
### QUESTION what is the largest city where the province is eastern cape? ### CONTEXT CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR) ### ANSWER SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape"
{ "answer": "SELECT largest_city FROM table_17416221_1 WHERE province = \"Eastern Cape\"", "context": "CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR)", "question": "what is the largest city where the province is eastern cape?" }