question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Tell me opponent for result of w 33-31
CREATE TABLE table_name_96 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_96 WHERE result = "w 33-31"
What year was the wheel arrangement 0-6-0 and a class 302?
CREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302"
In Tie #19, what was the name of the away team?
CREATE TABLE table_name_27 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_27 WHERE tie_no = "19"
What's the average year for the accolade 100 greatest singles of all time?
CREATE TABLE table_name_57 (year INTEGER, accolade VARCHAR)
SELECT AVG(year) FROM table_name_57 WHERE accolade = "100 greatest singles of all time"
Who was the Democratic when then Incumbent was Christopher Shays?
CREATE TABLE table_name_40 (democratic VARCHAR, incumbent VARCHAR)
SELECT democratic FROM table_name_40 WHERE incumbent = "christopher shays"
If the Original Air Date is 10January2008, what directors released on that date?
CREATE TABLE table_11642945_1 (director VARCHAR, original_air_date VARCHAR)
SELECT director FROM table_11642945_1 WHERE original_air_date = "10January2008"
What tournament has nov. 21, 1999 as the date?
CREATE TABLE table_name_79 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_79 WHERE date = "nov. 21, 1999"
What was the resolution of the fight when Nate Mohr's record was 8-6?
CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_20 WHERE record = "8-6"
What was the record at the game against the Los Angeles Rams?
CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_25 WHERE opponent = "los angeles rams"
What was Mark O'Meara's total?
CREATE TABLE table_name_40 (total VARCHAR, player VARCHAR)
SELECT total FROM table_name_40 WHERE player = "mark o'meara"
Find the subject ID, subject name, and the corresponding number of available courses for each subject.
CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR)
SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id
What is the number of points associated with 165 laps?
CREATE TABLE table_name_12 (points VARCHAR, laps VARCHAR)
SELECT points FROM table_name_12 WHERE laps = 165
What is the Height of Junior Meghan Austin?
CREATE TABLE table_name_59 (height VARCHAR, year VARCHAR, name VARCHAR)
SELECT height FROM table_name_59 WHERE year = "junior" AND name = "meghan austin"
What is the average events that Al Geiberger played with wins smaller than 1?
CREATE TABLE table_name_55 (events INTEGER, player VARCHAR, wins VARCHAR)
SELECT AVG(events) FROM table_name_55 WHERE player = "al geiberger" AND wins < 1
Which Airport has a IATA of erz?
CREATE TABLE table_name_63 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_63 WHERE iata = "erz"
Who had less than 7 goals, was ranked under 7, and had more than 8 appearances?
CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR)
SELECT name FROM table_name_86 WHERE goals < 7 AND rank < 7 AND appearances > 8
Which tone goes with Phonetic of [pʰaː˥˥]?
CREATE TABLE table_name_32 (tone VARCHAR, phonetic VARCHAR)
SELECT tone FROM table_name_32 WHERE phonetic = "[pʰaː˥˥]"
What class is the verb wich its part 4 is frosinn
CREATE TABLE table_1745843_10 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_1745843_10 WHERE part_4 = "frosinn"
How many drivers have 1942 points?
CREATE TABLE table_23239946_3 (driver VARCHAR, points VARCHAR)
SELECT COUNT(driver) FROM table_23239946_3 WHERE points = 1942
Which Label has a Release of liebesgrüsse aus ost-berlin?
CREATE TABLE table_name_16 (label VARCHAR, release VARCHAR)
SELECT label FROM table_name_16 WHERE release = "liebesgrüsse aus ost-berlin"
What year was the Guard who currently plays for the Memphis Grizzlies born?
CREATE TABLE table_name_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR)
SELECT year_born FROM table_name_25 WHERE position = "guard" AND current_club = "memphis grizzlies"
Name the opponents stanford
CREATE TABLE table_21092444_1 (opponents VARCHAR, opponent VARCHAR)
SELECT opponents FROM table_21092444_1 WHERE opponent = "Stanford"
What is every branch involved in Afghanistan?
CREATE TABLE table_1921_1 (branches_involved VARCHAR, location VARCHAR)
SELECT branches_involved FROM table_1921_1 WHERE location = "Afghanistan"
What Rank has a Team of roma?
CREATE TABLE table_name_14 (rank VARCHAR, team VARCHAR)
SELECT rank FROM table_name_14 WHERE team = "roma"
Which track 7 title was recorded in 1959-09-15?
CREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR)
SELECT title FROM table_name_23 WHERE recorded = "1959-09-15" AND track = 7
What days of the week is the show aired on that runs at 16:45?
CREATE TABLE table_name_21 (weekly_schedule VARCHAR, timeslot VARCHAR)
SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45"
Name the episode for run time in 24:44
CREATE TABLE table_2105721_1 (episode VARCHAR, run_time VARCHAR)
SELECT episode FROM table_2105721_1 WHERE run_time = "24:44"
What is the result of the fight when record is 12-2?
CREATE TABLE table_name_79 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_79 WHERE record = "12-2"
What country does Bobby Nichols play for?
CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_70 WHERE player = "bobby nichols"
What were the interview subjects on those occasions where Bai Ling was the cover model?
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, cover_model VARCHAR)
SELECT interview_subject FROM table_1566852_6 WHERE cover_model = "Bai Ling"
What is the location of the enzyme Uroporphyrinogen iii Synthase?
CREATE TABLE table_name_24 (location VARCHAR, enzyme VARCHAR)
SELECT location FROM table_name_24 WHERE enzyme = "uroporphyrinogen iii synthase"
Before 1957, what was the largest in Attendance at Varsity Stadium?
CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"
Who is the manager 1 for Leeds United?
CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)
SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"
What is the sum of all ratings at a weekly rank of 10 and a share less than 11?
CREATE TABLE table_name_33 (rating INTEGER, weekly_rank___number_ VARCHAR, share VARCHAR)
SELECT SUM(rating) FROM table_name_33 WHERE weekly_rank___number_ = "10" AND share < 11
who is number 98?
CREATE TABLE table_14966667_19 (name VARCHAR, number VARCHAR)
SELECT name FROM table_14966667_19 WHERE number = "98"
What's the content of the Tutti i Pacchetti + Sky HD package?
CREATE TABLE table_15887683_3 (content VARCHAR, package_option VARCHAR)
SELECT content FROM table_15887683_3 WHERE package_option = "Tutti i pacchetti + Sky HD"
When was the scorer mccoist (3), johnston, butcher, steven?
CREATE TABLE table_name_48 (date VARCHAR, scorers VARCHAR)
SELECT date FROM table_name_48 WHERE scorers = "mccoist (3), johnston, butcher, steven"
Show the names of sponsors of players whose residence is either "Brandon" or "Birtle".
CREATE TABLE player (Sponsor_name VARCHAR, Residence VARCHAR)
SELECT Sponsor_name FROM player WHERE Residence = "Brandon" OR Residence = "Birtle"
What award was Hannah Gal the recipient of?
CREATE TABLE table_name_23 (award VARCHAR, recipient VARCHAR)
SELECT award FROM table_name_23 WHERE recipient = "hannah gal"
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0?
CREATE TABLE table_name_81 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR)
SELECT MIN(touchdowns) FROM table_name_81 WHERE points = 5 AND field_goals > 0
What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini?
CREATE TABLE table_name_70 (winner VARCHAR, runner_up VARCHAR, week_of VARCHAR, semi_finalists VARCHAR)
SELECT winner FROM table_name_70 WHERE week_of = "8 may" AND semi_finalists = "helena suková mary pierce" AND runner_up = "conchita martínez patricia tarabini"
Which player went to college at Up-Diliman and plays on PBA team of the Alaska Milkmen?
CREATE TABLE table_name_97 (player VARCHAR, pba_team VARCHAR, college VARCHAR)
SELECT player FROM table_name_97 WHERE pba_team = "alaska milkmen" AND college = "up-diliman"
Name the goals for daniel sanchez
CREATE TABLE table_24565004_20 (goals¹ VARCHAR, name VARCHAR)
SELECT goals¹ FROM table_24565004_20 WHERE name = "Daniel Sanchez"
Who was the actor/actress with a last appearance of 1 january 2010 and total is 20 and character is vanessa 'nessa' jenkins?
CREATE TABLE table_25831483_1 (actor_actress VARCHAR, character VARCHAR, last_appearance VARCHAR, total VARCHAR)
SELECT actor_actress FROM table_25831483_1 WHERE last_appearance = "1 January 2010" AND total = 20 AND character = "Vanessa 'Nessa' Jenkins"
List the total number of defensive points for radek štěpánek?
CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR)
SELECT MIN(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek"
Who were the opponents on Week 8?
CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_89 WHERE week = 8
What is the smallest round with a time of 1:12?
CREATE TABLE table_name_96 (round INTEGER, time VARCHAR)
SELECT MIN(round) FROM table_name_96 WHERE time = "1:12"
What is the bronze with more than 2 gold and less than 14 total and 4 silver?
CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_86 WHERE gold > 2 AND total < 14 AND silver = 4
List all directors along with the number of films directed by each director.
CREATE TABLE film (directed_by VARCHAR)
SELECT directed_by, COUNT(*) FROM film GROUP BY directed_by
What is the Prince Devitt when Block A is Yamato?
CREATE TABLE table_name_49 (prince_devitt VARCHAR, block_a VARCHAR)
SELECT prince_devitt FROM table_name_49 WHERE block_a = "yamato"
who was the winner for souderton, pa?
CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR)
SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA"
What is the language, when "what" is "ango"?
CREATE TABLE table_name_32 (english VARCHAR, what VARCHAR)
SELECT english FROM table_name_32 WHERE what = "ango"
What is the sum of Ends with a Name of abidal, and has a Since larger than 2007?
CREATE TABLE table_name_58 (ends INTEGER, name VARCHAR, since VARCHAR)
SELECT SUM(ends) FROM table_name_58 WHERE name = "abidal" AND since > 2007
Name the total points for 2
CREATE TABLE table_27496841_3 (total_points VARCHAR, place VARCHAR)
SELECT total_points FROM table_27496841_3 WHERE place = 2
Who left office on January 9, 1893
CREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)
SELECT name FROM table_name_32 WHERE left_office = "january 9, 1893"
What poll source administered their poll on June 14-16, 2010?
CREATE TABLE table_20032301_3 (poll_source VARCHAR, dates_administered VARCHAR)
SELECT poll_source FROM table_20032301_3 WHERE dates_administered = "June 14-16, 2010"
How many people watch at Western Oval venue?
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_4 WHERE venue = "western oval"
What is the 2008-09 result has Masters as the event?
CREATE TABLE table_name_58 (event VARCHAR)
SELECT 2008 AS _09 FROM table_name_58 WHERE event = "masters"
What is the power of the unit built after 1995?
CREATE TABLE table_name_71 (power__horsepower_ INTEGER, year_built INTEGER)
SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995
How many females speak Ukrainian?
CREATE TABLE table_name_11 (females VARCHAR, language VARCHAR)
SELECT females FROM table_name_11 WHERE language = "ukrainian"
What was the record for opponent Matt Serra?
CREATE TABLE table_name_36 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_36 WHERE opponent = "matt serra"
Which date has 3 as the goal?
CREATE TABLE table_name_55 (date VARCHAR, goal VARCHAR)
SELECT date FROM table_name_55 WHERE goal = 3
How many episodes had 11.86 million US viewers?
CREATE TABLE table_28215780_4 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(no_in_series) FROM table_28215780_4 WHERE us_viewers__millions_ = "11.86"
Who was the opponent for the game with a score of w 94–88 (ot)?
CREATE TABLE table_27713030_11 (team VARCHAR, score VARCHAR)
SELECT team FROM table_27713030_11 WHERE score = "W 94–88 (OT)"
Name the flight up for 10 december 1982 19:02:36 utc
CREATE TABLE table_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
SELECT flight_up FROM table_245801_1 WHERE landing_date = "10 December 1982 19:02:36 UTC"
How many solar eclipse during august 21-22 and January 15-16 is 141?
CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR)
SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = "141"
Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?
CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
SELECT winner FROM table_23157997_13 WHERE mountains_classification = "Tom Zirbel" AND points_classification = "Thomas Soladay"
What number of win% has a postseason of did not qualify and rank larger than 8?
CREATE TABLE table_name_89 (win_percentage VARCHAR, postseason VARCHAR, rank VARCHAR)
SELECT COUNT(win_percentage) FROM table_name_89 WHERE postseason = "did not qualify" AND rank > 8
What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?
CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)
SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017"
Venue for Hawke's bay?
CREATE TABLE table_name_14 (venue VARCHAR, opposing_team VARCHAR)
SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay"
Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)?
CREATE TABLE table_name_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR)
SELECT _percentage_gdp FROM table_name_19 WHERE year < 2011 AND expenditure > 41.3 AND income < 48 AND surplus_deficit_ = "(24.6)"
Which Position has a Round larger than 4, and a Player of patrick johnson?
CREATE TABLE table_name_45 (position VARCHAR, round VARCHAR, player VARCHAR)
SELECT position FROM table_name_45 WHERE round > 4 AND player = "patrick johnson"
What is the value in 1987 when it is A in 1999, 1989, and 1997?
CREATE TABLE table_name_47 (Id VARCHAR)
SELECT 1987 FROM table_name_47 WHERE 1999 = "a" AND 1989 = "a" AND 1997 = "a"
How many users are there?
CREATE TABLE useracct (Id VARCHAR)
SELECT COUNT(*) FROM useracct
What's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player?
CREATE TABLE table_name_14 (nationality VARCHAR, team VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_14 WHERE team = "montreal impact" AND player = "justin mapp category:articles with hcards"
How many games are free of injury accidents?
CREATE TABLE injury_accident (id VARCHAR, game_id VARCHAR); CREATE TABLE game (id VARCHAR, game_id VARCHAR)
SELECT COUNT(*) FROM game WHERE NOT id IN (SELECT game_id FROM injury_accident)
What is the Set 1 with a Score with 3–2?
CREATE TABLE table_name_96 (set_1 VARCHAR, score VARCHAR)
SELECT set_1 FROM table_name_96 WHERE score = "3–2"
Was the University of Michigan Signed?
CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR)
SELECT signed FROM table_name_13 WHERE school = "university of michigan"
Name the parent unit for josef priller
CREATE TABLE table_28342423_1 (parent_unit VARCHAR, commanding_officer VARCHAR)
SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer = "Josef Priller"
What is richmond's score as the home team?
CREATE TABLE table_name_93 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_93 WHERE home_team = "richmond"
How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps?
CREATE TABLE table_name_8 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 22
What is Status, when Date is 10/05/1975?
CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_33 WHERE date = "10/05/1975"
Where is the partially deleted site of fibers public supply wells located?
CREATE TABLE table_name_65 (partially_deleted VARCHAR, name VARCHAR)
SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells"
What score did the away team receive against home team Port Adelaide?
CREATE TABLE table_16388478_3 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_16388478_3 WHERE home_team = "Port Adelaide"
Who was the opponent of the game with final score won 4-1?
CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1"
How many races had 4 podiums, 5 poles and more than 3 Flaps?
CREATE TABLE table_name_64 (race INTEGER, flap VARCHAR, podium VARCHAR, pole VARCHAR)
SELECT SUM(race) FROM table_name_64 WHERE podium = 4 AND pole = 5 AND flap > 3
I want to know the longest Long for santana moss and Att more than 1
CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR)
SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 1
What scores happened on February 9?
CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR)
SELECT score FROM table_23486853_7 WHERE date = "February 9"
Which state has a 2010-05-01 (saa) association agreement?
CREATE TABLE table_name_36 (state VARCHAR, association_agreement VARCHAR)
SELECT state FROM table_name_36 WHERE association_agreement = "2010-05-01 (saa)"
What is the tie no that has southport as the away team?
CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_28 WHERE away_team = "southport"
What was steve elkington's to par?
CREATE TABLE table_name_57 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_57 WHERE player = "steve elkington"
How many FA cup goals did dick taylor score in the year that he had 0 league goals?
CREATE TABLE table_name_10 (fa_cup_goals INTEGER, name VARCHAR, league_goals VARCHAR)
SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE name = "dick taylor" AND league_goals < 0
What Lomavren word has the same meaning as the Hindi word do?
CREATE TABLE table_name_97 (lomavren VARCHAR, hindi VARCHAR)
SELECT lomavren FROM table_name_97 WHERE hindi = "do"
List all customers’ names in the alphabetical order.
CREATE TABLE accounts (name VARCHAR)
SELECT name FROM accounts ORDER BY name
What is the frequency of the station with a coverage of oaxaca guerrero puebla?
CREATE TABLE table_name_24 (frequency VARCHAR, coverage VARCHAR)
SELECT frequency FROM table_name_24 WHERE coverage = "oaxaca guerrero puebla"
What is the highest number of successful defenses in brandon, florida and a reign less than 1?
CREATE TABLE table_name_13 (successful_defenses INTEGER, location VARCHAR, reign VARCHAR)
SELECT MAX(successful_defenses) FROM table_name_13 WHERE location = "brandon, florida" AND reign < 1
Name the candidates for georgia 8
CREATE TABLE table_1341604_11 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1341604_11 WHERE district = "Georgia 8"
what's district with candidates being lawrence j. smith (d) 69.4% joseph smith (r) 30.6%
CREATE TABLE table_1341577_10 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1341577_10 WHERE candidates = "Lawrence J. Smith (D) 69.4% Joseph Smith (R) 30.6%"
Which result has a Score of 1–1?
CREATE TABLE table_name_23 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_23 WHERE score = "1–1"
On what circuit is there a race that lasts 2 hours?
CREATE TABLE table_name_69 (circuit VARCHAR, length VARCHAR)
SELECT circuit FROM table_name_69 WHERE length = "2 hours"