text
stringlengths
114
1.06k
### question: What is the score of Howard Clark from England with a To Par of +1? ### answer: SELECT score FROM table_name_55 WHERE to_par = "+1" AND country = "england" AND player = "howard clark" ### context: CREATE TABLE table_name_55 (score VARCHAR, player VARCHAR, to_par VARCHAR, country VARCHAR)
### question: What is the score of the player with a To Par of +1 from Spain? ### answer: SELECT score FROM table_name_54 WHERE to_par = "+1" AND country = "spain" ### context: CREATE TABLE table_name_54 (score VARCHAR, to_par VARCHAR, country VARCHAR)
### question: Who won the event against U.S.A.? ### answer: SELECT status FROM table_name_39 WHERE opposing_teams = "u.s.a." ### context: CREATE TABLE table_name_39 (status VARCHAR, opposing_teams VARCHAR)
### question: Where was the match on 10/11/2001 against 15? ### answer: SELECT venue FROM table_name_3 WHERE against = 15 AND date = "10/11/2001" ### context: CREATE TABLE table_name_3 (venue VARCHAR, against VARCHAR, date VARCHAR)
### question: What is the lowest against team in the Six Nations status in Lansdowne Road, Dublin? ### answer: SELECT MIN(against) FROM table_name_81 WHERE status = "six nations" AND venue = "lansdowne road, dublin" ### context: CREATE TABLE table_name_81 (against INTEGER, status VARCHAR, venue VARCHAR)
### question: What 2008 has 1r as a 2010, A as the 2007, and 1r as the 2009? ### answer: SELECT 2008 FROM table_name_54 WHERE 2010 = "1r" AND 2007 = "a" AND 2009 = "1r" ### context: CREATE TABLE table_name_54 (Id VARCHAR)
### question: What 2008 has A as the 2007, and 2r as the 2010? ### answer: SELECT 2008 FROM table_name_40 WHERE 2007 = "a" AND 2010 = "2r" ### context: CREATE TABLE table_name_40 (Id VARCHAR)
### question: What 2009 has lq as the 2011? ### answer: SELECT 2009 FROM table_name_58 WHERE 2011 = "lq" ### context: CREATE TABLE table_name_58 (Id VARCHAR)
### question: What 2009 has 345 as the 2007? ### answer: SELECT 2009 FROM table_name_33 WHERE 2007 = "345" ### context: CREATE TABLE table_name_33 (Id VARCHAR)
### question: What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo? ### answer: SELECT nation FROM table_name_24 WHERE sport = "weightlifting" AND pinyin = "kùkè qúndǎo" ### context: CREATE TABLE table_name_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR)
### question: What day did Glentoran play at Windsor Park, Belfast? ### answer: SELECT date FROM table_name_34 WHERE team = "glentoran" AND venue = "windsor park, belfast" ### context: CREATE TABLE table_name_34 (date VARCHAR, team VARCHAR, venue VARCHAR)
### question: What day was the score 1-0? ### answer: SELECT date FROM table_name_39 WHERE score = "1-0" ### context: CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR)
### question: Which team scored 2-1? ### answer: SELECT team FROM table_name_40 WHERE score = "2-1" ### context: CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR)
### question: What is the 1998 value with 2r in 2003? ### answer: SELECT 1998 FROM table_name_60 WHERE 2003 = "2r" ### context: CREATE TABLE table_name_60 (Id VARCHAR)
### question: What is the 2004 value with 2r in 1994? ### answer: SELECT 2004 FROM table_name_60 WHERE 1994 = "2r" ### context: CREATE TABLE table_name_60 (Id VARCHAR)
### question: What is the 2003 value for the french open, which has a 1r in 1994? ### answer: SELECT 2003 FROM table_name_10 WHERE 1994 = "1r" AND tournament = "french open" ### context: CREATE TABLE table_name_10 (tournament VARCHAR)
### question: What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career? ### answer: SELECT 2003 FROM table_name_50 WHERE 1998 = "1r" AND 1994 = "1r" AND career = "7-12" ### context: CREATE TABLE table_name_50 (career VARCHAR)
### question: Which driver finished in position 8? ### answer: SELECT driver FROM table_name_50 WHERE fin_pos = 8 ### context: CREATE TABLE table_name_50 (driver VARCHAR, fin_pos VARCHAR)
### question: What is the average grid for Marco Andretti with a finishing position higher than 19? ### answer: SELECT AVG(grid) FROM table_name_85 WHERE driver = "marco andretti" AND fin_pos > 19 ### context: CREATE TABLE table_name_85 (grid INTEGER, driver VARCHAR, fin_pos VARCHAR)
### question: What is Car number 98's lowest grid? ### answer: SELECT MIN(grid) FROM table_name_53 WHERE car_no = 98 ### context: CREATE TABLE table_name_53 (grid INTEGER, car_no VARCHAR)
### question: What is the highest Laps Led with a grid of less than 4 and a finishing position of 15? ### answer: SELECT MAX(laps) AS Led FROM table_name_26 WHERE grid < 4 AND fin_pos = 15 ### context: CREATE TABLE table_name_26 (laps INTEGER, grid VARCHAR, fin_pos VARCHAR)
### question: What is the average Qiangshu lower than rank 4 and less than 9.22 Jianshu? ### answer: SELECT AVG(qiangshu) FROM table_name_45 WHERE rank > 4 AND jianshu < 9.22 ### context: CREATE TABLE table_name_45 (qiangshu INTEGER, rank VARCHAR, jianshu VARCHAR)
### question: What is the average Jianshu higher than rank 2, with a Qiangshu smaller than 9.85? ### answer: SELECT AVG(jianshu) FROM table_name_29 WHERE rank < 2 AND qiangshu < 9.85 ### context: CREATE TABLE table_name_29 (jianshu INTEGER, rank VARCHAR, qiangshu VARCHAR)
### question: On what date did the woman married to Louis II become consort? ### answer: SELECT became_consort FROM table_name_86 WHERE spouse = "louis ii" ### context: CREATE TABLE table_name_86 (became_consort VARCHAR, spouse VARCHAR)
### question: What is the Date of the game when the Record is 32–31–6? ### answer: SELECT date FROM table_name_8 WHERE record = "32–31–6" ### context: CREATE TABLE table_name_8 (date VARCHAR, record VARCHAR)
### question: What is the Opponent at the Honda Center on March 29? ### answer: SELECT opponent FROM table_name_66 WHERE arena = "honda center" AND date = "march 29" ### context: CREATE TABLE table_name_66 (opponent VARCHAR, arena VARCHAR, date VARCHAR)
### question: What is the Opponent when the Record is 34–31–6? ### answer: SELECT opponent FROM table_name_3 WHERE record = "34–31–6" ### context: CREATE TABLE table_name_3 (opponent VARCHAR, record VARCHAR)
### question: What is Date, when Away Team is "Minehead"? ### answer: SELECT date FROM table_name_13 WHERE away_team = "minehead" ### context: CREATE TABLE table_name_13 (date VARCHAR, away_team VARCHAR)
### question: What is Date, when Away Team is "Barnet"? ### answer: SELECT date FROM table_name_7 WHERE away_team = "barnet" ### context: CREATE TABLE table_name_7 (date VARCHAR, away_team VARCHAR)
### question: What is Tie no, when Home Team is "Hull City"? ### answer: SELECT tie_no FROM table_name_69 WHERE home_team = "hull city" ### context: CREATE TABLE table_name_69 (tie_no VARCHAR, home_team VARCHAR)
### question: What is Away Team, when Home Team is "Swindon Town"? ### answer: SELECT away_team FROM table_name_3 WHERE home_team = "swindon town" ### context: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)
### question: What is Away Team, when Home Team is "Boston United"? ### answer: SELECT away_team FROM table_name_30 WHERE home_team = "boston united" ### context: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR)
### question: What was Nick Faldo's score? ### answer: SELECT score FROM table_name_73 WHERE player = "nick faldo" ### context: CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR)
### question: What country placed t8 and scored 71-71-71=213? ### answer: SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213 ### context: CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)
### question: What was the place when the score was 67-73-73=213? ### answer: SELECT place FROM table_name_23 WHERE score = 67 - 73 - 73 = 213 ### context: CREATE TABLE table_name_23 (place VARCHAR, score VARCHAR)
### question: What was the place when the score was 70-69-74=213? ### answer: SELECT place FROM table_name_12 WHERE score = 70 - 69 - 74 = 213 ### context: CREATE TABLE table_name_12 (place VARCHAR, score VARCHAR)
### question: What was United States place when the player was Fred Couples? ### answer: SELECT place FROM table_name_26 WHERE country = "united states" AND player = "fred couples" ### context: CREATE TABLE table_name_26 (place VARCHAR, country VARCHAR, player VARCHAR)
### question: WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A? ### answer: SELECT tournament FROM table_name_82 WHERE 2008 = "a" AND 2011 = "a" ### context: CREATE TABLE table_name_82 (tournament VARCHAR)
### question: WHAT IS THE 2012 WITH 2005 OF 1R? ### answer: SELECT 2012 FROM table_name_35 WHERE 2005 = "1r" ### context: CREATE TABLE table_name_35 (Id VARCHAR)
### question: WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS? ### answer: SELECT 2010 FROM table_name_93 WHERE 2012 = "2r" AND tournament = "miami masters" ### context: CREATE TABLE table_name_93 (tournament VARCHAR)
### question: WHAT IS THE 2008 WITH TOURNAMENT OF WIN-LOSS, AND 2005 A? ### answer: SELECT 2008 FROM table_name_84 WHERE tournament = "win-loss" AND 2005 = "a" ### context: CREATE TABLE table_name_84 (tournament VARCHAR)
### question: WHAT IS THE 2007 AT MADRID MASTERS? ### answer: SELECT 2007 FROM table_name_5 WHERE tournament = "madrid masters" ### context: CREATE TABLE table_name_5 (tournament VARCHAR)
### question: WHAT IS THE 2011 WITH 2007 AT A AND2 008 AT 3R? ### answer: SELECT 2011 FROM table_name_67 WHERE 2007 = "a" AND 2008 = "3r" ### context: CREATE TABLE table_name_67 (Id VARCHAR)
### question: What game was released before 2010 with a Metacritic of 85/100? ### answer: SELECT game_title FROM table_name_48 WHERE metacritic = "85/100" AND year_released < 2010 ### context: CREATE TABLE table_name_48 (game_title VARCHAR, metacritic VARCHAR, year_released VARCHAR)
### question: What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%? ### answer: SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = "playstation 3" AND gamerankings = "84.44%" ### context: CREATE TABLE table_name_76 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR)
### question: What is the GameRankings Released of 2011 with a Metacritic of 83/100? ### answer: SELECT gamerankings FROM table_name_40 WHERE metacritic = "83/100" AND year_released = 2011 ### context: CREATE TABLE table_name_40 (gamerankings VARCHAR, metacritic VARCHAR, year_released VARCHAR)
### question: How many weeks have an attendance less than 26,048? ### answer: SELECT SUM(week) FROM table_name_7 WHERE attendance < 26 OFFSET 048 ### context: CREATE TABLE table_name_7 (week INTEGER, attendance INTEGER)
### question: What was the record when the Denver Broncos played the New York Titans at Bears Stadium? ### answer: SELECT record FROM table_name_44 WHERE game_site = "bears stadium" AND opponent = "new york titans" ### context: CREATE TABLE table_name_44 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)
### question: What was the result of the match on December 9, 1962? ### answer: SELECT result FROM table_name_78 WHERE date = "december 9, 1962" ### context: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
### question: What is To par, when Score is "70-68-68-71=277"? ### answer: SELECT to_par FROM table_name_18 WHERE score = 70 - 68 - 68 - 71 = 277 ### context: CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR)
### question: What is the score of the match on 12 September 1990? ### answer: SELECT score FROM table_name_29 WHERE date = "12 september 1990" ### context: CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR)
### question: For what league was the player in G position drafted? ### answer: SELECT league_from FROM table_name_87 WHERE position = "g" ### context: CREATE TABLE table_name_87 (league_from VARCHAR, position VARCHAR)
### question: What pick number was player Greg McKegg? ### answer: SELECT AVG(pick__number) FROM table_name_13 WHERE player = "greg mckegg" ### context: CREATE TABLE table_name_13 (pick__number INTEGER, player VARCHAR)
### question: What Place has a Player of tony jacklin? ### answer: SELECT place FROM table_name_28 WHERE player = "tony jacklin" ### context: CREATE TABLE table_name_28 (place VARCHAR, player VARCHAR)
### question: What Place has a Player of bernhard langer? ### answer: SELECT place FROM table_name_49 WHERE player = "bernhard langer" ### context: CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
### question: What Player has a Country of west germany? ### answer: SELECT player FROM table_name_86 WHERE country = "west germany" ### context: CREATE TABLE table_name_86 (player VARCHAR, country VARCHAR)
### question: What Player has a To par of –2? ### answer: SELECT player FROM table_name_20 WHERE to_par = "–2" ### context: CREATE TABLE table_name_20 (player VARCHAR, to_par VARCHAR)
### question: What To par has a Place of t2, and a Country of united states? ### answer: SELECT to_par FROM table_name_11 WHERE place = "t2" AND country = "united states" ### context: CREATE TABLE table_name_11 (to_par VARCHAR, place VARCHAR, country VARCHAR)
### question: What Score has a Place of t2, and a Country of england? ### answer: SELECT score FROM table_name_75 WHERE place = "t2" AND country = "england" ### context: CREATE TABLE table_name_75 (score VARCHAR, place VARCHAR, country VARCHAR)
### question: How many tries were there for club cwmtwrch rfc? ### answer: SELECT tries_against FROM table_name_52 WHERE club = "cwmtwrch rfc" ### context: CREATE TABLE table_name_52 (tries_against VARCHAR, club VARCHAR)
### question: What is the draw when the tries against was 69? ### answer: SELECT drawn FROM table_name_75 WHERE tries_against = "69" ### context: CREATE TABLE table_name_75 (drawn VARCHAR, tries_against VARCHAR)
### question: What is the try bonus when the loss is 13 and the draw is 2? ### answer: SELECT try_bonus FROM table_name_51 WHERE lost = "13" AND drawn = "2" ### context: CREATE TABLE table_name_51 (try_bonus VARCHAR, lost VARCHAR, drawn VARCHAR)
### question: What is the average Finish, when Team is "Buck Baker", and when Start is less than 13? ### answer: SELECT AVG(finish) FROM table_name_39 WHERE team = "buck baker" AND start < 13 ### context: CREATE TABLE table_name_39 (finish INTEGER, team VARCHAR, start VARCHAR)
### question: What is the average Year, when Start is "11"? ### answer: SELECT AVG(year) FROM table_name_42 WHERE start = 11 ### context: CREATE TABLE table_name_42 (year INTEGER, start VARCHAR)
### question: What is the lowest Year, when Finish is "29", and when Start is less than 24? ### answer: SELECT MIN(year) FROM table_name_14 WHERE finish = 29 AND start < 24 ### context: CREATE TABLE table_name_14 (year INTEGER, finish VARCHAR, start VARCHAR)
### question: What is the highest Year, when Finish is "51", and when Start is less than 64? ### answer: SELECT MAX(year) FROM table_name_29 WHERE finish = 51 AND start < 64 ### context: CREATE TABLE table_name_29 (year INTEGER, finish VARCHAR, start VARCHAR)
### question: What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is "1973"? ### answer: SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973 ### context: CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR)
### question: What is the opposing team with 11 against? ### answer: SELECT opposing_teams FROM table_name_7 WHERE against = 11 ### context: CREATE TABLE table_name_7 (opposing_teams VARCHAR, against VARCHAR)
### question: What is the venue where Argentina was the opposing team in a test match? ### answer: SELECT venue FROM table_name_26 WHERE opposing_teams = "argentina" AND status = "test match" ### context: CREATE TABLE table_name_26 (venue VARCHAR, opposing_teams VARCHAR, status VARCHAR)
### question: What is the status of the game against France with more than 16 against? ### answer: SELECT status FROM table_name_18 WHERE against > 16 AND opposing_teams = "france" ### context: CREATE TABLE table_name_18 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
### question: On what date is there a status of Five Nations and an against of 23? ### answer: SELECT date FROM table_name_10 WHERE status = "five nations" AND against = 23 ### context: CREATE TABLE table_name_10 (date VARCHAR, status VARCHAR, against VARCHAR)
### question: What model has a number built smaller than 6.526, and the Chassis code w109.015? ### answer: SELECT model FROM table_name_82 WHERE number_built < 6.526 AND chassis_code = "w109.015" ### context: CREATE TABLE table_name_82 (model VARCHAR, number_built VARCHAR, chassis_code VARCHAR)
### question: What was the record at Tiger Stadium? ### answer: SELECT record FROM table_name_30 WHERE game_site = "tiger stadium" ### context: CREATE TABLE table_name_30 (record VARCHAR, game_site VARCHAR)
### question: What was the attendance on September 19, 1971, after week 1? ### answer: SELECT AVG(attendance) FROM table_name_38 WHERE date = "september 19, 1971" AND week > 1 ### context: CREATE TABLE table_name_38 (attendance INTEGER, date VARCHAR, week VARCHAR)
### question: How many Bronze medals did the team ranked 1 win? ### answer: SELECT bronze FROM table_name_32 WHERE rank = "1" ### context: CREATE TABLE table_name_32 (bronze VARCHAR, rank VARCHAR)
### question: What is the date for the MF position and player Jennison Myrie-Williams? ### answer: SELECT date_from FROM table_name_50 WHERE position = "mf" AND name = "jennison myrie-williams" ### context: CREATE TABLE table_name_50 (date_from VARCHAR, position VARCHAR, name VARCHAR)
### question: What Goals has a Team of zamora, and Average larger than 0.89? ### answer: SELECT AVG(goals) FROM table_name_92 WHERE team = "zamora" AND average > 0.89 ### context: CREATE TABLE table_name_92 (goals INTEGER, team VARCHAR, average VARCHAR)
### question: What is the sum of Goals win an Average larger than 1? ### answer: SELECT COUNT(goals) FROM table_name_94 WHERE average > 1 ### context: CREATE TABLE table_name_94 (goals VARCHAR, average INTEGER)
### question: What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18? ### answer: SELECT MIN(matches) FROM table_name_26 WHERE goalkeeper = "josé bermúdez" AND goals > 18 ### context: CREATE TABLE table_name_26 (matches INTEGER, goalkeeper VARCHAR, goals VARCHAR)
### question: What is the total of Matches with Goals of 18, and an Average larger than 0.55? ### answer: SELECT SUM(matches) FROM table_name_30 WHERE goals = 18 AND average > 0.55 ### context: CREATE TABLE table_name_30 (matches INTEGER, goals VARCHAR, average VARCHAR)
### question: What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural leonesa? ### answer: SELECT MAX(average) FROM table_name_80 WHERE goals < 34 AND matches > 30 AND team = "cultural leonesa" ### context: CREATE TABLE table_name_80 (average INTEGER, team VARCHAR, goals VARCHAR, matches VARCHAR)
### question: Which To par has a Score of 78-74-71-75=298? ### answer: SELECT AVG(to_par) FROM table_name_52 WHERE score = 78 - 74 - 71 - 75 = 298 ### context: CREATE TABLE table_name_52 (to_par INTEGER, score VARCHAR)
### question: How much To par has a Country of united states, and a Money ($) of 90? ### answer: SELECT COUNT(to_par) FROM table_name_42 WHERE country = "united states" AND money___$__ = 90 ### context: CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, money___$__ VARCHAR)
### question: What is are the highest matches with £5,000 in prize money? ### answer: SELECT MAX(matches) FROM table_name_77 WHERE prize_money = "£5,000" ### context: CREATE TABLE table_name_77 (matches INTEGER, prize_money VARCHAR)
### question: What is the prize money amount after match 1, with 102 new entries to the round? ### answer: SELECT prize_money FROM table_name_40 WHERE matches > 1 AND new_entries_this_round = "102" ### context: CREATE TABLE table_name_40 (prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR)
### question: In what place did Darren Clarke finish? ### answer: SELECT place FROM table_name_23 WHERE player = "darren clarke" ### context: CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR)
### question: What was Ernie Els's score? ### answer: SELECT score FROM table_name_86 WHERE player = "ernie els" ### context: CREATE TABLE table_name_86 (score VARCHAR, player VARCHAR)
### question: In what place did Tom Lehman finish? ### answer: SELECT place FROM table_name_29 WHERE player = "tom lehman" ### context: CREATE TABLE table_name_29 (place VARCHAR, player VARCHAR)
### question: In what place did the golfer that scored 68-70-69=207 finish? ### answer: SELECT place FROM table_name_59 WHERE score = 68 - 70 - 69 = 207 ### context: CREATE TABLE table_name_59 (place VARCHAR, score VARCHAR)
### question: What were the highest laps for glenn seton gregg hansford? ### answer: SELECT MAX(laps) FROM table_name_1 WHERE drivers = "glenn seton gregg hansford" ### context: CREATE TABLE table_name_1 (laps INTEGER, drivers VARCHAR)
### question: What driver had 101 laps? ### answer: SELECT drivers FROM table_name_86 WHERE laps = 101 ### context: CREATE TABLE table_name_86 (drivers VARCHAR, laps VARCHAR)
### question: Gary Barnett who has been in 0 FA Cups plays what position? ### answer: SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett" ### context: CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)
### question: What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals? ### answer: SELECT MAX(league_cup_goals) FROM table_name_23 WHERE fa_cup_apps = "0" AND position = "mf" AND league_apps = "1" AND total_goals < 0 ### context: CREATE TABLE table_name_23 (league_cup_goals INTEGER, total_goals VARCHAR, league_apps VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)
### question: How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF? ### answer: SELECT flt_apps FROM table_name_62 WHERE total_goals < 5 AND fa_cup_apps = "3" AND position = "mf" AND league_goals = 4 ### context: CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR)
### question: Who was the opponent when the attendance was 87,453? ### answer: SELECT opponent_number FROM table_name_28 WHERE attendance = "87,453" ### context: CREATE TABLE table_name_28 (opponent_number VARCHAR, attendance VARCHAR)
### question: What was the attendance when they had a ranking of #4? ### answer: SELECT attendance FROM table_name_42 WHERE rank__number = "4" ### context: CREATE TABLE table_name_42 (attendance VARCHAR, rank__number VARCHAR)
### question: What's the average Played for a draw of 5 and more than 43 points? ### answer: SELECT AVG(played) FROM table_name_68 WHERE draw = 5 AND points > 43 ### context: CREATE TABLE table_name_68 (played INTEGER, draw VARCHAR, points VARCHAR)
### question: What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth? ### answer: SELECT govt_salary FROM table_name_19 WHERE romanised_name = "chen wei-on, kenneth" ### context: CREATE TABLE table_name_19 (govt_salary VARCHAR, romanised_name VARCHAR)
### question: What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀? ### answer: SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀" ### context: CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR)
### question: What is the Romanised name of the Undersecretary with an education portfolio attachment? ### answer: SELECT romanised_name FROM table_name_84 WHERE portfolio_attachment = "education" ### context: CREATE TABLE table_name_84 (romanised_name VARCHAR, portfolio_attachment VARCHAR)