answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT venue FROM table_name_85 WHERE scored > 1
Where was the game with a higher score than 1 played?
CREATE TABLE table_name_85 (venue VARCHAR, scored INTEGER)
SELECT week_5 FROM table_name_96 WHERE week_2 = "36.80" AND week_4 = "39.75"
What is week 5 when week 2 is 36.80, and week 4 is 39.75?
CREATE TABLE table_name_96 (week_5 VARCHAR, week_2 VARCHAR, week_4 VARCHAR)
SELECT res FROM table_name_89 WHERE record = "2-0"
What was the resolution of the fight when matt grice had a record of 2-0?
CREATE TABLE table_name_89 (res VARCHAR, record VARCHAR)
SELECT MAX(games_played) FROM table_name_85 WHERE position < 4 AND goals_for_against = "29-24"
What is the highest number of games played of the club with a position number less than 4 and a 29-24 goals for/against?
CREATE TABLE table_name_85 (games_played INTEGER, position VARCHAR, goals_for_against VARCHAR)
SELECT home FROM table_name_60 WHERE attendance < 2248 AND score = "2:0" AND date = "21 september 2008"
What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score?
CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR)
SELECT name FROM table_name_63 WHERE west_or_south_terminus = "ne 112 west of blue springs"
what is the name when the west or south terminus is ne 112 west of blue springs?
CREATE TABLE table_name_63 (name VARCHAR, west_or_south_terminus VARCHAR)
SELECT first_publisher FROM table_name_31 WHERE year < 1999
What is the First Publisher prior to 1999?
CREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER)
SELECT opponent FROM table_name_87 WHERE week < 5 AND date = "october 10, 1954"
Who was the opponent for the game taht was before week 5 on October 10, 1954?
CREATE TABLE table_name_87 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8
What is the average draft with a pick larger than 42, and player Grant Eakin after round 8?
CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR)
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center"
What is the greatest rank for Fifth third center?
CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)
SELECT original_air_date FROM table_22815870_1 WHERE prod_code = 105
What is the original air date of the episode with a production code of 105?
CREATE TABLE table_22815870_1 (original_air_date VARCHAR, prod_code VARCHAR)
SELECT money_list_rank FROM table_1697190_2 WHERE best_finish = "T-65"
when Casey Martin's best finish was t-65, where did he land in the money list rankings?
CREATE TABLE table_1697190_2 (money_list_rank VARCHAR, best_finish VARCHAR)
SELECT date FROM table_name_18 WHERE opponent = "lizards" AND result = "w 18-17"
What is the date of the game against the Lizards with a result of w 18-17?
CREATE TABLE table_name_18 (date VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT date FROM table_name_3 WHERE venue = "junction oval"
What was the date of the game at Junction Oval?
CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter"
What is the grid of driver tomas scheckter from vision racing team?
CREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR)
SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725
What is the total of Poland, which has an E score greater than 7.725?
CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)
SELECT enrollment FROM table_16381914_1 WHERE founded = 1846
What was the enrollment of the school founded in 1846?
CREATE TABLE table_16381914_1 (enrollment VARCHAR, founded VARCHAR)
SELECT publisher FROM table_name_19 WHERE name = "spec ops: stealth patrol"
Which publisher is responsible for spec ops: stealth patrol?
CREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR)
SELECT MIN(no_in_series) FROM table_19897294_8
Name the least number in series
CREATE TABLE table_19897294_8 (no_in_series INTEGER)
SELECT score FROM table_name_46 WHERE record = "62-67"
What was the score of the game when their record was 62-67
CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR)
SELECT runner_s__up FROM table_name_32 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279)
During the championship where the winning score was −9 (66-69-73-71=279)?, who was the runner-up?
CREATE TABLE table_name_32 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT score FROM table_name_15 WHERE player = "ernie els"
What is Score, when Player is "Ernie Els"?
CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)
SELECT result FROM table_name_70 WHERE date = "october 8, 2000"
What is the final result of the game that was played on October 8, 2000?
CREATE TABLE table_name_70 (result VARCHAR, date VARCHAR)
SELECT origin FROM table_name_37 WHERE versions = "tth"
Where is the origin of the tth version?
CREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR)
SELECT team FROM table_name_87 WHERE best = "1:10.998"
Which team has a 1:10.998 best?
CREATE TABLE table_name_87 (team VARCHAR, best VARCHAR)
SELECT score FROM table_name_74 WHERE player = "dick metz"
What is the score of player dick metz?
CREATE TABLE table_name_74 (score VARCHAR, player VARCHAR)
SELECT network FROM table_name_30 WHERE korean_title = "mbc 베스트극장 - 작은 도둑"
What network is the Korean title of mbc 베스트극장 - 작은 도둑 on?
CREATE TABLE table_name_30 (network VARCHAR, korean_title VARCHAR)
SELECT country FROM table_name_11 WHERE rank = 4
What is the Country of the rowers with a Rank of 4?
CREATE TABLE table_name_11 (country VARCHAR, rank VARCHAR)
SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "ucla"
What is the lowest round of the player from UCLA?
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR)
SELECT 2008 FROM table_name_89 WHERE 2006 = "year-end championship"
What is the 2008 result when 2006 is Year-End Championship?
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT partner FROM table_name_46 WHERE opponents_in_the_final = "františek čermák michal mertiňák"
Name the partner for opponents of františek čermák michal mertiňák
CREATE TABLE table_name_46 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT name FROM table_name_63 WHERE position = "forward" AND season = "2009-2010"
What is the name for the forward in the 2009-2010 season?
CREATE TABLE table_name_63 (name VARCHAR, position VARCHAR, season VARCHAR)
SELECT date FROM table_name_71 WHERE competition = "friendly" AND venue = "rheinpark stadion, vaduz"
Name the date that has a friendly competition at rheinpark stadion, vaduz
CREATE TABLE table_name_71 (date VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT COUNT(finish) FROM table_256862_1 WHERE entries = "15" AND winning_yacht = "L'Esprit d'Equipe"
Name the number of finishes for 15 entries 15 and l'esprit d'equipe
CREATE TABLE table_256862_1 (finish VARCHAR, entries VARCHAR, winning_yacht VARCHAR)
SELECT location FROM table_11621915_1 WHERE tournament = "Quicksilver Classic"
what's the location with tournament value of quicksilver classic
CREATE TABLE table_11621915_1 (location VARCHAR, tournament VARCHAR)
SELECT round_of_16 FROM table_name_16 WHERE event = "69kg"
What's the 69kg of Round 16?
CREATE TABLE table_name_16 (round_of_16 VARCHAR, event VARCHAR)
SELECT position FROM table_name_5 WHERE nationality = "usa" AND team = "ír" AND season = "2010-11"
What position did the 2010-11 USA ír player have?
CREATE TABLE table_name_5 (position VARCHAR, season VARCHAR, nationality VARCHAR, team VARCHAR)
SELECT name FROM table_name_87 WHERE team = "forsythe racing" AND qual_2 = "1:47.132"
what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132?
CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR)
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Mike Turnesa"
what is the space where the next one was mike turnesa
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)
SELECT league FROM table_name_86 WHERE regular_season = "3rd, atlantic"
Name the League which has a Regular Season of 3rd, atlantic?
CREATE TABLE table_name_86 (league VARCHAR, regular_season VARCHAR)
SELECT MAX(points) FROM table_name_63 WHERE goal_average > 4 AND draws < 12 AND goals_for = 63
What is the highest amount of points with a goal average larger than 4, less than 12 draws, and a goal of 63?
CREATE TABLE table_name_63 (points INTEGER, goals_for VARCHAR, goal_average VARCHAR, draws VARCHAR)
SELECT COUNT(decile) FROM table_name_34 WHERE name = "redwood school"
What is the total number of decile for the redwood school locality?
CREATE TABLE table_name_34 (decile VARCHAR, name VARCHAR)
SELECT diameter__km_ FROM table_16799784_8 WHERE name = "Colette Patera"
What is the diameter in km of the feature named Colette Patera?
CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, name VARCHAR)
SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1929"
what is the typhoid fever number for the year 1929
CREATE TABLE table_1007688_1 (typhoid_fever VARCHAR, year VARCHAR)
SELECT player FROM table_28697228_4 WHERE total_offense = 454
What is the name of the player with total offense of 454?
CREATE TABLE table_28697228_4 (player VARCHAR, total_offense VARCHAR)
SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling"
How many divisions in bowling ?
CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)
SELECT AVG(time) FROM table_name_29 WHERE rank = 61
What is the average time in a rank of 61?
CREATE TABLE table_name_29 (time INTEGER, rank VARCHAR)
SELECT res FROM table_name_11 WHERE time = "1:13"
What is the result when the time is 1:13?
CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR)
SELECT score FROM table_name_20 WHERE place = "t8" AND player = "byron nelson"
What is score of the game played in place t8 with Byron Nelson playing?
CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT AVG(drawn) FROM table_name_22 WHERE points > 15 AND lost = 1 AND played < 14
what is the average drawn when the points is more than 15, lost is 1 and played is less than 14?
CREATE TABLE table_name_22 (drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)
SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = "1996, 2001"
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?
CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR)
SELECT water__sqmi_ FROM table_18600760_15 WHERE county = "Ramsey" AND geo_id > 3807159460.0
How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0?
CREATE TABLE table_18600760_15 (water__sqmi_ VARCHAR, county VARCHAR, geo_id VARCHAR)
SELECT location_attendance FROM table_27722408_8 WHERE team = "San Antonio"
What was location and attendance for the game where the Celtics played San Antonio?
CREATE TABLE table_27722408_8 (location_attendance VARCHAR, team VARCHAR)
SELECT COUNT(*) FROM Owners WHERE NOT owner_id IN (SELECT owner_id FROM Dogs)
How many owners temporarily do not have any dogs?
CREATE TABLE Dogs (owner_id VARCHAR); CREATE TABLE Owners (owner_id VARCHAR)
SELECT first_name, last_name FROM employees ORDER BY hire_date LIMIT 10
List top 10 employee work longest in the company. List employee's first and last name.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR)
SELECT MAX(mins) FROM table_name_87 WHERE club = "san jose earthquakes" AND shts < 166
What is the largest MINS for the San Jose Earthquakes with a SHTS less than 166?
CREATE TABLE table_name_87 (mins INTEGER, club VARCHAR, shts VARCHAR)
SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = "tim mayotte"
Where in 1985 was tim mayotte runner up?
CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR, runner_up VARCHAR)
SELECT north_america FROM table_name_74 WHERE title = "phantom brave"
Tell me the north america for phantom brave
CREATE TABLE table_name_74 (north_america VARCHAR, title VARCHAR)
SELECT islam FROM table_16642_1 WHERE ethnicity = "Tajik"
When tajik is the ethnicity what is islam?
CREATE TABLE table_16642_1 (islam VARCHAR, ethnicity VARCHAR)
SELECT chicken_wing FROM table_name_76 WHERE steal_intercept_ball = "no"
Which Chicken wing has no steal/intercept ball?
CREATE TABLE table_name_76 (chicken_wing VARCHAR, steal_intercept_ball VARCHAR)
SELECT COUNT(year) FROM table_name_7 WHERE ratings = "10.9/23"
How many Years have Ratings of 10.9/23?
CREATE TABLE table_name_7 (year VARCHAR, ratings VARCHAR)
SELECT high_points FROM table_23285849_7 WHERE score = "W 97–92 (OT)"
Who had the most points in the game where the score was w 97–92 (ot)?
CREATE TABLE table_23285849_7 (high_points VARCHAR, score VARCHAR)
SELECT games FROM table_name_56 WHERE event = "men's competition" AND medal = "silver"
When did Pakistan win a Silver Medal in a Men's Competition?
CREATE TABLE table_name_56 (games VARCHAR, event VARCHAR, medal VARCHAR)
SELECT new_south_wales FROM table_1057262_2 WHERE crop__kilotonnes_ = "Canola"
what's the new south wales with crop (kilotonnes) being canola
CREATE TABLE table_1057262_2 (new_south_wales VARCHAR, crop__kilotonnes_ VARCHAR)
SELECT MAX(silver) FROM table_22355_71
How many silver medalist was won?
CREATE TABLE table_22355_71 (silver INTEGER)
SELECT date FROM table_name_61 WHERE city___state = "sydney, new south wales"
What is the Date for the City/State of Sydney, New South Wales?
CREATE TABLE table_name_61 (date VARCHAR, city___state VARCHAR)
SELECT brup FROM table_18064020_21 WHERE name = "total"
What is the total brup for the team?
CREATE TABLE table_18064020_21 (brup VARCHAR, name VARCHAR)
SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex
Find the average and minimum weight for each gender.
CREATE TABLE people (sex VARCHAR, weight INTEGER)
SELECT home_team AS score FROM table_name_97 WHERE away_team = "fitzroy"
What was the score of the team that played against Fitzroy?
CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR)
SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.12"
What position is the boat with 20.12 LOA (metres)?
CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "La Sorgente Sat 1"
How many values of HDTV correspond to television service of la sorgente sat 1?
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
SELECT SUM(evening_gown) FROM table_name_84 WHERE interview = 9.22 AND preliminaries > 9.057
What is the evening gown score where the interview score is 9.22 and the preliminaries are larger than 9.057?
CREATE TABLE table_name_84 (evening_gown INTEGER, interview VARCHAR, preliminaries VARCHAR)
SELECT away FROM table_name_49 WHERE home = "deportes savio"
What team was the away team when the Deportes Savio was the home team?
CREATE TABLE table_name_49 (away VARCHAR, home VARCHAR)
SELECT city FROM table_name_70 WHERE province = "saskatchewan"
What city is in Saskatchewan?
CREATE TABLE table_name_70 (city VARCHAR, province VARCHAR)
SELECT COUNT(year) FROM table_name_78 WHERE baden = "freiburger fc"
What's the year that has a Baden Freiburger FC?
CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR)
SELECT laps FROM table_name_76 WHERE time_retired = "+16.445"
What is the number of laps for the Time/Retired of +16.445?
CREATE TABLE table_name_76 (laps VARCHAR, time_retired VARCHAR)
SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7
The highest position with more than 16 points and less than 7 concedes?
CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR)
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5
What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?
CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)
SELECT date FROM table_name_2 WHERE home_team = "fitzroy"
What date was fitzroy the home team?
CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR)
SELECT AVG(nominated_by_the_taoiseach) FROM table_name_99 WHERE industrial_and_commercial_panel < 9 AND administrative_panel > 0 AND cultural_and_educational_panel > 2 AND total < 29
What is the average nominated of the composition nominated by Taioseach with an Industrial and Commercial panel less than 9, an administrative panel greater than 0, a cultural and educational panel greater than 2, and a total less than 29?
CREATE TABLE table_name_99 (nominated_by_the_taoiseach INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR, administrative_panel VARCHAR)
SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin"
Who is the required actor when Robert Austin was the actor in the original production?
CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)
SELECT COUNT(rank) FROM table_22014431_3 WHERE tumbling = "36.5"
What is the rank when 36.5 is tumbling?
CREATE TABLE table_22014431_3 (rank VARCHAR, tumbling VARCHAR)
SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_35 WHERE name = "photovista panorama"
What's the HDR output of Photovista Panorama?
CREATE TABLE table_name_35 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR, name VARCHAR)
SELECT SUM(game) FROM table_name_42 WHERE opponent = "@ st. louis hawks"
How many total games were played against @ St. Louis Hawks this season?
CREATE TABLE table_name_42 (game INTEGER, opponent VARCHAR)
SELECT seat_of_administration FROM table_16278602_1 WHERE largest_city = "Roskilde"
In the region where Roskilde is the largest city, what is the seat of administration?
CREATE TABLE table_16278602_1 (seat_of_administration VARCHAR, largest_city VARCHAR)
SELECT written_by FROM table_21313327_1 WHERE no_in_season = 3
In season number 3, who were the writers?
CREATE TABLE table_21313327_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33
What is the Average of Men in Pain with a Finale of less than 33?
CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR)
SELECT season FROM table_name_13 WHERE winner = "stoke city"
What season did Stoke City win?
CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR)
SELECT score FROM table_name_37 WHERE venue = "lübker golf resort"
What is the Score, when the Venue is Lübker Golf Resort?
CREATE TABLE table_name_37 (score VARCHAR, venue VARCHAR)
SELECT player FROM table_name_94 WHERE round = 6
Who is the player in round 6?
CREATE TABLE table_name_94 (player VARCHAR, round VARCHAR)
SELECT 2 AS nd_party FROM table_name_14 WHERE election = "1857"
Which 2nd Party has a Election of 1857?
CREATE TABLE table_name_14 (election VARCHAR)
SELECT played FROM table_name_88 WHERE club = "banwen rfc"
what's the played status when the club was banwen rfc?
CREATE TABLE table_name_88 (played VARCHAR, club VARCHAR)
SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512
What is the density of the place with an area of 1512?
CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR)
SELECT m60a3_patton FROM table_name_17 WHERE m1a1_abrams = "t (short tons)"
What is the M60A3 when the M1A1 is T (Short Tons)?
CREATE TABLE table_name_17 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
SELECT winning_driver FROM table_name_59 WHERE winning_constructor = "talbot"
What Winning driver has a Winning constructor of talbot?
CREATE TABLE table_name_59 (winning_driver VARCHAR, winning_constructor VARCHAR)
SELECT leagues_entering_this_round FROM table_19089486_1 WHERE clubs_involved = 4
Name the leagues entering this round for 4
CREATE TABLE table_19089486_1 (leagues_entering_this_round VARCHAR, clubs_involved VARCHAR)
SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"
what type of record was made where result/games is 10 games (29,606 avg.)
CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)
SELECT record FROM table_name_54 WHERE game = 27
What is Record, when Game is 27?
CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR)
SELECT MIN(avg_g) FROM table_name_16 WHERE att_cmp_int = "2-9-0"
What is the lowest avg/g that has 2-9-0 for the att-cmp-int?
CREATE TABLE table_name_16 (avg_g INTEGER, att_cmp_int VARCHAR)
SELECT visitor FROM table_name_77 WHERE attendance = "7,000" AND date = "january 1"
Who is the visitor from the game with 7,000 in attendance on January 1?
CREATE TABLE table_name_77 (visitor VARCHAR, attendance VARCHAR, date VARCHAR)