question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the listed year that has a rank smaller than 8 and moving from Olympiacos?
CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR)
SELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = "olympiacos"
Which team plays in Goa, Salcette?
CREATE TABLE table_name_63 (home_venue VARCHAR, state VARCHAR, city VARCHAR)
SELECT home_venue FROM table_name_63 WHERE state = "goa" AND city = "salcette"
Where is the home venue of Bengaluru FC?
CREATE TABLE table_name_95 (home_venue VARCHAR, team VARCHAR)
SELECT home_venue FROM table_name_95 WHERE team = "bengaluru fc"
What is the state of the team who plays in Mumbai?
CREATE TABLE table_name_43 (state VARCHAR, team VARCHAR)
SELECT state FROM table_name_43 WHERE team = "mumbai"
Where is the city of Maharashtra's Pune team?
CREATE TABLE table_name_31 (city VARCHAR, state VARCHAR, team VARCHAR)
SELECT city FROM table_name_31 WHERE state = "maharashtra" AND team = "pune"
How much Money is requested by BassToneSlap?
CREATE TABLE table_name_10 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap"
Which Investing Dragon has requested £100,000 and is supported by Entrepreneur Kay Russell?
CREATE TABLE table_name_43 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
SELECT investing_dragon_s_ FROM table_name_43 WHERE money_requested__£_ = "100,000" AND entrepreneur_s_ = "kay russell"
What is the name of the Company or Product that is Episode 3 and is suppoted by Investing Dragon Deborah Meaden?
CREATE TABLE table_name_83 (company_or_product_name VARCHAR, episode VARCHAR, investing_dragon_s_ VARCHAR)
SELECT company_or_product_name FROM table_name_83 WHERE episode = "episode 3" AND investing_dragon_s_ = "deborah meaden"
Which Episode has requested £150,000?
CREATE TABLE table_name_38 (episode VARCHAR, money_requested__£_ VARCHAR)
SELECT episode FROM table_name_38 WHERE money_requested__£_ = "150,000"
What is the counting method for a network-centric basis?
CREATE TABLE table_name_89 (counting_method VARCHAR, basis VARCHAR)
SELECT counting_method FROM table_name_89 WHERE basis = "network-centric"
What is the directed/undirected for mfinder, which has a network-centric basis?
CREATE TABLE table_name_83 (directed___undirected VARCHAR, name VARCHAR, basis VARCHAR)
SELECT directed___undirected FROM table_name_83 WHERE name = "mfinder" AND basis = "network-centric"
What is the directed/undirected of fpf (mavisto), which has an induced/non-induced of induced?
CREATE TABLE table_name_25 (directed___undirected VARCHAR, induced___non_induced VARCHAR, name VARCHAR)
SELECT directed___undirected FROM table_name_25 WHERE induced___non_induced = "induced" AND name = "fpf (mavisto)"
What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?
CREATE TABLE table_name_12 (name VARCHAR, directed___undirected VARCHAR, basis VARCHAR)
SELECT name FROM table_name_12 WHERE directed___undirected = "both" AND basis = "subgraph-centric"
What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?
CREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR)
SELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = "induced" AND counting_method = "exact" AND name = "mfinder"
Who is the opponent for the winner outcome on a hard surface on August 27, 2011?
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT opponent FROM table_name_6 WHERE outcome = "winner" AND surface = "hard" AND date = "august 27, 2011"
What was the outcome on August 5, 2007?
CREATE TABLE table_name_59 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_59 WHERE date = "august 5, 2007"
What was the score on January 16, 2010?
CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_25 WHERE date = "january 16, 2010"
What country is Paul Runyan from?
CREATE TABLE table_name_6 (country VARCHAR, name VARCHAR)
SELECT country FROM table_name_6 WHERE name = "paul runyan"
What is the To par of Willie MacFarlane from the country of Scotland?
CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, name VARCHAR)
SELECT to_par FROM table_name_17 WHERE country = "scotland" AND name = "willie macfarlane"
What country has a To par of +1 and the score of 71-76-70=217?
CREATE TABLE table_name_25 (country VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT country FROM table_name_25 WHERE to_par = "+1" AND score = 71 - 76 - 70 = 217
What player scored 143 goals?
CREATE TABLE table_name_15 (player VARCHAR, goals VARCHAR)
SELECT player FROM table_name_15 WHERE goals = "143"
In what season was there a club of South Melbourne?
CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR)
SELECT season FROM table_name_75 WHERE club = "south melbourne"
What club scored 143 goals?
CREATE TABLE table_name_71 (club VARCHAR, goals VARCHAR)
SELECT club FROM table_name_71 WHERE goals = "143"
In what season did Bob Pratt play?
CREATE TABLE table_name_86 (season VARCHAR, player VARCHAR)
SELECT season FROM table_name_86 WHERE player = "bob pratt"
How many goals did the club from Hawthorn score in the 1971 season?
CREATE TABLE table_name_5 (goals VARCHAR, club VARCHAR, season VARCHAR)
SELECT goals FROM table_name_5 WHERE club = "hawthorn" AND season = "1971"
What source has july 1 as the date?
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_80 WHERE date = "july 1"
Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people?
CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)
SELECT municipality FROM table_name_2 WHERE area = "outer circle south" AND area_km² < 368 AND county = "akershus" AND population > 14 OFFSET 398
What was the location of the game after game 6?
CREATE TABLE table_name_80 (location VARCHAR, game INTEGER)
SELECT location FROM table_name_80 WHERE game > 6
Who is in February where has September is kristine hanson?
CREATE TABLE table_name_13 (february VARCHAR, september VARCHAR)
SELECT february FROM table_name_13 WHERE september = "kristine hanson"
Who is in January where April is chris cranston?
CREATE TABLE table_name_71 (january VARCHAR, april VARCHAR)
SELECT january FROM table_name_71 WHERE april = "chris cranston"
Who is in July where October is jill de vries?
CREATE TABLE table_name_7 (july VARCHAR, october VARCHAR)
SELECT july FROM table_name_7 WHERE october = "jill de vries"
Who is in November where February is willy rey?
CREATE TABLE table_name_48 (november VARCHAR, february VARCHAR)
SELECT november FROM table_name_48 WHERE february = "willy rey"
Who is in November where October is jill de vries?
CREATE TABLE table_name_71 (november VARCHAR, october VARCHAR)
SELECT november FROM table_name_71 WHERE october = "jill de vries"
Who is in July where February is linda forsythe?
CREATE TABLE table_name_8 (july VARCHAR, february VARCHAR)
SELECT july FROM table_name_8 WHERE february = "linda forsythe"
What were the remarks for Dutch Antilles Express?
CREATE TABLE table_name_74 (remarks VARCHAR, airline VARCHAR)
SELECT remarks FROM table_name_74 WHERE airline = "dutch antilles express"
What were the remarks for a destination under 19 and rank less than 5?
CREATE TABLE table_name_83 (remarks VARCHAR, destination_number VARCHAR, rank VARCHAR)
SELECT remarks FROM table_name_83 WHERE destination_number < 19 AND rank < 5
Name the date when the attendance is more than 45,817
CREATE TABLE table_name_65 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_65 WHERE attendance > 45 OFFSET 817
Name the score for september 25
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "september 25"
What is the lowest year that has athens, greece as the venue?
CREATE TABLE table_name_83 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_83 WHERE venue = "athens, greece"
Which venue has 1st as the result?
CREATE TABLE table_name_45 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_45 WHERE result = "1st"
What extra has world championships as the tournament, and 1st as the result?
CREATE TABLE table_name_2 (extra VARCHAR, tournament VARCHAR, result VARCHAR)
SELECT extra FROM table_name_2 WHERE tournament = "world championships" AND result = "1st"
For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals?
CREATE TABLE table_name_88 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_88 WHERE bronze = 7 AND total < 13
For countries with total number of medals less than 5 and more than 2 bronze medals, what's the lowest number of gold medals?
CREATE TABLE table_name_92 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_92 WHERE total < 5 AND bronze > 2
Which Class has Laps of 31?
CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR)
SELECT class FROM table_name_74 WHERE laps = 31
What country team had Thurles Sarsfields?
CREATE TABLE table_name_8 (county_team VARCHAR, club_team_s_ VARCHAR)
SELECT county_team FROM table_name_8 WHERE club_team_s_ = "thurles sarsfields"
How many club teams had more than 14 people?
CREATE TABLE table_name_52 (club_team_s_ VARCHAR, team_number INTEGER)
SELECT club_team_s_ FROM table_name_52 WHERE team_number > 14
Who is from Spain with a to par of e?
CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_11 WHERE to_par = "e" AND country = "spain"
Where was Steve Stricker from?
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_10 WHERE player = "steve stricker"
Which country has 69 score?
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_41 WHERE score = 69
How many laps were there when the start was 12?
CREATE TABLE table_name_69 (laps VARCHAR, start VARCHAR)
SELECT COUNT(laps) FROM table_name_69 WHERE start = "12"
What was the qual when the rank was 2?
CREATE TABLE table_name_63 (qual VARCHAR, rank VARCHAR)
SELECT qual FROM table_name_63 WHERE rank = "2"
Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1
CREATE TABLE table_name_83 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1
Name the total number of ERP W when the call sign is w217bf
CREATE TABLE table_name_8 (erp_w VARCHAR, call_sign VARCHAR)
SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf"
Name the total number of frequency Mhz for when it has ERP W of 1 and call sign of w215bj
CREATE TABLE table_name_22 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT COUNT(frequency_mhz) FROM table_name_22 WHERE erp_w = 1 AND call_sign = "w215bj"
Name the average ERP W when it has a city of license of pound, virginia and frequency mhz more than 91.3
CREATE TABLE table_name_90 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR)
SELECT AVG(erp_w) FROM table_name_90 WHERE city_of_license = "pound, virginia" AND frequency_mhz > 91.3
What is the Score that has a Result of 2–2 on 04 Dec 2005?
CREATE TABLE table_name_47 (score VARCHAR, result VARCHAR, date VARCHAR)
SELECT score FROM table_name_47 WHERE result = "2–2" AND date = "04 dec 2005"
What is the Result on 26 jan 2005?
CREATE TABLE table_name_38 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_38 WHERE date = "26 jan 2005"
What is the Venue on 26 jan 2005
CREATE TABLE table_name_12 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_12 WHERE date = "26 jan 2005"
What is the Competition On 26 jan 2005
CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_43 WHERE date = "26 jan 2005"
What is the Score of West Asian Games 2005 on 10 dec 2005?
CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 2005"
How many matches were drawn by a team with 447 points?
CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_name_1 WHERE points_for = "447"
For teams with 22 matches played, a losing bonus of 3, and 45 tries against, what was the number of points against?
CREATE TABLE table_name_10 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, losing_bonus VARCHAR)
SELECT points_against FROM table_name_10 WHERE played = "22" AND losing_bonus = "3" AND tries_against = "45"
For a team with 332 points for, what was the try bonus?
CREATE TABLE table_name_16 (try_bonus VARCHAR, points_for VARCHAR)
SELECT try_bonus FROM table_name_16 WHERE points_for = "332"
Which club has a try bonus of 9 and 43 tries against?
CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR)
SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9"
How many matches were played by the team that has 473 points for?
CREATE TABLE table_name_31 (played VARCHAR, points_for VARCHAR)
SELECT played FROM table_name_31 WHERE points_for = "473"
What is the qual when there are 125 laps?
CREATE TABLE table_name_6 (qual VARCHAR, laps VARCHAR)
SELECT qual FROM table_name_6 WHERE laps = 125
What is the rank when there are more than 107 laps and the qual is 137.825?
CREATE TABLE table_name_26 (rank VARCHAR, laps VARCHAR, qual VARCHAR)
SELECT rank FROM table_name_26 WHERE laps > 107 AND qual = "137.825"
What is the rank with more than 40 laps and a 23 finish?
CREATE TABLE table_name_64 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
SELECT rank FROM table_name_64 WHERE laps > 40 AND finish = "23"
What is the finish in 1953?
CREATE TABLE table_name_75 (finish VARCHAR, year VARCHAR)
SELECT finish FROM table_name_75 WHERE year = "1953"
In what year was the rank 24?
CREATE TABLE table_name_96 (year VARCHAR, rank VARCHAR)
SELECT year FROM table_name_96 WHERE rank = "24"
Which To par has $100 in money played by Vic Ghezzi?
CREATE TABLE table_name_88 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_88 WHERE money___$__ = 100 AND player = "vic ghezzi"
What is the monetary sum with a score of 75-71-75-72=293?
CREATE TABLE table_name_12 (money___ INTEGER, score VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_12 WHERE score = 75 - 71 - 75 - 72 = 293
Which Wednesday has a Saturday of གཟའ་སྤེན་པ།?
CREATE TABLE table_name_23 (wednesday VARCHAR, saturday VARCHAR)
SELECT wednesday FROM table_name_23 WHERE saturday = "གཟའ་སྤེན་པ།"
Which Wednesday has a Sunday of གཟའ་ཉི་མ།?
CREATE TABLE table_name_16 (wednesday VARCHAR, sunday VARCHAR)
SELECT wednesday FROM table_name_16 WHERE sunday = "གཟའ་ཉི་མ།"
Which Tuesday has a Saturday of 土曜日 doyōbi?
CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR)
SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi"
Which Thursday has a Wednesday of 星期三 xingqisen?
CREATE TABLE table_name_51 (thursday VARCHAR, wednesday VARCHAR)
SELECT thursday FROM table_name_51 WHERE wednesday = "星期三 xingqisen"
Which Wednesday has a Monday of 月曜日 getsuyōbi?
CREATE TABLE table_name_46 (wednesday VARCHAR, monday VARCHAR)
SELECT wednesday FROM table_name_46 WHERE monday = "月曜日 getsuyōbi"
Which Saturday has a Thursday of 木曜日 mokuyōbi
CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)
SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi"
What loss was against the angels with a 50-31 record?
CREATE TABLE table_name_84 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT loss FROM table_name_84 WHERE opponent = "angels" AND record = "50-31"
Who is the pilot on September 27, 1972?
CREATE TABLE table_name_42 (pilot VARCHAR, date VARCHAR)
SELECT pilot FROM table_name_42 WHERE date = "september 27, 1972"
What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17?
CREATE TABLE table_name_80 (altitude__ft_ INTEGER, mach VARCHAR, duration VARCHAR)
SELECT MIN(altitude__ft_) FROM table_name_80 WHERE mach > 0.905 AND duration = "00:06:17"
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 Wicket was it that had a 104 (69) Runs (balls) amount?
CREATE TABLE table_name_55 (wicket VARCHAR, runs__balls_ VARCHAR)
SELECT wicket FROM table_name_55 WHERE runs__balls_ = "104 (69)"
What is the item for Leagues entering, when the value for Clubs is 8 → 4?
CREATE TABLE table_name_69 (leagues_entering VARCHAR, clubs VARCHAR)
SELECT leagues_entering FROM table_name_69 WHERE clubs = "8 → 4"
What is the Round when the value for Fixtures is 2?
CREATE TABLE table_name_31 (round VARCHAR, fixtures VARCHAR)
SELECT round FROM table_name_31 WHERE fixtures = 2
What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2?
CREATE TABLE table_name_7 (new_entries VARCHAR, fixtures VARCHAR, clubs VARCHAR)
SELECT new_entries FROM table_name_7 WHERE fixtures < 16 AND clubs = "4 → 2"
What is the value for New entries, when the value for Fixtures is 2?
CREATE TABLE table_name_71 (new_entries VARCHAR, fixtures VARCHAR)
SELECT new_entries FROM table_name_71 WHERE fixtures = 2
Which date has a format's album?
CREATE TABLE table_name_31 (date VARCHAR, format_s_ VARCHAR)
SELECT date FROM table_name_31 WHERE format_s_ = "album"
What is the title for year 1991 and a date of March 21?
CREATE TABLE table_name_87 (title VARCHAR, year VARCHAR, date VARCHAR)
SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 21"
What is the average year with an award of platinum?
CREATE TABLE table_name_44 (year INTEGER, award_description_s_ VARCHAR)
SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum"
What are the results of Format single on March 21?
CREATE TABLE table_name_34 (result_s_ VARCHAR, format_s_ VARCHAR, date VARCHAR)
SELECT result_s_ FROM table_name_34 WHERE format_s_ = "single" AND date = "march 21"
What are the award description with Format album?
CREATE TABLE table_name_84 (award_description_s_ VARCHAR, format_s_ VARCHAR)
SELECT award_description_s_ FROM table_name_84 WHERE format_s_ = "album"
What is the largest number of goals with less than 101 assists and 172 points?
CREATE TABLE table_name_97 (goals INTEGER, assists VARCHAR, points VARCHAR)
SELECT MAX(goals) FROM table_name_97 WHERE assists < 101 AND points < 172
How many total points does Mike Hyndman have with more than 119 assists?
CREATE TABLE table_name_98 (points INTEGER, player VARCHAR, assists VARCHAR)
SELECT SUM(points) FROM table_name_98 WHERE player = "mike hyndman" AND assists > 119
How many assists does David Tomlinson have?
CREATE TABLE table_name_71 (assists INTEGER, player VARCHAR)
SELECT SUM(assists) FROM table_name_71 WHERE player = "david tomlinson"
How many points does Shawn Mceachern with less than 79 goals?
CREATE TABLE table_name_25 (points INTEGER, player VARCHAR, goals VARCHAR)
SELECT SUM(points) FROM table_name_25 WHERE player = "shawn mceachern" AND goals < 79
How many goals does Mike Eruzione have in total?
CREATE TABLE table_name_6 (goals VARCHAR, player VARCHAR)
SELECT goals FROM table_name_6 WHERE player = "mike eruzione"
Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement?
CREATE TABLE table_name_22 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_22 WHERE laps < 10 AND manufacturer = "aprilia" AND time_retired = "retirement"
What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer?
CREATE TABLE table_name_86 (time_retired VARCHAR, manufacturer VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_86 WHERE grid > 20 AND laps < 26 AND manufacturer = "aprilia"
Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14
CREATE TABLE table_name_95 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14