answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT isin FROM table_21692771_1 WHERE maturity = "3/11/2011"
What is the ISIN associated with the maturity date of 3/11/2011?
CREATE TABLE table_21692771_1 (isin VARCHAR, maturity VARCHAR)
SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049"
What was the value for deleted for CERCLIS ID of il0210090049?
CREATE TABLE table_name_53 (deleted VARCHAR, cerclis_id VARCHAR)
SELECT mls_cup_runner_up FROM table_11148572_1 WHERE mls_cup_winner = "Real Salt Lake"
who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake?
CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR)
SELECT MIN(passengers) FROM table_name_75 WHERE airport = "dallas/fort worth international (dfw)"
What is the least passengers from the Dallas/Fort Worth International (DFW) airport?
CREATE TABLE table_name_75 (passengers INTEGER, airport VARCHAR)
SELECT bills_points FROM table_16028459_2 WHERE opponents = 14
How many points did the bills score when their opponent had 14
CREATE TABLE table_16028459_2 (bills_points VARCHAR, opponents VARCHAR)
SELECT loss FROM table_name_90 WHERE record = "14–8"
What was the loss of the game when the record was 14–8?
CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR)
SELECT country FROM table_name_32 WHERE moving_from = "everton"
What country is the athlete moving from Everton from?
CREATE TABLE table_name_32 (country VARCHAR, moving_from VARCHAR)
SELECT high_points FROM table_11960407_4 WHERE date = "January 23"
Who had the high points on January 23?
CREATE TABLE table_11960407_4 (high_points VARCHAR, date VARCHAR)
SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy"
What is the average point count for tristan gommendy?
CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR)
SELECT directed_by FROM table_11694832_1 WHERE us_viewers__millions_ = "2.06"
Who directed the show that was viewed by 2.06 million U.S. people?
CREATE TABLE table_11694832_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT result FROM table_name_86 WHERE date = "november 2, 2007"
Which result has a Date of november 2, 2007?
CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)
SELECT name FROM program WHERE origin <> 'Beijing'
find the names of programs whose origin is not in Beijing.
CREATE TABLE program (name VARCHAR, origin VARCHAR)
SELECT round FROM table_1859269_1 WHERE winners_from_previous_round = "8"
If the winners from the previous round is 8, what is the round?
CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR)
SELECT score FROM table_name_72 WHERE date = "30 april 1977"
I want the score for 30 april 1977
CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)
SELECT school_club_team_country FROM table_name_11 WHERE height_in_ft = "6-5"
Name the school/club team/country for the player that is 6-5 ft
CREATE TABLE table_name_11 (school_club_team_country VARCHAR, height_in_ft VARCHAR)
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'striker'
Find the states of the colleges that have students in the tryout who played in striker position.
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
SELECT capital___endonym__ FROM table_1008653_1 WHERE country___endonym__ = "Anguilla"
What is the local name given to the capital of Anguilla?
CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR)
SELECT COUNT(apps) FROM table_name_83 WHERE transfer_window = "summer" AND name = "sinclair"
how many times is the transfer window, summer and the name sinclair?
CREATE TABLE table_name_83 (apps VARCHAR, transfer_window VARCHAR, name VARCHAR)
SELECT television_order FROM table_20360535_3 WHERE written_by = "Gail Simone"
What TV order is written by gail simone?
CREATE TABLE table_20360535_3 (television_order VARCHAR, written_by VARCHAR)
SELECT opponent FROM table_name_62 WHERE date = "09/20/1975"
What team was the opponent on 09/20/1975?
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(founded) FROM table_2076608_1 WHERE enrollment = "5634"
What is the total number of schools founded that have an enrollment of 5634?
CREATE TABLE table_2076608_1 (founded VARCHAR, enrollment VARCHAR)
SELECT AVG(points) FROM table_name_92 WHERE year > 2001
Year larger than 2001 has what average points?
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
SELECT AVG(bronze) FROM table_name_82 WHERE gold < 0
Which Bronze has a Gold smaller than 0?
CREATE TABLE table_name_82 (bronze INTEGER, gold INTEGER)
SELECT poles FROM table_name_63 WHERE position = "4th"
Which Poles have a position of 4th?
CREATE TABLE table_name_63 (poles VARCHAR, position VARCHAR)
SELECT season FROM table_name_41 WHERE wicket_partnership = "2nd"
Which season is the wicket 2nd partnership in?
CREATE TABLE table_name_41 (season VARCHAR, wicket_partnership VARCHAR)
SELECT result FROM table_name_22 WHERE competition = "2000 afc asian cup group stages"
What is the result of the competition of 2000 afc asian cup group stages?
CREATE TABLE table_name_22 (result VARCHAR, competition VARCHAR)
SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = "22.22%" AND lost > 7
What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses?
CREATE TABLE table_name_22 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR)
SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4
What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4?
CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR)
SELECT long_ranged_weapons FROM table_27704991_1 WHERE close_ranged_weapons = "Knife (stone), Knife (iron)"
If the Close ranged weapons are the knife (stone), knife (iron), what are the Long ranged weapons?
CREATE TABLE table_27704991_1 (long_ranged_weapons VARCHAR, close_ranged_weapons VARCHAR)
SELECT area__km²___per_sqmi_ FROM table_26769_1 WHERE country_or_territory_with_flag = "Colombia"
What was the area (km²) (per sqmi) of the country Colombia?
CREATE TABLE table_26769_1 (area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR)
SELECT MAX(employees) FROM table_name_50 WHERE company = "nokia" AND rank < 3
How many employees at nokia, ranked under 3?
CREATE TABLE table_name_50 (employees INTEGER, company VARCHAR, rank VARCHAR)
SELECT date FROM table_name_6 WHERE venue = "windy hill"
On what date was a game played at Windy Hill?
CREATE TABLE table_name_6 (date VARCHAR, venue VARCHAR)
SELECT MIN(win_percentage) FROM table_name_63 WHERE games_behind = "6½" AND wins > 77
What is the lowest percentage of wins for 6½ games and more than 77 total wins?
CREATE TABLE table_name_63 (win_percentage INTEGER, games_behind VARCHAR, wins VARCHAR)
SELECT MAX(gold) FROM table_name_34 WHERE rank = "15" AND silver > 0
How many Gold for the Nation in Rank 15 with 0 Silver?
CREATE TABLE table_name_34 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT year FROM table_name_89 WHERE slogan = "the wild side of soccer!"
What year has the wild side of soccer! as the slogan?
CREATE TABLE table_name_89 (year VARCHAR, slogan VARCHAR)
SELECT school_club_team FROM table_15621965_8 WHERE player = "Dwight Howard"
What school did Dwight Howard play for
CREATE TABLE table_15621965_8 (school_club_team VARCHAR, player VARCHAR)
SELECT 2001 FROM table_name_99 WHERE 2007 = "1r" AND 2008 = "q1"
What is 2001, when 2007 is "1R", and when 2008 is "Q1"?
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV"
What positions were drafted from Las Vegas, NV?
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)
SELECT score FROM table_name_98 WHERE date = "december 10"
What is the score on december 10?
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)
SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete"
What is the total of the first season in Segunda División that has a City of cañete?
CREATE TABLE table_name_44 (first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR)
SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million"
What was the conference matchup in the bowl game with a $3 million payout?
CREATE TABLE table_name_81 (conference_matchups VARCHAR, payout___us$__ VARCHAR)
SELECT MAX(elevation__m_) FROM table_18946749_1 WHERE peak = "Mount Kobowre"
When mount kobowre is the peak what is the highest elevation in meters?
CREATE TABLE table_18946749_1 (elevation__m_ INTEGER, peak VARCHAR)
SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"
On which date was the GT class at Monterey Sports Car Grand Prix?
CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR)
SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell"
Which game does the quentyn martell have?
CREATE TABLE table_name_54 (game VARCHAR, pov_character VARCHAR)
SELECT MIN(top_25) FROM table_name_5 WHERE events < 42 AND tournament = "u.s. open" AND top_10 < 5
What is the lowest for top-25 with events smaller than 42 in a U.S. Open with a top-10 smaller than 5?
CREATE TABLE table_name_5 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, tournament VARCHAR)
SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date = "august 23, 1992"
What is the wager on August 23, 1992 where vampiro was the winner?
CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_77 WHERE venue = "princes park"
Which Away team uses Princes Park as it's venue?
CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)
SELECT MIN(rank) FROM table_name_10 WHERE silver < 1 AND gold = 4 AND bronze < 0
What is the smallest rank when there are fewer than 1 silver, 4 golds and less than 0 bronze?
CREATE TABLE table_name_10 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT country FROM table_name_46 WHERE year_s__won = "1977"
What country won in 1977?
CREATE TABLE table_name_46 (country VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_30 WHERE points > 12
What is Country, when Points are more than 12?
CREATE TABLE table_name_30 (country VARCHAR, points INTEGER)
SELECT date FROM table_27902171_5 WHERE game = 23
What is every date with game 23?
CREATE TABLE table_27902171_5 (date VARCHAR, game VARCHAR)
SELECT DISTINCT POSITION FROM match_season
Show all distinct positions of matches.
CREATE TABLE match_season (POSITION VARCHAR)
SELECT left_office FROM table_26362472_1 WHERE election_number = 11
What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11?
CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR)
SELECT title FROM table_26200084_1 WHERE directed_by = "David Mamet"
What was the title of the episode directed by David Mamet?
CREATE TABLE table_26200084_1 (title VARCHAR, directed_by VARCHAR)
SELECT points FROM table_22056184_1 WHERE poles = 1
How many points when pole are 1?
CREATE TABLE table_22056184_1 (points VARCHAR, poles VARCHAR)
SELECT location FROM table_name_17 WHERE current_manager = "ariel jacobs"
Where is the location of the team with a current manager of Ariel Jacobs?
CREATE TABLE table_name_17 (location VARCHAR, current_manager VARCHAR)
SELECT year_inducted FROM table_name_59 WHERE "label" = "label"
What's the year inducted for the label of label?
CREATE TABLE table_name_59 (year_inducted VARCHAR)
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"
What is the average grid number that had Team China with less than 10 laps?
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
SELECT date FROM table_name_5 WHERE title = "homecoming"
When did the Issue with the Title Homecoming come out?
CREATE TABLE table_name_5 (date VARCHAR, title VARCHAR)
SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang"
What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?
CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR)
SELECT total FROM table_name_65 WHERE clubs = 10 AND place > 1
What total has 10 as the clubs, with a place greater than 1?
CREATE TABLE table_name_65 (total VARCHAR, clubs VARCHAR, place VARCHAR)
SELECT COUNT(year) FROM table_name_86 WHERE team = "newman/haas racing" AND rank = "1st"
How many years did Team Newman/Haas Racing receive a 1st place ranking?
CREATE TABLE table_name_86 (year VARCHAR, team VARCHAR, rank VARCHAR)
SELECT opponent FROM table_name_52 WHERE score = "92–93"
Which Opponent has a Score of 92–93?
CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR)
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944"
what's the computing mechanbeingm with first operational being february 1944
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, first_operational VARCHAR)
SELECT 1 AS st_round FROM table_name_67 WHERE team_2 = "olympique lyonnais (d2)"
what is the 1st round when team 2 is olympique lyonnais (d2)?
CREATE TABLE table_name_67 (team_2 VARCHAR)
SELECT nationality FROM table_name_67 WHERE fate = "sunk" AND name = "alderamin"
Which Nationality has a Fate of sunk, and a Name of alderamin?
CREATE TABLE table_name_67 (nationality VARCHAR, fate VARCHAR, name VARCHAR)
SELECT race FROM table_27913160_3 WHERE most_laps_led = "Simon Pagenaud"
What race did Simon Pagenaud have the most laps in?
CREATE TABLE table_27913160_3 (race VARCHAR, most_laps_led VARCHAR)
SELECT COUNT(*) FROM party_events
How many party events do we have?
CREATE TABLE party_events (Id VARCHAR)
SELECT COUNT(rank) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
What is the ranktotal number if the Hashan Tillakaratne?
CREATE TABLE table_26041144_16 (rank VARCHAR, player VARCHAR)
SELECT away_team FROM table_name_14 WHERE venue = "victoria park"
Who plays at Victoria Park?
CREATE TABLE table_name_14 (away_team VARCHAR, venue VARCHAR)
SELECT artist FROM table_1359212_2 WHERE venue = "Heineken Music Hall"
who is the artist performing at heineken music hall?
CREATE TABLE table_1359212_2 (artist VARCHAR, venue VARCHAR)
SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = "10.47"
What was the name of the show that had 10.47 million total viewers?
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT title FROM table_14330096_4 WHERE director = "Patrick Lau" AND writer = "Lisa Holdsworth"
Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer?
CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR)
SELECT time FROM table_name_25 WHERE game = 7
What time was game 7?
CREATE TABLE table_name_25 (time VARCHAR, game VARCHAR)
SELECT segment_d FROM table_name_60 WHERE segment_a = "umbrellas"
Name the segment D for umbrellas
CREATE TABLE table_name_60 (segment_d VARCHAR, segment_a VARCHAR)
SELECT road_team FROM table_name_68 WHERE result = "99-90"
For the game ending in a final result of 99-90, who was the Road Team?
CREATE TABLE table_name_68 (road_team VARCHAR, result VARCHAR)
SELECT MAX(year) FROM table_name_77 WHERE bronze = "china"
What is the most recent year that China won a bronze?
CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR)
SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour"
What party did john s. barbour represent?
CREATE TABLE table_2668243_25 (party VARCHAR, incumbent VARCHAR)
SELECT maltese FROM table_name_6 WHERE malay = "rabu"
What is the Maltese word for the Malay word rabu?
CREATE TABLE table_name_6 (maltese VARCHAR, malay VARCHAR)
SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray"
What is the propulsion when the vessel is marianarray?
CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR)
SELECT opponent FROM table_name_86 WHERE week > 3 AND result = "l 10–6"
What is the Opponent of the game after Week 3 with a Result of L 10–6?
CREATE TABLE table_name_86 (opponent VARCHAR, week VARCHAR, result VARCHAR)
SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas"
Name the least area for vas
CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)
SELECT MIN(races) FROM table_25386974_1
What is the fewest number of races Pedro Nunes completed in any series?
CREATE TABLE table_25386974_1 (races INTEGER)
SELECT weight FROM table_22344463_2 WHERE name = "Stuart Craig"
What is the weight is the name is Stuart Craig?
CREATE TABLE table_22344463_2 (weight VARCHAR, name VARCHAR)
SELECT format FROM table_name_31 WHERE frequency = "1290 khz"
Say the frequency of 1290 khz
CREATE TABLE table_name_31 (format VARCHAR, frequency VARCHAR)
SELECT winning_team FROM table_name_74 WHERE year = 2013
What was the winning team in 2013?
CREATE TABLE table_name_74 (winning_team VARCHAR, year VARCHAR)
SELECT mission FROM table_14118521_1 WHERE primary_payload_s_ = "Spacelab Life Sciences-2"
what's the mission with primary payload(s) being spacelab life sciences-2
CREATE TABLE table_14118521_1 (mission VARCHAR, primary_payload_s_ VARCHAR)
SELECT AVG(wins) FROM table_name_1 WHERE class = "250cc" AND year = 1972
Count the average Wins which has a Class of 250cc, and a Year of 1972?
CREATE TABLE table_name_1 (wins INTEGER, class VARCHAR, year VARCHAR)
SELECT role FROM table_name_18 WHERE actor = "kevin bishop"
What role is Kevin Bishop the actor?
CREATE TABLE table_name_18 (role VARCHAR, actor VARCHAR)
SELECT date FROM table_name_68 WHERE venue = "mcalpine stadium"
I want the date with the venue of mcalpine stadium
CREATE TABLE table_name_68 (date VARCHAR, venue VARCHAR)
SELECT final_episode FROM table_name_93 WHERE actor = "rob estes"
What was the last episode featuring Rob Estes?
CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR)
SELECT pro_stock AS Motorcycle FROM table_name_60 WHERE pro_stock = "tom martino"
Who won Pro Stock Motorcycle the year Tom Martino won Pro Stock?
CREATE TABLE table_name_60 (pro_stock VARCHAR)
SELECT MAX(points) FROM table_name_42 WHERE chassis = "focus rs wrc 08 and 09" AND stage_wins > 91
what is the highest points when the chassis is focus rs wrc 08 and 09 and the stage wins is more than 91?
CREATE TABLE table_name_42 (points INTEGER, chassis VARCHAR, stage_wins VARCHAR)
SELECT runs FROM table_name_53 WHERE opponent = "south australia"
Which Runs has a Opponent of south australia?
CREATE TABLE table_name_53 (runs VARCHAR, opponent VARCHAR)
SELECT role FROM table_name_26 WHERE notes = "antagonist" AND title = "salud, dinero y amor"
What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?
CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR)
SELECT AVG(drawn) FROM table_name_30 WHERE difference = "4" AND lost > 13
What is the average drawn of the team with a difference of 4 and more than 13 losses?
CREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR)
SELECT score FROM table_name_92 WHERE january < 4
What was the score in January that was less than 4?
CREATE TABLE table_name_92 (score VARCHAR, january INTEGER)
SELECT score FROM table_name_48 WHERE opponent = "@ giants" AND record = "8–12"
Opponent of @ giants, and a Record of 8–12 had what score?
CREATE TABLE table_name_48 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT time FROM table_name_77 WHERE rank = 2
What is the Time of the Player with a Rank of 2?
CREATE TABLE table_name_77 (time VARCHAR, rank VARCHAR)
SELECT college_junior_club_team FROM table_2886617_4 WHERE nhl_team = "New York Rangers"
What team did the New York Rangers recruit a player from?
CREATE TABLE table_2886617_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)