question
stringlengths 12
243
| answer
stringlengths 18
557
| context
stringlengths 27
489
|
---|---|---|
What is the stadium for alloa athletic? | SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic" | CREATE TABLE table_11206787_5 (stadium VARCHAR, team VARCHAR) |
What's the rank for February 11, 2012 with less than 18,735 in attendance? | SELECT AVG(rank) FROM table_name_67 WHERE date = "february 11, 2012" AND attendance < 18 OFFSET 735 | CREATE TABLE table_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR) |
Which Overall has a Position of te, and a Round larger than 5? | SELECT AVG(overall) FROM table_name_82 WHERE position = "te" AND round > 5 | CREATE TABLE table_name_82 (overall INTEGER, position VARCHAR, round VARCHAR) |
What is the time of retirement with Laps smaller than 66, a grid less than 10, and a Driver of heinz-harald frentzen? | SELECT time_retired FROM table_name_65 WHERE laps < 66 AND grid < 10 AND driver = "heinz-harald frentzen" | CREATE TABLE table_name_65 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) |
What year was Jamboree made? | SELECT year FROM table_name_26 WHERE movie_title = "jamboree" | CREATE TABLE table_name_26 (year VARCHAR, movie_title VARCHAR) |
Name the most points for champion, won in the final against amélie mauresmo | SELECT MAX(points) FROM table_1973321_5 WHERE status = "Champion, won in the final against Amélie Mauresmo" | CREATE TABLE table_1973321_5 (points INTEGER, status VARCHAR) |
What is the name of the episode written by alison cross? | SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross" | CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR) |
What score has nashville predators as the opponent? | SELECT score FROM table_name_91 WHERE opponent = "nashville predators" | CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR) |
How many touchdowns did Sam Babcock get? | SELECT MAX(touchdowns) FROM table_25642873_2 WHERE player = "Sam Babcock" | CREATE TABLE table_25642873_2 (touchdowns INTEGER, player VARCHAR) |
What is the completed list entry number more than 1356460? | SELECT completed FROM table_name_58 WHERE list_entry_number > 1356460 | CREATE TABLE table_name_58 (completed VARCHAR, list_entry_number INTEGER) |
Was the game home or away when the record is 6-12? | SELECT home___away FROM table_name_23 WHERE record = "6-12" | CREATE TABLE table_name_23 (home___away VARCHAR, record VARCHAR) |
What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288? | SELECT rider FROM table_name_23 WHERE grid < 16 AND manufacturer = "aprilia" AND time = "+28.288" | CREATE TABLE table_name_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR) |
Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman? | SELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = "bethune-cookman" | CREATE TABLE table_name_52 (player VARCHAR, round VARCHAR, school_club_team VARCHAR) |
What is the earliest week with a game attended by 60,233? | SELECT MIN(week) FROM table_name_35 WHERE attendance = "60,233" | CREATE TABLE table_name_35 (week INTEGER, attendance VARCHAR) |
Who was the director of the film that Sister Films received an award for on 2/3/05? | SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films" | CREATE TABLE table_name_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR) |
What was the founding university of the organization Tau Epsilon Phi 1? | SELECT founding_university FROM table_2538117_5 WHERE organization = "Tau Epsilon Phi 1" | CREATE TABLE table_2538117_5 (founding_university VARCHAR, organization VARCHAR) |
What are the distinct name, location and products of the enzymes which has any 'inhibitor' interaction? | SELECT DISTINCT T1.name, T1.location, T1.product FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.enzyme_id = T1.id WHERE T2.interaction_type = 'inhibitor' | CREATE TABLE enzyme (name VARCHAR, location VARCHAR, product VARCHAR, id VARCHAR); CREATE TABLE medicine_enzyme_interaction (enzyme_id VARCHAR, interaction_type VARCHAR) |
Who owned winner Blueeyesintherein after 2009? | SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein" | CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR) |
How many games have Air Force as the opponent? | SELECT MAX(game) FROM table_21091162_1 WHERE opponent = "Air Force" | CREATE TABLE table_21091162_1 (game INTEGER, opponent VARCHAR) |
What is the home for league 3rd liga, and an away of 4-0? | SELECT home FROM table_name_11 WHERE league = "3rd liga" AND away = "4-0" | CREATE TABLE table_name_11 (home VARCHAR, league VARCHAR, away VARCHAR) |
What was the number of races in the season in which the team placed on the 14th position? | SELECT MIN(races) FROM table_19741316_1 WHERE position = "14th" | CREATE TABLE table_19741316_1 (races INTEGER, position VARCHAR) |
For score 7–6 (7–3) , 6–4 please mention total number of outcome | SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4" | CREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR) |
What date was there a crowd larger than 30,343? | SELECT date FROM table_name_97 WHERE crowd > 30 OFFSET 343 | CREATE TABLE table_name_97 (date VARCHAR, crowd INTEGER) |
When November is 153 what is the March number? | SELECT march_27_29 FROM table_25235489_2 WHERE november_3 = "153" | CREATE TABLE table_25235489_2 (march_27_29 VARCHAR, november_3 VARCHAR) |
Name the number of men doubles for 2007 | SELECT COUNT(men_doubles) FROM table_14903355_2 WHERE year = 2007 | CREATE TABLE table_14903355_2 (men_doubles VARCHAR, year VARCHAR) |
In 2004 who was favourite maa? | SELECT character FROM table_name_6 WHERE category = "favourite maa" AND year = 2004 | CREATE TABLE table_name_6 (character VARCHAR, category VARCHAR, year VARCHAR) |
What winner has the sanremo to cuneo as the course? | SELECT winner FROM table_name_51 WHERE course = "sanremo to cuneo" | CREATE TABLE table_name_51 (winner VARCHAR, course VARCHAR) |
What is the highest operating income that change by 2% and is less than $1,036m? | SELECT MAX(operating_income_) AS $m_ FROM table_name_23 WHERE _percentage_change_on_year = "2" AND value__$m_ < 1 OFFSET 036 | CREATE TABLE table_name_23 (operating_income_ INTEGER, _percentage_change_on_year VARCHAR, value__$m_ VARCHAR) |
What class has a MHZ frequency under 103.1 licensed in morro bay, california? | SELECT class FROM table_name_4 WHERE frequency_mhz < 103.1 AND city_of_license = "morro bay, california" | CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) |
What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3? | SELECT overall_record FROM table_name_4 WHERE last_10_meetings = "ou, 7-3" AND at_norman = "ou, 18-3" | CREATE TABLE table_name_4 (overall_record VARCHAR, last_10_meetings VARCHAR, at_norman VARCHAR) |
List all information about courses sorted by credits in the ascending order. | SELECT * FROM COURSE ORDER BY Credits | CREATE TABLE COURSE (Credits VARCHAR) |
What was the attendance on September 11, 1988? | SELECT AVG(attendance) FROM table_name_21 WHERE date = "september 11, 1988" | CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR) |
What event had a win, record of 8-1 and n/a round? | SELECT event FROM table_name_98 WHERE res = "win" AND round = "n/a" AND record = "8-1" | CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR, res VARCHAR, round VARCHAR) |
Who did the Mariners play when their record was 26–32? | SELECT opponent FROM table_name_70 WHERE record = "26–32" | CREATE TABLE table_name_70 (opponent VARCHAR, record VARCHAR) |
What is the most bronze when the total is 14, and there are more than 6 gold? | SELECT MAX(bronze) FROM table_name_99 WHERE total = 14 AND gold > 6 | CREATE TABLE table_name_99 (bronze INTEGER, total VARCHAR, gold VARCHAR) |
What episode in the season was directed by Jeff Melman? | SELECT MIN(no_in_season) FROM table_11058032_1 WHERE directed_by = "Jeff Melman" | CREATE TABLE table_11058032_1 (no_in_season INTEGER, directed_by VARCHAR) |
Which club has a League of american basketball association, and a Venue of tba? | SELECT club FROM table_name_86 WHERE league = "american basketball association" AND venue = "tba" | CREATE TABLE table_name_86 (club VARCHAR, league VARCHAR, venue VARCHAR) |
Name the pictorials when the interview subject is steve jobs | SELECT pictorials FROM table_1566848_6 WHERE interview_subject = "Steve Jobs" | CREATE TABLE table_1566848_6 (pictorials VARCHAR, interview_subject VARCHAR) |
When the away team was collingwood, what was the away team score? | SELECT away_team AS score FROM table_name_86 WHERE away_team = "collingwood" | CREATE TABLE table_name_86 (away_team VARCHAR) |
What was the Save in the game that has a Loss of sanderson (6-5)? | SELECT save FROM table_name_96 WHERE loss = "sanderson (6-5)" | CREATE TABLE table_name_96 (save VARCHAR, loss VARCHAR) |
who is the the player where pick # is 64 | SELECT player FROM table_14655985_1 WHERE pick__number = 64 | CREATE TABLE table_14655985_1 (player VARCHAR, pick__number VARCHAR) |
How many laps does roberto moreno have? | SELECT laps FROM table_name_51 WHERE driver = "roberto moreno" | CREATE TABLE table_name_51 (laps VARCHAR, driver VARCHAR) |
When the opposing team was CSB UPHDS what was the total? | SELECT total FROM table_name_49 WHERE opponent = "csb uphds" | CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR) |
Who are the runners-up in 1996? | SELECT runners_up FROM table_name_28 WHERE year = "1996" | CREATE TABLE table_name_28 (runners_up VARCHAR, year VARCHAR) |
what is the record when the game is 13? | SELECT record FROM table_name_17 WHERE game = 13 | CREATE TABLE table_name_17 (record VARCHAR, game VARCHAR) |
Find the city with the most number of stores. | SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR) |
What was the week number when a game was played on November 19, 1967? | SELECT MIN(week) FROM table_name_15 WHERE date = "november 19, 1967" | CREATE TABLE table_name_15 (week INTEGER, date VARCHAR) |
What is the average life expectancy in African countries that are republics? | SELECT AVG(LifeExpectancy) FROM country WHERE Continent = "Africa" AND GovernmentForm = "Republic" | CREATE TABLE country (LifeExpectancy INTEGER, Continent VARCHAR, GovernmentForm VARCHAR) |
What is Current Branch Opened, when Branch is Midland Library? | SELECT current_branch_opened FROM table_name_22 WHERE branch = "midland library" | CREATE TABLE table_name_22 (current_branch_opened VARCHAR, branch VARCHAR) |
What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983? | SELECT leftfielder FROM table_name_25 WHERE shortstop = "bill russell" AND second_baseman = "steve sax" AND year = 1983 | CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR) |
Which city or state contains Calder Park Raceway? | SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway" | CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR) |
What did the Home team score when they were in MCG? | SELECT home_team AS score FROM table_name_25 WHERE venue = "mcg" | CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR) |
What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals? | SELECT COUNT(gold) FROM table_name_70 WHERE bronze > 1 AND total > 4 | CREATE TABLE table_name_70 (gold VARCHAR, bronze VARCHAR, total VARCHAR) |
When 102 is the number in series who is the director? | SELECT directed_by FROM table_2468961_6 WHERE no_in_series = 102 | CREATE TABLE table_2468961_6 (directed_by VARCHAR, no_in_series VARCHAR) |
What was the attendance for the game against miami dolphins? | SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins" | CREATE TABLE table_name_68 (attendance VARCHAR, opponent VARCHAR) |
What is the number of Frequency MHz in woodstock, georgia? | SELECT SUM(frequency_mhz) FROM table_name_91 WHERE city_of_license = "woodstock, georgia" | CREATE TABLE table_name_91 (frequency_mhz INTEGER, city_of_license VARCHAR) |
What is the highest score of round 1 where they also shot 90 in round 2 | SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90 | CREATE TABLE table_14708760_3 (round_1 INTEGER, round_2 VARCHAR) |
Who was the network who had Ken Squier as a host and 13.9 million viewers? | SELECT network FROM table_name_74 WHERE host = "ken squier" AND viewers = "13.9 million" | CREATE TABLE table_name_74 (network VARCHAR, host VARCHAR, viewers VARCHAR) |
Name the london great britain for championship record | SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = "Championship record" | CREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR) |
What was the highest pick number for the Hamilton tiger-cats? | SELECT MAX(pick__number) FROM table_name_13 WHERE cfl_team = "hamilton tiger-cats" | CREATE TABLE table_name_13 (pick__number INTEGER, cfl_team VARCHAR) |
What Player is from Connecticut? | SELECT player FROM table_name_39 WHERE college_country_team = "connecticut" | CREATE TABLE table_name_39 (player VARCHAR, college_country_team VARCHAR) |
what is the biggest series episode number whose production code is 2t7211? | SELECT MAX(no) FROM table_21979779_1 WHERE production_code = "2T7211" | CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR) |
When temperley is the home (2nd leg) what is the home (1st leg)? | SELECT home__1st_leg_ FROM table_14219514_2 WHERE home__2nd_leg_ = "Temperley" | CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR) |
What date was the set 1 25–23, and a Set 3 of 25–14? | SELECT date FROM table_name_12 WHERE set_1 = "25–23" AND set_3 = "25–14" | CREATE TABLE table_name_12 (date VARCHAR, set_1 VARCHAR, set_3 VARCHAR) |
tell the score when the times gone was 75 | SELECT points_against FROM table_14070062_4 WHERE tries_against = "75" | CREATE TABLE table_14070062_4 (points_against VARCHAR, tries_against VARCHAR) |
What's the place of 1989 with a comp of ECH? | SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989" | CREATE TABLE table_name_94 (place VARCHAR, comp VARCHAR, date VARCHAR) |
What day did the team play charlotte? | SELECT date FROM table_17058116_6 WHERE team = "Charlotte" | CREATE TABLE table_17058116_6 (date VARCHAR, team VARCHAR) |
How many bronzes did netherlands win? | SELECT bronze FROM table_name_9 WHERE nation = "netherlands" | CREATE TABLE table_name_9 (bronze VARCHAR, nation VARCHAR) |
When the Away team is melbourne, what's the lowest Crowd attended? | SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne" | CREATE TABLE table_name_42 (crowd INTEGER, away_team VARCHAR) |
What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? | SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4 | CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) |
What is the position of the team that played at the venue, Central, Gomel? | SELECT position_in_1999 FROM table_name_71 WHERE venue = "central, gomel" | CREATE TABLE table_name_71 (position_in_1999 VARCHAR, venue VARCHAR) |
What is the highest total with a t12 finish? | SELECT MAX(total) FROM table_name_61 WHERE finish = "t12" | CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR) |
Which manager has Manchester City as the team? | SELECT manager FROM table_name_14 WHERE team = "manchester city" | CREATE TABLE table_name_14 (manager VARCHAR, team VARCHAR) |
Which Rating has a Centre of helsinki? | SELECT SUM(rating) FROM table_name_88 WHERE centre = "helsinki" | CREATE TABLE table_name_88 (rating INTEGER, centre VARCHAR) |
What date was the location attendance at&t center 18,797, and a game earlier than 57? | SELECT date FROM table_name_24 WHERE location_attendance = "at&t center 18,797" AND game < 57 | CREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR) |
Who were all candidate when incumbent was D. Wyatt Aiken? | SELECT candidates FROM table_1431467_4 WHERE incumbent = "D. Wyatt Aiken" | CREATE TABLE table_1431467_4 (candidates VARCHAR, incumbent VARCHAR) |
What is Gold, when Bronze is 11? | SELECT gold FROM table_name_71 WHERE bronze = "11" | CREATE TABLE table_name_71 (gold VARCHAR, bronze VARCHAR) |
What is the Away team score for mcg? | SELECT away_team AS score FROM table_name_26 WHERE venue = "mcg" | CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR) |
What type of settlemen is Krušedol Selo? | SELECT type FROM table_2562572_50 WHERE settlement = "Krušedol Selo" | CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR) |
Which Home has a Score of 0:2? | SELECT home FROM table_name_63 WHERE score = "0:2" | CREATE TABLE table_name_63 (home VARCHAR, score VARCHAR) |
Which Player has a Nationality of united states, a Position of forward, and a School/Club Team of notre dame? | SELECT player FROM table_name_1 WHERE nationality = "united states" AND position = "forward" AND school_club_team = "notre dame" | CREATE TABLE table_name_1 (player VARCHAR, school_club_team VARCHAR, nationality VARCHAR, position VARCHAR) |
In what year was Terry Johnson nominated for a Tony award? | SELECT COUNT(year) FROM table_name_63 WHERE award = "tony award" AND nominee = "terry johnson" | CREATE TABLE table_name_63 (year VARCHAR, award VARCHAR, nominee VARCHAR) |
Who was the opponent in which the bout ended in round 2? | SELECT opponent FROM table_name_71 WHERE round = 2 | CREATE TABLE table_name_71 (opponent VARCHAR, round VARCHAR) |
what is the lowest year represented? | SELECT MIN(year) FROM table_177273_2 | CREATE TABLE table_177273_2 (year INTEGER) |
What is the game score when the tie no is 7? | SELECT score FROM table_name_7 WHERE tie_no = "7" | CREATE TABLE table_name_7 (score VARCHAR, tie_no VARCHAR) |
What is the fewest wins that has fewer than 23 goals scored, team of 2 de Mayo, and fewer than 7 draws? | SELECT MIN(wins) FROM table_name_16 WHERE scored < 23 AND team = "2 de mayo" AND draws < 7 | CREATE TABLE table_name_16 (wins INTEGER, draws VARCHAR, scored VARCHAR, team VARCHAR) |
Can you tell me the average Total that has the To par of 15? | SELECT AVG(total) FROM table_name_36 WHERE to_par = 15 | CREATE TABLE table_name_36 (total INTEGER, to_par VARCHAR) |
What was the capacity at construction of the stadium in Gold Coast, Queensland? | SELECT capacity_at_construction FROM table_28885977_1 WHERE location = "Gold Coast, Queensland" | CREATE TABLE table_28885977_1 (capacity_at_construction VARCHAR, location VARCHAR) |
what is the amount where the area is new brunswick | SELECT production__hectolitres_ FROM table_29012710_1 WHERE province = "New Brunswick" | CREATE TABLE table_29012710_1 (production__hectolitres_ VARCHAR, province VARCHAR) |
What was the home team's record on September 30? | SELECT record FROM table_name_44 WHERE date = "september 30" | CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) |
How many years correspond to longitude of 36.8e and diameter greater than 697? | SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697 | CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR) |
What's the code of the district with 800.5 people per km2? | SELECT code FROM table_2801442_1 WHERE density_in_2011___km²_ = "800.5" | CREATE TABLE table_2801442_1 (code VARCHAR, density_in_2011___km²_ VARCHAR) |
What is the low week from october 15, 1961? | SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961" | CREATE TABLE table_name_82 (week INTEGER, date VARCHAR) |
What is the party of the politician who left office on January 12, 1857 | SELECT party FROM table_name_47 WHERE left_office = "january 12, 1857" | CREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR) |
Which manufacturer has a time of +10.142? | SELECT manufacturer FROM table_name_11 WHERE time = "+10.142" | CREATE TABLE table_name_11 (manufacturer VARCHAR, time VARCHAR) |
If the Ovrs is less than 2, what's the average in Wkts? | SELECT AVG(wkts) FROM table_name_95 WHERE ovrs < 2 | CREATE TABLE table_name_95 (wkts INTEGER, ovrs INTEGER) |
If the channels is wxyzrstuvpq, what is the horizontal order? | SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ" | CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR) |
What was the score of the away team while playing at the arden street oval? | SELECT away_team AS score FROM table_name_53 WHERE venue = "arden street oval" | CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR) |
What was the Tie no when the away team was east thurrock united? | SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united" | CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) |
Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged? | SELECT condition FROM table_name_1 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased" AND prothrombin_time = "prolonged" | CREATE TABLE table_name_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR) |
Subsets and Splits