question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the calling for the 18.42 arrival time?
CREATE TABLE table_18332845_2 (calling_at VARCHAR, arrival VARCHAR)
SELECT calling_at FROM table_18332845_2 WHERE arrival = "18.42"
What language is the movie in that is on SAB network through Sky service?
CREATE TABLE table_name_97 (language VARCHAR, network VARCHAR, service VARCHAR)
SELECT language FROM table_name_97 WHERE network = "sab" AND service = "sky"
What home has February 10 as the date?
CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_67 WHERE date = "february 10"
List the location and number of fans in attendance for game 7/
CREATE TABLE table_22822559_4 (location_attendance VARCHAR, game VARCHAR)
SELECT COUNT(location_attendance) FROM table_22822559_4 WHERE game = 7
What is listed in segment b when segment c is artificial flowers?
CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR)
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Artificial Flowers"
What is the number in January for Philadelphia Flyers as opponents?
CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR)
SELECT COUNT(january) FROM table_name_30 WHERE opponent = "philadelphia flyers"
What was the score when the Tie no was 6?
CREATE TABLE table_name_89 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_89 WHERE tie_no = 6
for the other of soun, what's the khmer?
CREATE TABLE table_name_40 (khmer VARCHAR, other VARCHAR)
SELECT khmer FROM table_name_40 WHERE other = "soun"
What is February, when Record is "21-29-11"?
CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)
SELECT february FROM table_name_46 WHERE record = "21-29-11"
Show order ids and the total quantity in each order.
CREATE TABLE Order_items (order_id VARCHAR, product_quantity INTEGER)
SELECT order_id, SUM(product_quantity) FROM Order_items GROUP BY order_id
Which Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o?
CREATE TABLE table_name_8 (athlete VARCHAR)
SELECT athlete FROM table_name_8 WHERE 224 = "xo" AND 220 = "o" AND 215 = "o"
List the names of roller coasters by ascending order of length.
CREATE TABLE roller_coaster (Name VARCHAR, LENGTH VARCHAR)
SELECT Name FROM roller_coaster ORDER BY LENGTH
What genre is Led Zeppelin?
CREATE TABLE table_name_85 (genre VARCHAR, artist VARCHAR)
SELECT genre FROM table_name_85 WHERE artist = "led zeppelin"
How many titles have directors of matthew Penn and number in series of 143?
CREATE TABLE table_2618119_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(title) FROM table_2618119_1 WHERE directed_by = "Matthew Penn" AND no_in_series = 143
what is the stroke where the vehicle code is t211?
CREATE TABLE table_23722304_2 (stroke__mm_ VARCHAR, vehicle_code VARCHAR)
SELECT stroke__mm_ FROM table_23722304_2 WHERE vehicle_code = "T211"
Which event is in round 1 with a record at 5-1?
CREATE TABLE table_name_28 (event VARCHAR, round VARCHAR, record VARCHAR)
SELECT event FROM table_name_28 WHERE round = 1 AND record = "5-1"
How many outcomes are listed when the final opponent was Johan Kriek?
CREATE TABLE table_22597626_5 (outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT COUNT(outcome) FROM table_22597626_5 WHERE opponent_in_the_final = "Johan Kriek"
what is the most bronze when the total is 9?
CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR)
SELECT MAX(bronze) FROM table_name_94 WHERE total = 9
What is the sum of Rank, when Assists is "82"?
CREATE TABLE table_name_21 (rank INTEGER, assists VARCHAR)
SELECT SUM(rank) FROM table_name_21 WHERE assists = 82
Which wicket had a 100 (45) Runs (balls) amount?
CREATE TABLE table_name_43 (wicket VARCHAR, runs__balls_ VARCHAR)
SELECT wicket FROM table_name_43 WHERE runs__balls_ = "100 (45)"
Which team has a rank of 6?
CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR)
SELECT team FROM table_name_43 WHERE rank = 6
How many tree species are in the kitechura reserve?
CREATE TABLE table_16577990_1 (tree_species VARCHAR, central_forest_reserve VARCHAR)
SELECT tree_species FROM table_16577990_1 WHERE central_forest_reserve = "Kitechura"
What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"?
CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_4 WHERE score = "0-2" AND opponents = "bayer leverkusen"
How many were in attendance of the game with l 26-21 result?
CREATE TABLE table_name_28 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_28 WHERE result = "l 26-21"
Who are the all the players whose position is guard in college Clemson?
CREATE TABLE table_2508633_11 (player VARCHAR, college VARCHAR, position VARCHAR)
SELECT player FROM table_2508633_11 WHERE college = "Clemson" AND position = "Guard"
What is the capacity percentage when the total attendance is 509940?
CREATE TABLE table_28884858_1 (capacity_percentage VARCHAR, total_attendance VARCHAR)
SELECT capacity_percentage FROM table_28884858_1 WHERE total_attendance = 509940
What is the Portuguese name of the film who's English title is, Belle Toujours?
CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR)
SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours"
What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia?
CREATE TABLE table_name_51 (date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_51 WHERE competition = "emerging nations tournament" AND result = "scotland 34-9 russia"
Name the Total which has a Silver larger than 19?
CREATE TABLE table_name_70 (total INTEGER, silver INTEGER)
SELECT MAX(total) FROM table_name_70 WHERE silver > 19
Name the total of Loss which has an Avg/G of 8.4?
CREATE TABLE table_name_37 (loss VARCHAR, avg_g VARCHAR)
SELECT COUNT(loss) FROM table_name_37 WHERE avg_g = 8.4
What is the state that has the 2012 rank of 43?
CREATE TABLE table_name_98 (state VARCHAR, rank__2012_ VARCHAR)
SELECT state FROM table_name_98 WHERE rank__2012_ = 43
Player of dan federman, and a Pick larger than 114 involves which highest round?
CREATE TABLE table_name_59 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT MAX(round) FROM table_name_59 WHERE player = "dan federman" AND pick > 114
How much Attendance has Games smaller than 6, and a W-L-T of 3-2-0, and a Season smaller than 1948?
CREATE TABLE table_name_24 (attendance INTEGER, season VARCHAR, games VARCHAR, w_l_t VARCHAR)
SELECT SUM(attendance) FROM table_name_24 WHERE games < 6 AND w_l_t = "3-2-0" AND season < 1948
Which Gold Coast has Melbourne yes, and Auckland yes?
CREATE TABLE table_name_8 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR)
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND auckland = "yes"
Which acquisition via has a position of forward and is on the state school or club?
CREATE TABLE table_name_79 (acquisition_via VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT acquisition_via FROM table_name_79 WHERE position = "forward" AND school_club_team = "state"
What is the score at the 2010 FIFA World Cup Qualification that results in a win?
CREATE TABLE table_name_6 (score VARCHAR, competition VARCHAR, result VARCHAR)
SELECT score FROM table_name_6 WHERE competition = "2010 fifa world cup qualification" AND result = "win"
What College team has 8 rounds?
CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE round = 8
Find all the stage positions of the musicians with first name "Solveig"
CREATE TABLE Band (id VARCHAR); CREATE TABLE Performance (stageposition VARCHAR, bandmate VARCHAR)
SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = "Solveig"
Who did the high points in game number 1?
CREATE TABLE table_30087032_5 (high_points VARCHAR, game VARCHAR)
SELECT high_points FROM table_30087032_5 WHERE game = 1
What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori"
Show the names of phones with carrier either "Sprint" or "TMobile".
CREATE TABLE phone (Name VARCHAR, Carrier VARCHAR)
SELECT Name FROM phone WHERE Carrier = "Sprint" OR Carrier = "TMobile"
Who is the 1st member of the parliament assembled on 5 April 1614?
CREATE TABLE table_name_41 (assembled VARCHAR)
SELECT 1 AS st_member FROM table_name_41 WHERE assembled = "5 april 1614"
How many dates of demolition are located on Wood Street?
CREATE TABLE table_name_7 (date_of_demolition VARCHAR, location VARCHAR)
SELECT COUNT(date_of_demolition) FROM table_name_7 WHERE location = "wood street"
What is the tie number when the home team was gillingham?
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_12 WHERE home_team = "gillingham"
What is the lowest overall number for total(min. 2 medals)?
CREATE TABLE table_22355_65 (total_min_2_medals_ INTEGER)
SELECT MIN(total_min_2_medals_) FROM table_22355_65
What place was Gary Player after two rounds?
CREATE TABLE table_name_27 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_27 WHERE player = "gary player"
When was Windy Hill used as a venue?
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_90 WHERE venue = "windy hill"
I want to know the city for guelferbytanus b and the 5th
CREATE TABLE table_name_6 (city VARCHAR, date VARCHAR, name VARCHAR)
SELECT city FROM table_name_6 WHERE date = "5th" AND name = "guelferbytanus b"
Who is the jockey for the winning horse Rafael Bejarano?
CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)
SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"
What is the airing date for costume comedy that has 20 episodes?
CREATE TABLE table_name_91 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
SELECT airing_date FROM table_name_91 WHERE number_of_episodes = 20 AND genre = "costume comedy"
What is the maximum and minimum height of all players?
CREATE TABLE Player (weight INTEGER)
SELECT MAX(weight), MIN(weight) FROM Player
What is the lowest VIII Edition Gold with a Silver of 4?
CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR)
SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii"
when womens singles is wang yihan and tour is french super series, what were the men's singles?
CREATE TABLE table_21001903_2 (mens_singles VARCHAR, womens_singles VARCHAR, tour VARCHAR)
SELECT mens_singles FROM table_21001903_2 WHERE womens_singles = "Wang Yihan" AND tour = "French Super Series"
What date was the United States the region?
CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)
SELECT date FROM table_name_25 WHERE region = "united states"
What is the Class after 1986?
CREATE TABLE table_name_13 (class VARCHAR, year INTEGER)
SELECT class FROM table_name_13 WHERE year > 1986
What was the time for tracks before 19 on 8/26/69?
CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR)
SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19
What is the slovenian name for the village that in german is known as st.margarethen?
CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, village__german_ VARCHAR)
SELECT village__slovenian_ FROM table_10797463_1 WHERE village__german_ = "St.Margarethen"
What team does Joe Deane play for?
CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_20 WHERE player = "joe deane"
what is the tournament when 2011 is qf and 2012 is sf?
CREATE TABLE table_name_42 (tournament VARCHAR)
SELECT tournament FROM table_name_42 WHERE 2011 = "qf" AND 2012 = "sf"
What was the decay for the sattelite that was 180 kg?
CREATE TABLE table_2150068_1 (decay VARCHAR, mass_kg_ VARCHAR)
SELECT decay FROM table_2150068_1 WHERE mass_kg_ = "180"
Name the engine when points are 0 and chassis is kuzma indy roadster for 1954
CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954
What was his position when he garnered 38 points?
CREATE TABLE table_25557880_1 (position VARCHAR, points VARCHAR)
SELECT position FROM table_25557880_1 WHERE points = "38"
The cylinder layout v8 is produced in what years?
CREATE TABLE table_26352332_4 (years_produced VARCHAR, cylinder_layout VARCHAR)
SELECT years_produced FROM table_26352332_4 WHERE cylinder_layout = "V8"
when svein tuft is the winner how many stages are there?
CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR)
SELECT COUNT(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft"
What is the average value for Gold, when the value for Silver is greater than 2, and when the Nation is West Germany?
CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, nation VARCHAR)
SELECT AVG(gold) FROM table_name_98 WHERE silver > 2 AND nation = "west germany"
What are the total number of points with more than 225 goals and a Goals against of 190?
CREATE TABLE table_name_31 (points INTEGER, goals_for VARCHAR, goals_against VARCHAR)
SELECT SUM(points) FROM table_name_31 WHERE goals_for > 225 AND goals_against = 190
Which Android has anOther Unix of unknown?
CREATE TABLE table_name_42 (android VARCHAR, other_unix VARCHAR)
SELECT android FROM table_name_42 WHERE other_unix = "unknown"
What seat does Gubernia Warszawska hold?
CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_polish VARCHAR)
SELECT seat FROM table_11614581_3 WHERE name_in_polish = "Gubernia warszawska"
What are the average wins that have great britain as the team?
CREATE TABLE table_name_80 (wins INTEGER, team VARCHAR)
SELECT AVG(wins) FROM table_name_80 WHERE team = "great britain"
If the Home team of collingwood was playing, what was the Away team?
CREATE TABLE table_name_45 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_45 WHERE home_team = "collingwood"
Name the heightfor city of license of malone, ny
CREATE TABLE table_name_44 (height_m___ft__ VARCHAR, city_of_license VARCHAR)
SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license = "malone, ny"
What is the lowest league for the Malaysia Cup when it was larger than 0?
CREATE TABLE table_name_98 (league INTEGER, malaysia_cup INTEGER)
SELECT MIN(league) FROM table_name_98 WHERE malaysia_cup > 0
Show all account ids and account details.
CREATE TABLE Accounts (account_id VARCHAR, account_details VARCHAR)
SELECT account_id, account_details FROM Accounts
Who has a licence of gpl v2 and a current version of 0.9.9?
CREATE TABLE table_name_92 (name VARCHAR, license VARCHAR, current_version VARCHAR)
SELECT name FROM table_name_92 WHERE license = "gpl v2" AND current_version = "0.9.9"
Name the week 3 for team of mark/jennifer
CREATE TABLE table_name_99 (week_3 VARCHAR, team VARCHAR)
SELECT week_3 FROM table_name_99 WHERE team = "mark/jennifer"
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2?
CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR)
SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2
What district is Joseph Lecompte in office in?
CREATE TABLE table_2668243_8 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_2668243_8 WHERE incumbent = "Joseph Lecompte"
Which Adelaide has a Sydney of yes, a Perth of no, a Melbourne of yes, and an Auckland of no?
CREATE TABLE table_name_30 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)
SELECT adelaide FROM table_name_30 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND auckland = "no"
When westcott is in division one how many leagues are in division 5?
CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR)
SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott"
What is the total pick number of Virginia Tech?
CREATE TABLE table_name_68 (pick VARCHAR, school VARCHAR)
SELECT COUNT(pick) FROM table_name_68 WHERE school = "virginia tech"
What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR)
SELECT gdp_per_capita__nominal_ FROM table_11780179_1 WHERE gdp__nominal_ = "$52.0 billion"
What To par has a Score of 71-73-71-71=286?
CREATE TABLE table_name_85 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_85 WHERE score = 71 - 73 - 71 - 71 = 286
What is the position for outgoing manager alfredo merino
CREATE TABLE table_27495117_3 (position_in_table VARCHAR, outgoing_manager VARCHAR)
SELECT position_in_table FROM table_27495117_3 WHERE outgoing_manager = "Alfredo Merino"
Name the year for willie goggin
CREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR)
SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin"
Name the country for johannesburg
CREATE TABLE table_name_35 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_35 WHERE city = "johannesburg"
Which city has a resolution that is negotiated exile in Austria?
CREATE TABLE table_18299148_1 (city VARCHAR, resolution VARCHAR)
SELECT city FROM table_18299148_1 WHERE resolution = "Negotiated exile in Austria"
What is the rank of the reynard 2ki chassis before 2002?
CREATE TABLE table_name_50 (rank VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT rank FROM table_name_50 WHERE year < 2002 AND chassis = "reynard 2ki"
Who was drafted by the Washington Capitals?
CREATE TABLE table_2840500_2 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2840500_2 WHERE nhl_team = "Washington Capitals"
What municipality has a 130.6 pupulation density?
CREATE TABLE table_255829_1 (municipality VARCHAR, pop_density__per_km_2__ VARCHAR)
SELECT municipality FROM table_255829_1 WHERE pop_density__per_km_2__ = "130.6"
During the PGA Championship, what's the lowest amount of events with wins greater than 0?
CREATE TABLE table_name_10 (events INTEGER, tournament VARCHAR, wins VARCHAR)
SELECT MIN(events) FROM table_name_10 WHERE tournament = "pga championship" AND wins > 0
What club had Guus Hiddink as outgoing manager?
CREATE TABLE table_name_51 (club VARCHAR, name VARCHAR)
SELECT club FROM table_name_51 WHERE name = "guus hiddink"
How many spectators were at the game where Richmond was the away team?
CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_8 WHERE away_team = "richmond"
What are the slovenian names of the villages that had 65.9% of slovenes in 1951?
CREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, percent_of_slovenes_1951 VARCHAR)
SELECT village__slovenian_ FROM table_10797463_1 WHERE percent_of_slovenes_1951 = "65.9%"
What player has the rank 2011?
CREATE TABLE table_name_97 (player VARCHAR, rank VARCHAR)
SELECT player FROM table_name_97 WHERE rank = 2011
Which team plays against Footscray as the home team?
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_2 WHERE away_team = "footscray"
What is Pro Year(s), when Team is Cincinnati Royals?
CREATE TABLE table_name_79 (pro_year_s_ VARCHAR, team VARCHAR)
SELECT pro_year_s_ FROM table_name_79 WHERE team = "cincinnati royals"
When the occupation was utility worker on-air talent, what was the game status?
CREATE TABLE table_name_21 (game_status VARCHAR, occupation VARCHAR)
SELECT game_status FROM table_name_21 WHERE occupation = "utility worker on-air talent"
Who was the runner-up on September 11?
CREATE TABLE table_21808535_1 (runner_up VARCHAR, date VARCHAR)
SELECT runner_up FROM table_21808535_1 WHERE date = "September 11"
If the residence is Chagrin falls, who is the representative?
CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR)
SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls"
What is the name of the episode told by Kiki and directed by Will Dixon?
CREATE TABLE table_10470082_6 (title VARCHAR, storyteller VARCHAR, director VARCHAR)
SELECT title FROM table_10470082_6 WHERE storyteller = "Kiki" AND director = "Will Dixon"