question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What GERB has an 11% Attack? | CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR) | SELECT gerb FROM table_name_16 WHERE attack = "11%" |
Which Tie # has a Score of 3–0, and a Home team of bristol rovers? | CREATE TABLE table_name_39 (tie_no VARCHAR, score VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_39 WHERE score = "3–0" AND home_team = "bristol rovers" |
Which Score has a Home team of yeovil town won 5–3 on penalties? | CREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties" |
Which Tie # has an Away team of slough town? | CREATE TABLE table_name_66 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_66 WHERE away_team = "slough town" |
Which Attendance has a Tie # of 32? | CREATE TABLE table_name_13 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_13 WHERE tie_no = "32" |
Which Away team has a Tie # of replay, and an Attendance of 24 november 1998, and a Home team of rotherham united? | CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_51 WHERE tie_no = "replay" AND attendance = "24 november 1998" AND home_team = "rotherham united" |
Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes? | CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes" |
Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore | CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore" |
Name the score for 21 may 2011 | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "21 may 2011" |
Name the partner with opponent of michaëlla krajicek eleni daniilidou | CREATE TABLE table_name_20 (partner VARCHAR, opponent VARCHAR) | SELECT partner FROM table_name_20 WHERE opponent = "michaëlla krajicek eleni daniilidou" |
Name the outcome for opponent of michaëlla krajicek eleni daniilidou | CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_98 WHERE opponent = "michaëlla krajicek eleni daniilidou" |
How many wins had Matches greater than 5? | CREATE TABLE table_name_82 (wins INTEGER, matches INTEGER) | SELECT SUM(wins) FROM table_name_82 WHERE matches > 5 |
What was the round number when Michael Hjalm played? | CREATE TABLE table_name_27 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_27 WHERE player = "michael hjalm" |
What is the position Bill Campbell played before round 6? | CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, player VARCHAR) | SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell" |
What is the date for the release with a catalogue number of WARPCDD333? | CREATE TABLE table_name_73 (date VARCHAR, catalogue_number VARCHAR) | SELECT date FROM table_name_73 WHERE catalogue_number = "warpcdd333" |
What is the country/region for the releases from Beat Records? | CREATE TABLE table_name_9 (country_region VARCHAR, label VARCHAR) | SELECT country_region FROM table_name_9 WHERE label = "beat records" |
What is the Total with a Player named robbie winters? | CREATE TABLE table_name_95 (total VARCHAR, player VARCHAR) | SELECT total FROM table_name_95 WHERE player = "robbie winters" |
What Position has a Player named kenneth udjus? | CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_47 WHERE player = "kenneth udjus" |
What is the latest day in November of the game with a 15-5-2 record? | CREATE TABLE table_name_60 (november INTEGER, record VARCHAR) | SELECT MAX(november) FROM table_name_60 WHERE record = "15-5-2" |
What is the latest day in November with a game 15? | CREATE TABLE table_name_31 (november INTEGER, game VARCHAR) | SELECT MAX(november) FROM table_name_31 WHERE game = 15 |
What is the lowest wins with points larger than 46, and a rank of 10th? | CREATE TABLE table_name_55 (wins INTEGER, points VARCHAR, rank VARCHAR) | SELECT MIN(wins) FROM table_name_55 WHERE points > 46 AND rank = "10th" |
What is the average points with a year higher than 1989, and a rank of 7th? | CREATE TABLE table_name_60 (points INTEGER, year VARCHAR, rank VARCHAR) | SELECT AVG(points) FROM table_name_60 WHERE year > 1989 AND rank = "7th" |
What is the year that has points larger than 20? | CREATE TABLE table_name_84 (year VARCHAR, points INTEGER) | SELECT COUNT(year) FROM table_name_84 WHERE points > 20 |
What is year that has points larger than 46, and a rank of 6th? | CREATE TABLE table_name_45 (year INTEGER, points VARCHAR, rank VARCHAR) | SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th" |
What earliest year with points larger than 68 and a rank of 7th? | CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) | SELECT MIN(year) FROM table_name_71 WHERE points > 68 AND rank = "7th" |
what player went to ul-monroe | CREATE TABLE table_name_7 (player VARCHAR, school VARCHAR) | SELECT player FROM table_name_7 WHERE school = "ul-monroe" |
How many drawn having more than 9 points? | CREATE TABLE table_name_86 (drawn INTEGER, points INTEGER) | SELECT SUM(drawn) FROM table_name_86 WHERE points > 9 |
Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed? | CREATE TABLE table_name_26 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR) | SELECT number_stayed_in_southeast FROM table_name_26 WHERE total_number_emigrated_or_forcibly_removed = "over 4,000" |
How many warfare deaths befell the choctaw nation? | CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR) | SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw" |
How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed? | CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR) | SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed = "19,600" |
Which removal treaty covered the chickasaw nation? | CREATE TABLE table_name_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR) | SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE nation = "chickasaw" |
When did stage 5 occur? | CREATE TABLE table_name_53 (date VARCHAR, stage VARCHAR) | SELECT date FROM table_name_53 WHERE stage = 5 |
Who were the opponents during week 14? | CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_53 WHERE week = 14 |
What is the highest attendance for the game before week 13 on December 9, 1973? | CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_45 WHERE date = "december 9, 1973" AND week < 13 |
What is the average attendance for the games after week 2 on September 23, 1973? | CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT AVG(attendance) FROM table_name_31 WHERE date = "september 23, 1973" AND week > 2 |
What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220? | CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220 |
Record of 9–1 had what game site? | CREATE TABLE table_name_70 (game_site VARCHAR, record VARCHAR) | SELECT game_site FROM table_name_70 WHERE record = "9–1" |
Record of 8–1, and a Week larger than 9 had what highest attendance? | CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9 |
Result of w 24–21, and a Week smaller than 6 had what sum of attendance? | CREATE TABLE table_name_9 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT SUM(attendance) FROM table_name_9 WHERE result = "w 24–21" AND week < 6 |
Date of October 25, 1964 involves what record? | CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_1 WHERE date = "october 25, 1964" |
What is the high total for algeria with over 2 bronzes? | CREATE TABLE table_name_82 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(total) FROM table_name_82 WHERE nation = "algeria" AND bronze > 2 |
What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes? | CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR) | SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2 |
How many bronzes for the nation with over 20 total, under 26 golds, and over 0 silvers? | CREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT COUNT(bronze) FROM table_name_81 WHERE silver > 0 AND total > 20 AND gold < 26 |
Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver? | CREATE TABLE table_name_27 (bronze VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT bronze FROM table_name_27 WHERE gold = "choi jun-sang" AND silver = "suh jung-kyun" |
Who won bronze in Seoul? | CREATE TABLE table_name_20 (bronze VARCHAR, location VARCHAR) | SELECT bronze FROM table_name_20 WHERE location = "seoul" |
Who won bronze is 2006? | CREATE TABLE table_name_7 (bronze VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_7 WHERE year = 2006 |
What year did the event in Hiroshima take place? | CREATE TABLE table_name_70 (year VARCHAR, location VARCHAR) | SELECT COUNT(year) FROM table_name_70 WHERE location = "hiroshima" |
Who won bronze in 2002? | CREATE TABLE table_name_35 (bronze VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_35 WHERE year = 2002 |
What is the game number of the game with the Edmonton Oilers as the opponent after February 12? | CREATE TABLE table_name_74 (game VARCHAR, opponent VARCHAR, february VARCHAR) | SELECT COUNT(game) FROM table_name_74 WHERE opponent = "edmonton oilers" AND february > 12 |
How many Seasons that has Years of 1976–1977? | CREATE TABLE table_name_1 (seasons VARCHAR, years VARCHAR) | SELECT COUNT(seasons) FROM table_name_1 WHERE years = "1976–1977" |
What week of the season had a date of october 5, 1975? | CREATE TABLE table_name_24 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_24 WHERE date = "october 5, 1975" |
How many Events have a Top-10 larger than 6, and a Top-5 smaller than 8? | CREATE TABLE table_name_80 (events VARCHAR, top_10 VARCHAR, top_5 VARCHAR) | SELECT COUNT(events) FROM table_name_80 WHERE top_10 > 6 AND top_5 < 8 |
How many Wins have a Top-10 smaller than 6, and Cuts made larger than 7, and a Top-5 of 0? | CREATE TABLE table_name_57 (wins VARCHAR, top_5 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR) | SELECT COUNT(wins) FROM table_name_57 WHERE top_10 < 6 AND cuts_made > 7 AND top_5 = 0 |
What is the result of the game on May 14? | CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_49 WHERE date = "may 14" |
What is the result of the game on May 14 with Philadelphia as the road team? | CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 14" |
What is the result of the game on May 4 with Philadelphia as the road team? | CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 4" |
What is the road team of game 6 with Philadelphia as the home team? | CREATE TABLE table_name_56 (road_team VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT road_team FROM table_name_56 WHERE home_team = "philadelphia" AND game = "game 6" |
What is the result of game 5 with Los Angeles as the home team? | CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 5" |
What is the road team of the game with Philadelphia as the home team with a result of 105-102? | CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_53 WHERE home_team = "philadelphia" AND result = "105-102" |
Which Result has a Party of republican, and a First elected smaller than 1856? | CREATE TABLE table_name_26 (result VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT result FROM table_name_26 WHERE party = "republican" AND first_elected < 1856 |
Which District has a First elected of 1856, and an Incumbent of william kellogg? | CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg" |
Which First elected has a District of illinois 3? | CREATE TABLE table_name_52 (first_elected INTEGER, district VARCHAR) | SELECT MAX(first_elected) FROM table_name_52 WHERE district = "illinois 3" |
How much First elected has a Result of re-elected, and a Party of republican, and a District of illinois 4? | CREATE TABLE table_name_76 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR) | SELECT COUNT(first_elected) FROM table_name_76 WHERE result = "re-elected" AND party = "republican" AND district = "illinois 4" |
on january 7 what is home? | CREATE TABLE table_name_33 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_33 WHERE date = "january 7" |
on january 12 who was the visitor? | CREATE TABLE table_name_16 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_16 WHERE date = "january 12" |
on january 7 what is the record? | CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_63 WHERE date = "january 7" |
What is the total number of silver medals of the team with less than 2 gold, 1 bronze, and more than 2 total medals? | CREATE TABLE table_name_13 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_13 WHERE gold < 2 AND bronze = 1 AND total > 2 |
What is the highest number of silver medals of the team with less than 0 bronzes? | CREATE TABLE table_name_85 (silver INTEGER, bronze INTEGER) | SELECT MAX(silver) FROM table_name_85 WHERE bronze < 0 |
What is the total number of silver medals of the team ranked 7 with more than 1 total medal? | CREATE TABLE table_name_59 (silver VARCHAR, rank VARCHAR, total VARCHAR) | SELECT COUNT(silver) FROM table_name_59 WHERE rank = "7" AND total > 1 |
What is the average number of bronze medals of the team with 0 silvers, ranked 3, and less than 1 total medal? | CREATE TABLE table_name_52 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT AVG(bronze) FROM table_name_52 WHERE silver = 0 AND rank = "3" AND total < 1 |
What is the number of silver medals of the team with 0 gold, ranked 5, and more than 0 bronze medals? | CREATE TABLE table_name_84 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT SUM(silver) FROM table_name_84 WHERE gold = 0 AND rank = "5" AND bronze > 0 |
What was the sum for a top-10 U.S. open that had a top-25 bigger than 0? | CREATE TABLE table_name_83 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT SUM(top_10) FROM table_name_83 WHERE tournament = "u.s. open" AND top_25 > 0 |
What were the total number of cuts made in an event larger than 4 and a top-10 smaller than 4? | CREATE TABLE table_name_17 (cuts_made VARCHAR, events VARCHAR, top_10 VARCHAR) | SELECT COUNT(cuts_made) FROM table_name_17 WHERE events > 4 AND top_10 < 4 |
What is the total number of top-25 that has a top-10 smaller than 4 with 0 cuts? | CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR) | SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 < 4 AND cuts_made > 0 |
What was the cuts average in tournament totals in an event larger than 24? | CREATE TABLE table_name_62 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR) | SELECT AVG(cuts_made) FROM table_name_62 WHERE tournament = "totals" AND events > 24 |
What is the total for a top-10 in a masters tournament in an event smaller than 4? | CREATE TABLE table_name_52 (top_10 VARCHAR, tournament VARCHAR, events VARCHAR) | SELECT COUNT(top_10) FROM table_name_52 WHERE tournament = "masters tournament" AND events < 4 |
Which Against is the highest one that has a Team of flamengo, and a Lost smaller than 1? | CREATE TABLE table_name_95 (against INTEGER, team VARCHAR, lost VARCHAR) | SELECT MAX(against) FROM table_name_95 WHERE team = "flamengo" AND lost < 1 |
How many Lost have a Team of flamengo, and an Against smaller than 5? | CREATE TABLE table_name_92 (lost VARCHAR, team VARCHAR, against VARCHAR) | SELECT COUNT(lost) FROM table_name_92 WHERE team = "flamengo" AND against < 5 |
Which Played is the highest one that has Points of 5, and a Drawn smaller than 1? | CREATE TABLE table_name_94 (played INTEGER, points VARCHAR, drawn VARCHAR) | SELECT MAX(played) FROM table_name_94 WHERE points = 5 AND drawn < 1 |
What was the nationality for the player in Round 1? | CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_11 WHERE round = 1 |
Who plays the right wing position? | CREATE TABLE table_name_66 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_66 WHERE position = "right wing" |
What celebrity finished 6th? | CREATE TABLE table_name_79 (celebrity VARCHAR, finished VARCHAR) | SELECT celebrity FROM table_name_79 WHERE finished = "6th" |
What day did the celebrity who finished 4th enter? | CREATE TABLE table_name_96 (entered VARCHAR, finished VARCHAR) | SELECT entered FROM table_name_96 WHERE finished = "4th" |
Which celebrity who was famous for being the ex busted member and TV presenter exited on day 19? | CREATE TABLE table_name_53 (celebrity VARCHAR, exited VARCHAR, famous_for VARCHAR) | SELECT celebrity FROM table_name_53 WHERE exited = "day 19" AND famous_for = "ex busted member and tv presenter" |
Which celebrity was famous for finishing 9th? | CREATE TABLE table_name_52 (famous_for VARCHAR, finished VARCHAR) | SELECT famous_for FROM table_name_52 WHERE finished = "9th" |
What rank did Myleene Klass finish? | CREATE TABLE table_name_77 (finished VARCHAR, celebrity VARCHAR) | SELECT finished FROM table_name_77 WHERE celebrity = "myleene klass" |
Opponent of kilmarnock, and a Result of 1–1 happened in what venue? | CREATE TABLE table_name_24 (venue VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT venue FROM table_name_24 WHERE opponent = "kilmarnock" AND result = "1–1" |
what is the weight of a shot that is xx-inch? | CREATE TABLE table_name_51 (weight_of_shot VARCHAR, designation__bore_ VARCHAR) | SELECT weight_of_shot FROM table_name_51 WHERE designation__bore_ = "xx-inch" |
What is the length of the film with Burleigh Sullivan as the character? | CREATE TABLE table_name_30 (length VARCHAR, character_name VARCHAR) | SELECT length FROM table_name_30 WHERE character_name = "burleigh sullivan" |
What is the length of the film with the character type being a milkman turned prizefighter? | CREATE TABLE table_name_31 (length VARCHAR, character_type VARCHAR) | SELECT length FROM table_name_31 WHERE character_type = "milkman turned prizefighter" |
What is the character name that has phyllis welch as the leading lady? | CREATE TABLE table_name_97 (character_name VARCHAR, leading_lady VARCHAR) | SELECT character_name FROM table_name_97 WHERE leading_lady = "phyllis welch" |
Who directed the film that had phyllis welch as the leading lady? | CREATE TABLE table_name_74 (director_s_ VARCHAR, leading_lady VARCHAR) | SELECT director_s_ FROM table_name_74 WHERE leading_lady = "phyllis welch" |
What was the character name for the film with a release date of July 29, 1938? | CREATE TABLE table_name_72 (character_name VARCHAR, release_date VARCHAR) | SELECT character_name FROM table_name_72 WHERE release_date = "july 29, 1938" |
What Locomotive was Delivered as T414? | CREATE TABLE table_name_2 (locomotive VARCHAR, delivered_as VARCHAR) | SELECT locomotive FROM table_name_2 WHERE delivered_as = "t414" |
What Owner Delivered the T415? | CREATE TABLE table_name_70 (owner VARCHAR, delivered_as VARCHAR) | SELECT owner FROM table_name_70 WHERE delivered_as = "t415" |
What is the Entered service date of the T413? | CREATE TABLE table_name_32 (entered_service VARCHAR, delivered_as VARCHAR) | SELECT entered_service FROM table_name_32 WHERE delivered_as = "t413" |
What is the Delivered as name of the H3 Locomotive? | CREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR) | SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3" |
What is the Entered service date of the H1 Locomotive? | CREATE TABLE table_name_54 (entered_service VARCHAR, locomotive VARCHAR) | SELECT entered_service FROM table_name_54 WHERE locomotive = "h1" |
What was the highest week with a result of l 16–12? | CREATE TABLE table_name_53 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_53 WHERE result = "l 16–12" |
Who was the opponent at the game with a result of l 27–3? | CREATE TABLE table_name_52 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_52 WHERE result = "l 27–3" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.