question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the average roll of a school with state authority and a decile of 9? | CREATE TABLE table_name_93 (roll INTEGER, authority VARCHAR, decile VARCHAR) | SELECT AVG(roll) FROM table_name_93 WHERE authority = "state" AND decile = 9 |
Which area has state authority and a roll fewer than 18? | CREATE TABLE table_name_78 (area VARCHAR, authority VARCHAR, roll VARCHAR) | SELECT area FROM table_name_78 WHERE authority = "state" AND roll < 18 |
What is the roll for the school with state authority and a decile of 9? | CREATE TABLE table_name_42 (roll VARCHAR, authority VARCHAR, decile VARCHAR) | SELECT roll FROM table_name_42 WHERE authority = "state" AND decile = 9 |
What is the average decile of Westport South School? | CREATE TABLE table_name_5 (decile INTEGER, name VARCHAR) | SELECT AVG(decile) FROM table_name_5 WHERE name = "westport south school" |
What is the top rank with a time of 2:19.86? | CREATE TABLE table_name_25 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_25 WHERE time = "2:19.86" |
Who had a lane number smaller than 7 and a time of 2:19.86? | CREATE TABLE table_name_32 (name VARCHAR, lane VARCHAR, time VARCHAR) | SELECT name FROM table_name_32 WHERE lane < 7 AND time = "2:19.86" |
What was Liu Limin's time in heat 4? | CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR) | SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin" |
What was the result of the friendly competition? | CREATE TABLE table_name_69 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_69 WHERE competition = "friendly" |
What was the start source that ended on 4 May? | CREATE TABLE table_name_72 (start_source VARCHAR, ended VARCHAR) | SELECT start_source FROM table_name_72 WHERE ended = "4 may" |
What is the Loan Club from Eng that ended on 22 February? | CREATE TABLE table_name_57 (loan_club VARCHAR, country VARCHAR, ended VARCHAR) | SELECT loan_club FROM table_name_57 WHERE country = "eng" AND ended = "22 february" |
What is the End Source from the Hartlepool United Loan Club? | CREATE TABLE table_name_51 (end_source VARCHAR, loan_club VARCHAR) | SELECT end_source FROM table_name_51 WHERE loan_club = "hartlepool united" |
When did the loan that Ended on 15 January Start? | CREATE TABLE table_name_60 (started VARCHAR, ended VARCHAR) | SELECT started FROM table_name_60 WHERE ended = "15 january" |
What nation had more than 97 Gold Medals and fewer than 332 Silver Medals? | CREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332 |
What nation had 135 Bronze medals? | CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR) | SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135 |
What is the area of Ulim with less than 30 villages? | CREATE TABLE table_name_53 (land_area__km_2__ INTEGER, capital VARCHAR, villages VARCHAR) | SELECT AVG(land_area__km_2__) FROM table_name_53 WHERE capital = "ulim" AND villages < 30 |
What is the name of the station that is currently demolished with the Shepparton line in Tabilk? | CREATE TABLE table_name_6 (name VARCHAR, location VARCHAR, current_status VARCHAR, line VARCHAR) | SELECT name FROM table_name_6 WHERE current_status = "demolished" AND line = "shepparton line" AND location = "tabilk" |
What is the line of Mangalore station? | CREATE TABLE table_name_54 (line VARCHAR, name VARCHAR) | SELECT line FROM table_name_54 WHERE name = "mangalore" |
What is the line of the station in Toolamba that is currently demolished and closed in the late 1970s? | CREATE TABLE table_name_81 (line VARCHAR, location VARCHAR, current_status VARCHAR, closed VARCHAR) | SELECT line FROM table_name_81 WHERE current_status = "demolished" AND closed = "late 1970s" AND location = "toolamba" |
What is the name of the station in Toolamba that is currently demolished? | CREATE TABLE table_name_26 (name VARCHAR, current_status VARCHAR, location VARCHAR) | SELECT name FROM table_name_26 WHERE current_status = "demolished" AND location = "toolamba" |
What club began in 1976? | CREATE TABLE table_name_21 (current_club VARCHAR, year_born VARCHAR) | SELECT current_club FROM table_name_21 WHERE year_born = 1976 |
What player was born in 1976 and is smaller than 2.03? | CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR, year_born VARCHAR) | SELECT player FROM table_name_42 WHERE height < 2.03 AND year_born = 1976 |
What player was born in 1978 and smaller than 1.92? | CREATE TABLE table_name_31 (current_club VARCHAR, height VARCHAR, year_born VARCHAR) | SELECT current_club FROM table_name_31 WHERE height < 1.92 AND year_born > 1978 |
Which year did The Adventures of Tintin come out? | CREATE TABLE table_name_17 (year INTEGER, film VARCHAR) | SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin" |
What year did the movie Rango come out? | CREATE TABLE table_name_3 (year INTEGER, film VARCHAR) | SELECT AVG(year) FROM table_name_3 WHERE film = "rango" |
What is the rank associated with a Height feet / m of 427 / 130? | CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR) | SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130" |
What was the address in 1974? | CREATE TABLE table_name_42 (address VARCHAR, year VARCHAR) | SELECT address FROM table_name_42 WHERE year = "1974" |
What was the earliest year for a car with 3 points and Cooper t20 chassis? | CREATE TABLE table_name_36 (year INTEGER, points VARCHAR, chassis VARCHAR) | SELECT MIN(year) FROM table_name_36 WHERE points = 3 AND chassis = "cooper t20" |
Game 2 has how much attendance? | CREATE TABLE table_name_1 (attendance VARCHAR, game VARCHAR) | SELECT attendance FROM table_name_1 WHERE game = 2 |
What was the average attendance on October 12? | CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 12" |
What is the name of the Home Captain for 23,24,25,26 july 1992? | CREATE TABLE table_name_7 (home_captain VARCHAR, date VARCHAR) | SELECT home_captain FROM table_name_7 WHERE date = "23,24,25,26 july 1992" |
Who is the Away Captain at headingley? | CREATE TABLE table_name_66 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_66 WHERE venue = "headingley" |
Where was a game played on 23,24,25,26 july 1992? | CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_13 WHERE date = "23,24,25,26 july 1992" |
Who was the Away Captain at The Oval? | CREATE TABLE table_name_86 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_86 WHERE venue = "the oval" |
Who is the Home Captain for 23,24,25,26 july 1992? | CREATE TABLE table_name_89 (home_captain VARCHAR, date VARCHAR) | SELECT home_captain FROM table_name_89 WHERE date = "23,24,25,26 july 1992" |
What is the result for 23,24,25,26 july 1992? | CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_58 WHERE date = "23,24,25,26 july 1992" |
What is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605? | CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR) | SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605 |
Which season did the Minnesota Kicks lose 13 games and scored 156 points? | CREATE TABLE table_name_34 (season VARCHAR, lost VARCHAR, points VARCHAR) | SELECT COUNT(season) FROM table_name_34 WHERE lost = 13 AND points = 156 |
What losses did racing de santander, that scored less than 68 goals, had a goal difference of less than 23 and 10 draws? | CREATE TABLE table_name_25 (losses INTEGER, club VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_difference VARCHAR) | SELECT MAX(losses) FROM table_name_25 WHERE goals_against < 68 AND goal_difference < 23 AND draws = 10 AND club = "racing de santander" |
What is the highest goal difference that the club with 33-5 points and less than 12 wins? | CREATE TABLE table_name_52 (goal_difference INTEGER, points VARCHAR, wins VARCHAR) | SELECT MAX(goal_difference) FROM table_name_52 WHERE points = "33-5" AND wins < 12 |
What reactor type that has a commercial operation of β, and a tianwan-7 unit? | CREATE TABLE table_name_25 (reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR) | SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "β" AND unit = "tianwan-7" |
What was the net capacity with a gross capacity of 1,126 mw, and a Unit of tianwan-4? | CREATE TABLE table_name_74 (net_capacity VARCHAR, gross_capacity VARCHAR, unit VARCHAR) | SELECT net_capacity FROM table_name_74 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4" |
What commercial operation that has a gross capacity of 1,126 mw, and a unit of tianwan-4? | CREATE TABLE table_name_95 (commercial_operation VARCHAR, gross_capacity VARCHAR, unit VARCHAR) | SELECT commercial_operation FROM table_name_95 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4" |
What score has won as the result on the date of December 14, 2004? | CREATE TABLE table_name_49 (score VARCHAR, result VARCHAR, date VARCHAR) | SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 2004" |
What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match? | CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match" |
What score has january 15, 2005 as the date? | CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_8 WHERE date = "january 15, 2005" |
What date has lost as the result and a competition of friendly with 1-2 as the score? | CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR) | SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-2" |
What score has january 3, 2005 as the date? | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_98 WHERE date = "january 3, 2005" |
What competition has may 5, 2001 as the date? | CREATE TABLE table_name_25 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_25 WHERE date = "may 5, 2001" |
Who did the team lose to on September 8? | CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_52 WHERE date = "september 8" |
What is the order for a red list of 7 in the didelphidae family? | CREATE TABLE table_name_91 (order VARCHAR, red_list VARCHAR, family VARCHAR) | SELECT order FROM table_name_91 WHERE red_list = 7 AND family = "didelphidae" |
What is the name with a red lest less than 7? | CREATE TABLE table_name_51 (name VARCHAR, red_list INTEGER) | SELECT name FROM table_name_51 WHERE red_list < 7 |
What family has the name of eastern cottontail? | CREATE TABLE table_name_57 (family VARCHAR, name VARCHAR) | SELECT family FROM table_name_57 WHERE name = "eastern cottontail" |
What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780? | CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) | SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780" |
What is the name for the red list of 7, the artiodactyla order, and Species Authority of cervus elaphus linnaeus, 1758? | CREATE TABLE table_name_4 (name VARCHAR, species_authority VARCHAR, red_list VARCHAR, order VARCHAR) | SELECT name FROM table_name_4 WHERE red_list = 7 AND order = "artiodactyla" AND species_authority = "cervus elaphus linnaeus, 1758" |
What is the original name of the film that used the title Olympics 40 in nomination? | CREATE TABLE table_name_91 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_name FROM table_name_91 WHERE film_title_used_in_nomination = "olympics 40" |
What title did the film from Colombia use in its nomination? | CREATE TABLE table_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_33 WHERE country = "colombia" |
Who directed the film originally named Bye Bye Brazil in Portuguese? | CREATE TABLE table_name_4 (director VARCHAR, language VARCHAR, original_name VARCHAR) | SELECT director FROM table_name_4 WHERE language = "portuguese" AND original_name = "bye bye brazil" |
What country is the film directed by Jean-Luc Godard in French from? | CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR) | SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard" |
Who is the director of the film in Italian? | CREATE TABLE table_name_92 (director VARCHAR, language VARCHAR) | SELECT director FROM table_name_92 WHERE language = "italian" |
What is the status of Aden Theobald from the hometown of London? | CREATE TABLE table_name_48 (status VARCHAR, hometown VARCHAR, name VARCHAR) | SELECT status FROM table_name_48 WHERE hometown = "london" AND name = "aden theobald" |
What is Hasan Shah's hometown? | CREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR) | SELECT hometown FROM table_name_40 WHERE name = "hasan shah" |
What series was Sam Evans on? | CREATE TABLE table_name_20 (series VARCHAR, name VARCHAR) | SELECT series FROM table_name_20 WHERE name = "sam evans" |
What is the name of the person from series bb1 with a hometown of Bolton? | CREATE TABLE table_name_69 (name VARCHAR, series VARCHAR, hometown VARCHAR) | SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton" |
What is the occupation of the person with a hometown of Hampshire? | CREATE TABLE table_name_17 (occupation VARCHAR, hometown VARCHAR) | SELECT occupation FROM table_name_17 WHERE hometown = "hampshire" |
Which 1st Party has an Election of 1849 by-election? | CREATE TABLE table_name_42 (election VARCHAR) | SELECT 1 AS st_party FROM table_name_42 WHERE election = "1849 by-election" |
Which 2nd Party has an Election of 1837? | CREATE TABLE table_name_96 (election VARCHAR) | SELECT 2 AS nd_party FROM table_name_96 WHERE election = "1837" |
Which Type has a Fleet numbers of 2β8, 91β92, 97β100? | CREATE TABLE table_name_90 (type VARCHAR, fleet_numbers VARCHAR) | SELECT type FROM table_name_90 WHERE fleet_numbers = "2β8, 91β92, 97β100" |
When has a Note of 45/48 renumbered 15/16; two sold to sl&ncr? | CREATE TABLE table_name_46 (date_made VARCHAR, notes VARCHAR) | SELECT date_made FROM table_name_46 WHERE notes = "45/48 renumbered 15/16; two sold to sl&ncr" |
What Willingshain is Kirchheim 1,126? | CREATE TABLE table_name_71 (willingshain VARCHAR, kirchheim VARCHAR) | SELECT willingshain FROM table_name_71 WHERE kirchheim = "1,126" |
What Rotterterrode has a Reimboldsh 80? | CREATE TABLE table_name_31 (rotterterode VARCHAR, reimboldsh VARCHAR) | SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "80" |
What Reimboldsh has Willingshain of 268 and Gersdorf 194? | CREATE TABLE table_name_24 (reimboldsh VARCHAR, willingshain VARCHAR, gersdorf VARCHAR) | SELECT reimboldsh FROM table_name_24 WHERE willingshain = "268" AND gersdorf = "194" |
What Kemmerode has a Gersforf of 39? | CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR) | SELECT kemmerode FROM table_name_68 WHERE gersdorf = "39" |
What Gershausen has a Willingshain of 243 and Reckerode of 224? | CREATE TABLE table_name_46 (gershausen VARCHAR, willingshain VARCHAR, reckerode_ VARCHAR) | SELECT gershausen FROM table_name_46 WHERE willingshain = "243" AND reckerode_ * * * * = "224" |
What Willinghshain has Reimboldsh of 101? | CREATE TABLE table_name_27 (willingshain VARCHAR, reimboldsh VARCHAR) | SELECT willingshain FROM table_name_27 WHERE reimboldsh = "101" |
What is the pts for 2004, and the ro event? | CREATE TABLE table_name_6 (pts VARCHAR, year VARCHAR, event VARCHAR) | SELECT pts FROM table_name_6 WHERE year = "2004" AND event = "ro" |
What is the pos from 2003, and the f event? | CREATE TABLE table_name_64 (pos VARCHAR, year VARCHAR, event VARCHAR) | SELECT pos FROM table_name_64 WHERE year = "2003" AND event = "f" |
What is the Catalog Number is for the Japan region? | CREATE TABLE table_name_59 (catalog VARCHAR, region VARCHAR) | SELECT catalog FROM table_name_59 WHERE region = "japan" |
What is the date on Catalog 540,934-2? | CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_9 WHERE catalog = "540,934-2" |
What is the region for Catalog amlh 66078 in stereo lp format? | CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078" |
What is the region for Catalog amlh 66078 in stereo lp format? | CREATE TABLE table_name_68 (region VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_68 WHERE format = "stereo lp" AND catalog = "amlh 66078" |
What is the Catalog number for the region of Japan? | CREATE TABLE table_name_91 (catalog VARCHAR, region VARCHAR) | SELECT catalog FROM table_name_91 WHERE region = "japan" |
What is the region of the Catalog that is in cd format and has a label a&m/canyon? | CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, label VARCHAR) | SELECT region FROM table_name_49 WHERE format = "cd" AND label = "a&m/canyon" |
What is the original team that was Hired by Trump (5-19-2005)? | CREATE TABLE table_name_84 (original_team VARCHAR, result VARCHAR) | SELECT original_team FROM table_name_84 WHERE result = "hired by trump (5-19-2005)" |
Who is the candidate that had 10 fired in week 2 (1-27-2005)? | CREATE TABLE table_name_45 (candidate VARCHAR, result VARCHAR) | SELECT candidate FROM table_name_45 WHERE result = "10 fired in week 2 (1-27-2005)" |
What is the hometown of the candidate that had a result of 10 fired in week 6 (2-24-2005)? | CREATE TABLE table_name_10 (hometown VARCHAR, result VARCHAR) | SELECT hometown FROM table_name_10 WHERE result = "10 fired in week 6 (2-24-2005)" |
Which totals tournament has the lowest wins and top-25 less than 4? | CREATE TABLE table_name_66 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT MIN(wins) FROM table_name_66 WHERE tournament = "totals" AND top_25 < 4 |
What is the average number of events of PGA Championship tournaments with a top-5 less than 0? | CREATE TABLE table_name_27 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR) | SELECT AVG(events) FROM table_name_27 WHERE top_10 = 0 AND tournament = "pga championship" AND top_5 < 0 |
Name the competition for stephanie cox on 2011-07-02 | CREATE TABLE table_name_64 (competition VARCHAR, assist_pass VARCHAR, date VARCHAR) | SELECT competition FROM table_name_64 WHERE assist_pass = "stephanie cox" AND date = "2011-07-02" |
Name the lineup for washington dc | CREATE TABLE table_name_21 (lineup VARCHAR, location VARCHAR) | SELECT lineup FROM table_name_21 WHERE location = "washington dc" |
Name the date for faro | CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_33 WHERE location = "faro" |
What is the highest rank that has fao as a source and an out greater than 50, with dietary calorie intake as the name? | CREATE TABLE table_name_98 (rank INTEGER, name VARCHAR, source VARCHAR, out_of VARCHAR) | SELECT MAX(rank) FROM table_name_98 WHERE source = "fao" AND out_of > 50 AND name = "dietary calorie intake" |
What is the average rank that has cia world factbook as the source and a year prior to 2005? | CREATE TABLE table_name_29 (rank INTEGER, source VARCHAR, year VARCHAR) | SELECT AVG(rank) FROM table_name_29 WHERE source = "cia world factbook" AND year < 2005 |
What were the least points with a Coloni FC88 chassis? | CREATE TABLE table_name_43 (points INTEGER, chassis VARCHAR) | SELECT MIN(points) FROM table_name_43 WHERE chassis = "coloni fc88" |
How many years was the chassis a Coloni C3? | CREATE TABLE table_name_51 (year VARCHAR, chassis VARCHAR) | SELECT COUNT(year) FROM table_name_51 WHERE chassis = "coloni c3" |
What was the most points for Coloni Spa? | CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR) | SELECT MAX(points) FROM table_name_78 WHERE entrant = "coloni spa" |
Which team 1 had a team 2 of Asante Kotoko? | CREATE TABLE table_name_79 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_79 WHERE team_2 = "asante kotoko" |
Which team 1 had a team 2 of Hafia FC? | CREATE TABLE table_name_87 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_87 WHERE team_2 = "hafia fc" |
What was the aggregate for the match with a team 2 of Hafia FC? | CREATE TABLE table_name_98 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_98 WHERE team_2 = "hafia fc" |
When was J.P. Viernes' last performance? | CREATE TABLE table_name_26 (last_performance VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_26 WHERE name = "j.p. viernes" |
What's the Chinese name of the wudaokou station? | CREATE TABLE table_name_85 (chinese_name VARCHAR, station_name VARCHAR) | SELECT chinese_name FROM table_name_85 WHERE station_name = "wudaokou" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.