context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_13 (candidate VARCHAR, riding VARCHAR) | Who is the Candidate when the Riding is Hochelaga? | SELECT candidate FROM table_name_13 WHERE riding = "hochelaga" |
CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR) | What is the Placement when the Candidate is Jean-Patrick Berthiaume? | SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume" |
CREATE TABLE table_name_20 (league VARCHAR, fa_cup VARCHAR) | What is the value for the League Cup when the FA Cup value is 0 13 0 (49)? | SELECT league AS Cup FROM table_name_20 WHERE fa_cup = "0 13 0 (49)" |
CREATE TABLE table_name_13 (league VARCHAR, years VARCHAR) | What is the League Cup value for 1991–present? | SELECT league AS Cup FROM table_name_13 WHERE years = "1991–present" |
CREATE TABLE table_name_43 (league VARCHAR, europe VARCHAR) | What league has a value of 0 29 (152) for Europe? | SELECT league FROM table_name_43 WHERE europe = "0 29 (152)" |
CREATE TABLE table_name_1 (week VARCHAR, result VARCHAR) | Which week was there a w 23–14 result? | SELECT week FROM table_name_1 WHERE result = "w 23–14" |
CREATE TABLE table_name_64 (score VARCHAR, opponent VARCHAR) | Name the score for hawthorn opponent | SELECT score FROM table_name_64 WHERE opponent = "hawthorn" |
CREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR) | Name the score at mcg venue and footscray opponent | SELECT score FROM table_name_13 WHERE venue = "mcg" AND opponent = "footscray" |
CREATE TABLE table_name_19 (venue VARCHAR, opponent VARCHAR) | Name the venue with opponent of collingwood | SELECT venue FROM table_name_19 WHERE opponent = "collingwood" |
CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR) | When has Result of 2–0, and a Score of 2 – 0? | SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0" |
CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR) | Which Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup? | SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup" |
CREATE TABLE table_name_43 (casualties VARCHAR, nature_of_incident VARCHAR, date VARCHAR) | Name the casualities for nation of incident of hostile on 2006-06-26 | SELECT casualties FROM table_name_43 WHERE nature_of_incident = "hostile" AND date = "2006-06-26" |
CREATE TABLE table_name_74 (casualties VARCHAR, location VARCHAR) | Name the casualities for kabul area | SELECT casualties FROM table_name_74 WHERE location = "kabul area" |
CREATE TABLE table_name_9 (location VARCHAR, date VARCHAR, circumstances VARCHAR) | Name the location on 2006-04-07 for direct fire | SELECT location FROM table_name_9 WHERE date = "2006-04-07" AND circumstances = "direct fire" |
CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR) | Which venue has a Date of 20,21,22,23,24 november 1998? | SELECT venue FROM table_name_57 WHERE date = "20,21,22,23,24 november 1998" |
CREATE TABLE table_name_12 (away_captain VARCHAR, date VARCHAR) | Which Away captain has a Date of 26,27,28,29 december 1998? | SELECT away_captain FROM table_name_12 WHERE date = "26,27,28,29 december 1998" |
CREATE TABLE table_name_92 (venue VARCHAR, result VARCHAR) | Which venue has a Result of draw? | SELECT venue FROM table_name_92 WHERE result = "draw" |
CREATE TABLE table_name_53 (home_captain VARCHAR, venue VARCHAR) | Which Home captain has a Venue of melbourne cricket ground? | SELECT home_captain FROM table_name_53 WHERE venue = "melbourne cricket ground" |
CREATE TABLE table_name_69 (away_captain VARCHAR, date VARCHAR) | Which Away captain has a Date of 2,3,4,5 january 1999? | SELECT away_captain FROM table_name_69 WHERE date = "2,3,4,5 january 1999" |
CREATE TABLE table_name_38 (margin_of_victory VARCHAR, winning_score VARCHAR) | What was the margin of victory for the win with a score of 71-69-71-70=281? | SELECT margin_of_victory FROM table_name_38 WHERE winning_score = 71 - 69 - 71 - 70 = 281 |
CREATE TABLE table_name_49 (to_par VARCHAR, winning_score VARCHAR) | What is the to par value for the game with a winning score of 71-69-71-70=281? | SELECT to_par FROM table_name_49 WHERE winning_score = 71 - 69 - 71 - 70 = 281 |
CREATE TABLE table_name_29 (tournament VARCHAR, runner_s__up VARCHAR) | For what tournament was Bubba Watson the runner-up? | SELECT tournament FROM table_name_29 WHERE runner_s__up = "bubba watson" |
CREATE TABLE table_name_76 (to_par VARCHAR, runner_s__up VARCHAR) | When John Senden was the runner-up, what was the To Par? | SELECT to_par FROM table_name_76 WHERE runner_s__up = "john senden" |
CREATE TABLE table_name_73 (metro_champion VARCHAR, runner_up VARCHAR, year VARCHAR) | In 1988, what Metro Champion had a Runner-up of Memphis State? | SELECT metro_champion FROM table_name_73 WHERE runner_up = "memphis state" AND year = 1988 |
CREATE TABLE table_name_93 (opened_in INTEGER, ride_name VARCHAR, manufacture VARCHAR, type VARCHAR) | What is the latest year a ride opened that was manufactured by Zamperla, was a convoy ride, and had a name of Tiny Truckers? | SELECT MAX(opened_in) FROM table_name_93 WHERE manufacture = "zamperla" AND type = "convoy ride" AND ride_name = "tiny truckers" |
CREATE TABLE table_name_33 (manufacture VARCHAR, opened_in VARCHAR, type VARCHAR) | Who is the manufacturer of the mini jet red baron ride that opened before 2001? | SELECT manufacture FROM table_name_33 WHERE opened_in < 2001 AND type = "mini jet red baron" |
CREATE TABLE table_name_45 (year INTEGER, original_title VARCHAR) | Name the least year for les triplettes de belleville | SELECT MIN(year) FROM table_name_45 WHERE original_title = "les triplettes de belleville" |
CREATE TABLE table_name_18 (english_title VARCHAR, director VARCHAR) | Name the english title for zhang yimou | SELECT english_title FROM table_name_18 WHERE director = "zhang yimou" |
CREATE TABLE table_name_81 (country VARCHAR, year VARCHAR) | Name the country for 2002 | SELECT country FROM table_name_81 WHERE year = 2002 |
CREATE TABLE table_name_24 (english_title VARCHAR, country VARCHAR) | Name the english title for mexico/spain/usa | SELECT english_title FROM table_name_24 WHERE country = "mexico/spain/usa" |
CREATE TABLE table_name_95 (country VARCHAR, year INTEGER) | Name the country with year more than 2008 | SELECT country FROM table_name_95 WHERE year > 2008 |
CREATE TABLE table_name_37 (year INTEGER, engine VARCHAR) | What year did the Cosworth v8 engine participate in? | SELECT AVG(year) FROM table_name_37 WHERE engine = "cosworth v8" |
CREATE TABLE table_name_65 (year INTEGER, points INTEGER) | Which year did the team receive more than 0 points? | SELECT AVG(year) FROM table_name_65 WHERE points > 0 |
CREATE TABLE table_name_1 (chassis VARCHAR, year VARCHAR) | Which chassis was used in 1971? | SELECT chassis FROM table_name_1 WHERE year = 1971 |
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR) | What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes? | SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = "jean luc razakarivony" |
CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR, name VARCHAR) | What was Domenico Fioravanti's time on lane 5? | SELECT time FROM table_name_66 WHERE lane = 5 AND name = "domenico fioravanti" |
CREATE TABLE table_name_3 (nationality VARCHAR, heat VARCHAR, time VARCHAR) | What is the nationality with less than 9 heat, and a time of 1:01.87? | SELECT nationality FROM table_name_3 WHERE heat < 9 AND time = "1:01.87" |
CREATE TABLE table_name_35 (date VARCHAR, home_captain VARCHAR, venue VARCHAR) | On which dates played Home Captain Courtney Walsh at the Queen's Park Oval? | SELECT date FROM table_name_35 WHERE home_captain = "courtney walsh" AND venue = "queen's park oval" |
CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR, venue VARCHAR) | On what dates did the draw at the Antigua Recreation Ground happen? | SELECT date FROM table_name_25 WHERE result = "draw" AND venue = "antigua recreation ground" |
CREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR) | Who was the Home Captain at Sabina Park? | SELECT home_captain FROM table_name_65 WHERE venue = "sabina park" |
CREATE TABLE table_name_76 (date VARCHAR, result VARCHAR) | When did the draw happen? | SELECT date FROM table_name_76 WHERE result = "draw" |
CREATE TABLE table_name_59 (joined INTEGER, institution VARCHAR) | When did Northeastern University join? | SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern university" |
CREATE TABLE table_name_1 (type VARCHAR, location VARCHAR) | Which type of institution is in Amherst, MA? | SELECT type FROM table_name_1 WHERE location = "amherst, ma" |
CREATE TABLE table_name_96 (tenure VARCHAR, courtesy_title VARCHAR) | What is the tenure of the person whose courtesy title is yamashiro-no-kami? | SELECT tenure FROM table_name_96 WHERE courtesy_title = "yamashiro-no-kami" |
CREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR) | What is the courtesy title of the person whose tenure goes from 1766–1794? | SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794" |
CREATE TABLE table_name_2 (bronze VARCHAR, rank INTEGER) | What is the bronze value associated with ranks over 5? | SELECT bronze FROM table_name_2 WHERE rank > 5 |
CREATE TABLE table_name_74 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | What is the highest number of bronzes for countries ranking over 5 with 0 golds? | SELECT MAX(bronze) FROM table_name_74 WHERE rank > 5 AND gold < 0 |
CREATE TABLE table_name_8 (loss VARCHAR, date VARCHAR) | Name the loss for june 22 | SELECT loss FROM table_name_8 WHERE date = "june 22" |
CREATE TABLE table_name_96 (loss VARCHAR, date VARCHAR) | Name the loss for june 30 | SELECT loss FROM table_name_96 WHERE date = "june 30" |
CREATE TABLE table_name_46 (score VARCHAR, date VARCHAR) | Name the score on august 21, 2007 | SELECT score FROM table_name_46 WHERE date = "august 21, 2007" |
CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR) | Name the competition on august 25, 2007 | SELECT competition FROM table_name_83 WHERE date = "august 25, 2007" |
CREATE TABLE table_name_48 (competition VARCHAR, date VARCHAR) | Name the competition that was on august 25, 2007 | SELECT competition FROM table_name_48 WHERE date = "august 25, 2007" |
CREATE TABLE table_name_19 (result VARCHAR, date VARCHAR) | Name the result for january 14, 2008 | SELECT result FROM table_name_19 WHERE date = "january 14, 2008" |
CREATE TABLE table_name_38 (played VARCHAR, lost VARCHAR) | How many matches played are associated with 20 losses? | SELECT played FROM table_name_38 WHERE lost = "20" |
CREATE TABLE table_name_24 (played VARCHAR, club VARCHAR) | How many matches have Rhymney RFC played? | SELECT played FROM table_name_24 WHERE club = "rhymney rfc" |
CREATE TABLE table_name_90 (lost VARCHAR, club VARCHAR) | How many losses does Abercarn RFC have? | SELECT lost FROM table_name_90 WHERE club = "abercarn rfc" |
CREATE TABLE table_name_67 (year VARCHAR, position VARCHAR) | When did a Position of 21st (q) happen? | SELECT year FROM table_name_67 WHERE position = "21st (q)" |
CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, notes VARCHAR) | What is the Venue before 2003 with Notes of 57.73 m? | SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m" |
CREATE TABLE table_name_39 (notes VARCHAR, position VARCHAR) | What notes have the 8th position? | SELECT notes FROM table_name_39 WHERE position = "8th" |
CREATE TABLE table_name_52 (venue VARCHAR, competition VARCHAR, notes VARCHAR) | Where was European Championships held with notes of 61.46 m? | SELECT venue FROM table_name_52 WHERE competition = "european championships" AND notes = "61.46 m" |
CREATE TABLE table_name_16 (max_power VARCHAR) | What is the 0–100km/h (62mph) when the max power is s diesel engine all direct injection (dci)? | SELECT 0 AS _100km_h__62mph_ FROM table_name_16 WHERE max_power = "s diesel engine all direct injection (dci)" |
CREATE TABLE table_name_97 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) | Name the original name for last days of the victim | SELECT original_name FROM table_name_97 WHERE film_title_used_in_nomination = "last days of the victim" |
CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_name VARCHAR) | Name the film title for okkar á milli: í hita og þunga dagsins | SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins" |
CREATE TABLE table_name_40 (film_title_used_in_nomination VARCHAR, language VARCHAR) | Name the film title that was norwegian | SELECT film_title_used_in_nomination FROM table_name_40 WHERE language = "norwegian" |
CREATE TABLE table_name_8 (film_title_used_in_nomination VARCHAR, language VARCHAR) | Name the film title for german | SELECT film_title_used_in_nomination FROM table_name_8 WHERE language = "german" |
CREATE TABLE table_name_4 (original_name VARCHAR, country VARCHAR) | Name the original name for the one from bulgaria | SELECT original_name FROM table_name_4 WHERE country = "bulgaria" |
CREATE TABLE table_name_27 (opponent VARCHAR, attendance INTEGER) | who was the opponent when the attendance was larger than 54,766? | SELECT opponent FROM table_name_27 WHERE attendance > 54 OFFSET 766 |
CREATE TABLE table_name_2 (attendance VARCHAR, series VARCHAR) | What was the attendance when the series was at 0-1? | SELECT attendance FROM table_name_2 WHERE series = "0-1" |
CREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR) | Who was the opponent when the series was at 1-3? | SELECT opponent FROM table_name_86 WHERE series = "1-3" |
CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR) | what was the score in the loss to tapani (0-1)? | SELECT score FROM table_name_39 WHERE loss = "tapani (0-1)" |
CREATE TABLE table_name_76 (team__number1 VARCHAR, time___cest__ INTEGER) | What id the team with a smaller Time than 18? | SELECT team__number1 FROM table_name_76 WHERE time___cest__ < 18 |
CREATE TABLE table_name_84 (location VARCHAR, record VARCHAR) | What is the location of the match with the record 10-8-1? | SELECT location FROM table_name_84 WHERE record = "10-8-1" |
CREATE TABLE table_name_72 (method VARCHAR, event VARCHAR, res VARCHAR, time VARCHAR, round VARCHAR) | What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result? | SELECT method FROM table_name_72 WHERE time = "5:00" AND round < 3 AND res = "loss" AND event = "road fc 12" |
CREATE TABLE table_name_84 (record VARCHAR, time VARCHAR) | What is the record of the match at 6:00? | SELECT record FROM table_name_84 WHERE time = "6:00" |
CREATE TABLE table_name_69 (method VARCHAR, record VARCHAR) | What is the method of the match with a 3-4 record? | SELECT method FROM table_name_69 WHERE record = "3-4" |
CREATE TABLE table_name_62 (location VARCHAR, round VARCHAR, opponent VARCHAR) | What is the location of the match with a round bigger than 1 where the opponent was Yoshihiro Akiyama? | SELECT location FROM table_name_62 WHERE round > 1 AND opponent = "yoshihiro akiyama" |
CREATE TABLE table_name_26 (round INTEGER, res VARCHAR, record VARCHAR) | What is the average round of the match with a draw result and a record of 4-4-1? | SELECT AVG(round) FROM table_name_26 WHERE res = "draw" AND record = "4-4-1" |
CREATE TABLE table_name_7 (round INTEGER, time VARCHAR, event VARCHAR) | What is the average round of the match in the Hero's 9 event with a time of 5:00? | SELECT AVG(round) FROM table_name_7 WHERE time = "5:00" AND event = "hero's 9" |
CREATE TABLE table_name_16 (first_us_tour_cast VARCHAR, original_broadway_cast VARCHAR) | What shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt? | SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = "sarah bolt" |
CREATE TABLE table_name_54 (first_uk_tour_cast VARCHAR, character VARCHAR) | What is the name of the person in the First UK Tour Cast for the Character of Sister Mary Robert? | SELECT first_uk_tour_cast FROM table_name_54 WHERE character = "sister mary robert" |
CREATE TABLE table_name_22 (character VARCHAR, original_west_end_cast VARCHAR) | What character did Katie Rowley Jones play in the Original West End Cast? | SELECT character FROM table_name_22 WHERE original_west_end_cast = "katie rowley jones" |
CREATE TABLE table_name_55 (original_west_end_cast VARCHAR, first_us_tour_cast VARCHAR) | Who was the Original West End Cast when the irst US Tour Cast was lael van keuren? | SELECT original_west_end_cast FROM table_name_55 WHERE first_us_tour_cast = "lael van keuren" |
CREATE TABLE table_name_1 (original_west_end_cast VARCHAR, original_broadway_cast VARCHAR) | Who was in the Original West End Cast when the Original Broadway Cast was audrie neenan? | SELECT original_west_end_cast FROM table_name_1 WHERE original_broadway_cast = "audrie neenan" |
CREATE TABLE table_name_56 (original_broadway_cast VARCHAR, original_west_end_cast VARCHAR) | What is the name of the person who was in the Original Broadway Cast that was Original West End Cast of sheila hancock? | SELECT original_broadway_cast FROM table_name_56 WHERE original_west_end_cast = "sheila hancock" |
CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR) | Dave Douglas has what score? | SELECT score FROM table_name_46 WHERE player = "dave douglas" |
CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR, to_par VARCHAR) | Who has more than 70 score with +1 to par? | SELECT player FROM table_name_13 WHERE score > 70 AND to_par = "+1" |
CREATE TABLE table_name_67 (loss VARCHAR, score VARCHAR) | What game did they lose by 6 - 5? | SELECT loss FROM table_name_67 WHERE score = "6 - 5" |
CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR) | What is the original title of the film from years after 1985 from the UK? | SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk" |
CREATE TABLE table_name_93 (english_title VARCHAR, year VARCHAR, country VARCHAR) | What is the English title for years after 1981 originating from Argentina? | SELECT english_title FROM table_name_93 WHERE year > 1981 AND country = "argentina" |
CREATE TABLE table_name_68 (english_title VARCHAR, year VARCHAR, country VARCHAR) | What is the English title for 1984 from Sweden? | SELECT english_title FROM table_name_68 WHERE year = 1984 AND country = "sweden" |
CREATE TABLE table_name_19 (english_title VARCHAR, director VARCHAR) | What is the English title for the film directed by George Miller? | SELECT english_title FROM table_name_19 WHERE director = "george miller" |
CREATE TABLE table_name_3 (country VARCHAR, director VARCHAR) | What is the Country of origin for the film directed by George Miller? | SELECT country FROM table_name_3 WHERE director = "george miller" |
CREATE TABLE table_name_11 (gold INTEGER, nation VARCHAR, total VARCHAR) | How many golds for west germany with over 8 total? | SELECT MIN(gold) FROM table_name_11 WHERE nation = "west germany" AND total > 8 |
CREATE TABLE table_name_41 (gold INTEGER, bronze INTEGER) | How many golds for nations with under 1 bronze? | SELECT SUM(gold) FROM table_name_41 WHERE bronze < 1 |
CREATE TABLE table_name_56 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes? | SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "7" |
CREATE TABLE table_name_92 (city_of_license VARCHAR, founded VARCHAR) | Name the city of license when founded was may 1995 | SELECT city_of_license FROM table_name_92 WHERE founded = "may 1995" |
CREATE TABLE table_name_3 (city_of_license VARCHAR, founded VARCHAR) | Name the city of license for when founded is october 2010 | SELECT city_of_license FROM table_name_3 WHERE founded = "october 2010" |
CREATE TABLE table_name_25 (coverage_area VARCHAR, city_of_license VARCHAR) | Name the coverage area for licesne of hillsboro, west virginia | SELECT coverage_area FROM table_name_25 WHERE city_of_license = "hillsboro, west virginia" |
CREATE TABLE table_name_56 (city_of_license VARCHAR, age_watt VARCHAR) | Name the city of license which has age Watt of 160 watts | SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts" |
CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency VARCHAR) | Name the city of license with frequency of 103.5 mhz | SELECT city_of_license FROM table_name_80 WHERE frequency = "103.5 mhz" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.