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