question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
What surface was the match on November 6, 1982 played on?
SELECT surface FROM table_name_82 WHERE date = "november 6, 1982"
CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)
What was the result when the attendance was 12,000?
SELECT result FROM table_name_77 WHERE attendance = "12,000"
CREATE TABLE table_name_77 (result VARCHAR, attendance VARCHAR)
What was the airdate of the episode with a UK viewership of 6.02 million?
SELECT original_air_date FROM table_29063233_1 WHERE uk_viewers__million_ = "6.02"
CREATE TABLE table_29063233_1 (original_air_date VARCHAR, uk_viewers__million_ VARCHAR)
Who is team 1 with an agg of 2-5?
SELECT team_1 FROM table_name_1 WHERE agg = "2-5"
CREATE TABLE table_name_1 (team_1 VARCHAR, agg VARCHAR)
Which ICAO's IATA is ath?
SELECT icao FROM table_name_63 WHERE iata = "ath"
CREATE TABLE table_name_63 (icao VARCHAR, iata VARCHAR)
Who was the opponent during the biggest defeat?
SELECT opponent FROM table_1233808_2 WHERE record = "Biggest defeat"
CREATE TABLE table_1233808_2 (opponent VARCHAR, record VARCHAR)
Which original artist has a Episode of workshop #1?
SELECT original_artist FROM table_name_32 WHERE episode = "workshop #1"
CREATE TABLE table_name_32 (original_artist VARCHAR, episode VARCHAR)
What is the record of wins/losses that were played at opponents venue (uf, 1-0)
SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue = "UF, 1-0"
CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR)
Who trained the horse on post 11 with over 36 odds?
SELECT trainer FROM table_name_93 WHERE odds > 36 AND post = 11
CREATE TABLE table_name_93 (trainer VARCHAR, odds VARCHAR, post VARCHAR)
Which Lead has a Skip of mike mcewen?
SELECT lead FROM table_name_73 WHERE skip = "mike mcewen"
CREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)
What rank is the team that has a player named Isco Alarcón?
SELECT rank FROM table_name_34 WHERE player = "isco alarcón"
CREATE TABLE table_name_34 (rank VARCHAR, player VARCHAR)
How many top 5s when he was on team #28/#49 jay robinson racing?
SELECT MAX(top_5) FROM table_2216245_2 WHERE team_s_ = "#28/#49 Jay Robinson Racing"
CREATE TABLE table_2216245_2 (top_5 INTEGER, team_s_ VARCHAR)
Name the least extra points
SELECT MIN(extra_points) FROM table_25730460_2
CREATE TABLE table_25730460_2 (extra_points INTEGER)
When did the country that produced 1,213,000 (21st) bbl/day join Opec?
SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"
CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR)
What is the Score of the Shooter with a Comp of OG?
SELECT score FROM table_name_9 WHERE comp = "og"
CREATE TABLE table_name_9 (score VARCHAR, comp VARCHAR)
Which Reason for termination has Appointed by of eisenhower category:articles with hcards?
SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards"
CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR)
Which Lost has Games larger than 7?
SELECT AVG(lost) FROM table_name_54 WHERE games > 7
CREATE TABLE table_name_54 (lost INTEGER, games INTEGER)
Name the total number of opponent for october 3
SELECT COUNT(opponent) FROM table_24126606_2 WHERE date = "October 3"
CREATE TABLE table_24126606_2 (opponent VARCHAR, date VARCHAR)
How many teams had an outgoing manager of antonio gómez
SELECT COUNT(manner_of_departure) FROM table_27495117_3 WHERE outgoing_manager = "Antonio Gómez"
CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
What is the average amount due for all the payments?
SELECT AVG(amount_due) FROM payments
CREATE TABLE payments (amount_due INTEGER)
what is the mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain?
SELECT mountain_range FROM table_name_28 WHERE state = "colorado" AND rank > 90 AND mountain_peak = "whetstone mountain"
CREATE TABLE table_name_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
In what week was the record 5-9?
SELECT MAX(week) FROM table_13258972_2 WHERE record = "5-9"
CREATE TABLE table_13258972_2 (week INTEGER, record VARCHAR)
There are communities listed that a percentage larger than 7.6 in 2001, but none of them has 2 seats listed in 2006.
SELECT SUM(seats_2001) FROM table_name_7 WHERE seats_2006 = 2 AND _percentage_2001 > 7.6
CREATE TABLE table_name_7 (seats_2001 INTEGER, seats_2006 VARCHAR, _percentage_2001 VARCHAR)
What is the production code for episode 15 in season 3?
SELECT production_code FROM table_16581695_4 WHERE no_in_season = "15"
CREATE TABLE table_16581695_4 (production_code VARCHAR, no_in_season VARCHAR)
Show names of technicians who are assigned to repair machines with value point more than 70.
SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID WHERE T2.value_points > 70
CREATE TABLE machine (machine_id VARCHAR, value_points INTEGER); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
Who had a score of 70-73-69=212?
SELECT player FROM table_name_91 WHERE score = 70 - 73 - 69 = 212
CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR)
What was the name of the leader whose term ended in 2013?
SELECT name FROM table_name_49 WHERE term_end = "2013"
CREATE TABLE table_name_49 (name VARCHAR, term_end VARCHAR)
What is the name of the third who has Barbora Vojtusova as Skip?
SELECT third FROM table_name_47 WHERE skip = "barbora vojtusova"
CREATE TABLE table_name_47 (third VARCHAR, skip VARCHAR)
What circuit was the FR3.5 11 series on?
SELECT circuit FROM table_25572068_1 WHERE series = "FR3.5 11"
CREATE TABLE table_25572068_1 (circuit VARCHAR, series VARCHAR)
What is the 1st leg of 2q round?
SELECT 1 AS st_leg FROM table_name_33 WHERE round = "2q"
CREATE TABLE table_name_33 (round VARCHAR)
Who was the champion when the attendance was 70,000?
SELECT champion FROM table_name_43 WHERE attendance = "70,000"
CREATE TABLE table_name_43 (champion VARCHAR, attendance VARCHAR)
What is the driver for the team whose primary sponsor is Quicken Loans / Haas Automation?
SELECT driver_s_ FROM table_1266602_1 WHERE primary_sponsor_s_ = "Quicken Loans / Haas Automation"
CREATE TABLE table_1266602_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)
What is the average attendance for the date of 7 November 2007 with an H/A of H?
SELECT AVG(attendance) FROM table_name_38 WHERE h___a = "h" AND date = "7 november 2007"
CREATE TABLE table_name_38 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
Who was the Class D winner in round 6?
SELECT class_d_winner FROM table_24852622_1 WHERE round = "6"
CREATE TABLE table_24852622_1 (class_d_winner VARCHAR, round VARCHAR)
How many writers where there for episode # 06?
SELECT COUNT(writer) FROM table_2560677_1 WHERE episode__number = "06"
CREATE TABLE table_2560677_1 (writer VARCHAR, episode__number VARCHAR)
What is the M60A3 that has an M1A1 of Km (mi)?
SELECT m60a3_patton FROM table_name_66 WHERE m1a1_abrams = "km (mi)"
CREATE TABLE table_name_66 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
Show the names of the three most recent festivals.
SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 3
CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)
What is the sum of completions that led to completion percentages of 65.4 and attempts under 451?
SELECT SUM(comp) FROM table_name_33 WHERE comp_percentage = 65.4 AND att < 451
CREATE TABLE table_name_33 (comp INTEGER, comp_percentage VARCHAR, att VARCHAR)
What is the to par for the player with fewer than 148 total points?
SELECT SUM(to_par) FROM table_name_53 WHERE total < 148
CREATE TABLE table_name_53 (to_par INTEGER, total INTEGER)
How many points were earned with a Chassis of a Ferrari 156?
SELECT COUNT(points) FROM table_name_78 WHERE chassis = "ferrari 156"
CREATE TABLE table_name_78 (points VARCHAR, chassis VARCHAR)
What is the score of the match at happy valley recreation ground pitch #2 with a 14:30 time?
SELECT score FROM table_name_93 WHERE time = "14:30" AND venue = "happy valley recreation ground pitch #2"
CREATE TABLE table_name_93 (score VARCHAR, time VARCHAR, venue VARCHAR)
Which Opponents in Final has a Score in Final of 7–5, 1–6 4–6?
SELECT opponents_in_final FROM table_name_19 WHERE score_in_final = "7–5, 1–6 4–6"
CREATE TABLE table_name_19 (opponents_in_final VARCHAR, score_in_final VARCHAR)
What is the highest number of titles won by the Järve club before 2013?
SELECT MAX(titles) FROM table_name_9 WHERE current_run_since < 2013 AND club = "järve"
CREATE TABLE table_name_9 (titles INTEGER, current_run_since VARCHAR, club VARCHAR)
What is the Tie No with a Score of 2–2?
SELECT tie_no FROM table_name_26 WHERE score = "2–2"
CREATE TABLE table_name_26 (tie_no VARCHAR, score VARCHAR)
Why did the manager who departed on August 1, 2008 leave?
SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008"
CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
What is the average game number that was on october 19?
SELECT AVG(game) FROM table_name_4 WHERE october = 19
CREATE TABLE table_name_4 (game INTEGER, october VARCHAR)
Who was the driver for crew chief Nick Carlson?
SELECT driver_s_ FROM table_name_34 WHERE crew_chief = "nick carlson"
CREATE TABLE table_name_34 (driver_s_ VARCHAR, crew_chief VARCHAR)
what are the tries where the game was lost by 4?
SELECT tries_against FROM table_13564637_3 WHERE lost = "4"
CREATE TABLE table_13564637_3 (tries_against VARCHAR, lost VARCHAR)
In which year did the least people enter hall of fame?
SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY COUNT(*) LIMIT 1
CREATE TABLE hall_of_fame (yearid VARCHAR)
At the venue Vfl Park, what was the Home team score?
SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park"
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
Who was the away team against the home team Sheffield United?
SELECT away_team FROM table_name_18 WHERE home_team = "sheffield united"
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)
What is the frequency when callsign is dxru-fm?
SELECT frequency FROM table_23915973_1 WHERE callsign = "DXRU-FM"
CREATE TABLE table_23915973_1 (frequency VARCHAR, callsign VARCHAR)
What is the Record of the 1991 Port of Spain Games?
SELECT record FROM table_name_56 WHERE games = "1991 port of spain"
CREATE TABLE table_name_56 (record VARCHAR, games VARCHAR)
Tell me the Hindu for ethnic group for white irish
SELECT hindu FROM table_name_4 WHERE ethnic_group = "white irish"
CREATE TABLE table_name_4 (hindu VARCHAR, ethnic_group VARCHAR)
How many hosts were on Seven Network?
SELECT COUNT(host) FROM table_14523485_9 WHERE channel = "Seven Network"
CREATE TABLE table_14523485_9 (host VARCHAR, channel VARCHAR)
What actor won in 1978?
SELECT actor FROM table_name_22 WHERE year = "1978"
CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)
What is the language of the film directed by Federico Fellini?
SELECT language FROM table_name_27 WHERE director = "federico fellini"
CREATE TABLE table_name_27 (language VARCHAR, director VARCHAR)
Who was the opponent during week 8?
SELECT opponent FROM table_name_67 WHERE week = 8
CREATE TABLE table_name_67 (opponent VARCHAR, week VARCHAR)
What is the pole position for marlboro challenge?
SELECT pole_position FROM table_name_47 WHERE race_name = "marlboro challenge"
CREATE TABLE table_name_47 (pole_position VARCHAR, race_name VARCHAR)
Name the total number of total with silver of 6, bronze more than 5 and gold less than 4
SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4
CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
How many sales had a peak position more than 2 and a Certification of 3x platinum?
SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = "3x platinum"
CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)
What city is Garfield County Museum located in?
SELECT town_city FROM table_name_39 WHERE name = "garfield county museum"
CREATE TABLE table_name_39 (town_city VARCHAR, name VARCHAR)
What was the score for the game when West Ham United was the away team?
SELECT score FROM table_name_84 WHERE away_team = "west ham united"
CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR)
Which leader of the Democratic Unionist party has more than 8 seats?
SELECT leader FROM table_name_35 WHERE number_of_seats > 8 AND party = "democratic unionist party"
CREATE TABLE table_name_35 (leader VARCHAR, number_of_seats VARCHAR, party VARCHAR)
What is the lowest Year, when Tournament is "Beijing"?
SELECT MIN(year) FROM table_name_51 WHERE tournament = "beijing"
CREATE TABLE table_name_51 (year INTEGER, tournament VARCHAR)
What is the 2011 entry for the row with a 2007 entry of 558?
SELECT 2011 FROM table_name_36 WHERE 2007 = "558"
CREATE TABLE table_name_36 (Id VARCHAR)
Who was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?
SELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = "1:15.038"
CREATE TABLE table_name_84 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)
What is the Team that has a Races of 4, and a Points of 0?
SELECT team FROM table_name_10 WHERE races = "4" AND points = "0"
CREATE TABLE table_name_10 (team VARCHAR, races VARCHAR, points VARCHAR)
What is the version when the compatible reposityory is xubuntu 10.04
SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.04"
CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR)
What is the averaged scored number of team guaraní, which has less than 6 draws and less than 5 losses?
SELECT AVG(scored) FROM table_name_30 WHERE draws < 6 AND team = "guaraní" AND losses < 5
CREATE TABLE table_name_30 (scored INTEGER, losses VARCHAR, draws VARCHAR, team VARCHAR)
Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst?
SELECT semi_finalists FROM table_name_92 WHERE runner_up = "alexandra fusai wiltrud probst"
CREATE TABLE table_name_92 (semi_finalists VARCHAR, runner_up VARCHAR)
What league has a position of 8/13?
SELECT league FROM table_name_88 WHERE league_position = "8/13"
CREATE TABLE table_name_88 (league VARCHAR, league_position VARCHAR)
Where was the 1984 Olympics hosted?
SELECT tournament FROM table_name_29 WHERE year = 1984
CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)
Who were the co-drivers in 2008?
SELECT co_drivers FROM table_name_81 WHERE year = 2008
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)
What is the date for the winner Universitario after the 1943 season?
SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943
CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR)
When the Year is smaller than 2004, and Mike Joy is the Lap-by-lap, what are the Ratings?
SELECT ratings FROM table_name_86 WHERE year < 2004 AND lap_by_lap = "mike joy"
CREATE TABLE table_name_86 (ratings VARCHAR, year VARCHAR, lap_by_lap VARCHAR)
What is the fewest points that has more than 29 goals?
SELECT MIN(points) FROM table_name_42 WHERE goal_difference > 29
CREATE TABLE table_name_42 (points INTEGER, goal_difference INTEGER)
Return the minister who left office at the latest time.
SELECT minister FROM party ORDER BY left_office DESC LIMIT 1
CREATE TABLE party (minister VARCHAR, left_office VARCHAR)
What is the average number of games associated with 6 points and under 2 losses?
SELECT AVG(games) FROM table_name_80 WHERE points = 6 AND lost < 2
CREATE TABLE table_name_80 (games INTEGER, points VARCHAR, lost VARCHAR)
How many elverum are tehre for et sted i scandinavia?
SELECT COUNT(elverum) FROM table_19439864_2 WHERE song = "Et sted i Scandinavia"
CREATE TABLE table_19439864_2 (elverum VARCHAR, song VARCHAR)
What years did the player from LaSalle play for the Rockets?
SELECT years_for_rockets FROM table_11734041_2 WHERE school_club_team_country = "LaSalle"
CREATE TABLE table_11734041_2 (years_for_rockets VARCHAR, school_club_team_country VARCHAR)
What's the Japanese Title when the Romaji title was Ryūsei No Kizuna?
SELECT japanese_title FROM table_name_13 WHERE romaji_title = "ryūsei no kizuna"
CREATE TABLE table_name_13 (japanese_title VARCHAR, romaji_title VARCHAR)
Which Team 2 has a Team 1 of vardar?
SELECT team_2 FROM table_name_76 WHERE team_1 = "vardar"
CREATE TABLE table_name_76 (team_2 VARCHAR, team_1 VARCHAR)
On what Date was the Works Number 7?
SELECT date FROM table_name_18 WHERE works_number = "7"
CREATE TABLE table_name_18 (date VARCHAR, works_number VARCHAR)
What date is the crowd larger than 20,000?
SELECT date FROM table_name_56 WHERE crowd > 20 OFFSET 000
CREATE TABLE table_name_56 (date VARCHAR, crowd INTEGER)
Who's the Fourth District with a Second District of kurt van koevering?
SELECT fourth_district FROM table_name_41 WHERE second_district = "kurt van koevering"
CREATE TABLE table_name_41 (fourth_district VARCHAR, second_district VARCHAR)
Which player was at position left tackle?
SELECT player FROM table_25711913_8 WHERE position = "Left tackle"
CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR)
What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?
SELECT construction_completed FROM table_name_49 WHERE listed = "09/08/1983" AND name = "cecil lindsey"
CREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)
Which stage corresponds to Banesto and Tony Rominger?
SELECT stage FROM table_name_7 WHERE team_classification = "banesto" AND points_classification = "tony rominger"
CREATE TABLE table_name_7 (stage VARCHAR, team_classification VARCHAR, points_classification VARCHAR)
Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team?
SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc"
CREATE TABLE table_name_6 (speed VARCHAR, rank VARCHAR, team VARCHAR)
Name the 2010 for 2011 of a and 2008 of 1r
SELECT 2010 FROM table_name_61 WHERE 2011 = "a" AND 2008 = "1r"
CREATE TABLE table_name_61 (Id VARCHAR)
What award did they win before 2005?
SELECT award FROM table_name_62 WHERE year < 2005
CREATE TABLE table_name_62 (award VARCHAR, year INTEGER)
Find the total credits of all classes offered by each department.
SELECT SUM(T1.crs_credit), T1.dept_code FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code GROUP BY T1.dept_code
CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER, crs_code VARCHAR)
Which Location has a Previous Conference of independents, and a Mascot of hilltoppers?
SELECT location FROM table_name_95 WHERE previous_conference = "independents" AND mascot = "hilltoppers"
CREATE TABLE table_name_95 (location VARCHAR, previous_conference VARCHAR, mascot VARCHAR)
When was the song titled if you talk in your sleep released?
SELECT release_date FROM table_name_34 WHERE song_title = "if you talk in your sleep"
CREATE TABLE table_name_34 (release_date VARCHAR, song_title VARCHAR)
Who was the opponent at Baum Stadium on April 6?
SELECT opponent FROM table_name_90 WHERE site_stadium = "baum stadium" AND date = "april 6"
CREATE TABLE table_name_90 (opponent VARCHAR, site_stadium VARCHAR, date VARCHAR)
Which School has a Year Joined larger than 1926, and a Mascot of vikings?
SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"
CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)
What stadium was the game played at when the result was hunter mariners def. sheffield eagles?
SELECT stadium FROM table_name_43 WHERE result = "hunter mariners def. sheffield eagles"
CREATE TABLE table_name_43 (stadium VARCHAR, result VARCHAR)
How much absorption in nm does the orange dye have?
SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange"
CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR)
What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?
SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219
CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)