question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the highest amount of goals with more than 51 goals against and less than 30 played?
CREATE TABLE table_name_66 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
SELECT MAX(goals_for) FROM table_name_66 WHERE goals_against > 51 AND played < 30
Which Hometown/School has a Team of atlanta braves?
CREATE TABLE table_name_74 (hometown_school VARCHAR, team VARCHAR)
SELECT hometown_school FROM table_name_74 WHERE team = "atlanta braves"
Who is the runner up for the champion of john mcenroe 6–2, 6–3?
CREATE TABLE table_21584646_10 (runner_up VARCHAR, champion VARCHAR)
SELECT runner_up FROM table_21584646_10 WHERE champion = "John McEnroe 6–2, 6–3"
What is the lowest rank of rider darren gilpin?
CREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR)
SELECT MIN(rank) FROM table_name_91 WHERE rider = "darren gilpin"
Which country had a place of t1, as well as a score of 72-68-70-73=283?
CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283
What Week 2 has a Week 4 of piret aava?
CREATE TABLE table_name_63 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_63 WHERE week_4 = "piret aava"
What was the air date of episode 5?
CREATE TABLE table_name_33 (air_date VARCHAR, episode_number VARCHAR)
SELECT air_date FROM table_name_33 WHERE episode_number = 5
Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0?
CREATE TABLE table_name_71 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_71 WHERE rank = "19" AND gold > 0
What was the date for the French Grand Prix?
CREATE TABLE table_name_19 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_19 WHERE name = "french grand prix"
Show the first name and last name for all the instructors.
CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, Rank VARCHAR)
SELECT fname, lname FROM Faculty WHERE Rank = "Instructor"
WHAT IS THE HOMETOWN OF TONY STEWARD?
CREATE TABLE table_11677691_2 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_11677691_2 WHERE player = "Tony Steward"
what is the sspec number when the socket is standard power?
CREATE TABLE table_name_75 (sspec_number VARCHAR, socket VARCHAR)
SELECT sspec_number FROM table_name_75 WHERE socket = "standard power"
isbn 0-441-01400-3 is book number?
CREATE TABLE table_16907214_1 (_number VARCHAR, hardcover VARCHAR)
SELECT _number FROM table_16907214_1 WHERE hardcover = "ISBN 0-441-01400-3"
What is the number of people in Attendance when Visitor was the warriors on 2006-11-04?
CREATE TABLE table_name_40 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_40 WHERE visitor = "warriors" AND date = "2006-11-04"
what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480?
CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR)
SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british columbia" AND capacity___mw__ > 2 OFFSET 480
What is the location of the school established in 1923
CREATE TABLE table_16432543_1 (location VARCHAR, established VARCHAR)
SELECT location FROM table_16432543_1 WHERE established = 1923
What was the Score on January 30?
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "january 30"
What is the colloquial translation of (s)he will sing?
CREATE TABLE table_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)
SELECT romanian__colloquial_ FROM table_23710609_2 WHERE english = "(s)he will sing"
What course did Fergal Lynch end up with 5/1 odds?
CREATE TABLE table_name_34 (course VARCHAR, jockey VARCHAR, odds VARCHAR)
SELECT course FROM table_name_34 WHERE jockey = "fergal lynch" AND odds = "5/1"
What type is the sorrento to sapri course with a distance of km (mi)?
CREATE TABLE table_name_23 (type VARCHAR, distance VARCHAR, course VARCHAR)
SELECT type FROM table_name_23 WHERE distance = "km (mi)" AND course = "sorrento to sapri"
Who did they lose to on May 20?
CREATE TABLE table_name_68 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_68 WHERE date = "may 20"
How many France bronze have a gold of more than 1 and a rank of 0?
CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT SUM(bronze) FROM table_name_79 WHERE gold > 1 AND nation = "france" AND rank < 1
What is the sum of bronze when silver is greater than 3?
CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER)
SELECT SUM(bronze) FROM table_name_45 WHERE silver > 3
Which manager was appointed on 08.06.2010?
CREATE TABLE table_27091128_2 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "08.06.2010"
What is the Name when the position is g, and weight is 190 pounds?
CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR, weight__lbs_ VARCHAR)
SELECT name FROM table_name_54 WHERE position = "g" AND weight__lbs_ = 190
How many were penanced for a total of 7666?
CREATE TABLE table_name_48 (penanced VARCHAR, total VARCHAR)
SELECT penanced FROM table_name_48 WHERE total = "7666"
Which Name has a Yes Saturday and a Yes Evening?
CREATE TABLE table_name_49 (name VARCHAR, saturday VARCHAR, evening VARCHAR)
SELECT name FROM table_name_49 WHERE saturday = "yes" AND evening = "yes"
How many regular season titles did Kansas receive when they received fewer than 2 tournament titles and more than 0 total titles?
CREATE TABLE table_name_25 (Regular VARCHAR, team VARCHAR, tournament VARCHAR, total VARCHAR)
SELECT Regular AS season FROM table_name_25 WHERE tournament < 2 AND total > 0 AND team = "kansas"
What are the issue dates of volumes associated with the artist "Gorgoroth"?
CREATE TABLE artist (Artist_ID VARCHAR, Artist VARCHAR); CREATE TABLE volume (Issue_Date VARCHAR, Artist_ID VARCHAR)
SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.Artist = "Gorgoroth"
How many markets have number of cities smaller than 300?
CREATE TABLE market (Number_cities INTEGER)
SELECT COUNT(*) FROM market WHERE Number_cities < 300
What are the losses where the award is Mike Miller (Smoy)?
CREATE TABLE table_name_34 (losses VARCHAR, awards VARCHAR)
SELECT losses FROM table_name_34 WHERE awards = "mike miller (smoy)"
Who is the publisher of the book titled daughters of an emerald dusk?
CREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)
SELECT publisher FROM table_20193855_2 WHERE book_title = "Daughters of an Emerald Dusk"
What is the largest overall number of major hurricanes?
CREATE TABLE table_2930244_3 (number_of_major_hurricanes INTEGER)
SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3
Which Date had a City/Location of vancouver, british columbia?
CREATE TABLE table_name_65 (date VARCHAR, city_location VARCHAR)
SELECT date FROM table_name_65 WHERE city_location = "vancouver, british columbia"
Which Artist is listed as having Top 6 in Week
CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)
SELECT artist FROM table_name_32 WHERE week = "top 6"
What was the time of the games that took place at the cassell coliseum • blacksburg, va?
CREATE TABLE table_29535057_4 (time VARCHAR, location VARCHAR)
SELECT time FROM table_29535057_4 WHERE location = "Cassell Coliseum • Blacksburg, VA"
What round was adelaide united the opposition with an attendance of 18,345?
CREATE TABLE table_name_32 (round VARCHAR, opposition VARCHAR, attendance VARCHAR)
SELECT round FROM table_name_32 WHERE opposition = "adelaide united" AND attendance = "18,345"
What is the opponent number of the match with a w27-16 result?
CREATE TABLE table_name_78 (opponent_number VARCHAR, result VARCHAR)
SELECT opponent_number FROM table_name_78 WHERE result = "w27-16"
How many have SHT number 5?
CREATE TABLE table_name_49 (quantity INTEGER, sht_nos VARCHAR)
SELECT MAX(quantity) FROM table_name_49 WHERE sht_nos = "5"
What was the Attendance when the Result was L 31–23?
CREATE TABLE table_name_33 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_33 WHERE result = "l 31–23"
What was the 2013 finish for the tournament that had a 2007 finish of A?
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT 2013 FROM table_name_94 WHERE 2007 = "a"
What is the largest population count in any of the census divisions in 2006?
CREATE TABLE table_2134521_1 (pop__2006_ INTEGER)
SELECT MAX(pop__2006_) FROM table_2134521_1
Which side has Vischer as the inscription?
CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR)
SELECT side FROM table_name_25 WHERE inscription = "vischer"
how many parts does detroit red wings person urban nordin play
CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin"
On May 8 what series is it?
CREATE TABLE table_name_41 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_41 WHERE date = "may 8"
What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs?
CREATE TABLE table_name_49 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR)
SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_49 WHERE engine_type = "b5252 fs"
What is the scored figure when the result is 40-22?
CREATE TABLE table_name_94 (scored INTEGER, result VARCHAR)
SELECT SUM(scored) FROM table_name_94 WHERE result = "40-22"
What game in the genre of adventure, has a windows platform and its year is after 1997?
CREATE TABLE table_name_20 (game VARCHAR, genre VARCHAR, year VARCHAR, platform_s_ VARCHAR)
SELECT game FROM table_name_20 WHERE year > 1997 AND platform_s_ = "windows" AND genre = "adventure"
At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play?
CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT years_for_jazz FROM table_name_43 WHERE position = "guard" AND school_club_team = "notre dame"
What away team score has hawthorn as the home team?
CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE home_team = "hawthorn"
What is the number of clubs remaining in the second round?
CREATE TABLE table_name_65 (clubs_remaining INTEGER, round VARCHAR)
SELECT MIN(clubs_remaining) FROM table_name_65 WHERE round = "second round"
What was the attendance for the game that went 2:42?
CREATE TABLE table_name_89 (attendance INTEGER, time VARCHAR)
SELECT MAX(attendance) FROM table_name_89 WHERE time = "2:42"
What is the highest number of matches with more than 18 points and more than 1 draw?
CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR)
SELECT MAX(match) FROM table_name_37 WHERE points > 18 AND draw > 1
the first episode in this season had what number in the series?
CREATE TABLE table_2618142_1 (no_in_series INTEGER)
SELECT MIN(no_in_series) FROM table_2618142_1
What is the title of the film with production number 1553, directed by Friz Freleng?
CREATE TABLE table_name_10 (title VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT title FROM table_name_10 WHERE director = "friz freleng" AND production_number = 1553
Which Date has a Tournament of bmw open?
CREATE TABLE table_name_63 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_63 WHERE tournament = "bmw open"
List the grape, appelation and name of wines whose score is higher than 93 ordered by Name.
CREATE TABLE WINE (Grape VARCHAR, Appelation VARCHAR, Name VARCHAR, Score INTEGER)
SELECT Grape, Appelation, Name FROM WINE WHERE Score > 93 ORDER BY Name
Where was the game with result 7-2 played?
CREATE TABLE table_name_11 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_11 WHERE result = "7-2"
Which team appointed a person on 23 December 2008?
CREATE TABLE table_18788823_5 (team VARCHAR, date_of_appointment VARCHAR)
SELECT team FROM table_18788823_5 WHERE date_of_appointment = "23 December 2008"
Name the attendance for 4 january 2004
CREATE TABLE table_name_72 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_72 WHERE date = "4 january 2004"
Name the frequency with class of b
CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR)
SELECT frequency FROM table_name_78 WHERE class = "b"
How many enzymes do not have any interactions?
CREATE TABLE medicine_enzyme_interaction (id VARCHAR, enzyme_id VARCHAR); CREATE TABLE enzyme (id VARCHAR, enzyme_id VARCHAR)
SELECT COUNT(*) FROM enzyme WHERE NOT id IN (SELECT enzyme_id FROM medicine_enzyme_interaction)
What is the frequency for the station with DYBT as its callsign?
CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_53 WHERE callsign = "dybt"
Which Pictorials is on 5-01?
CREATE TABLE table_name_40 (pictorials VARCHAR, date VARCHAR)
SELECT pictorials FROM table_name_40 WHERE date = "5-01"
What Place has a Player of bernhard langer?
CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_49 WHERE player = "bernhard langer"
What was the score of the game played on December 8?
CREATE TABLE table_11961582_4 (score VARCHAR, date VARCHAR)
SELECT score FROM table_11961582_4 WHERE date = "December 8"
How many stadiums are not in country "Russia"?
CREATE TABLE stadium (country VARCHAR)
SELECT COUNT(*) FROM stadium WHERE country <> 'Russia'
What city of license has a value of k293bg for its call sign?
CREATE TABLE table_name_82 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_82 WHERE call_sign = "k293bg"
Which province had population of 210295 South Asians in 2001?
CREATE TABLE table_1717824_1 (province VARCHAR, south_asians_2001 VARCHAR)
SELECT province FROM table_1717824_1 WHERE south_asians_2001 = 210295
Which podiums have a final placing of 10th?
CREATE TABLE table_15852257_1 (podiums VARCHAR, final_placing VARCHAR)
SELECT podiums FROM table_15852257_1 WHERE final_placing = "10th"
What is Opponent, when Event is "ISCF - Southeast Championships"?
CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_17 WHERE event = "iscf - southeast championships"
Who owned winner Blueeyesintherein after 2009?
CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR)
SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein"
From what Country is T2 Finish Player Gary Player?
CREATE TABLE table_name_60 (country VARCHAR, finish VARCHAR, player VARCHAR)
SELECT country FROM table_name_60 WHERE finish = "t2" AND player = "gary player"
When was Color of green last issued?
CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR)
SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green"
Which Marriage has a Became Duchess of 12 december 1666?
CREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)
SELECT marriage FROM table_name_68 WHERE became_duchess = "12 december 1666"
What was the score when the record became 25–14–9?
CREATE TABLE table_name_78 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_78 WHERE record = "25–14–9"
What term did hon ralph hunt serve in office?
CREATE TABLE table_name_9 (term_in_office VARCHAR, member VARCHAR)
SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt"
What track number is 4:29 in length?
CREATE TABLE table_14778650_1 (_number VARCHAR, length VARCHAR)
SELECT _number FROM table_14778650_1 WHERE length = "4:29"
What is Date, when Against is "22"?
CREATE TABLE table_name_87 (date VARCHAR, against VARCHAR)
SELECT date FROM table_name_87 WHERE against = 22
What is the phone and email for customer with first name Aniyah and last name Feest?
CREATE TABLE Customers (customer_phone VARCHAR, customer_email VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
SELECT customer_phone, customer_email FROM Customers WHERE customer_first_name = "Aniyah" AND customer_last_name = "Feest"
What was the prize for winner benny spindler?
CREATE TABLE table_name_11 (prize VARCHAR, winner VARCHAR)
SELECT prize FROM table_name_11 WHERE winner = "benny spindler"
What is the highest number lost with more than 29 points and an against less than 19?
CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, against VARCHAR)
SELECT MAX(lost) FROM table_name_58 WHERE points > 29 AND against < 19
I want the total number of ends for filip šebo and Goals more than 2
CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR)
SELECT COUNT(ends) FROM table_name_67 WHERE name = "filip šebo" AND goals > 2
what is the pick # for william loftus?
CREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_name_68 WHERE player = "william loftus"
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?
CREATE TABLE table_name_64 (instant_messaging VARCHAR, telephony VARCHAR)
SELECT instant_messaging FROM table_name_64 WHERE telephony = "yes with integrated sametime"
What is Kirkby Town's lowest lost with more than 83 goals?
CREATE TABLE table_name_72 (lost INTEGER, team VARCHAR, goals_for VARCHAR)
SELECT MIN(lost) FROM table_name_72 WHERE team = "kirkby town" AND goals_for > 83
What date was the Izmir Cup in which İlhan played against Somdev Devvarman?
CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman"
How many top-25s are associated with more than 91 events?
CREATE TABLE table_name_24 (top_25 INTEGER, events INTEGER)
SELECT SUM(top_25) FROM table_name_24 WHERE events > 91
Which motor's quantity was more than 8, and a class of bs 1915?
CREATE TABLE table_name_57 (motor VARCHAR, quantity VARCHAR, class VARCHAR)
SELECT motor FROM table_name_57 WHERE quantity > 8 AND class = "bs 1915"
what's the result with incumbent being jack z. anderson
CREATE TABLE table_1342233_6 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342233_6 WHERE incumbent = "Jack Z. Anderson"
What is the lowest round that has kazushi sakuraba as the opponent?
CREATE TABLE table_name_92 (round INTEGER, opponent VARCHAR)
SELECT MIN(round) FROM table_name_92 WHERE opponent = "kazushi sakuraba"
What is the latest death with a description of BR-Built inspection saloon?
CREATE TABLE table_name_4 (date INTEGER, description VARCHAR)
SELECT MAX(date) FROM table_name_4 WHERE description = "br-built inspection saloon"
what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927
CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR)
SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927
What was the tie number with the away team of Sheffield Wednesday?
CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_63 WHERE away_team = "sheffield wednesday"
Which winner had a location of Iowa?
CREATE TABLE table_name_12 (winner VARCHAR, location VARCHAR)
SELECT winner FROM table_name_12 WHERE location = "iowa"
Name the starts for 23.7
CREATE TABLE table_2181798_1 (starts VARCHAR, avg_start VARCHAR)
SELECT starts FROM table_2181798_1 WHERE avg_start = "23.7"
What is the venue for the game on 1 June 1929 where Richmond was the away team?
CREATE TABLE table_name_96 (venue VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_96 WHERE date = "1 june 1929" AND away_team = "richmond"
What is the score when york city was the home team?
CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_91 WHERE home_team = "york city"
Where is ropery lane located?
CREATE TABLE table_1176371_1 (location VARCHAR, name_of_ground VARCHAR)
SELECT location FROM table_1176371_1 WHERE name_of_ground = "Ropery Lane"
What was the margin of victory when runner-up was K. J. Choi?
CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = "K. J. Choi"