question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
Where did Hawthorn play as the away team?
SELECT venue FROM table_name_89 WHERE away_team = "hawthorn"
CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)
What was the U.S birthstone in 1912 when in 2013 the birthstone was amethyst?
SELECT us__1912_ FROM table_name_34 WHERE us__2013_ = "amethyst"
CREATE TABLE table_name_34 (us__1912_ VARCHAR, us__2013_ VARCHAR)
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?
SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)
What is the toll for light vehicles at the plaza between bela bela and modimolle?
SELECT light_vehicle FROM table_1211545_2 WHERE location = "between Bela Bela and Modimolle"
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, location VARCHAR)
Week that has a Date of december 5, 1959 had what week?
SELECT week FROM table_name_4 WHERE date = "december 5, 1959"
CREATE TABLE table_name_4 (week VARCHAR, date VARCHAR)
What is the total number of area listed for cannonvale with a population less than 409?
SELECT COUNT(area__km_2__) FROM table_name_96 WHERE population < 409 AND place = "cannonvale"
CREATE TABLE table_name_96 (area__km_2__ VARCHAR, population VARCHAR, place VARCHAR)
What is the Tier when the runner-up is chanda rubin caroline vis?
SELECT tier FROM table_name_95 WHERE runner_up = "chanda rubin caroline vis"
CREATE TABLE table_name_95 (tier VARCHAR, runner_up VARCHAR)
What year were the opponents Shingo Kunieda Satoshi Saida?
SELECT MIN(year) FROM table_name_22 WHERE opponents_in_final = "shingo kunieda satoshi saida"
CREATE TABLE table_name_22 (year INTEGER, opponents_in_final VARCHAR)
Which Diameter has a Year of Issue of 1977?
SELECT diameter FROM table_name_28 WHERE year_of_issue = 1977
CREATE TABLE table_name_28 (diameter VARCHAR, year_of_issue VARCHAR)
Name the represents for 1.76 cm
SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76"
CREATE TABLE table_26301697_2 (represents VARCHAR, height__cm_ VARCHAR)
Where was the race on 28 dec 2010 held?
SELECT location FROM table_name_69 WHERE date = "28 dec 2010"
CREATE TABLE table_name_69 (location VARCHAR, date VARCHAR)
What was the attendance at the Footscray away game?
SELECT crowd FROM table_name_19 WHERE away_team = "footscray"
CREATE TABLE table_name_19 (crowd VARCHAR, away_team VARCHAR)
What ranking is the Battersea Power Station?
SELECT rank FROM table_name_86 WHERE name = "battersea power station"
CREATE TABLE table_name_86 (rank VARCHAR, name VARCHAR)
What is the year First elected when the Member is John Armitage?
SELECT first_elected FROM table_name_6 WHERE member = "john armitage"
CREATE TABLE table_name_6 (first_elected VARCHAR, member VARCHAR)
What is the production number of 3-04?
SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04"
CREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR)
Name the total number of attendance when the cavaliers visited
SELECT COUNT(attendance) FROM table_name_84 WHERE visitor = "cavaliers"
CREATE TABLE table_name_84 (attendance VARCHAR, visitor VARCHAR)
What is the population density for the city of lubang?
SELECT COUNT(pop_density__per_km²_) FROM table_261951_1 WHERE municipality = "Lubang"
CREATE TABLE table_261951_1 (pop_density__per_km²_ VARCHAR, municipality VARCHAR)
What is the lowest overall amount of assists?
SELECT MIN(assists) FROM table_25016555_5
CREATE TABLE table_25016555_5 (assists INTEGER)
How many faculty members participate in an activity?
SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in
CREATE TABLE Faculty_participates_in (FacID VARCHAR)
What is the average number of goals with 21 games for a debut round less than 1?
SELECT AVG(goals__2008_) FROM table_name_47 WHERE games__2008_ = 21 AND debut_round < 1
CREATE TABLE table_name_47 (goals__2008_ INTEGER, games__2008_ VARCHAR, debut_round VARCHAR)
Who had the high assists in the game less than 19?
SELECT high_assists FROM table_name_5 WHERE game < 19
CREATE TABLE table_name_5 (high_assists VARCHAR, game INTEGER)
What year gave a nominated result for the room 222 series?
SELECT COUNT(year) FROM table_name_66 WHERE result = "nominated" AND series = "room 222"
CREATE TABLE table_name_66 (year VARCHAR, result VARCHAR, series VARCHAR)
What is Jillian Evans highest number of seats?
SELECT MAX(number_of_seats) FROM table_name_45 WHERE leader = "jillian evans"
CREATE TABLE table_name_45 (number_of_seats INTEGER, leader VARCHAR)
What bore goes with an 18 AB?
SELECT bore FROM table_name_9 WHERE name = "18 ab"
CREATE TABLE table_name_9 (bore VARCHAR, name VARCHAR)
What Pastoral Region has 3 Cemeteries?
SELECT pastoral_region FROM table_name_57 WHERE cemeteries = 3
CREATE TABLE table_name_57 (pastoral_region VARCHAR, cemeteries VARCHAR)
What is the record for the game when the Dallas Mavericks was the home team?
SELECT record FROM table_name_24 WHERE home = "dallas mavericks"
CREATE TABLE table_name_24 (record VARCHAR, home VARCHAR)
What's the season number of the episode viewed by 3.19 million people in the US?
SELECT MAX(no_in_season) FROM table_18268826_1 WHERE us_viewers__million_ = "3.19"
CREATE TABLE table_18268826_1 (no_in_season INTEGER, us_viewers__million_ VARCHAR)
Which Platforms have a Hazmat of –, and a Type of urban & rural, and a Brigade of lara?
SELECT platforms FROM table_name_38 WHERE hazmat = "–" AND type = "urban & rural" AND brigade = "lara"
CREATE TABLE table_name_38 (platforms VARCHAR, brigade VARCHAR, hazmat VARCHAR, type VARCHAR)
Which Draws have Losses smaller than 16, and a Team of university, and Wins larger than 0?
SELECT AVG(draws) FROM table_name_38 WHERE losses < 16 AND team = "university" AND wins > 0
CREATE TABLE table_name_38 (draws INTEGER, wins VARCHAR, losses VARCHAR, team VARCHAR)
What is the round on 26 August 1995?
SELECT round FROM table_name_52 WHERE date = "26 august 1995"
CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
Which shirt sponser has Nike as a kit manufacturer?
SELECT shirt_sponsor FROM table_name_68 WHERE kit_manufacturer = "nike"
CREATE TABLE table_name_68 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
How many million U.S. viewers watched the episode with the production code 3x6004?
SELECT us_viewers__million_ FROM table_26464364_1 WHERE production_code = "3X6004"
CREATE TABLE table_26464364_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
What percentage of wins has 48 losses?
SELECT win__percentage FROM table_name_4 WHERE losses = "48"
CREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR)
If the region is the Southern district of Texas, what is the citation?
SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas"
CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR)
Which rank took place prior to 2000 when the bike was bsl?
SELECT rank FROM table_name_71 WHERE year < 2000 AND bike = "bsl"
CREATE TABLE table_name_71 (rank VARCHAR, year VARCHAR, bike VARCHAR)
Which party belongs to district 41, and is delegated by Jill P. Carter?
SELECT party FROM table_name_61 WHERE district = 41 AND delegate = "jill p. carter"
CREATE TABLE table_name_61 (party VARCHAR, district VARCHAR, delegate VARCHAR)
Which venue was used on 10 september 2010?
SELECT venue FROM table_name_28 WHERE date = "10 september 2010"
CREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR)
What soap opera was on 1960–1965, 1965–1983, 1984–2010?
SELECT soap_opera FROM table_name_33 WHERE years = "1960–1965, 1965–1983, 1984–2010"
CREATE TABLE table_name_33 (soap_opera VARCHAR, years VARCHAR)
What is Target Version, when License is LGPL or MPL?
SELECT target_version FROM table_name_68 WHERE license = "lgpl or mpl"
CREATE TABLE table_name_68 (target_version VARCHAR, license VARCHAR)
what is the venue when the competition is 1996 afc asian cup group stage?
SELECT venue FROM table_name_66 WHERE competition = "1996 afc asian cup group stage"
CREATE TABLE table_name_66 (venue VARCHAR, competition VARCHAR)
Incumbent John Sullivan has what as biggest first elected?
SELECT MAX(first_elected) FROM table_name_71 WHERE incumbent = "john sullivan"
CREATE TABLE table_name_71 (first_elected INTEGER, incumbent VARCHAR)
What score has vancouver as the home, and february 16 as the date?
SELECT score FROM table_name_81 WHERE home = "vancouver" AND date = "february 16"
CREATE TABLE table_name_81 (score VARCHAR, home VARCHAR, date VARCHAR)
What kind of Episode Number has a Air Date on 29 june 2007?
SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007"
CREATE TABLE table_name_41 (episode_number INTEGER, air_date VARCHAR)
What is the cardinal direction associated with Venus?
SELECT cardinal_direction FROM table_14850099_18 WHERE planet = "Venus"
CREATE TABLE table_14850099_18 (cardinal_direction VARCHAR, planet VARCHAR)
Name the volume line for number 8
SELECT volume_line FROM table_19534677_1 WHERE _number = 8
CREATE TABLE table_19534677_1 (volume_line VARCHAR, _number VARCHAR)
How many bronzes associated with over 0 total medals, 3 golds, and over 6 games?
SELECT AVG(bronze) FROM table_name_9 WHERE total > 0 AND gold = 3 AND games > 6
CREATE TABLE table_name_9 (bronze INTEGER, games VARCHAR, total VARCHAR, gold VARCHAR)
For which play was the points 271?
SELECT played FROM table_name_74 WHERE points_against = "271"
CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR)
What was the result in round qf?
SELECT result FROM table_name_56 WHERE round = "qf"
CREATE TABLE table_name_56 (result VARCHAR, round VARCHAR)
How many against points for 16 matches?
SELECT points_against FROM table_name_38 WHERE matches = "16"
CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR)
How many artists do we have?
SELECT COUNT(*) FROM artist
CREATE TABLE artist (Id VARCHAR)
Which Combined elapsed time has a Skipper of stephen wilkins?
SELECT combined_elapsed_time FROM table_name_17 WHERE skipper = "stephen wilkins"
CREATE TABLE table_name_17 (combined_elapsed_time VARCHAR, skipper VARCHAR)
Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer?
SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer"
CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR)
How many touchdowns did the player with 10 points have?
SELECT MIN(touchdowns) FROM table_25730326_2 WHERE points = 10
CREATE TABLE table_25730326_2 (touchdowns INTEGER, points VARCHAR)
Name the scores for chris ramsey and carol vorderman
SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman"
CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR)
What is the score of the game on June 9?
SELECT score FROM table_name_75 WHERE date = "june 9"
CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR)
Who was the 3rd performer when christopher smith was the 2nd performer?
SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith"
CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)
What team finished in 4th place in 2007?
SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007
CREATE TABLE table_2388763_1 (year VARCHAR)
Which Game has a Streak of loss 1, and a Score of 110–111?
SELECT game FROM table_name_80 WHERE streak = "loss 1" AND score = "110–111"
CREATE TABLE table_name_80 (game VARCHAR, streak VARCHAR, score VARCHAR)
Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35?
SELECT AVG(position) FROM table_name_90 WHERE goals_against < 59 AND goals_for > 32 AND draws > 9 AND points > 35
CREATE TABLE table_name_90 (position INTEGER, points VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
What order year has a 30 Length (ft.) and 05.505 model?
SELECT order_year FROM table_name_86 WHERE length__ft_ = "30" AND model = "05.505"
CREATE TABLE table_name_86 (order_year VARCHAR, length__ft_ VARCHAR, model VARCHAR)
What are the examples for the Australian æ?
SELECT examples FROM table_name_51 WHERE australian = "æ"
CREATE TABLE table_name_51 (examples VARCHAR, australian VARCHAR)
what is the united fc wehre pifa colaba is maratha united?
SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Maratha United"
CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR)
what is the total 07-08 gp/jgp 2nd with the name mao asada
SELECT 07 AS _08_gp_jgp_2nd FROM table_23938357_5 WHERE name = "Mao Asada"
CREATE TABLE table_23938357_5 (name VARCHAR)
Band of am, and a Callsign of 6wh has what purpose?
SELECT purpose FROM table_name_71 WHERE band = "am" AND callsign = "6wh"
CREATE TABLE table_name_71 (purpose VARCHAR, band VARCHAR, callsign VARCHAR)
what were his points when he was in 8th position?
SELECT points FROM table_24998088_1 WHERE position = "8th"
CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR)
Who was the father of the person born in 1363?
SELECT father FROM table_name_97 WHERE birth = "1363"
CREATE TABLE table_name_97 (father VARCHAR, birth VARCHAR)
Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?
SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives"
CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)
In which game number was Chris Andersen (12) the high rebounds scorer?
SELECT game FROM table_name_48 WHERE high_rebounds = "chris andersen (12)"
CREATE TABLE table_name_48 (game VARCHAR, high_rebounds VARCHAR)
What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"
CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?
SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1
CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
what is the location on november 23?
SELECT location FROM table_name_58 WHERE date = "november 23"
CREATE TABLE table_name_58 (location VARCHAR, date VARCHAR)
What player is a cornerback?
SELECT player FROM table_name_57 WHERE position = "cornerback"
CREATE TABLE table_name_57 (player VARCHAR, position VARCHAR)
what is the school for chris mcnamara?
SELECT last_school_college FROM table_29598261_1 WHERE name = "Chris McNamara"
CREATE TABLE table_29598261_1 (last_school_college VARCHAR, name VARCHAR)
Which Score has a Series of flyers lead 3–2?
SELECT score FROM table_name_17 WHERE series = "flyers lead 3–2"
CREATE TABLE table_name_17 (score VARCHAR, series VARCHAR)
What CFL team did Kelly Bates play for?
SELECT cfl_team FROM table_name_32 WHERE player = "kelly bates"
CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR)
What is the To par for the player that won in 2003, with a total larger than 145?
SELECT COUNT(to_par) FROM table_name_65 WHERE year_s__won = "2003" AND total > 145
CREATE TABLE table_name_65 (to_par VARCHAR, year_s__won VARCHAR, total VARCHAR)
What original vehicle has uwhvt homepage architecture?
SELECT original_vehicle FROM table_name_76 WHERE architecture = "uwhvt homepage"
CREATE TABLE table_name_76 (original_vehicle VARCHAR, architecture VARCHAR)
What is the percentage of La Canada Flintridge when Tujunga is 7%?
SELECT la_cañada_flintridge FROM table_name_58 WHERE tujunga = "7%"
CREATE TABLE table_name_58 (la_cañada_flintridge VARCHAR, tujunga VARCHAR)
When the seq is 41, what is the ability to compromise?
SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41"
CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)
What park is Boardwalk Bullet located in?
SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet"
CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)
Which first round has a first team of angers sco (d1)?
SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)"
CREATE TABLE table_name_90 (team_1 VARCHAR)
How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917?
SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917
CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR)
Which Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867?
SELECT type FROM table_name_46 WHERE date < 1943 AND builder = "alco schenectady" AND number > 822 AND works_number = 59867
CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)
Who is the builder of Pennant d03?
SELECT builder FROM table_name_43 WHERE pennant_number = "d03"
CREATE TABLE table_name_43 (builder VARCHAR, pennant_number VARCHAR)
What is the score for the away team of Grimsby Town?
SELECT score FROM table_name_41 WHERE away_team = "grimsby town"
CREATE TABLE table_name_41 (score VARCHAR, away_team VARCHAR)
What date did the episode air that had n/a for it's bbc three weekly ranking?
SELECT airdate FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "N/A"
CREATE TABLE table_24399615_4 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR)
What driving wheels are on the m1 original NER class?
SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1"
CREATE TABLE table_name_8 (driving_wheels VARCHAR, original_ner_class VARCHAR)
What is the top lap that had a tyre time?
SELECT MAX(laps) FROM table_name_31 WHERE time_retired = "tyre"
CREATE TABLE table_name_31 (laps INTEGER, time_retired VARCHAR)
What was the title in 1996?
SELECT title FROM table_name_26 WHERE year = "1996"
CREATE TABLE table_name_26 (title VARCHAR, year VARCHAR)
Which dates of polls occur in the Mizoram state?
SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram"
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR)
what is the city for the country of netherlands?
SELECT city FROM table_name_96 WHERE country = "netherlands"
CREATE TABLE table_name_96 (city VARCHAR, country VARCHAR)
Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film?
SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa"
CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR)
What is the data point for s hindu where the buddhist data point is 73.0%?
SELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = "73.0%"
CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR)
What is the average quantity for coaches manufactured in 1921/23, and had 40 seats?
SELECT AVG(quantity) FROM table_name_87 WHERE year_s__of_manufacture = "1921/23" AND seats = "40"
CREATE TABLE table_name_87 (quantity INTEGER, year_s__of_manufacture VARCHAR, seats VARCHAR)
Which Avg/G has a Long of 93, and a Loss smaller than 249?
SELECT SUM(avg_g) FROM table_name_71 WHERE long = 93 AND loss < 249
CREATE TABLE table_name_71 (avg_g INTEGER, long VARCHAR, loss VARCHAR)
How many Drawn does the team Portuguesa Santista have?
SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista"
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR)
What was Fitzroy score at their home stadium?
SELECT home_team AS score FROM table_name_25 WHERE home_team = "fitzroy"
CREATE TABLE table_name_25 (home_team VARCHAR)
What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant?
SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant"
CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)
When the mark is 7.35, what's the lowest Lane found?
SELECT MIN(lane) FROM table_name_32 WHERE mark = "7.35"
CREATE TABLE table_name_32 (lane INTEGER, mark VARCHAR)
Which district has both stores with less than 3000 products and stores with more than 10000 products?
SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000
CREATE TABLE shop (district VARCHAR, Number_products INTEGER)