question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Eduardo Martins is a customer at which company?
CREATE TABLE customers (company VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT company FROM customers WHERE first_name = "Eduardo" AND last_name = "Martins"
Who played 44 games who averaged over 2.07 goals against?
CREATE TABLE table_name_88 (player VARCHAR, goals_against_average VARCHAR, games_played VARCHAR)
SELECT player FROM table_name_88 WHERE goals_against_average > 2.07 AND games_played = 44
What city is the Stadium estádio dr. magalhães pessoa in?
CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR)
SELECT city FROM table_name_86 WHERE stadium = "estádio dr. magalhães pessoa"
What in 2007 has a 2008 of sf, and a 2010 of f?
CREATE TABLE table_name_95 (Id VARCHAR)
SELECT 2007 FROM table_name_95 WHERE 2008 = "sf" AND 2010 = "f"
What player in the United States had a total of 286 and won in 2003?
CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003"
What is the RAtt in the year 1988?
CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR)
SELECT ratt FROM table_name_72 WHERE year = "1988"
What's the number & name for the description peckett 0-4-0st?
CREATE TABLE table_name_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR)
SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st"
Which Attendance has a Date of november 19, 1961?
CREATE TABLE table_name_61 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_61 WHERE date = "november 19, 1961"
How many teams have a head coach named mahdi ali?
CREATE TABLE table_27631756_2 (team VARCHAR, head_coach VARCHAR)
SELECT COUNT(team) FROM table_27631756_2 WHERE head_coach = "Mahdi Ali"
What is the average Year when Australia was the runner-up at victoria golf club?
CREATE TABLE table_name_8 (year INTEGER, runners_up VARCHAR, venue VARCHAR)
SELECT AVG(year) FROM table_name_8 WHERE runners_up = "australia" AND venue = "victoria golf club"
In the game where Joe Johnson (31) was the high points scorer, what was the final score?
CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_79 WHERE high_points = "joe johnson (31)"
Which round was a player from the Long Island Lizards drafted in first?
CREATE TABLE table_name_26 (round INTEGER, team VARCHAR)
SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards"
What is the 1st ship delivery date of 6 ways?
CREATE TABLE table_name_87 (total_number_of_ways VARCHAR)
SELECT 1 AS st_ship_delivery_date FROM table_name_87 WHERE total_number_of_ways = "6 ways"
What country scored 71-66-66-71=274?
CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_32 WHERE score = 71 - 66 - 66 - 71 = 274
How many millions of viewers watched the episode directed by Christine Moore?
CREATE TABLE table_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR)
SELECT viewers__in_millions_ FROM table_23255941_1 WHERE directed_by = "Christine Moore"
What was the value for deleted for CERCLIS ID of il0210090049?
CREATE TABLE table_name_53 (deleted VARCHAR, cerclis_id VARCHAR)
SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049"
What is listed for the Elevator, that also has the Cardinalatial title of Deacon of S. Maria in Portico?
CREATE TABLE table_name_78 (elevator VARCHAR, cardinalatial_title VARCHAR)
SELECT elevator FROM table_name_78 WHERE cardinalatial_title = "deacon of s. maria in portico"
What player represented Vista Murrieta High School?
CREATE TABLE table_11677691_10 (player VARCHAR, school VARCHAR)
SELECT player FROM table_11677691_10 WHERE school = "Vista Murrieta High school"
Which Attendance has an Opponent of phillies, and a Record of 30-33?
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "phillies" AND record = "30-33"
Which mlb team is located in maryland?
CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR)
SELECT team FROM table_name_95 WHERE state_province = "maryland" AND league = "mlb"
How much is the purse worth (¥) after 2012?
CREATE TABLE table_name_42 (purse__ INTEGER, year INTEGER)
SELECT SUM(purse__) AS ¥_ FROM table_name_42 WHERE year > 2012
Which city has an ICAO of VCCJ?
CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_96 WHERE icao = "vccj"
Which Player has a To par of –2, and a Country of wales?
CREATE TABLE table_name_7 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_7 WHERE to_par = "–2" AND country = "wales"
What is the semifinal average where the preliminary average is 9.084 (1) ?
CREATE TABLE table_16268026_3 (semifinal_average VARCHAR, preliminary_average VARCHAR)
SELECT semifinal_average FROM table_16268026_3 WHERE preliminary_average = "9.084 (1)"
What time does Belgium have?
CREATE TABLE table_name_85 (time VARCHAR, country VARCHAR)
SELECT time FROM table_name_85 WHERE country = "belgium"
What is the frequency of the model with sSpec number sl5qj?
CREATE TABLE table_name_72 (frequency VARCHAR, sspec_number VARCHAR)
SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj"
What is the tenure of the person with revenues of 60,000-->58,000 koku?
CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR)
SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku"
What was the source of the poll that gave McAuliffe 30% on June 8?
CREATE TABLE table_21535453_1 (source VARCHAR, terry_mcauliffe VARCHAR, dates_administered VARCHAR)
SELECT source FROM table_21535453_1 WHERE terry_mcauliffe = "30%" AND dates_administered = "June 8"
What was the original title of the Bruno Barreto film in 1989
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR)
SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989
What is every episode with Barry Purchese as the writer?
CREATE TABLE table_27208311_1 (episode VARCHAR, writer VARCHAR)
SELECT episode FROM table_27208311_1 WHERE writer = "Barry Purchese"
What is the date of the game that had a visitor of Chicago?
CREATE TABLE table_name_22 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_22 WHERE visitor = "chicago"
Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5
CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5"
What is the nationality of the forward position on the Grizzlies in 2011?
CREATE TABLE table_name_60 (nationality VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR)
SELECT nationality FROM table_name_60 WHERE position = "forward" AND years_for_grizzlies = "2011"
What is the school of the player who plays ends?
CREATE TABLE table_name_31 (school VARCHAR, position VARCHAR)
SELECT school FROM table_name_31 WHERE position = "ends"
What airport has an ICAP of BGBW?
CREATE TABLE table_name_68 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_68 WHERE icao = "bgbw"
What are the songs in volumes with more than 1 week on top?
CREATE TABLE volume (Song VARCHAR, Weeks_on_Top INTEGER)
SELECT Song FROM volume WHERE Weeks_on_Top > 1
What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?
CREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 2008"
Can you tell me the Overall Record that has the Week of 3?
CREATE TABLE table_name_81 (overall_record VARCHAR, week VARCHAR)
SELECT overall_record FROM table_name_81 WHERE week = 3
Which result has adelaide oval as the venue?
CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_11 WHERE venue = "adelaide oval"
Which Time has a Set 3 of 24–26, and a Score of 0–3?
CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR)
SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3"
What are the Opponents that have Djurgården scorers of sjölund (2)?
CREATE TABLE table_name_43 (opponents VARCHAR, djurgården_scorers VARCHAR)
SELECT opponents FROM table_name_43 WHERE djurgården_scorers = "sjölund (2)"
What is Score, when Place is "T1"?
CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_15 WHERE place = "t1"
How many broadband subscribers are there where there are ~47,372 users?
CREATE TABLE table_name_56 (number_of_broadband_subscribers VARCHAR, number_of_users VARCHAR)
SELECT number_of_broadband_subscribers FROM table_name_56 WHERE number_of_users = "~47,372"
How many players had an Att-Cmp-Int of 143–269–16, and an efficiency of less than 116.9?
CREATE TABLE table_name_88 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)
SELECT COUNT(avg_g) FROM table_name_88 WHERE att_cmp_int = "143–269–16" AND effic < 116.9
Name the game site for october 18, 1992
CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR)
SELECT game_site FROM table_name_1 WHERE date = "october 18, 1992"
What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?
CREATE TABLE table_name_51 (wins INTEGER, byes VARCHAR, against VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_51 WHERE against < 1786 AND losses < 4 AND byes < 2
Name the most join date
CREATE TABLE table_26466528_1 (join_date INTEGER)
SELECT MAX(join_date) FROM table_26466528_1
Name the most derby county
CREATE TABLE table_15201666_3 (derby_county INTEGER)
SELECT MAX(derby_county) FROM table_15201666_3
How many years was there a peter jackson classic?
CREATE TABLE table_name_64 (year VARCHAR, championship VARCHAR)
SELECT COUNT(year) FROM table_name_64 WHERE championship = "peter jackson classic"
What were the notes for the player who finished with a rank smaller than 2?
CREATE TABLE table_name_48 (notes VARCHAR, rank INTEGER)
SELECT notes FROM table_name_48 WHERE rank < 2
What is the score at shay stadium?
CREATE TABLE table_name_96 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_96 WHERE venue = "shay stadium"
Name the 2007 for 2005 of a and 003 of a with 2009 of sf
CREATE TABLE table_name_17 (Id VARCHAR)
SELECT 2007 FROM table_name_17 WHERE 2005 = "a" AND 2003 = "a" AND 2009 = "sf"
What was the position of the player who was picked in round 22?
CREATE TABLE table_name_49 (position VARCHAR, round VARCHAR)
SELECT position FROM table_name_49 WHERE round = 22
What is the largest ethnic group in the settlement with a 2011 population of 5082?
CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT COUNT(largest_ethnic_group__2002_) FROM table_2562572_44 WHERE population__2011_ = 5082
What is the away team score for South Melbourne?
CREATE TABLE table_name_97 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_97 WHERE away_team = "south melbourne"
What was the score of the other team that played Geelong?
CREATE TABLE table_name_89 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_89 WHERE home_team = "geelong"
What is the Population of the Town with a Census Ranking of 1,379 of 5,008 and an Area km 2 smaller than 8.35?
CREATE TABLE table_name_70 (population INTEGER, area_km_2 VARCHAR, status VARCHAR, census_ranking VARCHAR)
SELECT MAX(population) FROM table_name_70 WHERE status = "town" AND census_ranking = "1,379 of 5,008" AND area_km_2 < 8.35
What is the dma of branding is big oldies 107.3 with the station warv-fm?
CREATE TABLE table_19131921_1 (dma VARCHAR, branding VARCHAR, station VARCHAR)
SELECT dma FROM table_19131921_1 WHERE branding = "Big Oldies 107.3" AND station = "WARV-FM"
Name the genre for release-year of first charted record of 1988
CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR)
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988
What is the maximum number of stolen ends against for Japan?
CREATE TABLE table_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR)
SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan
Which Surface has a Partner of jim thomas, and a Date of 2007?
CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR, date VARCHAR)
SELECT surface FROM table_name_45 WHERE partner = "jim thomas" AND date = 2007
In the game where they played the Pittsburgh Steelers, what was the attendance?
CREATE TABLE table_name_66 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_66 WHERE opponent = "pittsburgh steelers"
What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson?
CREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT MIN(round) FROM table_name_50 WHERE position = "linebacker" AND player = "thomas henderson"
Which candidates ran in the Alabama 6 district?
CREATE TABLE table_1341973_3 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1341973_3 WHERE district = "Alabama 6"
Name the average bronze with silver more than 0, total of 6 and gold more than 0
CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0
How man "other" millions of smartphones were shipped when 181.1 million total were shipped?
CREATE TABLE table_14260687_3 (other VARCHAR, total VARCHAR)
SELECT COUNT(other) FROM table_14260687_3 WHERE total = "181.1"
What is the San Javier municipality percentage if the Cuatro Cañadas municipality percentage is 202?
CREATE TABLE table_19998428_3 (san_javier_municipality___percentage_ VARCHAR, cuatro_cañadas_municipality___percentage_ VARCHAR)
SELECT san_javier_municipality___percentage_ FROM table_19998428_3 WHERE cuatro_cañadas_municipality___percentage_ = "202"
The score of 73-71-70=214 belongs to what country?
CREATE TABLE table_name_77 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_77 WHERE score = 73 - 71 - 70 = 214
Who wrote the lyrics for Mukti?
CREATE TABLE table_name_14 (lyricist VARCHAR, film VARCHAR)
SELECT lyricist FROM table_name_14 WHERE film = "mukti"
What is the least amount of points the entrant Simoniz received before 1960?
CREATE TABLE table_name_19 (points INTEGER, year VARCHAR, entrant VARCHAR)
SELECT MIN(points) FROM table_name_19 WHERE year < 1960 AND entrant = "simoniz"
Name the game site for l 26–42
CREATE TABLE table_26401898_2 (game_site VARCHAR, final_score VARCHAR)
SELECT game_site FROM table_26401898_2 WHERE final_score = "L 26–42"
What school did the linebacker who was drafted after round 8 come from?
CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker"
What date was the game that was before week 4 and was attended by over 54,015 people ?
CREATE TABLE table_name_33 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_33 WHERE week < 4 AND attendance > 54 OFFSET 015
Name the total number of televote points for cry on my shoulders
CREATE TABLE table_21378339_5 (televote_points VARCHAR, song VARCHAR)
SELECT COUNT(televote_points) FROM table_21378339_5 WHERE song = "Cry on my shoulders"
List the names of companies by ascending number of sales.
CREATE TABLE company (Name VARCHAR, Sales_in_Billion VARCHAR)
SELECT Name FROM company ORDER BY Sales_in_Billion
What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120?
CREATE TABLE table_name_16 (rank INTEGER, date_of_official_foundation_of_municipality VARCHAR)
SELECT MAX(rank) FROM table_name_16 WHERE date_of_official_foundation_of_municipality = 1952 AND 2006 < 189120
What was the scory when calgary was visiting?
CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_10 WHERE visitor = "calgary"
When was the last final lost of the club with a last win in 1959?
CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR)
SELECT last_final_lost FROM table_name_70 WHERE last_win = "1959"
Name the least 2 credits for flush
CREATE TABLE table_148535_2 (hand VARCHAR)
SELECT MIN(2 AS _credits) FROM table_148535_2 WHERE hand = "Flush"
What League/Division has a Location of n/a?
CREATE TABLE table_name_29 (league_division VARCHAR, location VARCHAR)
SELECT league_division FROM table_name_29 WHERE location = "n/a"
Name the club for when tries for is 32
CREATE TABLE table_17625749_1 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_17625749_1 WHERE tries_for = "32"
What team(s) had 120 consecutive starts?
CREATE TABLE table_28606933_7 (teams VARCHAR, consecutive_starts VARCHAR)
SELECT teams FROM table_28606933_7 WHERE consecutive_starts = 120
What's the Lowest Attendance with a Game site of Riverfront Stadium?
CREATE TABLE table_name_56 (attendance INTEGER, game_site VARCHAR)
SELECT MIN(attendance) FROM table_name_56 WHERE game_site = "riverfront stadium"
What season did SV Darmstadt 98 end up at RL Süd (1st)?
CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__1st_ VARCHAR)
SELECT season FROM table_20217456_7 WHERE rl_süd__1st_ = "SV Darmstadt 98"
what is the public vote on graeme & kristina
CREATE TABLE table_19744915_3 (public_vote VARCHAR, couple VARCHAR)
SELECT public_vote FROM table_19744915_3 WHERE couple = "Graeme & Kristina"
What is the date of the game against Chelsea when the league position is 14th?
CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, league_position VARCHAR)
SELECT date FROM table_name_42 WHERE opponents = "chelsea" AND league_position = "14th"
WHAT IS THE PARIS WITH A FRANCE OF 1.4%?
CREATE TABLE table_name_71 (paris VARCHAR, france VARCHAR)
SELECT paris FROM table_name_71 WHERE france = "1.4%"
What is the Release Date for Model Number c7 1.8?
CREATE TABLE table_name_62 (release_date VARCHAR, model_number VARCHAR)
SELECT release_date FROM table_name_62 WHERE model_number = "c7 1.8"
In which years are co-stars mala sinha and amitabh bachchan?
CREATE TABLE table_2528382_2 (year VARCHAR, co_stars VARCHAR)
SELECT year FROM table_2528382_2 WHERE co_stars = "Mala Sinha and Amitabh Bachchan"
What was the result of the game with the record of 3-1?
CREATE TABLE table_20849830_1 (result VARCHAR, record VARCHAR)
SELECT result FROM table_20849830_1 WHERE record = "3-1"
Name the opponent when the result is w 16-15 and has home/away of home
CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15"
what is the least density (per km²) when the rank is 5 and the Area (km²) is less than 125,755?
CREATE TABLE table_name_77 (density__per_km²_ INTEGER, rank VARCHAR, area__km²_ VARCHAR)
SELECT MIN(density__per_km²_) FROM table_name_77 WHERE rank = "5" AND area__km²_ < 125 OFFSET 755
WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE?
CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR)
SELECT winner FROM table_name_97 WHERE fifth = "joss stone"
Who had a perfection percentage of 73.24%?
CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)
SELECT name FROM table_name_62 WHERE perfection = "73.24%"
What was the Score of the game with a Record of 0-1?
CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_31 WHERE record = "0-1"
What is the highest round number for donnie caraway?
CREATE TABLE table_name_6 (round INTEGER, name VARCHAR)
SELECT MAX(round) FROM table_name_6 WHERE name = "donnie caraway"
What was the press like for the world olympic record holder Roger Francois and Jaan Kikkas?
CREATE TABLE table_name_95 (press VARCHAR, world_record VARCHAR, roger_françois VARCHAR)
SELECT press FROM table_name_95 WHERE world_record = "olympic record" AND roger_françois = "jaan kikkas"
What club team was founded before 2011 and plays at the champion window field?
CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR)
SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field"
What 2009 has a 0 in 2008 & 2010?
CREATE TABLE table_name_3 (Id VARCHAR)
SELECT 2009 FROM table_name_3 WHERE 2010 = "0" AND 2008 = "0"
What is the radio station branding when the power km is 5kw?
CREATE TABLE table_23915973_1 (branding VARCHAR, power_kw VARCHAR)
SELECT branding FROM table_23915973_1 WHERE power_kw = "5kW"