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