question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is Surface, when Championship is Australian Open?
CREATE TABLE table_name_49 (surface VARCHAR, championship VARCHAR)
SELECT surface FROM table_name_49 WHERE championship = "australian open"
What was Riccardo Patrese's time/retired?
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_44 WHERE driver = "riccardo patrese"
who is playing for when the opponent is deportes savio and the date is 2010-03-11?
CREATE TABLE table_name_95 (playing_for VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT playing_for FROM table_name_95 WHERE opponent = "deportes savio" AND date = "2010-03-11"
What writers are associated with a viewing figure of 7.01 million?
CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR)
SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million"
After the year 2008.0, who played for Maryland the same year M.O.T. LL Middletown played in Delaware?
CREATE TABLE table_13012165_1 (maryland VARCHAR, delaware VARCHAR, year VARCHAR)
SELECT maryland FROM table_13012165_1 WHERE delaware = "M.O.T. LL Middletown" AND year > 2008.0
Who was the home team when FK kom were the guests?
CREATE TABLE table_name_84 (home VARCHAR, guest VARCHAR)
SELECT home FROM table_name_84 WHERE guest = "fk kom"
What city had a score of 20 in aigburth after 1907?
CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND venue = "aigburth"
What was the class when there were 325 laps?
CREATE TABLE table_name_32 (class VARCHAR, laps VARCHAR)
SELECT class FROM table_name_32 WHERE laps = 325
What week number was the kickoff time cbs 1:00pm, with 60,473 people in attendance?
CREATE TABLE table_name_12 (week VARCHAR, kickoff_time VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_12 WHERE kickoff_time = "cbs 1:00pm" AND attendance = "60,473"
Which team has the location attendance of American Airlines Center 19954?
CREATE TABLE table_23285805_8 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_23285805_8 WHERE location_attendance = "American Airlines Center 19954"
What is the complete description of the researcher role.
CREATE TABLE Staff_Roles (role_description VARCHAR, role_code VARCHAR)
SELECT role_description FROM Staff_Roles WHERE role_code = 'researcher'
What round did the match go to when tko (cut) was the method?
CREATE TABLE table_name_24 (round VARCHAR, method VARCHAR)
SELECT round FROM table_name_24 WHERE method = "tko (cut)"
What player costs £210k to transfer?
CREATE TABLE table_name_92 (name VARCHAR, transfer_fee VARCHAR)
SELECT name FROM table_name_92 WHERE transfer_fee = "£210k"
How many places have bianka panova as the name, with clubs less than 10?
CREATE TABLE table_name_84 (place VARCHAR, name VARCHAR, clubs VARCHAR)
SELECT COUNT(place) FROM table_name_84 WHERE name = "bianka panova" AND clubs < 10
Name the avg start for avg finish of 18.3
CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)
SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3"
What's the series number of the episode seen by 9.35 million people in the US?
CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
SELECT MIN(no_in_series) FROM table_19401346_1 WHERE us_viewers__millions_ = "9.35"
what is the highest grid when the time/retired is fuel pump and the laps is more than 26?
CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_95 WHERE time_retired = "fuel pump" AND laps > 26
Which recording has a Track larger than 2, and a Translation of the last meal?
CREATE TABLE table_name_31 (recorded VARCHAR, track VARCHAR, translation VARCHAR)
SELECT recorded FROM table_name_31 WHERE track > 2 AND translation = "the last meal"
What is the shape distortion for the range frequency of 10?
CREATE TABLE table_27615520_1 (form_factor VARCHAR, bandwidth__gb_s_ VARCHAR)
SELECT form_factor FROM table_27615520_1 WHERE bandwidth__gb_s_ = "10"
What country has a television service with Cartello Promozionale sky hd?
CREATE TABLE table_name_95 (country VARCHAR, television_service VARCHAR)
SELECT country FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"
Name the school for Season Outcome of loss in first round of div. i playoffs
CREATE TABLE table_name_73 (school VARCHAR, season_outcome VARCHAR)
SELECT school FROM table_name_73 WHERE season_outcome = "loss in first round of div. i playoffs"
what's the success where deadline for completion is october 7, 2007
CREATE TABLE table_12078626_1 (success VARCHAR, deadline_for_completion VARCHAR)
SELECT success FROM table_12078626_1 WHERE deadline_for_completion = "October 7, 2007"
What was the grid for rider Russell Holland, riding a Honda CBR1000rr?
CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR)
SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
Which is the total number in the 2010 Census in Oconee County where the area in square miles was less than 674?
CREATE TABLE table_name_9 (county VARCHAR, area__sq_mi_ VARCHAR)
SELECT SUM(2010 AS _census_population) FROM table_name_9 WHERE county = "oconee county" AND area__sq_mi_ < 674
What is the latest year for the distinguished performance?
CREATE TABLE table_name_70 (year INTEGER, category VARCHAR)
SELECT MAX(year) FROM table_name_70 WHERE category = "distinguished performance"
What is the lowest total when the nation is Sweden?
CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR)
SELECT MIN(total) FROM table_name_23 WHERE nation = "sweden"
Name the national rank for medical university of south carolina
CREATE TABLE table_27956_3 (national_rank VARCHAR, institution VARCHAR)
SELECT national_rank FROM table_27956_3 WHERE institution = "Medical University of South Carolina"
Who is the opponent for the 2011 season with a decision of W?
CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR)
SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011"
What was the first year that the artist of every little thing ranked lower than 10?
CREATE TABLE table_name_56 (year INTEGER, artist VARCHAR, rank VARCHAR)
SELECT MIN(year) FROM table_name_56 WHERE artist = "every little thing" AND rank < 10
Which Ofsted has a School of marple hall school, and a Capacity larger than 1711?
CREATE TABLE table_name_63 (ofsted INTEGER, school VARCHAR, capacity VARCHAR)
SELECT MIN(ofsted) FROM table_name_63 WHERE school = "marple hall school" AND capacity > 1711
What venue has an extra of 45.08 S?
CREATE TABLE table_name_85 (venue VARCHAR, extra VARCHAR)
SELECT venue FROM table_name_85 WHERE extra = "45.08 s"
What surface has 2 as a cage dive?
CREATE TABLE table_name_5 (surface VARCHAR, cage_dive VARCHAR)
SELECT surface FROM table_name_5 WHERE cage_dive = "2"
Where did the Oakland Raiders play in week 12 of their 1976 season?
CREATE TABLE table_name_90 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_90 WHERE week = 12
What is the earliest week that shows a record of 8–5?
CREATE TABLE table_name_40 (week INTEGER, record VARCHAR)
SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"
What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29?
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, gap_from_thailand_as_of_1980__times_ VARCHAR)
SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "0.29"
How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league?
CREATE TABLE table_name_87 (new_entries_this_round VARCHAR, leagues_entering_at_this_round VARCHAR)
SELECT new_entries_this_round FROM table_name_87 WHERE leagues_entering_at_this_round = "tff third league & turkish regional amateur league"
What is the home team where the San Jose state is the visiting team?
CREATE TABLE table_26842217_4 (home_team VARCHAR, visiting_team VARCHAR)
SELECT home_team FROM table_26842217_4 WHERE visiting_team = "San Jose State"
During the 2013 debut, what is the w-I(total) number?
CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR)
SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013
Which Away team has a Venue of arden street oval?
CREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"
When was the record 17-17?
CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_31 WHERE record = "17-17"
What team won when the race time was 3:12:30?
CREATE TABLE table_2175685_1 (team VARCHAR, race_time VARCHAR)
SELECT team FROM table_2175685_1 WHERE race_time = "3:12:30"
Name the Date which has a Oil Pattern of chameleon, and a Event of lake county indiana classic?
CREATE TABLE table_name_51 (date VARCHAR, oil_pattern VARCHAR, event VARCHAR)
SELECT date FROM table_name_51 WHERE oil_pattern = "chameleon" AND event = "lake county indiana classic"
what is the rank when the heat is more than 4?
CREATE TABLE table_name_66 (rank INTEGER, heat INTEGER)
SELECT SUM(rank) FROM table_name_66 WHERE heat > 4
What is the phonetic when the standard thai is ผ่า?
CREATE TABLE table_name_88 (phonetic VARCHAR, standard_thai VARCHAR)
SELECT phonetic FROM table_name_88 WHERE standard_thai = "ผ่า"
What are the mixed doubles where the mens singles is kim brodersen?
CREATE TABLE table_12186309_1 (mixed_doubles VARCHAR, mens_singles VARCHAR)
SELECT mixed_doubles FROM table_12186309_1 WHERE mens_singles = "Kim Brodersen"
Record of 6–8 had what attendance?
CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_33 WHERE record = "6–8"
What was the score of the game that was played on a grass surface?
CREATE TABLE table_name_24 (score VARCHAR, surface VARCHAR)
SELECT score FROM table_name_24 WHERE surface = "grass"
Which game had an attendance of 56,271?
CREATE TABLE table_name_12 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_12 WHERE attendance = "56,271"
Total for 1994, 1997 years won?
CREATE TABLE table_name_33 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_33 WHERE year_s__won = "1994, 1997"
Name the report with cuban race
CREATE TABLE table_name_16 (report VARCHAR, name VARCHAR)
SELECT report FROM table_name_16 WHERE name = "cuban race"
How many draft picks are there at the linebacker position?
CREATE TABLE table_16729063_1 (pick__number VARCHAR, position VARCHAR)
SELECT COUNT(pick__number) FROM table_16729063_1 WHERE position = "Linebacker"
Which Away team has a Score of 0–3?
CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_4 WHERE score = "0–3"
Which graphics spec has a VRAM spec of 512MB?
CREATE TABLE table_name_43 (graphics VARCHAR, vram VARCHAR)
SELECT graphics FROM table_name_43 WHERE vram = "512mb"
What is the winning span of the name martin kaymer?
CREATE TABLE table_1953516_1 (winning_span VARCHAR, name VARCHAR)
SELECT winning_span FROM table_1953516_1 WHERE name = "Martin Kaymer"
What were the candidates in the district that first elected in 1980?
CREATE TABLE table_1341453_34 (candidates VARCHAR, first_elected VARCHAR)
SELECT candidates FROM table_1341453_34 WHERE first_elected = "1980"
Find all the result(s) with the record of 2-13.
CREATE TABLE table_11449311_2 (result VARCHAR, record VARCHAR)
SELECT result FROM table_11449311_2 WHERE record = "2-13"
What is the nickname at the University of Nebraska at Omaha?
CREATE TABLE table_26476336_2 (team_nickname VARCHAR, institution VARCHAR)
SELECT team_nickname FROM table_26476336_2 WHERE institution = "University of Nebraska at Omaha"
Name the jury of 10 points
CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR)
SELECT professional_jury FROM table_14977252_2 WHERE points = 10
What is the average Year with Chassis equalling cooper t60?
CREATE TABLE table_name_49 (year INTEGER, chassis VARCHAR)
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60"
Who is the high rebound where game is 5?
CREATE TABLE table_27723526_17 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_27723526_17 WHERE game = 5
Who was the away team during the game when the home team was the new zealand breakers?
CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_36 WHERE home_team = "new zealand breakers"
What's the total draws when the losses are less than 10, less than 2 byes, and 13 wins?
CREATE TABLE table_name_39 (draws VARCHAR, byes VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT COUNT(draws) FROM table_name_39 WHERE losses < 10 AND wins = 13 AND byes < 2
What is Name, when Venue is "Hong Kong"?
CREATE TABLE table_name_15 (name VARCHAR, venue VARCHAR)
SELECT name FROM table_name_15 WHERE venue = "hong kong"
What is Games, when Points is less than 340, and when Rank is greater than 3?
CREATE TABLE table_name_89 (games VARCHAR, points VARCHAR, rank VARCHAR)
SELECT games FROM table_name_89 WHERE points < 340 AND rank > 3
What was the lowest postion of ehc straubing ii when they played less than 10 games?
CREATE TABLE table_name_70 (position INTEGER, name VARCHAR, played VARCHAR)
SELECT MIN(position) FROM table_name_70 WHERE name = "ehc straubing ii" AND played < 10
What is the Branding with a Callsign DWLL?
CREATE TABLE table_name_99 (branding VARCHAR, callsign VARCHAR)
SELECT branding FROM table_name_99 WHERE callsign = "dwll"
What are the names of parties that do not have delegates in election?
CREATE TABLE election (Party VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
SELECT Party FROM party WHERE NOT Party_ID IN (SELECT Party FROM election)
Which average overall has a Pick smaller than 5?
CREATE TABLE table_name_34 (overall INTEGER, pick INTEGER)
SELECT AVG(overall) FROM table_name_34 WHERE pick < 5
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR)
SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"
What was the output with no IR LEDs?
CREATE TABLE table_name_90 (output VARCHAR, ir_leds VARCHAR)
SELECT output FROM table_name_90 WHERE ir_leds = "no"
What was the result in 2011 for the French Open tournament?
CREATE TABLE table_name_16 (tournament VARCHAR)
SELECT 2011 FROM table_name_16 WHERE tournament = "french open"
What round did the home team Pohang Steelers play?
CREATE TABLE table_name_32 (round VARCHAR, home_team VARCHAR)
SELECT round FROM table_name_32 WHERE home_team = "pohang steelers"
Which cornerback has the highest round?
CREATE TABLE table_name_97 (round INTEGER, position VARCHAR)
SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback"
Which nation has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8?
CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = "8"
What is the sum of Evening Gown scores where the swimsuit score is higher than 9.4 and the average score is lower than 9.733?
CREATE TABLE table_name_88 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR)
SELECT SUM(evening_gown) FROM table_name_88 WHERE swimsuit > 9.4 AND average < 9.733
What school is in hillsboro city?
CREATE TABLE table_name_53 (school VARCHAR, city VARCHAR)
SELECT school FROM table_name_53 WHERE city = "hillsboro"
what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35?
CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)
SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "35"
How many laps did Fernando Alonso do?
CREATE TABLE table_name_3 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_3 WHERE driver = "fernando alonso"
What's the sum of total where the rank is over 9 and the gold is less than 1?
CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1
When spanish challenge is the team name what are the rr1 points?
CREATE TABLE table_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)
SELECT rr1_pts FROM table_21489362_2 WHERE team_name = "Spanish Challenge"
Find the name of amenity that is most common in all dorms.
CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE has_amenity (amenid VARCHAR)
SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T1.amenid = T2.amenid GROUP BY T2.amenid ORDER BY COUNT(*) DESC LIMIT 1
Which audio has a Title of a storm of swords?
CREATE TABLE table_name_21 (audio VARCHAR, title VARCHAR)
SELECT audio FROM table_name_21 WHERE title = "a storm of swords"
What is the smallest number of races competed in with 11 podiums?
CREATE TABLE table_25539502_1 (races INTEGER, podiums VARCHAR)
SELECT MIN(races) FROM table_25539502_1 WHERE podiums = 11
Name the author for peri and april 2010
CREATE TABLE table_1620397_2 (author VARCHAR, featuring VARCHAR, released VARCHAR)
SELECT author FROM table_1620397_2 WHERE featuring = "Peri" AND released = "April 2010"
what is the height of columbia river hs?
CREATE TABLE table_29598261_1 (height VARCHAR, last_school_college VARCHAR)
SELECT height FROM table_29598261_1 WHERE last_school_college = "Columbia River HS"
What is Team 1 where Team 2 is al tahrir?
CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_13 WHERE team_2 = "al tahrir"
Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)?
CREATE TABLE table_name_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR)
SELECT fuel_propulsion FROM table_name_34 WHERE numbers__quantity_ordered_ = "7124-7156 (33 buses)"
What is the name of the event that had a prize of zł 1,226,711?
CREATE TABLE table_name_22 (event VARCHAR, prize VARCHAR)
SELECT event FROM table_name_22 WHERE prize = "zł 1,226,711"
In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved?
CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR)
SELECT SUM(fixtures) FROM table_name_67 WHERE round = "sixth round" AND clubs_involved > 15
what is the status for seed 14
CREATE TABLE table_29572583_20 (status VARCHAR, seed VARCHAR)
SELECT status FROM table_29572583_20 WHERE seed = 14
Name the surface for cara black rennae stubbs
CREATE TABLE table_23944006_4 (surface VARCHAR, opponents VARCHAR)
SELECT surface FROM table_23944006_4 WHERE opponents = "Cara Black Rennae Stubbs"
Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish?
CREATE TABLE table_name_70 (artist VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR)
SELECT artist FROM table_name_70 WHERE draw < 14 AND points < 73 AND language = "turkish"
what's the population with country being chile
CREATE TABLE table_1333612_1 (population VARCHAR, country VARCHAR)
SELECT population FROM table_1333612_1 WHERE country = "Chile"
What is the Total when the league shows 79 (221)?
CREATE TABLE table_name_39 (total VARCHAR, league_a VARCHAR)
SELECT total FROM table_name_39 WHERE league_a = "79 (221)"
WHAT WAS THE OVERALL NUMBER WITH A POSITON OF DB, AND ROUND GREATER THAN 8?
CREATE TABLE table_name_27 (overall VARCHAR, position VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_27 WHERE position = "db" AND round > 8
What player(s) had the score of 64-70-67-69=270?
CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR)
SELECT player FROM table_18862490_2 WHERE score = 64 - 70 - 67 - 69 = 270
What country is David Graham from?
CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_94 WHERE player = "david graham"
what is the song when the points is more than 64, the national final is 4th and draw is more than 3?
CREATE TABLE table_name_50 (song VARCHAR, draw VARCHAR, points VARCHAR, national_final VARCHAR)
SELECT song FROM table_name_50 WHERE points > 64 AND national_final = "4th" AND draw > 3
Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954?
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954"
Who directed Episode 8?
CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR)
SELECT directed_by FROM table_11075747_4 WHERE episode__number = 8