question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who are the foreign players representing Ekaterinburg?
CREATE TABLE table_14015965_1 (foreign_players__max_2_ VARCHAR, town VARCHAR)
SELECT foreign_players__max_2_ FROM table_14015965_1 WHERE town = "Ekaterinburg"
What is the Craft used at Coniston Water?
CREATE TABLE table_name_15 (craft VARCHAR, location VARCHAR)
SELECT craft FROM table_name_15 WHERE location = "coniston water"
What was jerry bohlander's time?
CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_33 WHERE opponent = "jerry bohlander"
Which European Cup is in the 1990-91 season?
CREATE TABLE table_name_78 (european_cup VARCHAR, season VARCHAR)
SELECT european_cup FROM table_name_78 WHERE season = "1990-91"
What is the swimsuit when evening gown is 8.774 (6) ?
CREATE TABLE table_16268026_3 (swimsuit VARCHAR, evening_gown VARCHAR)
SELECT swimsuit FROM table_16268026_3 WHERE evening_gown = "8.774 (6)"
What is the number of successes for rockets that have more than 3 launches, were based in Russia, are type soyuz and a rocket type of soyuz-u?
CREATE TABLE table_name_92 (successes VARCHAR, rocket VARCHAR, type VARCHAR, launches VARCHAR, country VARCHAR)
SELECT COUNT(successes) FROM table_name_92 WHERE launches > 3 AND country = "russia" AND type = "soyuz" AND rocket = "soyuz-u"
Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403?
CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR)
SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403"
In which series was season 18?
CREATE TABLE table_2409041_6 (no_in_series VARCHAR, no_in_season VARCHAR)
SELECT COUNT(no_in_series) FROM table_2409041_6 WHERE no_in_season = 18
Name the outgoing manager for mantova
CREATE TABLE table_17275810_7 (outgoing_manager VARCHAR, team VARCHAR)
SELECT outgoing_manager FROM table_17275810_7 WHERE team = "Mantova"
What provinces were formed from New Munster?
CREATE TABLE table_275023_1 (province VARCHAR, formed_from VARCHAR)
SELECT province FROM table_275023_1 WHERE formed_from = "New Munster"
Name the language for el villar 1264
CREATE TABLE table_2509350_3 (language VARCHAR, el_villar_municipality VARCHAR)
SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264
What is the number of podiums for the races of 13/15?
CREATE TABLE table_name_97 (podiums VARCHAR, races_† VARCHAR)
SELECT podiums FROM table_name_97 WHERE races_† = "13/15"
How many Silver medals did the Nation with a Rank of less than 1 receive?
CREATE TABLE table_name_37 (silver INTEGER, rank INTEGER)
SELECT AVG(silver) FROM table_name_37 WHERE rank < 1
What was the playoff result where the league did not qualify in the Open Cup in 1998?
CREATE TABLE table_2402864_1 (playoffs VARCHAR, open_cup VARCHAR, year VARCHAR)
SELECT playoffs FROM table_2402864_1 WHERE open_cup = "Did not qualify" AND year = 1998
Name the number of points for field goals being 1
CREATE TABLE table_14342480_6 (points VARCHAR, field_goals VARCHAR)
SELECT COUNT(points) FROM table_14342480_6 WHERE field_goals = 1
Position of guard, and a Pick # larger than 9 is what highest round?
CREATE TABLE table_name_67 (round INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT MAX(round) FROM table_name_67 WHERE position = "guard" AND pick__number > 9
How much money does the player with a 68-67-69-71=275 score have?
CREATE TABLE table_name_62 (money___£__ VARCHAR, score VARCHAR)
SELECT money___£__ FROM table_name_62 WHERE score = 68 - 67 - 69 - 71 = 275
Tell me the winning driver for jim clark as pole position and fastest lap
CREATE TABLE table_name_1 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT winning_driver FROM table_name_1 WHERE pole_position = "jim clark" AND fastest_lap = "jim clark"
What is the date when Canada played?
CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_68 WHERE opponent = "canada"
What is the earliest year where playoffs was "did not qualify," regular season was "2nd, New England," and Open Canada Cup is "N/A"?
CREATE TABLE table_1999350_1 (year INTEGER, open_canada_cup VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
SELECT MIN(year) FROM table_1999350_1 WHERE playoffs = "Did not qualify" AND regular_season = "2nd, New England" AND open_canada_cup = "N/A"
find the names of programs whose origin is not in Beijing.
CREATE TABLE program (name VARCHAR, origin VARCHAR)
SELECT name FROM program WHERE origin <> 'Beijing'
Lis the series for game 5.
CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR)
SELECT series FROM table_29181479_5 WHERE game = 5
How many draws when the Port Fairy FL is Hawkesdale and there are more than 9 wins?
CREATE TABLE table_name_81 (draws INTEGER, port_fairy_fl VARCHAR, wins VARCHAR)
SELECT MAX(draws) FROM table_name_81 WHERE port_fairy_fl = "hawkesdale" AND wins > 9
What is the average laps for the +50.653 time?
CREATE TABLE table_name_42 (laps INTEGER, time VARCHAR)
SELECT AVG(laps) FROM table_name_42 WHERE time = "+50.653"
How many Bronze medals did Switzerland with less than 3 Silver medals receive?
CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3
How many million viewers watched episode 6?
CREATE TABLE table_17901155_4 (viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT viewers__millions_ FROM table_17901155_4 WHERE no_in_season = 6
Name the indanapolis concerts for dr. alexandre manette
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, character VARCHAR)
SELECT indianapolis_concerts FROM table_17085724_1 WHERE character = "Dr. Alexandre Manette"
what's the height with position being forward and current club being real madrid
CREATE TABLE table_12962773_5 (height VARCHAR, position VARCHAR, current_club VARCHAR)
SELECT height FROM table_12962773_5 WHERE position = "Forward" AND current_club = "Real Madrid"
What is the win % for the QB with 3 starts?
CREATE TABLE table_name_7 (win__percentage VARCHAR, starts VARCHAR)
SELECT win__percentage FROM table_name_7 WHERE starts = 3
Who is the alternate for the team for which Monika Wagner is the third?
CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)
SELECT alternate FROM table_name_60 WHERE third = "monika wagner"
Which date's margin of victory was 3 and 2?
CREATE TABLE table_name_45 (date VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_45 WHERE margin_of_victory = "3 and 2"
what is the minimum code with area (km 2 ) being 12,245.9
CREATE TABLE table_1404456_1 (code INTEGER, area__km_2__ VARCHAR)
SELECT MIN(code) FROM table_1404456_1 WHERE area__km_2__ = "12,245.9"
What is the record for the St. Louis team?
CREATE TABLE table_name_58 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_58 WHERE team = "st. louis"
What is the lowest Bronze, when Gold is less than 0?
CREATE TABLE table_name_58 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_58 WHERE gold < 0
What is the lowest game on February 10?
CREATE TABLE table_name_66 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_name_66 WHERE date = "february 10"
how many venues were played on in round 1
CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR)
SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1"
What is the sort value that had deaths of 71?
CREATE TABLE table_name_64 (sort_restore VARCHAR, deaths VARCHAR)
SELECT sort_restore FROM table_name_64 WHERE deaths = "71"
which Record has a Score of 1–4?
CREATE TABLE table_name_30 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_30 WHERE score = "1–4"
How many times was the date october 3, 2010?
CREATE TABLE table_27552095_27 (player VARCHAR, date VARCHAR)
SELECT COUNT(player) FROM table_27552095_27 WHERE date = "October 3, 2010"
What is the sanskrit word for the color red?
CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)
SELECT sanskrit_word FROM table_180802_3 WHERE color = "red"
What is the population of Tioga county?
CREATE TABLE table_name_93 (population VARCHAR, county VARCHAR)
SELECT population FROM table_name_93 WHERE county = "tioga"
What's the power for General Santos?
CREATE TABLE table_2610582_7 (power__kw_ VARCHAR, location VARCHAR)
SELECT power__kw_ FROM table_2610582_7 WHERE location = "General Santos"
WHich Tries has a Team of pau and Points against larger than 103?
CREATE TABLE table_name_48 (tries_for INTEGER, team VARCHAR, points_against VARCHAR)
SELECT MIN(tries_for) FROM table_name_48 WHERE team = "pau" AND points_against > 103
Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
CREATE TABLE table_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR)
SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis"
In which city is the network latv licensed?
CREATE TABLE table_name_93 (city_of_license VARCHAR, network VARCHAR)
SELECT city_of_license FROM table_name_93 WHERE network = "latv"
Date of december 29 has what visitor?
CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_9 WHERE date = "december 29"
Name the total number of goals which have played more than 44
CREATE TABLE table_name_13 (goals_for VARCHAR, played INTEGER)
SELECT COUNT(goals_for) FROM table_name_13 WHERE played > 44
Which Home has a Game # of 59?
CREATE TABLE table_name_27 (home VARCHAR, game__number VARCHAR)
SELECT home FROM table_name_27 WHERE game__number = 59
Name the runs conceded where overs bowled is 53
CREATE TABLE table_15700367_2 (runs_conceded VARCHAR, overs_bowled VARCHAR)
SELECT COUNT(runs_conceded) FROM table_15700367_2 WHERE overs_bowled = "53"
How many medals did China receive?
CREATE TABLE table_name_87 (total INTEGER, nation VARCHAR)
SELECT MIN(total) FROM table_name_87 WHERE nation = "china"
What is the time of Troy Bayliss with less than 8 grids?
CREATE TABLE table_name_96 (time VARCHAR, grid VARCHAR, rider VARCHAR)
SELECT time FROM table_name_96 WHERE grid < 8 AND rider = "troy bayliss"
Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?
CREATE TABLE table_name_29 (time VARCHAR, date VARCHAR, game VARCHAR, location VARCHAR)
SELECT time FROM table_name_29 WHERE game > 1 AND location = "comiskey park (i)" AND date = "october 9"
Who won bronze in 2002?
CREATE TABLE table_name_35 (bronze VARCHAR, year VARCHAR)
SELECT bronze FROM table_name_35 WHERE year = 2002
What record does the event of dream 9 with a round of 2 hold?
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_19 WHERE round = 2 AND event = "dream 9"
Show the addresses and phones of all the buildings managed by "Brenden".
CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_phone VARCHAR, building_manager VARCHAR)
SELECT building_address, building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden"
How many were in the crowd when there was a game at Junction Oval?
CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_88 WHERE venue = "junction oval"
What is the state rank of the company with 6.8 billion in revenue?
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, revenue__$billions__2012_estimate VARCHAR)
SELECT state_rank_by_revenue FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "6.8"
How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17?
CREATE TABLE table_name_63 (deposits VARCHAR, non_interest_income VARCHAR, no_of_branches_offices VARCHAR)
SELECT COUNT(deposits) FROM table_name_63 WHERE non_interest_income = 0.9500000000000001 AND no_of_branches_offices < 17
Which Rank has a Player of matt ruth?
CREATE TABLE table_name_62 (rank INTEGER, player VARCHAR)
SELECT SUM(rank) FROM table_name_62 WHERE player = "matt ruth"
What is the games number when the Position was wr, and a Number larger than 17?
CREATE TABLE table_name_58 (games VARCHAR, position VARCHAR, number VARCHAR)
SELECT COUNT(games) AS ↑ FROM table_name_58 WHERE position = "wr" AND number > 17
What is the lowest game for a record of 32-12-3?
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3"
Who wrote the episode with 18.07 million viewers?
CREATE TABLE table_26198709_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_26198709_1 WHERE us_viewers__million_ = "18.07"
What was the loss of the game when the record was 21-13?
CREATE TABLE table_name_15 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_15 WHERE record = "21-13"
How many times was the high points david lee (30)
CREATE TABLE table_23248869_8 (date VARCHAR, high_points VARCHAR)
SELECT COUNT(date) FROM table_23248869_8 WHERE high_points = "David Lee (30)"
What is the lowest number of silvers for countries in rank 12 with more than 0 bronze?
CREATE TABLE table_name_73 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(silver) FROM table_name_73 WHERE rank = "12" AND bronze > 0
What was the winning score in the Sybase Classic tournament?
CREATE TABLE table_1940012_2 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_1940012_2 WHERE tournament = "Sybase Classic"
What is the average Year that has the Group, Logie Award, the Award, Most Outstanding Actor, and the Result, nominated?
CREATE TABLE table_name_79 (year INTEGER, result VARCHAR, group VARCHAR, award VARCHAR)
SELECT AVG(year) FROM table_name_79 WHERE group = "logie award" AND award = "most outstanding actor" AND result = "nominated"
Who was the winner of stage 11?
CREATE TABLE table_name_25 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_25 WHERE stage = "11"
what is the score when the home team is sunderland?
CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_91 WHERE home_team = "sunderland"
What is the memory with a socket g1 and a 1/1/6/9 turbo?
CREATE TABLE table_name_93 (memory VARCHAR, socket VARCHAR, turbo VARCHAR)
SELECT memory FROM table_name_93 WHERE socket = "socket g1" AND turbo = "1/1/6/9"
What is the smallest place number when the total is 16 and average is less than 16?
CREATE TABLE table_name_52 (place INTEGER, total VARCHAR, average VARCHAR)
SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 16
Name the most swimsuit for interview less than 8.46
CREATE TABLE table_name_1 (swimsuit INTEGER, interview INTEGER)
SELECT MAX(swimsuit) FROM table_name_1 WHERE interview < 8.46
Name the minimum enrollment for montana tech of the university of montana
CREATE TABLE table_15851155_1 (enrollment INTEGER, school VARCHAR)
SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana"
Can you tell me the lowest Crowd that has the Away team of melbourne tigers?
CREATE TABLE table_name_24 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_24 WHERE away_team = "melbourne tigers"
What district for ulysses currie?
CREATE TABLE table_name_26 (district VARCHAR, member_senator VARCHAR)
SELECT district FROM table_name_26 WHERE member_senator = "ulysses currie"
What is the birthplace of Pete Sanderson?
CREATE TABLE table_name_71 (birthplace VARCHAR, real_name VARCHAR)
SELECT birthplace FROM table_name_71 WHERE real_name = "pete sanderson"
Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3?
CREATE TABLE table_name_46 (labour_panel INTEGER, industrial_and_commercial_panel VARCHAR, university_of_dublin VARCHAR)
SELECT AVG(labour_panel) FROM table_name_46 WHERE industrial_and_commercial_panel = 9 AND university_of_dublin < 3
What is the name of the opponent at the Herceg Novi tournament?
CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR)
SELECT opponent FROM table_name_54 WHERE tournament = "herceg novi"
What's the smallest react of Zimbabwe, ranked after 1 in a lane after 3 and a time less than 20.3?
CREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT MIN(react) FROM table_name_90 WHERE lane > 3 AND time < 20.3 AND nationality = "zimbabwe" AND rank > 1
What is Davide Rebellin' UCI ProTour Points?
CREATE TABLE table_name_33 (uci_protour_points VARCHAR, cyclist VARCHAR)
SELECT uci_protour_points FROM table_name_33 WHERE cyclist = "davide rebellin"
What is Date, when High Rebounds is "Amar'e Stoudemire (13)"?
CREATE TABLE table_name_28 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_name_28 WHERE high_rebounds = "amar'e stoudemire (13)"
What is the title of the episode with the original air date of february 6, 1997?
CREATE TABLE table_11951237_3 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_11951237_3 WHERE original_air_date = "February 6, 1997"
What is the Tie no of the Blackburn Rovers Away game?
CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_61 WHERE away_team = "blackburn rovers"
What was the loss/gain when the affiliation was solidarity?
CREATE TABLE table_25818630_2 (loss_gain VARCHAR, affiliation VARCHAR)
SELECT loss_gain FROM table_25818630_2 WHERE affiliation = "Solidarity"
In the North Central region, what are the regional page #'s?
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR)
SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central"
Name the Total of australia and a To par smaller than 7?
CREATE TABLE table_name_48 (total INTEGER, country VARCHAR, to_par VARCHAR)
SELECT MIN(total) FROM table_name_48 WHERE country = "australia" AND to_par < 7
How many students are age 18?
CREATE TABLE Student (age VARCHAR)
SELECT COUNT(*) FROM Student WHERE age = 18
Name the total number of points for 44 game and january more than 15
CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)
SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15
What cataglogue has 27 tracks?
CREATE TABLE table_name_51 (catalogue VARCHAR, track VARCHAR)
SELECT catalogue FROM table_name_51 WHERE track = 27
What place had a To par of –10?
CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_28 WHERE to_par = "–10"
What was the location of the match that had a result of 3-3?
CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
SELECT location FROM table_name_13 WHERE result = "3-3"
what are all the result with district being alabama 1
CREATE TABLE table_1342270_3 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342270_3 WHERE district = "Alabama 1"
Name the team for 48 game
CREATE TABLE table_name_16 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_16 WHERE game = 48
On the date of 30/01/1991, when the away team was Liverpool, what was the score?
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_76 WHERE date = "30/01/1991" AND away_team = "liverpool"
Who did the fastest lap in the dutch grand prix?
CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR)
SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix"
who won mens doubles when zhou mi won womens singles
CREATE TABLE table_20361783_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT mens_doubles FROM table_20361783_1 WHERE womens_singles = "Zhou Mi"
What is the highest number of laps for chris amon?
CREATE TABLE table_name_51 (laps INTEGER, driver VARCHAR)
SELECT MAX(laps) FROM table_name_51 WHERE driver = "chris amon"
How many laps for martin brundle with a grid of less than 10?
CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10
What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
CREATE TABLE table_2508633_4 (position VARCHAR, player VARCHAR)
SELECT position FROM table_2508633_4 WHERE player = "Steve Maidlow"
How many joined the Warriors?
CREATE TABLE table_262508_1 (joined VARCHAR, nickname VARCHAR)
SELECT COUNT(joined) FROM table_262508_1 WHERE nickname = "Warriors"