question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the UN operation title with the UN operation name, Uncok?
CREATE TABLE table_10121127_1 (un_operation_title VARCHAR, un_operation_name VARCHAR)
SELECT un_operation_title FROM table_10121127_1 WHERE un_operation_name = "UNCOK"
What is the name of the venue that was used before 1991?
CREATE TABLE table_name_23 (venue VARCHAR, year INTEGER)
SELECT venue FROM table_name_23 WHERE year < 1991
When did the ATV that deorbited on 29 september 2008, launch?
CREATE TABLE table_name_93 (launch_date VARCHAR, deorbit_date VARCHAR)
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008"
What is the highest labour panel value with a cultural and educational panel greater than 1, a University of Dublin value greater than 0, and a total value less than 60?
CREATE TABLE table_name_43 (labour_panel INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR)
SELECT MAX(labour_panel) FROM table_name_43 WHERE cultural_and_educational_panel > 1 AND university_of_dublin > 0 AND total < 60
How many accelerators are not compatible with the browsers listed ?
CREATE TABLE accelerator_compatible_browser (id VARCHAR, accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, accelerator_id VARCHAR)
SELECT COUNT(*) FROM web_client_accelerator WHERE NOT id IN (SELECT accelerator_id FROM accelerator_compatible_browser)
Name the week 3 with week 6 of 31+40=71
CREATE TABLE table_name_94 (week_3 VARCHAR, week_6 VARCHAR)
SELECT week_3 FROM table_name_94 WHERE week_6 = 31 + 40 = 71
What is the lowest position of the club with 53 goals against, 26 points, and a -11 goal difference?
CREATE TABLE table_name_70 (position INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR)
SELECT MIN(position) FROM table_name_70 WHERE goals_against = 53 AND points = 26 AND goal_difference > -11
What school had Jeff Urban playing at the p position?
CREATE TABLE table_name_92 (school VARCHAR, position VARCHAR, player VARCHAR)
SELECT school FROM table_name_92 WHERE position = "p" AND player = "jeff urban"
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR)
SELECT year FROM table_name_13 WHERE production = "wicked" AND award_ceremony = "helpmann awards"
What is the time with FB notes for Canada?
CREATE TABLE table_name_43 (time VARCHAR, notes VARCHAR, country VARCHAR)
SELECT time FROM table_name_43 WHERE notes = "fb" AND country = "canada"
How many laps have 1 as the start?
CREATE TABLE table_name_25 (laps VARCHAR, start VARCHAR)
SELECT COUNT(laps) FROM table_name_25 WHERE start = "1"
Name the team for copa conmebol 1992 is round of 16
CREATE TABLE table_15013825_8 (team VARCHAR, copa_conmebol_1992 VARCHAR)
SELECT team FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 16"
What team lost with 30 tries against?
CREATE TABLE table_name_35 (lost VARCHAR, tries_against VARCHAR)
SELECT lost FROM table_name_35 WHERE tries_against = "30"
What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya?
CREATE TABLE table_name_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR)
SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya"
What is the tie no of the game that home team huddersfield town played?
CREATE TABLE table_name_15 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_15 WHERE home_team = "huddersfield town"
What is the Time/Retired for Grid 6?
CREATE TABLE table_name_4 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_4 WHERE grid = 6
What event in guam did Tetsuji Kato win against patrick madayag?
CREATE TABLE table_name_39 (event VARCHAR, opponent VARCHAR, res VARCHAR, location VARCHAR)
SELECT event FROM table_name_39 WHERE res = "win" AND location = "guam" AND opponent = "patrick madayag"
What is the Place of the Player with a Score of 70-68=138?
CREATE TABLE table_name_28 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_28 WHERE score = 70 - 68 = 138
Name the 2008 for 2012 f
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 2008 FROM table_name_37 WHERE 2012 = "f"
What is the chassis for Augusto Scalbi on Team RP Motorsport?
CREATE TABLE table_name_34 (chassis VARCHAR, team VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_34 WHERE team = "rp motorsport" AND driver = "augusto scalbi"
When guiguinto, bulacan is the home or representative town or province how many names are there?
CREATE TABLE table_19061741_3 (name VARCHAR, home_or_representative_town_or_province VARCHAR)
SELECT COUNT(name) FROM table_19061741_3 WHERE home_or_representative_town_or_province = "Guiguinto, Bulacan"
What is listed as the Tie no for Home team of Gillingham?
CREATE TABLE table_name_43 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_43 WHERE home_team = "gillingham"
What is the total Level with 27 Apps after 2006?
CREATE TABLE table_name_90 (level INTEGER, apps VARCHAR, season VARCHAR)
SELECT SUM(level) FROM table_name_90 WHERE apps = 27 AND season > 2006
Who is the away side at glenferrie oval?
CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_90 WHERE venue = "glenferrie oval"
What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"?
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT 1986 FROM table_name_99 WHERE 1978 = "a" AND 1979 = "a" AND 1980 = "1r"
The series titled dragon laws i: the undercover has what role?
CREATE TABLE table_name_73 (role VARCHAR, series_title VARCHAR)
SELECT role FROM table_name_73 WHERE series_title = "dragon laws i: the undercover"
Which Surface has an Opponent in the final of stéphane robert?
CREATE TABLE table_name_96 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_96 WHERE opponent_in_the_final = "stéphane robert"
List the teams of the players with the top 5 largest ages.
CREATE TABLE player (Team VARCHAR, Age VARCHAR)
SELECT Team FROM player ORDER BY Age DESC LIMIT 5
What is Date, when Tie no is "3"?
CREATE TABLE table_name_33 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_33 WHERE tie_no = "3"
What is the average of laps ridden by Toni Elias?
CREATE TABLE table_name_42 (laps INTEGER, rider VARCHAR)
SELECT AVG(laps) FROM table_name_42 WHERE rider = "toni elias"
Tell me the city of license for 0 106.9 fm
CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR)
SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm"
What is the Rank of industrial and commercial bank of china 277,236?
CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR)
SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236"
Find the number of students whose age is older than the average age for each gender.
CREATE TABLE student (sex VARCHAR, age INTEGER)
SELECT COUNT(*), sex FROM student WHERE age > (SELECT AVG(age) FROM student) GROUP BY sex
what is the years for the displacement 4.0l (242cid)?
CREATE TABLE table_name_35 (years VARCHAR, displacement VARCHAR)
SELECT years FROM table_name_35 WHERE displacement = "4.0l (242cid)"
What is Silver, when Notes is "6.24km, 23controls"?
CREATE TABLE table_name_86 (silver VARCHAR, notes VARCHAR)
SELECT silver FROM table_name_86 WHERE notes = "6.24km, 23controls"
Name the indianapolis concerts for les minski
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, sarasota VARCHAR)
SELECT indianapolis_concerts FROM table_17085724_1 WHERE sarasota = "Les Minski"
What is the highest Year, when the Venue is Beijing, PR China?
CREATE TABLE table_name_54 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_54 WHERE venue = "beijing, pr china"
Who is the visitor on April 5?
CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_8 WHERE date = "april 5"
What is the least value of joined?
CREATE TABLE table_261954_1 (joined INTEGER)
SELECT MIN(joined) FROM table_261954_1
Who was the GTU winning team when the TO winning team was Steve Ross?
CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)
SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "Steve Ross"
What is the score of a year less than 2008 with loss as the result, in Antalya and a Competition of europe/africa zone, group i, round robin?
CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR, result VARCHAR)
SELECT score FROM table_name_49 WHERE year < 2008 AND result = "loss" AND location = "antalya" AND competition = "europe/africa zone, group i, round robin"
Which episode has a Challenge Winner of berto?
CREATE TABLE table_name_50 (episode VARCHAR, challenge_winner VARCHAR)
SELECT episode FROM table_name_50 WHERE challenge_winner = "berto"
What is the position when the points were less than 34, draws of 7, and a Club of sd eibar?
CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR)
SELECT AVG(position) FROM table_name_53 WHERE points < 34 AND draws = 7 AND club = "sd eibar"
What is the Player that has a To standard of –1, and a Score of 71-68-76=215?
CREATE TABLE table_name_60 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_60 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215
How many laps did Yannick Dalmas do?
CREATE TABLE table_name_59 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_59 WHERE driver = "yannick dalmas"
What's the party elected in the district that first elected in 1990?
CREATE TABLE table_1341453_34 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_1341453_34 WHERE first_elected = "1990"
What is Season, when Country is China, when Team is Dalian Shide, when Apps is greater than 8, and when Goals is 2?
CREATE TABLE table_name_6 (season VARCHAR, goals VARCHAR, apps VARCHAR, country VARCHAR, team VARCHAR)
SELECT season FROM table_name_6 WHERE country = "china" AND team = "dalian shide" AND apps > 8 AND goals = 2
Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.
CREATE TABLE addresses (address_content VARCHAR, city VARCHAR, state_province_county VARCHAR)
SELECT address_content FROM addresses WHERE city = "East Julianaside" AND state_province_county = "Texas" UNION SELECT address_content FROM addresses WHERE city = "Gleasonmouth" AND state_province_county = "Arizona"
How many silver medals were awarded to the Nation with less than 2 gold, more than 6 bronze and a rank higher than 5?
CREATE TABLE table_name_33 (silver INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_33 WHERE rank > 5 AND bronze > 6 AND gold < 2
What is the number of bonus points for the team with 2 drawn games and 475 points?
CREATE TABLE table_name_63 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR)
SELECT bonus_points FROM table_name_63 WHERE drawn = "2" AND points_for = "475"
Play-by-play of sean grande, and a Year of 2004-05 had what studio host?
CREATE TABLE table_name_47 (studio_host VARCHAR, play_by_play VARCHAR, year VARCHAR)
SELECT studio_host FROM table_name_47 WHERE play_by_play = "sean grande" AND year = "2004-05"
What was the most races he had in a season?
CREATE TABLE table_23128286_1 (races INTEGER)
SELECT MAX(races) FROM table_23128286_1
In which season was there a competition in the Champions League?
CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)
SELECT season FROM table_name_70 WHERE competition = "champions league"
What was the total result for couple Ellery and Frankie?
CREATE TABLE table_19744915_17 (result VARCHAR, couple VARCHAR)
SELECT COUNT(result) FROM table_19744915_17 WHERE couple = "Ellery and Frankie"
What's Ontario's highest Ends Lost?
CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR)
SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario"
Which Free polite has a Genitive 3 of *ni-da?
CREATE TABLE table_name_70 (free VARCHAR, genitive_3 VARCHAR)
SELECT free AS polite FROM table_name_70 WHERE genitive_3 = "*ni-da"
How many points were scored by the player who played 363 games?
CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR)
SELECT points FROM table_name_86 WHERE games = "363"
What was the name of the episode that bill lawrence directed?
CREATE TABLE table_25548213_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence"
Which Score has a Date of may 4?
CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_60 WHERE date = "may 4"
What was the rank final before 2007?
CREATE TABLE table_name_41 (rank_final VARCHAR, year INTEGER)
SELECT rank_final FROM table_name_41 WHERE year < 2007
How many wins for billy casper over 8 events and uner $71,979 in earnings?
CREATE TABLE table_name_62 (wins INTEGER, earnings___$__ VARCHAR, events VARCHAR, player VARCHAR)
SELECT MIN(wins) FROM table_name_62 WHERE events = 8 AND player = "billy casper" AND earnings___$__ < 71 OFFSET 979
Name the number of leaders for % of popular vote being 11.05%
CREATE TABLE table_19283982_4 (leader VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT COUNT(leader) FROM table_19283982_4 WHERE _percentage_of_popular_vote = "11.05%"
What was the arrival time of the train that departed at 18.16?
CREATE TABLE table_18365784_3 (arrival VARCHAR, departure VARCHAR)
SELECT arrival FROM table_18365784_3 WHERE departure = "18.16"
What's the game with an attendance of 71,962?
CREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR)
SELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962
Who played on december 12, 1993?
CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_37 WHERE date = "december 12, 1993"
How many different results for high rebounds were there for game number 76?
CREATE TABLE table_27756314_11 (high_rebounds VARCHAR, game VARCHAR)
SELECT COUNT(high_rebounds) FROM table_27756314_11 WHERE game = 76
What state had a title of duke for the royal house of ji?
CREATE TABLE table_name_94 (state VARCHAR, title VARCHAR, royal_house VARCHAR)
SELECT state FROM table_name_94 WHERE title = "duke" AND royal_house = "ji"
Name the production code by paul lieberstein
CREATE TABLE table_22948559_1 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_22948559_1 WHERE written_by = "Paul Lieberstein"
What is Race 1, when Team is "Dick Johnson Racing", and when Race 3 is "DNF"?
CREATE TABLE table_name_71 (race_1 VARCHAR, team VARCHAR, race_3 VARCHAR)
SELECT race_1 FROM table_name_71 WHERE team = "dick johnson racing" AND race_3 = "dnf"
Which player had a score of 70?
CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_96 WHERE score = 70
The person that was born in Sydney died in what year?
CREATE TABLE table_name_47 (born___died VARCHAR, connection_with_australia VARCHAR)
SELECT born___died FROM table_name_47 WHERE connection_with_australia = "born in sydney"
What is Pos., when From Club is "CSKA Moscow"?
CREATE TABLE table_name_20 (pos VARCHAR, from_club VARCHAR)
SELECT pos FROM table_name_20 WHERE from_club = "cska moscow"
Which model with a fleet series of s410-s434?
CREATE TABLE table_name_60 (model VARCHAR, fleet_series VARCHAR)
SELECT model FROM table_name_60 WHERE fleet_series = "s410-s434"
What is the highest number of wins when there are more than 2 byes?
CREATE TABLE table_name_76 (wins INTEGER, byes INTEGER)
SELECT MAX(wins) FROM table_name_76 WHERE byes > 2
What is the total number of wins for riders with fewer than 56 races and more than 0 titles?
CREATE TABLE table_name_45 (wins VARCHAR, races VARCHAR, titles VARCHAR)
SELECT COUNT(wins) FROM table_name_45 WHERE races < 56 AND titles > 0
What college did delray brooks go to?
CREATE TABLE table_name_23 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_23 WHERE player = "delray brooks"
Who was the home team of the game on 2 February 2006?
CREATE TABLE table_name_12 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_12 WHERE date = "2 february 2006"
What was the name when the state was wey?
CREATE TABLE table_name_22 (name VARCHAR, state VARCHAR)
SELECT name FROM table_name_22 WHERE state = "wey"
Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran and Karina Le Fevre won the U21 womens?
CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR, u21_womens VARCHAR)
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Tomasz Rzeszotko" AND u21_womens = "Karina Le Fevre"
What is Partner Tomas Behrend's Score in the final?
CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR)
SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend"
Name the title of jean-pierre jeunet
CREATE TABLE table_name_17 (english_title VARCHAR, director VARCHAR)
SELECT english_title FROM table_name_17 WHERE director = "jean-pierre jeunet"
In what Country is Haugesund?
CREATE TABLE table_name_3 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_3 WHERE city = "haugesund"
What nationality is mark eaton, center position?
CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_51 WHERE position = "center" AND player = "mark eaton"
What is the format for Catalog CL 2372?
CREATE TABLE table_name_96 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_96 WHERE catalog = "cl 2372"
WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points?
CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_56 WHERE silver = 9 AND total < 27
what is the dadar xi b where pifa colaba is sporting options?
CREATE TABLE table_28759261_5 (dadar_xi_‘b’ VARCHAR, pifa_colaba_fc_u_17 VARCHAR)
SELECT dadar_xi_‘b’ FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Sporting Options"
how many winning team with circuit being road america
CREATE TABLE table_14638077_2 (winning_team VARCHAR, circuit VARCHAR)
SELECT COUNT(winning_team) FROM table_14638077_2 WHERE circuit = "Road America"
Name the writers for swedish sailor
CREATE TABLE table_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR)
SELECT writer_s_ FROM table_19852975_3 WHERE arties_disguises = "Swedish sailor"
What was the Skip for Germany?
CREATE TABLE table_name_6 (skip VARCHAR, nation VARCHAR)
SELECT skip FROM table_name_6 WHERE nation = "germany"
What was the result of the game that had 20,627 fans in attendance?
CREATE TABLE table_name_79 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_79 WHERE attendance = "20,627"
Name the name for henley manchester
CREATE TABLE table_22977424_8 (name VARCHAR, promoted_to_league VARCHAR)
SELECT name FROM table_22977424_8 WHERE promoted_to_league = "Henley Manchester"
What is the sum of all the rounds when a Florida State player was drafted?
CREATE TABLE table_name_8 (round VARCHAR, college VARCHAR)
SELECT COUNT(round) FROM table_name_8 WHERE college = "florida state"
what is the maximum lowest with average being 734
CREATE TABLE table_14003108_1 (lowest INTEGER, average VARCHAR)
SELECT MAX(lowest) FROM table_14003108_1 WHERE average = 734
What was the record for the game where the cardinals scored 7 points?
CREATE TABLE table_20928649_1 (record VARCHAR, cardinals_points VARCHAR)
SELECT record FROM table_20928649_1 WHERE cardinals_points = 7
Who is the operator when Roe was the bodybuilder?
CREATE TABLE table_28035004_1 (operator VARCHAR, bodybuilder VARCHAR)
SELECT operator FROM table_28035004_1 WHERE bodybuilder = "Roe"
What was the first race in Launceston, Tasmania?
CREATE TABLE table_name_52 (race INTEGER, location___state VARCHAR)
SELECT MIN(race) FROM table_name_52 WHERE location___state = "launceston, tasmania"
Which Share of seats has a European election (UK) of 2009?
CREATE TABLE table_name_79 (share_of_seats VARCHAR, european_election__uk_ VARCHAR)
SELECT share_of_seats FROM table_name_79 WHERE european_election__uk_ = 2009
What is the rider status for the 1971 netherlands team?
CREATE TABLE table_name_77 (rider_status VARCHAR, team_country VARCHAR, year VARCHAR)
SELECT rider_status FROM table_name_77 WHERE team_country = "netherlands" AND year = 1971
How many are on the administrative panel with an agricultural panel of fewer than 11 and an industrial and commercial panel of 3, with fewer than 4 on the labor panel?
CREATE TABLE table_name_7 (administrative_panel INTEGER, labour_panel VARCHAR, agricultural_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT AVG(administrative_panel) FROM table_name_7 WHERE agricultural_panel < 11 AND industrial_and_commercial_panel = 3 AND labour_panel < 4
What is the mean Year when the IWCR number was 5 and the Year withdrawn was bigger than 1926?
CREATE TABLE table_name_85 (year_made INTEGER, iwcr_no VARCHAR, year_withdrawn VARCHAR)
SELECT AVG(year_made) FROM table_name_85 WHERE iwcr_no = "5" AND year_withdrawn > 1926