question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the record against Boston?
CREATE TABLE table_17323529_8 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17323529_8 WHERE team = "Boston"
What Frequency's Branding is Your Cure for Corporate Radio?
CREATE TABLE table_name_23 (frequency VARCHAR, branding VARCHAR)
SELECT frequency FROM table_name_23 WHERE branding = "your cure for corporate radio"
Name the 2nd leg for team 1 of hamburg
CREATE TABLE table_name_90 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg"
Which player has fewer than 2 rounds?
CREATE TABLE table_name_54 (player VARCHAR, round INTEGER)
SELECT player FROM table_name_54 WHERE round < 2
Who was the home team of the game on 26 February 2008?
CREATE TABLE table_name_5 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_5 WHERE date = "26 february 2008"
What is Points Against, when Drawn is "2", and when Points Of is "32"?
CREATE TABLE table_name_80 (points_against VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT points_against FROM table_name_80 WHERE drawn = "2" AND points = "32"
Which driver has a grid value of 22?
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_38 WHERE grid = "22"
Which Country has a Rank of 5?
CREATE TABLE table_name_77 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_77 WHERE rank = 5
Name the most played when points is 105
CREATE TABLE table_17968282_1 (played INTEGER, points VARCHAR)
SELECT MAX(played) FROM table_17968282_1 WHERE points = 105
What was the lowest crowd size when Carlton was the away team.
CREATE TABLE table_name_65 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_65 WHERE away_team = "carlton"
What season was the team autosport academy?
CREATE TABLE table_29471472_1 (season INTEGER, team VARCHAR)
SELECT MAX(season) FROM table_29471472_1 WHERE team = "Autosport Academy"
What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
CREATE TABLE table_19589113_5 (total_population_2001 INTEGER, growth_rate_1991_01 VARCHAR)
SELECT MIN(total_population_2001) FROM table_19589113_5 WHERE growth_rate_1991_01 = "33.08"
What is Round, when Method is "submission (reverse armbar)"?
CREATE TABLE table_name_40 (round VARCHAR, method VARCHAR)
SELECT round FROM table_name_40 WHERE method = "submission (reverse armbar)"
What time does Dustin Byfuglien have in 1st period?
CREATE TABLE table_name_36 (time VARCHAR, period VARCHAR, player VARCHAR)
SELECT time FROM table_name_36 WHERE period = "1st" AND player = "dustin byfuglien"
What is the highest number won when the number of points is 31?
CREATE TABLE table_15331868_1 (won INTEGER, points VARCHAR)
SELECT MAX(won) FROM table_15331868_1 WHERE points = 31
What was the location in 2009?
CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR)
SELECT location FROM table_name_50 WHERE year = "2009"
What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22?
CREATE TABLE table_name_71 (Id VARCHAR)
SELECT COUNT(1957) FROM table_name_71 WHERE 1955 < 0.63 AND 1952 > 0.22
what is the area when the census ranking is 2,290 of 5,008?
CREATE TABLE table_name_49 (area_km_2 VARCHAR, census_ranking VARCHAR)
SELECT area_km_2 FROM table_name_49 WHERE census_ranking = "2,290 of 5,008"
what is the height (m) when the birth date is 1968-07-01?
CREATE TABLE table_name_89 (height__m_ VARCHAR, birth_date VARCHAR)
SELECT height__m_ FROM table_name_89 WHERE birth_date = "1968-07-01"
Find products with max page size as "A4" or pages per minute color smaller than 5.
CREATE TABLE product (product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR)
SELECT product FROM product WHERE max_page_size = "A4" OR pages_per_minute_color < 5
What season was the Formula BMW USA in?
CREATE TABLE table_name_87 (season VARCHAR, series VARCHAR)
SELECT season FROM table_name_87 WHERE series = "formula bmw usa"
How many bronze medals were won in 1998?
CREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)
SELECT bronze FROM table_name_27 WHERE year = "1998"
What is the average round for players from california?
CREATE TABLE table_name_16 (round INTEGER, college VARCHAR)
SELECT AVG(round) FROM table_name_16 WHERE college = "california"
What is the nationality of Acquafresca?
CREATE TABLE table_name_9 (nat VARCHAR, name VARCHAR)
SELECT nat FROM table_name_9 WHERE name = "acquafresca"
If category 1 is 0.05, what is category 3?
CREATE TABLE table_name_77 (category_3 VARCHAR, category_1 VARCHAR)
SELECT category_3 FROM table_name_77 WHERE category_1 = 0.05
Which City of license has a Frequency MHz of 91.5 fm?
CREATE TABLE table_name_42 (city_of_license VARCHAR, frequency_mhz VARCHAR)
SELECT city_of_license FROM table_name_42 WHERE frequency_mhz = "91.5 fm"
What shows for 3rd place when Runner-up shows as runner-up?
CREATE TABLE table_name_36 (runner_up VARCHAR)
SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up"
Find the last name of the latest contact individual of the organization "Labour Party".
CREATE TABLE organizations (organization_id VARCHAR, organization_name VARCHAR); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)
SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.organization_name = "Labour Party" ORDER BY t2.date_contact_to DESC LIMIT 1
which countries were commentated on by gordana bonetti
CREATE TABLE table_184803_4 (country VARCHAR, commentator VARCHAR)
SELECT country FROM table_184803_4 WHERE commentator = "Gordana Bonetti"
How many places did the artist Big Hit have with less than 2934 votes?
CREATE TABLE table_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR)
SELECT COUNT(place) FROM table_name_21 WHERE artist = "big hit" AND votes < 2934
When the Total is less than 1, and Bronze is 0, how many Gold medals are there?
CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_73 WHERE bronze = 0 AND total < 1
What type of ship is a Kobben class vessel that has been in service longer than 2?
CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR)
SELECT type FROM table_name_18 WHERE in_service > 2 AND vessel = "kobben class"
If the area is 59.73, what is the official name?
CREATE TABLE table_171236_1 (official_name VARCHAR, area_km_2 VARCHAR)
SELECT official_name FROM table_171236_1 WHERE area_km_2 = "59.73"
What player scored 143 goals?
CREATE TABLE table_name_15 (player VARCHAR, goals VARCHAR)
SELECT player FROM table_name_15 WHERE goals = "143"
On what Date was Rafael Nadal the Opponent?
CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_37 WHERE opponent = "rafael nadal"
What was the Attendance on November 6, 1960?
CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_65 WHERE date = "november 6, 1960"
Who was the entrant for all the round with Jean Alesi?
CREATE TABLE table_name_46 (entrant VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT entrant FROM table_name_46 WHERE rounds = "all" AND driver = "jean alesi"
Which team has run 1 of 1:17.44?
CREATE TABLE table_name_36 (team VARCHAR, run_1 VARCHAR)
SELECT team FROM table_name_36 WHERE run_1 = "1:17.44"
What is the average capacity for 150 suites?
CREATE TABLE table_name_46 (capacity INTEGER, suites VARCHAR)
SELECT AVG(capacity) FROM table_name_46 WHERE suites = "150"
Who was the original artist of the group performance theme?
CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR)
SELECT original_artist FROM table_26250155_1 WHERE theme = "Group Performance"
What position does Sergio Rodríguez, who is less than 1.96 tall and was born after 1980, play?
CREATE TABLE table_name_39 (position VARCHAR, player VARCHAR, height VARCHAR, year_born VARCHAR)
SELECT position FROM table_name_39 WHERE height < 1.96 AND year_born > 1980 AND player = "sergio rodríguez"
What percentage of Azad Kashmir is Hindu?
CREATE TABLE table_name_74 (_percentage_hindu VARCHAR, area VARCHAR)
SELECT _percentage_hindu FROM table_name_74 WHERE area = "azad kashmir"
What was time/retired with less than 67 laps and 6 points?
CREATE TABLE table_name_28 (time_retired VARCHAR, laps VARCHAR, points VARCHAR)
SELECT time_retired FROM table_name_28 WHERE laps < 67 AND points = 6
What is Angola's airport and ICAO of fnsa?
CREATE TABLE table_name_75 (airport VARCHAR, country VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_75 WHERE country = "angola" AND icao = "fnsa"
What is the race title of the Oran Park raceway circuit with team jps team bmw?
CREATE TABLE table_name_8 (race_title VARCHAR, team VARCHAR, circuit VARCHAR)
SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway"
What was the July 2013 population estimate of the location which had a population density larger than 14.1?
CREATE TABLE table_name_10 (population_density___km_2__ INTEGER)
SELECT COUNT(2013 AS _population__july_est_) FROM table_name_10 WHERE population_density___km_2__ > 14.1
What is the launch date of the satellite with a COSPAR ID of 1995-022a?
CREATE TABLE table_name_32 (launch_date__utc_ VARCHAR, cospar_id_satcat_№ VARCHAR)
SELECT launch_date__utc_ FROM table_name_32 WHERE cospar_id_satcat_№ = "1995-022a"
Which Laps have Points of 29?
CREATE TABLE table_name_23 (laps VARCHAR, points VARCHAR)
SELECT laps FROM table_name_23 WHERE points = 29
what's incumbent with district being florida 5
CREATE TABLE table_1341577_10 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341577_10 WHERE district = "Florida 5"
Name the director who has title of transylvania 6-5000
CREATE TABLE table_name_47 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_47 WHERE title = "transylvania 6-5000"
What's the 2004 tournament that has a 2R in 2000?
CREATE TABLE table_name_24 (Id VARCHAR)
SELECT 2004 FROM table_name_24 WHERE 2000 = "2r"
What's the lowest rank of Lane 3?
CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR)
SELECT MIN(rank) FROM table_name_70 WHERE lane = 3
Tell me the peak for prom being less than 147
CREATE TABLE table_name_26 (peak VARCHAR, prom__m_ INTEGER)
SELECT peak FROM table_name_26 WHERE prom__m_ < 147
What is the lowest score that Bob Tway get when he placed t5?
CREATE TABLE table_name_70 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT MIN(score) FROM table_name_70 WHERE place = "t5" AND player = "bob tway"
Name the Event of the Games of 1950 auckland and a Medal of bronze?
CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)
SELECT event FROM table_name_60 WHERE games = "1950 auckland" AND medal = "bronze"
What is the team 1 with a (g14)morolo team 2?
CREATE TABLE table_name_7 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_7 WHERE team_2 = "(g14)morolo"
Who directed the episode that had 0.54 million U.S. viewers?
CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.54"
Who is the winner and score of the tournament with semifinalists goran prpić sergi bruguera?
CREATE TABLE table_name_43 (winner_and_score VARCHAR, semifinalists VARCHAR)
SELECT winner_and_score FROM table_name_43 WHERE semifinalists = "goran prpić sergi bruguera"
Nam the points for when tries for is 91 and played of 22
CREATE TABLE table_name_73 (points_for VARCHAR, played VARCHAR, tries_for VARCHAR)
SELECT points_for FROM table_name_73 WHERE played = "22" AND tries_for = "91"
What rank is the Silver Bell mine of Pima county?
CREATE TABLE table_name_56 (rank VARCHAR, county VARCHAR, mine VARCHAR)
SELECT rank FROM table_name_56 WHERE county = "pima" AND mine = "silver bell"
What is the height of the player who currently plays for Alta Gestión Fuenlabrada?
CREATE TABLE table_name_59 (height VARCHAR, current_club VARCHAR)
SELECT height FROM table_name_59 WHERE current_club = "alta gestión fuenlabrada"
What is the played total when the points against was 321?
CREATE TABLE table_13564637_4 (played VARCHAR, points_against VARCHAR)
SELECT played FROM table_13564637_4 WHERE points_against = "321"
What is the Lundu (Salako) word for the Tagalog word pagkain?
CREATE TABLE table_name_65 (lundu__salako_ VARCHAR, tagalog VARCHAR)
SELECT lundu__salako_ FROM table_name_65 WHERE tagalog = "pagkain"
What is the iclandic of the glossary for presenta for mi locaria
CREATE TABLE table_13003460_1 (the_icelandic_of_the_glossary VARCHAR, the_basque_of_the_glossary VARCHAR)
SELECT the_icelandic_of_the_glossary FROM table_13003460_1 WHERE the_basque_of_the_glossary = "presenta for mi locaria"
Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²?
CREATE TABLE table_name_85 (lungchang VARCHAR, halang VARCHAR, rera VARCHAR)
SELECT lungchang FROM table_name_85 WHERE halang = "ʒɯ²" AND rera = "ʒo²"
What is the name of the player with the largest number of votes?
CREATE TABLE player (Player_name VARCHAR, Votes VARCHAR)
SELECT Player_name FROM player ORDER BY Votes DESC LIMIT 1
What was the rank for 1.26 Ø-Pts in game 1458?
CREATE TABLE table_name_86 (rank VARCHAR, ø_pts VARCHAR, games VARCHAR)
SELECT COUNT(rank) FROM table_name_86 WHERE ø_pts > 1.26 AND games = 1458
Find the first name of students in the descending order of age.
CREATE TABLE STUDENT (Fname VARCHAR, Age VARCHAR)
SELECT Fname FROM STUDENT ORDER BY Age DESC
What is the german total population after 1910 with an other total of 143 and 32 hungarians?
CREATE TABLE table_name_59 (german VARCHAR, hungarian VARCHAR, year VARCHAR, other VARCHAR)
SELECT german FROM table_name_59 WHERE year > 1910 AND other = "143" AND hungarian = "32"
What game sites are where the team record is 1–6?
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR)
SELECT game_site FROM table_25380472_2 WHERE team_record = "1–6"
What was the final score when the New York Jets were the Visiting Team?
CREATE TABLE table_name_86 (final_score VARCHAR, visiting_team VARCHAR)
SELECT final_score FROM table_name_86 WHERE visiting_team = "new york jets"
What is the Location/Attendance on Dec 14?
CREATE TABLE table_name_66 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_66 WHERE date = "dec 14"
Which was the lowest overall that Wisconsin's team managed?
CREATE TABLE table_name_78 (overall INTEGER, school_club_team VARCHAR)
SELECT MIN(overall) FROM table_name_78 WHERE school_club_team = "wisconsin"
What series had an average of 3.72 million people watching it?
CREATE TABLE table_24057191_2 (series INTEGER, average_viewers__millions_ VARCHAR)
SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72"
Which team were runners-up in 2007 and had 1 under winners?
CREATE TABLE table_name_24 (team VARCHAR, winners VARCHAR, years_runners_up VARCHAR)
SELECT team FROM table_name_24 WHERE winners = 1 AND years_runners_up = "2007"
What is the total of laps with grid of 2
CREATE TABLE table_name_5 (laps INTEGER, grid VARCHAR)
SELECT SUM(laps) FROM table_name_5 WHERE grid = 2
What is the sellout % when the gross sales is $1,727,400?
CREATE TABLE table_16331025_2 (sellout___percentage_ VARCHAR, gross_sales VARCHAR)
SELECT sellout___percentage_ FROM table_16331025_2 WHERE gross_sales = "$1,727,400"
What is the sum of Long for derrick locke?
CREATE TABLE table_name_30 (long INTEGER, name VARCHAR)
SELECT SUM(long) FROM table_name_30 WHERE name = "derrick locke"
What Owner's Trainer is Todd A. Pletcher?
CREATE TABLE table_name_64 (owner VARCHAR, trainer VARCHAR)
SELECT owner FROM table_name_64 WHERE trainer = "todd a. pletcher"
What is the score of the match on 12 September 1990?
CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_29 WHERE date = "12 september 1990"
What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8?
CREATE TABLE table_name_63 (roll INTEGER, decile VARCHAR, area VARCHAR, name VARCHAR)
SELECT SUM(roll) FROM table_name_63 WHERE area = "raetihi" AND name = "orautoha school" AND decile < 8
When 8 is the public and the result is safe what is the highest rank?
CREATE TABLE table_19744915_18 (rank INTEGER, result VARCHAR, public VARCHAR)
SELECT MAX(rank) FROM table_19744915_18 WHERE result = "Safe" AND public = 8
What is the average total produced when the prime mover is 12-251c?
CREATE TABLE table_name_49 (total_produced INTEGER, prime_mover VARCHAR)
SELECT AVG(total_produced) FROM table_name_49 WHERE prime_mover = "12-251c"
With Sheffield United as the away team and the date, what home team has a tie no of 15?
CREATE TABLE table_name_27 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_27 WHERE tie_no = "15" AND away_team = "sheffield united" AND date = "sheffield united"
What is the total score when the score for floor exercise was 9.287?
CREATE TABLE table_11542215_3 (total VARCHAR, floor_exercise VARCHAR)
SELECT total FROM table_11542215_3 WHERE floor_exercise = "9.287"
How many people had the high points when a. webb (7) had the high assists?
CREATE TABLE table_27882867_9 (high_points VARCHAR, high_assists VARCHAR)
SELECT COUNT(high_points) FROM table_27882867_9 WHERE high_assists = "A. Webb (7)"
what was the foundation of Politeknik Pagoh?
CREATE TABLE table_name_73 (foundation INTEGER, official_name_in_malay VARCHAR)
SELECT AVG(foundation) FROM table_name_73 WHERE official_name_in_malay = "politeknik pagoh"
How many models do not have the wifi function?
CREATE TABLE chip_model (wifi VARCHAR)
SELECT COUNT(*) FROM chip_model WHERE wifi = 'No'
What is Country, when Total is less than 148, and when Player is "Gary Player"?
CREATE TABLE table_name_19 (country VARCHAR, total VARCHAR, player VARCHAR)
SELECT country FROM table_name_19 WHERE total < 148 AND player = "gary player"
What country has sa/b as the notes, and a time of 5:51.30?
CREATE TABLE table_name_55 (country VARCHAR, notes VARCHAR, time VARCHAR)
SELECT country FROM table_name_55 WHERE notes = "sa/b" AND time = "5:51.30"
What is the position of the player from the denver broncos?
CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR)
SELECT position FROM table_name_28 WHERE team = "denver broncos"
Who was the visitor for the April 17 game?
CREATE TABLE table_name_93 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_93 WHERE date = "april 17"
How many flights arriving in Aberdeen city?
CREATE TABLE FLIGHTS (DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = "Aberdeen"
What shows for laps when the Time/Retired was +1:08.577?
CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577"
What's the highest grid of Ronnie Bremer, who had more than 18 points?
CREATE TABLE table_name_91 (grid INTEGER, driver VARCHAR, points VARCHAR)
SELECT MAX(grid) FROM table_name_91 WHERE driver = "ronnie bremer" AND points > 18
How many tries did the club Croesyceiliog rfc have?
CREATE TABLE table_name_24 (tries_for VARCHAR, club VARCHAR)
SELECT tries_for FROM table_name_24 WHERE club = "croesyceiliog rfc"
What is the 1993 value of the 1996 atp masters series?
CREATE TABLE table_name_15 (Id VARCHAR)
SELECT 1993 FROM table_name_15 WHERE 1996 = "atp masters series"
What week was the result of l 38–21?
CREATE TABLE table_name_63 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_63 WHERE result = "l 38–21"
Name the number of year for score being 6–3, 6–2, 6–4
CREATE TABLE table_22597626_6 (year VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(year) FROM table_22597626_6 WHERE score_in_the_final = "6–3, 6–2, 6–4"
How many ranks have an industry of health care?
CREATE TABLE table_name_42 (rank VARCHAR, primary_industry VARCHAR)
SELECT COUNT(rank) FROM table_name_42 WHERE primary_industry = "health care"