answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT 2007 FROM table_name_84 WHERE 2011 = "1r" AND 2010 = "1r"
CREATE TABLE table_name_84 (Id VARCHAR)
What is the 2007 value with 1r in 2011 and 1r in 2010?
SELECT 2012 FROM table_name_13 WHERE 2010 = "1r" AND 2006 = "2r"
CREATE TABLE table_name_13 (Id VARCHAR)
What is the 2012 value with 1r in 2010 and 2r in 2006?
SELECT 2010 FROM table_name_28 WHERE tournament = "australian open"
CREATE TABLE table_name_28 (tournament VARCHAR)
What is the 2010 value for the Australian Open?
SELECT 2006 FROM table_name_68 WHERE 2009 = "a" AND 2011 = "a" AND 2007 = "a"
CREATE TABLE table_name_68 (Id VARCHAR)
What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value?
SELECT 2006 FROM table_name_8 WHERE 2007 = "3r"
CREATE TABLE table_name_8 (Id VARCHAR)
What is the 2006 value with 3r in 2007?
SELECT 2012 FROM table_name_22 WHERE 2008 = "479"
CREATE TABLE table_name_22 (Id VARCHAR)
What is the 2012 value with 479 in 2008?
SELECT builder FROM table_name_16 WHERE pennant = "r90"
CREATE TABLE table_name_16 (builder VARCHAR, pennant VARCHAR)
What is the building for the r90 pennant?
SELECT pennant FROM table_name_8 WHERE builder = "denny, dumbarton"
CREATE TABLE table_name_8 (pennant VARCHAR, builder VARCHAR)
What is the pennant with Denny, Dumbarton as the builder?
SELECT laid_down FROM table_name_37 WHERE pennant = "r29"
CREATE TABLE table_name_37 (laid_down VARCHAR, pennant VARCHAR)
What is the laid down date of the destroyer with a r29 pennant?
SELECT location___state FROM table_name_92 WHERE date = "16 jun"
CREATE TABLE table_name_92 (location___state VARCHAR, date VARCHAR)
What is the location/state of the race on 16 Jun?
SELECT MIN(heat) FROM table_name_65 WHERE race_title = "lakeside"
CREATE TABLE table_name_65 (heat INTEGER, race_title VARCHAR)
What is the lowest heat of the Lakeside race?
SELECT home_team FROM table_name_42 WHERE away_team = "footscray"
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
When the Away team is footscray, what is the Home team playing?
SELECT away_team FROM table_name_91 WHERE venue = "vfl park"
CREATE TABLE table_name_91 (away_team VARCHAR, venue VARCHAR)
Which Away team plays at the Venue vfl park?
SELECT MIN(week) FROM table_name_87 WHERE opponent = "washington redskins"
CREATE TABLE table_name_87 (week INTEGER, opponent VARCHAR)
Name the least week for opponent of washington redskins
SELECT tv_time FROM table_name_49 WHERE week = 10
CREATE TABLE table_name_49 (tv_time VARCHAR, week VARCHAR)
Name the tv time for week 10
SELECT time_retired FROM table_name_51 WHERE grid > 6 AND laps = 57
CREATE TABLE table_name_51 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
What is the Time/Retired for a Grid larger than 6, and 57 laps?
SELECT grid FROM table_name_12 WHERE driver = "denny hulme"
CREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR)
What grid for denny hulme?
SELECT COUNT(laps) FROM table_name_66 WHERE time_retired = "tyre" AND grid > 10
CREATE TABLE table_name_66 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
How many laps for a Time/Retired of tyre, and a Grid larger than 10?
SELECT outcomes FROM table_name_93 WHERE rocket_launch = "rehnuma-11"
CREATE TABLE table_name_93 (outcomes VARCHAR, rocket_launch VARCHAR)
What Outcome has a Rocket launch of rehnuma-11?
SELECT institutional_authority FROM table_name_67 WHERE rocket_launch = "rehnuma-10"
CREATE TABLE table_name_67 (institutional_authority VARCHAR, rocket_launch VARCHAR)
Which Institutional authority has a Rocket launch of rehnuma-10?
SELECT derivatives FROM table_name_57 WHERE launch_date = "july 15, 1970; 15:05 gmt"
CREATE TABLE table_name_57 (derivatives VARCHAR, launch_date VARCHAR)
Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt?
SELECT outcomes FROM table_name_32 WHERE launch_date = "march 18, 1964; 14:50 gmt"
CREATE TABLE table_name_32 (outcomes VARCHAR, launch_date VARCHAR)
Which Outcome has a Launch Date of march 18, 1964; 14:50 gmt?
SELECT mission FROM table_name_47 WHERE launch_date = "december 30, 1970; 14:50 gmt"
CREATE TABLE table_name_47 (mission VARCHAR, launch_date VARCHAR)
Which Mission has a Launch Date of december 30, 1970; 14:50 gmt?
SELECT visitor FROM table_name_72 WHERE date = "3/2"
CREATE TABLE table_name_72 (visitor VARCHAR, date VARCHAR)
What team was the visitor on 3/2?
SELECT home_team AS score FROM table_name_56 WHERE venue = "kardinia park"
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)
What is the home team score for kardinia park?
SELECT realization FROM table_name_5 WHERE phoneme = "/i/" AND example = "/idːa/"
CREATE TABLE table_name_5 (realization VARCHAR, phoneme VARCHAR, example VARCHAR)
Name the realization for phoneme of /i/ and example of /idːa/
SELECT phoneme FROM table_name_13 WHERE realization = "[Ιͺj]"
CREATE TABLE table_name_13 (phoneme VARCHAR, realization VARCHAR)
Name the phoneme for realizaiton of [Ιͺj]
SELECT example FROM table_name_46 WHERE environment = "#_x"
CREATE TABLE table_name_46 (example VARCHAR, environment VARCHAR)
Name the example when the environment is #_x
SELECT example FROM table_name_36 WHERE realization = "[ɐ]"
CREATE TABLE table_name_36 (example VARCHAR, realization VARCHAR)
Name the example when the realization is [ɐ]
SELECT phoneme FROM table_name_78 WHERE example = "/umsʁ/"
CREATE TABLE table_name_78 (phoneme VARCHAR, example VARCHAR)
Name the phoneme when the example is /umsʁ/
SELECT phoneme FROM table_name_16 WHERE realization = "[Ι‘]"
CREATE TABLE table_name_16 (phoneme VARCHAR, realization VARCHAR)
Name the phoneme when the realizationis [Ι‘]
SELECT power FROM table_name_84 WHERE engine_code = "m44b19"
CREATE TABLE table_name_84 (power VARCHAR, engine_code VARCHAR)
What is the power of the engine with an engine code m44b19?
SELECT MAX(grid) FROM table_name_80 WHERE driver = "piercarlo ghinzani" AND laps > 3
CREATE TABLE table_name_80 (grid INTEGER, driver VARCHAR, laps VARCHAR)
What is the highest numbered grid for piercarlo ghinzani with over 3 laps?
SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
How many laps for a grid of over 18 and retired due to electrical failure?
SELECT AVG(crowd) FROM table_name_36 WHERE venue = "junction oval"
CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR)
What was the average crowd attendance for the Junction Oval venue?
SELECT home_team FROM table_name_87 WHERE venue = "princes park"
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
What is the home team for the Princes Park venue?
SELECT home_team AS score FROM table_name_36 WHERE home_team = "footscray"
CREATE TABLE table_name_36 (home_team VARCHAR)
What is the average home team score for Footscray?
SELECT home_team FROM table_name_19 WHERE away_team = "geelong"
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
Which home teams had Geelong as the away team?
SELECT date FROM table_name_35 WHERE opponent = "giants" AND attendance > 24 OFFSET 100
CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)
When did the Rockies play the Giants with an attendance over 24,100?
SELECT date FROM table_name_91 WHERE record = "61–66"
CREATE TABLE table_name_91 (date VARCHAR, record VARCHAR)
What is the date of the game when the Rockies had a record of 61–66?
SELECT COUNT(seasons) FROM table_name_71 WHERE coach = "john mcfadden"
CREATE TABLE table_name_71 (seasons VARCHAR, coach VARCHAR)
How many seasons has John Mcfadden coached?
SELECT SUM(annual_ridership__2012_) FROM table_name_52 WHERE stations = 13 AND lines > 4
CREATE TABLE table_name_52 (annual_ridership__2012_ INTEGER, stations VARCHAR, lines VARCHAR)
What is the number of annual ridership with a station that has more than 13 stations and larger than 4 lines?
SELECT COUNT(lines) FROM table_name_44 WHERE stations < 44 AND rider_per_mile < 881
CREATE TABLE table_name_44 (lines VARCHAR, stations VARCHAR, rider_per_mile VARCHAR)
How many lines have fewer than 44 stations and fewer than 881 riders per mile?
SELECT MAX(season) FROM table_name_61 WHERE position = "7th"
CREATE TABLE table_name_61 (season INTEGER, position VARCHAR)
What is the highest season for the 7th position?
SELECT opponent_in_the_final FROM table_name_42 WHERE tournament = "blenheim"
CREATE TABLE table_name_42 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Who is the opponent in the final of the Tournament of Blenheim?
SELECT opponent_in_the_final FROM table_name_3 WHERE date = "august 14, 2006"
CREATE TABLE table_name_3 (opponent_in_the_final VARCHAR, date VARCHAR)
Who is the opponent in the final on August 14, 2006?
SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham"
CREATE TABLE table_name_20 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
Who is the opponent in the final with a clay surface at the Tournament of Lyneham?
SELECT surface FROM table_name_46 WHERE score = "6–2, 6–1"
CREATE TABLE table_name_46 (surface VARCHAR, score VARCHAR)
On what surface was the score 6–2, 6–1?
SELECT score FROM table_name_12 WHERE tournament = "cordenons"
CREATE TABLE table_name_12 (score VARCHAR, tournament VARCHAR)
What is the score for the Tournament of Cordenons?
SELECT date FROM table_name_28 WHERE surface = "clay" AND opponent_in_the_final = "cyril saulnier"
CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
On what date was the surface clay with Cyril Saulnier as the opponent in the final?
SELECT artist FROM table_name_9 WHERE mintage = 500
CREATE TABLE table_name_9 (artist VARCHAR, mintage VARCHAR)
Which artist has a Mintage of 500?
SELECT artist FROM table_name_20 WHERE issue_price = "$1,541.95"
CREATE TABLE table_name_20 (artist VARCHAR, issue_price VARCHAR)
Which Artist has an Issue Price of $1,541.95?
SELECT opponent_in_the_final FROM table_name_69 WHERE surface = "hard" AND score = "6–3 7–6(5)"
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)
Who is the opponent in the final on a hard surface with a score of 6–3 7–6(5)?
SELECT opponent_in_the_final FROM table_name_90 WHERE tournament = "lahore"
CREATE TABLE table_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Who is the opponent in the Tournament of Lahore final?
SELECT date FROM table_name_99 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass"
CREATE TABLE table_name_99 (date VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)
On what date did the opponent in the Toshiaki Sakai final play on a grass surface?
SELECT surface FROM table_name_78 WHERE tournament = "lahore" AND score = "4–6 6–3 6–4"
CREATE TABLE table_name_78 (surface VARCHAR, tournament VARCHAR, score VARCHAR)
On what surface did a score of 4–6 6–3 6–4 occur at the Tournament of Lahore?
SELECT tournament FROM table_name_73 WHERE opponent_in_the_final = "toshiaki sakai" AND surface = "grass"
CREATE TABLE table_name_73 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)
Which tournament had Toshiaki Sakai as an opponent in the final on a grass surface?
SELECT score FROM table_name_49 WHERE date = "may 15"
CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
what was the score on the game that happened on May 15?
SELECT status FROM table_name_8 WHERE country = "bel" AND transfer_window = "winter"
CREATE TABLE table_name_8 (status VARCHAR, country VARCHAR, transfer_window VARCHAR)
What is the status of bel with a Transfer window of winter?
SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr"
CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR)
What is the union moving name and is from cmr?
SELECT transfer_window FROM table_name_78 WHERE country = "bel"
CREATE TABLE table_name_78 (transfer_window VARCHAR, country VARCHAR)
What is the transfer window for bel?
SELECT transfer_window FROM table_name_16 WHERE name = "habarugira"
CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR)
What is the transfer period for habarugira?
SELECT crowd FROM table_name_76 WHERE away_team = "north melbourne"
CREATE TABLE table_name_76 (crowd VARCHAR, away_team VARCHAR)
How big was the crowd in game that featured the visiting team of north melbourne?
SELECT MAX(bronze) FROM table_name_79 WHERE total < 1
CREATE TABLE table_name_79 (bronze INTEGER, total INTEGER)
How many bronze medals for the nation with less than 1 total?
SELECT COUNT(bronze) FROM table_name_36 WHERE rank < 2 AND gold < 0
CREATE TABLE table_name_36 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)
How many bronze medals for the nation ranked above 2, and under 0 golds?
SELECT SUM(silver) FROM table_name_30 WHERE nation = "japan" AND gold > 1
CREATE TABLE table_name_30 (silver INTEGER, nation VARCHAR, gold VARCHAR)
How many silvers for japan (1 gold)?
SELECT authority FROM table_name_18 WHERE roll = 651
CREATE TABLE table_name_18 (authority VARCHAR, roll VARCHAR)
Which authority had a role of 651?
SELECT MIN(decile) FROM table_name_79 WHERE roll = 651
CREATE TABLE table_name_79 (decile INTEGER, roll VARCHAR)
For the roll of 651, what was the lowest Decile?
SELECT years FROM table_name_1 WHERE authority = "state" AND name = "redhill school"
CREATE TABLE table_name_1 (years VARCHAR, authority VARCHAR, name VARCHAR)
What were the years for Redhill school, authority of state?
SELECT SUM(roll) FROM table_name_53 WHERE area = "karaka"
CREATE TABLE table_name_53 (roll INTEGER, area VARCHAR)
What was the sum roll of Karaka area?
SELECT home_team FROM table_name_50 WHERE away_team = "north melbourne"
CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)
What home team played North Melbourne?
SELECT nationality FROM table_name_41 WHERE round > 4 AND position = "right wing"
CREATE TABLE table_name_41 (nationality VARCHAR, round VARCHAR, position VARCHAR)
What is the nationality of the player with a round after 4 and plays right wing?
SELECT college_junior_club_team__league_ FROM table_name_62 WHERE position = "left wing" AND player = "ondrej roman"
CREATE TABLE table_name_62 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
What is the college/junior/club team (league) of left wing Ondrej Roman?
SELECT away_team FROM table_name_69 WHERE venue = "lake oval"
CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR)
Who played in lake oval while away?
SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"
CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)
What week number saw a w 31-16 result?
SELECT date FROM table_name_44 WHERE week < 8 AND result = "bye"
CREATE TABLE table_name_44 (date VARCHAR, week VARCHAR, result VARCHAR)
When was the game before week 8 with a result of bye?
SELECT COUNT(week) FROM table_name_21 WHERE opponent = "new york giants"
CREATE TABLE table_name_21 (week VARCHAR, opponent VARCHAR)
What week number had the New York Giants as opponent?
SELECT constructor FROM table_name_94 WHERE grid < 6 AND laps < 49
CREATE TABLE table_name_94 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
Who built the under grid 6 car with under 49 laps?
SELECT constructor FROM table_name_40 WHERE grid = 2
CREATE TABLE table_name_40 (constructor VARCHAR, grid VARCHAR)
Who built the grid 2 car?
SELECT constructor FROM table_name_7 WHERE laps < 65 AND time_retired = "suspension"
CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
Who built the car that retired due to suspension before 65 laps?
SELECT valley_vista FROM table_name_39 WHERE dysart = "1668"
CREATE TABLE table_name_39 (valley_vista VARCHAR, dysart VARCHAR)
What Valley Vista has a Dysart of 1668?
SELECT valley_vista FROM table_name_47 WHERE willow_canyon = "2169"
CREATE TABLE table_name_47 (valley_vista VARCHAR, willow_canyon VARCHAR)
What Valley Vista has a Willow Canyon of 2169?
SELECT crowd FROM table_name_2 WHERE venue = "lake oval"
CREATE TABLE table_name_2 (crowd VARCHAR, venue VARCHAR)
How many people were in the crowd at Lake Oval?
SELECT home_team FROM table_name_88 WHERE date = "27 june 1981" AND venue = "vfl park"
CREATE TABLE table_name_88 (home_team VARCHAR, date VARCHAR, venue VARCHAR)
What team was the home team on 27 june 1981, at vfl park?
SELECT tyre FROM table_name_99 WHERE chassis = "56"
CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)
What is the tyre with a 56 chassis?
SELECT country FROM table_name_20 WHERE gdp__nominal_ = "$29.9 billion"
CREATE TABLE table_name_20 (country VARCHAR, gdp__nominal_ VARCHAR)
Which country has a GDP (nominal) of $29.9 billion?
SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion"
CREATE TABLE table_name_46 (country VARCHAR, gdp__nominal_ VARCHAR)
Which country has a GDP (nominal) of $29.9 billion?
SELECT gdp__nominal_ FROM table_name_98 WHERE population = "5,550,239"
CREATE TABLE table_name_98 (gdp__nominal_ VARCHAR, population VARCHAR)
Which GDP (nominal) has a Population of 5,550,239?
SELECT population FROM table_name_63 WHERE gdp__nominal_ = "$6.4 billion"
CREATE TABLE table_name_63 (population VARCHAR, gdp__nominal_ VARCHAR)
Which population has a GDP (nominal) of $6.4 billion?
SELECT country FROM table_name_30 WHERE gdp__nominal_ = "$29.9 billion"
CREATE TABLE table_name_30 (country VARCHAR, gdp__nominal_ VARCHAR)
Which country has a GDP (nominal) of $29.9 billion?
SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693"
CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)
What is the GDP (nominal) with Population of 5,125,693?
SELECT MIN(year) FROM table_name_79 WHERE points = 9
CREATE TABLE table_name_79 (year INTEGER, points VARCHAR)
What is the earliest year for 9 points?
SELECT MIN(points) FROM table_name_90 WHERE chassis = "jaguar r3"
CREATE TABLE table_name_90 (points INTEGER, chassis VARCHAR)
What is the low score for the jaguar r3 chasis?
SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)"
CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)
What is the notes when the displacement is 220cid (3,604cc)?
SELECT engine FROM table_name_91 WHERE notes = "srt8"
CREATE TABLE table_name_91 (engine VARCHAR, notes VARCHAR)
What is then engine when the notes state srt8?
SELECT power FROM table_name_43 WHERE displacement = "182cid (2,988cc)" AND notes = "eu spec"
CREATE TABLE table_name_43 (power VARCHAR, displacement VARCHAR, notes VARCHAR)
What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
SELECT engine FROM table_name_52 WHERE years = "2012-"
CREATE TABLE table_name_52 (engine VARCHAR, years VARCHAR)
What is the engine for year 2012-?
SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7"
CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR)
What is the record of the match with Columbus as the home team on March 7?
SELECT record FROM table_name_20 WHERE date = "march 18"
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
What is the record of the game on March 18?
SELECT height FROM table_name_72 WHERE college = "wyoming" AND name = "guy frazier"
CREATE TABLE table_name_72 (height VARCHAR, college VARCHAR, name VARCHAR)
Which height has a College of wyoming, and a Name of guy frazier?