answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT young_rider_classification FROM table_29332810_14 WHERE aggressive_rider = "Luke Durbridge"
Where Luke Durbridge is the aggressive rider who is listed as the young rider classification?
CREATE TABLE table_29332810_14 (young_rider_classification VARCHAR, aggressive_rider VARCHAR)
SELECT week FROM table_name_89 WHERE attendance = "39,056"
Which week had 39,056 people in attendance?
CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR)
SELECT part_1 FROM table_1745843_10 WHERE class = "7b"
What is part 1 of the verb in class 7b
CREATE TABLE table_1745843_10 (part_1 VARCHAR, class VARCHAR)
SELECT points FROM table_name_4 WHERE score = "3–3" AND date = "november 11"
Which Points have a Score of 3–3, and a Date of november 11?
CREATE TABLE table_name_4 (points VARCHAR, score VARCHAR, date VARCHAR)
SELECT race FROM table_name_61 WHERE position = "5th"
What race is in the 5th position?
CREATE TABLE table_name_61 (race VARCHAR, position VARCHAR)
SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = "dehua" AND articles < 16
Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?
CREATE TABLE table_name_54 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR)
SELECT category FROM table_name_26 WHERE result = "nominated" AND award = "british comedy awards"
Name the category for nominated at the british comedy awards
CREATE TABLE table_name_26 (category VARCHAR, result VARCHAR, award VARCHAR)
SELECT AVG(pick) FROM table_name_12 WHERE team = "kansas city chiefs"
What is the average pick of the kansas city chiefs?
CREATE TABLE table_name_12 (pick INTEGER, team VARCHAR)
SELECT attendance FROM table_name_21 WHERE loss = "prokopec (2-7)"
How many were in attendance with a loss of Prokopec (2-7)?
CREATE TABLE table_name_21 (attendance VARCHAR, loss VARCHAR)
SELECT club FROM table_13758945_3 WHERE losing_bonus = "1"
what's the club with losing bonus being 1
CREATE TABLE table_13758945_3 (club VARCHAR, losing_bonus VARCHAR)
SELECT Status FROM roller_coaster WHERE LENGTH > 3300 OR Height > 100
Show the statuses of roller coasters longer than 3300 or higher than 100.
CREATE TABLE roller_coaster (Status VARCHAR, LENGTH VARCHAR, Height VARCHAR)
SELECT tries_against FROM table_name_4 WHERE points_for = "207"
What is the Tries against for the team that has 207 points for?
CREATE TABLE table_name_4 (tries_against VARCHAR, points_for VARCHAR)
SELECT party FROM table_1342218_35 WHERE district = "Ohio 7"
What party does the incumbent from the Ohio 7 district belong to?
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
SELECT to_par FROM table_name_74 WHERE year_s__won = "1960"
What was the score to par in 1960?
CREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR)
SELECT date_of_latest_logon FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh"
What are the dates of the latest logon of the students with family name "Jaskolski" or "Langosh"?
CREATE TABLE Students (date_of_latest_logon VARCHAR, family_name VARCHAR)
SELECT pick__number FROM table_name_91 WHERE college = "idaho state"
Which 2006 cfl draft pick played college ball at Idaho state?
CREATE TABLE table_name_91 (pick__number VARCHAR, college VARCHAR)
SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20
What was the main date of the round with 20 fixtures?
CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)
SELECT record FROM table_name_32 WHERE visitor = "chicago black hawks" AND date = "april 17"
What is Record, when Visitor is "Chicago Black Hawks", and when Date is "April 17"?
CREATE TABLE table_name_32 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT coverage_area FROM table_name_25 WHERE city_of_license = "hillsboro, west virginia"
Name the coverage area for licesne of hillsboro, west virginia
CREATE TABLE table_name_25 (coverage_area VARCHAR, city_of_license VARCHAR)
SELECT league FROM table_name_65 WHERE year = 2011
What league played in 2011?
CREATE TABLE table_name_65 (league VARCHAR, year VARCHAR)
SELECT school_club_team FROM table_name_95 WHERE player = "vince carter"
Which School/Club Team does Vince Carter Play for?
CREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR)
SELECT result FROM table_name_50 WHERE date = "september 1, 1996"
What was the score on September 1, 1996?
CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)
SELECT district FROM table_1341865_37 WHERE incumbent = "Carl W. Rich"
In which district is the incumbent Carl W. Rich?
CREATE TABLE table_1341865_37 (district VARCHAR, incumbent VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland"
Which College/junior/club team (league) was the player from Switzerland from?
CREATE TABLE table_name_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR)
SELECT AVG(university_of_dublin) FROM table_name_75 WHERE industrial_and_commercial_panel > 4 AND national_university_of_ireland > 3
What is the average for the university of dublin when the industrial and commercial panel is greater than 4 and the total of the national university of ireland is larger than 3?
CREATE TABLE table_name_75 (university_of_dublin INTEGER, industrial_and_commercial_panel VARCHAR, national_university_of_ireland VARCHAR)
SELECT gold FROM table_name_38 WHERE rank = "7"
What is Gold, when Rank is 7?
CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)
SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "141.911"
How many laps have an average speed of 141.911?
CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)
SELECT home FROM table_name_30 WHERE date = "may 2"
Who was the home team on the May 2 game?
CREATE TABLE table_name_30 (home VARCHAR, date VARCHAR)
SELECT region FROM table_name_5 WHERE name = "tv uskana"
What is the region for tv uskana?
CREATE TABLE table_name_5 (region VARCHAR, name VARCHAR)
SELECT MAX(points) FROM table_name_49 WHERE year < 1992 AND wins < 0
What are the highest points that have a year less than 1992, with wins less than 0?
CREATE TABLE table_name_49 (points INTEGER, year VARCHAR, wins VARCHAR)
SELECT season_no FROM table_21781578_2 WHERE directed_by = "John David Coles"
What was the season number episode directed by John David Coles?
CREATE TABLE table_21781578_2 (season_no VARCHAR, directed_by VARCHAR)
SELECT gdp__ppp__$m_usd FROM table_name_7 WHERE population_density__per_km²_ = "254.7"
How much is the GDP for a population density of 254.7?
CREATE TABLE table_name_7 (gdp__ppp__$m_usd VARCHAR, population_density__per_km²_ VARCHAR)
SELECT score FROM table_27537518_6 WHERE first_star = "O. Pavelec"
What was the score of the game whose first star was O. Pavelec?
CREATE TABLE table_27537518_6 (score VARCHAR, first_star VARCHAR)
SELECT date FROM table_name_61 WHERE tie_no = "9"
What is the Date of Tie no 9?
CREATE TABLE table_name_61 (date VARCHAR, tie_no VARCHAR)
SELECT COUNT(cfl_team) FROM table_16575609_3 WHERE pick__number = 21
How many cfl teams had pick # 21?
CREATE TABLE table_16575609_3 (cfl_team VARCHAR, pick__number VARCHAR)
SELECT year FROM table_1918850_2 WHERE opponents_in_the_final = "Helena Suková Todd Woodbridge"
when were helena suková todd woodbridge the opponents in the final
CREATE TABLE table_1918850_2 (year VARCHAR, opponents_in_the_final VARCHAR)
SELECT event FROM table_name_90 WHERE record = "4:02.54"
Which Event has a Record of 4:02.54?
CREATE TABLE table_name_90 (event VARCHAR, record VARCHAR)
SELECT won FROM table_15467476_3 WHERE tries_against = "49"
How many games won for teams with 49 tries against?
CREATE TABLE table_15467476_3 (won VARCHAR, tries_against VARCHAR)
SELECT MIN(points) FROM table_name_17 WHERE opponent = "@ florida panthers" AND game > 58
Which Points have an Opponent of @ florida panthers, and a Game larger than 58?
CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR)
SELECT player FROM table_28628309_9 WHERE category = "Steals per game"
Who is the player when the category is steals per game?
CREATE TABLE table_28628309_9 (player VARCHAR, category VARCHAR)
SELECT accreditation_level FROM table_name_72 WHERE date = "approved (awarded 05.12.12)"
What is the accreditation level for the approved (awarded 05.12.12) date?
CREATE TABLE table_name_72 (accreditation_level VARCHAR, date VARCHAR)
SELECT name, open_date FROM church ORDER BY open_date DESC LIMIT 3
Show the name and opening year for three churches that opened most recently.
CREATE TABLE church (name VARCHAR, open_date VARCHAR)
SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support"
Is the drawing tablet support part of the DDM class?
CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR)
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008"
What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?
CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT model FROM table_name_33 WHERE displacement = "1,868 cc"
What model has an engine of 1,868 cc?
CREATE TABLE table_name_33 (model VARCHAR, displacement VARCHAR)
SELECT MIN(alliance) FROM table_28005809_2 WHERE total = 25
What is the smallest Alliance where the total is 25?
CREATE TABLE table_28005809_2 (alliance INTEGER, total VARCHAR)
SELECT COUNT(laps) FROM table_name_21 WHERE driver = "john watson" AND grid < 7
What was John Watson's total laps with a grid of less than 7?
CREATE TABLE table_name_21 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT date FROM table_name_80 WHERE race_name = "xiv international gold cup"
What date was the xiv international gold cup?
CREATE TABLE table_name_80 (date VARCHAR, race_name VARCHAR)
SELECT region FROM table_name_7 WHERE date = "19 june 2007"
From which region is the album with release date of 19 June 2007?
CREATE TABLE table_name_7 (region VARCHAR, date VARCHAR)
SELECT written_by FROM table_17355820_1 WHERE directed_by = "Nelson McCormick"
Which episodes did Nelson McCormick direct?
CREATE TABLE table_17355820_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong"
What was the score when geelong was the away team?
CREATE TABLE table_name_45 (home_team VARCHAR)
SELECT position FROM table_name_85 WHERE level = "tier 4" AND season < 2003
What Position has a Level of tier 4 with a Season smaller than 2003?
CREATE TABLE table_name_85 (position VARCHAR, level VARCHAR, season VARCHAR)
SELECT MIN(losses) FROM table_name_75 WHERE season < 1920 AND draws > 0
Which Losses is the lowest one that has a Season smaller than 1920, and Draws larger than 0?
CREATE TABLE table_name_75 (losses INTEGER, season VARCHAR, draws VARCHAR)
SELECT name FROM buildings WHERE NOT id IN (SELECT building_id FROM Office_locations)
List the names of buildings that have no company office.
CREATE TABLE buildings (name VARCHAR, id VARCHAR, building_id VARCHAR); CREATE TABLE Office_locations (name VARCHAR, id VARCHAR, building_id VARCHAR)
SELECT runner_s__up FROM table_name_42 WHERE tournament = "atlantic city classic"
Who is the runner-up of Atlantic city classic?
CREATE TABLE table_name_42 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT COUNT(won) FROM table_2509505_1 WHERE goals_for = 274
Name the number of won for goals for being 274
CREATE TABLE table_2509505_1 (won VARCHAR, goals_for VARCHAR)
SELECT original_title FROM table_name_58 WHERE winner_and_nominees = "the king's speech"
What was the original title for the king's speech?
CREATE TABLE table_name_58 (original_title VARCHAR, winner_and_nominees VARCHAR)
SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012
What was the result when Jam Hsiao was nominated in 2012?
CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)
SELECT AVG(drawn) FROM table_name_32 WHERE name = "ersc amberg" AND points < 14
What is the average games that were drawn with ERSC Amberg as name and less than 14 points?
CREATE TABLE table_name_32 (drawn INTEGER, name VARCHAR, points VARCHAR)
SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix"
What is the pole position of the Belgian Grand Prix?
CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT COUNT(overall_ranking) FROM table_name_12 WHERE status = "eliminated" AND name = "廖尹宁 jvnne leow"
What's the total number of overall rankings of 廖尹宁 jvnne leow's events that are eliminated?
CREATE TABLE table_name_12 (overall_ranking VARCHAR, status VARCHAR, name VARCHAR)
SELECT position FROM table_name_11 WHERE season = "2008"
What position has 2008 as the season?
CREATE TABLE table_name_11 (position VARCHAR, season VARCHAR)
SELECT reg_season FROM table_14225409_1 WHERE playoffs = "Conference Semifinals" AND us_open_cup = "Did not qualify"
What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup?
CREATE TABLE table_14225409_1 (reg_season VARCHAR, playoffs VARCHAR, us_open_cup VARCHAR)
SELECT affiliation FROM table_16381914_1 WHERE location = "Canton, New York"
What kind of school is Canton, New York?
CREATE TABLE table_16381914_1 (affiliation VARCHAR, location VARCHAR)
SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"
Which Circuit has a Pole position of andré ribeiro?
CREATE TABLE table_name_97 (circuit VARCHAR, pole_position VARCHAR)
SELECT city___town FROM table_name_36 WHERE icao = "gvma"
In which city is the ICAO gvma?
CREATE TABLE table_name_36 (city___town VARCHAR, icao VARCHAR)
SELECT visa_5 FROM table_name_4 WHERE visa_1 = "emile heskey"
Which Visa 5 has a Visa 1 of emile heskey?
CREATE TABLE table_name_4 (visa_5 VARCHAR, visa_1 VARCHAR)
SELECT COUNT(laps) FROM table_name_68 WHERE qual > 142.81 AND grid = 12
Tell me the total number of Laps for Qual being larger than 142.81 with Grid of 12
CREATE TABLE table_name_68 (laps VARCHAR, qual VARCHAR, grid VARCHAR)
SELECT COUNT(australian) FROM table_17798093_20 WHERE american = "əs"
how many endings have american pronounciation əs
CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR)
SELECT SUM(silver) FROM table_name_41 WHERE bronze = 8
What is the silver medal count of the team that finished with 8 bronze medals?
CREATE TABLE table_name_41 (silver INTEGER, bronze VARCHAR)
SELECT stadium FROM table_name_17 WHERE city = "brisbane"
What is the name of the stadium in Brisbane?
CREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR)
SELECT result FROM table_name_75 WHERE date = "10/04/1947"
What was the result for 10/04/1947?
CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_6 WHERE 1992 = "a"
What's the tournament when 1992 is A?
CREATE TABLE table_name_6 (tournament VARCHAR)
SELECT event FROM table_name_18 WHERE record = "18–5 (1)"
Which event had the record of 18–5 (1)?
CREATE TABLE table_name_18 (event VARCHAR, record VARCHAR)
SELECT traditional FROM table_2013618_1 WHERE simplified = "屏南县"
Name the traditional for 屏南县
CREATE TABLE table_2013618_1 (traditional VARCHAR, simplified VARCHAR)
SELECT score FROM table_name_23 WHERE home = "washington" AND visitor = "florida"
What was the score of the game that Washington played at home against Florida?
CREATE TABLE table_name_23 (score VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT type FROM table_11934032_1 WHERE station_number = "C08"
what are all the type where station number is c08
CREATE TABLE table_11934032_1 (type VARCHAR, station_number VARCHAR)
SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = "4r"
What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974?
CREATE TABLE table_name_23 (career_w_l VARCHAR)
SELECT league_from FROM table_name_95 WHERE position = "lw" AND pick__number > 34 AND player = "bradley ross"
Which League from has a Position of lw, a Pick # larger than 34, and a Player of bradley ross?
CREATE TABLE table_name_95 (league_from VARCHAR, player VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT MIN(2003 AS _seats) FROM table_20728138_1 WHERE _percentage_in_seats_contested = "38.23%"
What is the 2003 seat number, when seats contested was at 38.23%
CREATE TABLE table_20728138_1 (_percentage_in_seats_contested VARCHAR)
SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38
What mission did the astronaut who 38 years old on the mission and who served in NASA serve on?
CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR)
SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996"
What is the amount of 000s from 1996?
CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR)
SELECT lead FROM table_name_73 WHERE skip = "mike mcewen"
Which Lead has a Skip of mike mcewen?
CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)
SELECT champion FROM table_name_87 WHERE runner_up = "dick chapman" AND venue = "st. andrews links"
Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
CREATE TABLE table_name_87 (champion VARCHAR, runner_up VARCHAR, venue VARCHAR)
SELECT authority FROM table_name_35 WHERE area = "rototuna"
What authority does the rototuna area have?
CREATE TABLE table_name_35 (authority VARCHAR, area VARCHAR)
SELECT COUNT(player) FROM table_28286776_52 WHERE goal_s_ = 8
How many players had 8 goals?
CREATE TABLE table_28286776_52 (player VARCHAR, goal_s_ VARCHAR)
SELECT years_for_grizzlies FROM table_name_96 WHERE position = "small forward" AND school_club_team = "providence"
Which years did the player from Providence play for the Grizzlies as small forward?
CREATE TABLE table_name_96 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT AVG(ends) FROM table_name_93 WHERE since = 2003 AND name = "márquez"
What is the average Ends with a Since of 2003, and a Name with márquez?
CREATE TABLE table_name_93 (ends INTEGER, since VARCHAR, name VARCHAR)
SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = "3.14"
which is the maximun serie episode number when the millions of North American spectators is 3.14?
CREATE TABLE table_22580855_1 (series_no INTEGER, us_viewers__millions_ VARCHAR)
SELECT home_team AS score FROM table_name_70 WHERE away_team = "hawthorn"
What is the Home team score when away team is hawthorn?
CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
SELECT third_place FROM table_name_68 WHERE winner = "paul haarhuis"
Who earned third place when the winner was Paul Haarhuis?
CREATE TABLE table_name_68 (third_place VARCHAR, winner VARCHAR)
SELECT title FROM songs WHERE title LIKE '% the %'
Find all the songs whose name contains the word "the".
CREATE TABLE songs (title VARCHAR)
SELECT MAX(erp_w) FROM table_name_3 WHERE call_sign = "w255bi"
Which ERP W is the highest one that has a Call sign of w255bi?
CREATE TABLE table_name_3 (erp_w INTEGER, call_sign VARCHAR)
SELECT year FROM table_name_38 WHERE laps > 200
In what year were there more laps than 200 in a race?
CREATE TABLE table_name_38 (year VARCHAR, laps INTEGER)
SELECT player FROM table_name_33 WHERE place = "t2" AND country = "fiji"
Which Player has a Place of T2 and a Country listed as Fiji?
CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT city_town FROM table_157826_1 WHERE municipality = "Horten"
What are the cities/towns located in the municipality of Horten?
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR)
SELECT AVG(goals) FROM table_name_88 WHERE rank < 8 AND matches = 261
What is the mean number of goals when the rank's less than 8 and there are 261 matches?
CREATE TABLE table_name_88 (goals INTEGER, rank VARCHAR, matches VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE player = "brendan locke"
What is Brendan Locke's College/Junior/Club Team (League)?
CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT population__2011_ FROM table_26321719_1 WHERE name = "Beaubassin East"
What is the population in 2011 for the name Beaubassin East?
CREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR)
SELECT season FROM table_12444503_1 WHERE runner_up = "Jeanne d'Arc (Bamako)"
In which season was Jeanne d'Arc (Bamako) the runner-up?
CREATE TABLE table_12444503_1 (season VARCHAR, runner_up VARCHAR)