question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Date has a Road Team of new york, and a Result of 79-75?
CREATE TABLE table_name_42 (date VARCHAR, road_team VARCHAR, result VARCHAR)
SELECT date FROM table_name_42 WHERE road_team = "new york" AND result = "79-75"
Who is team E when Jason Manning is Team F?
CREATE TABLE table_name_89 (team_e VARCHAR, team_f VARCHAR)
SELECT team_e FROM table_name_89 WHERE team_f = "jason manning"
Can you tell me the Position that has the College/Junior/Club Team of hull olympiques (qmjhl)?
CREATE TABLE table_name_81 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT position FROM table_name_81 WHERE college_junior_club_team = "hull olympiques (qmjhl)"
In what season were there 27 goals and 58 points?
CREATE TABLE table_name_54 (season VARCHAR, goals VARCHAR, points VARCHAR)
SELECT season FROM table_name_54 WHERE goals = "27" AND points = "58"
what is the affiliation of charles h. brand
CREATE TABLE table_1342379_10 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342379_10 WHERE incumbent = "Charles H. Brand"
What is the Country for the 2006-07 season?
CREATE TABLE table_name_11 (country VARCHAR, season VARCHAR)
SELECT country FROM table_name_11 WHERE season = "2006-07"
Name the Shuji Kondo for MAZADA of hijikata (14:24)
CREATE TABLE table_name_61 (shuji_kondo VARCHAR, mazada VARCHAR)
SELECT shuji_kondo FROM table_name_61 WHERE mazada = "hijikata (14:24)"
What is the away side score when hawthorn is the home side?
CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_93 WHERE home_team = "hawthorn"
List the names of aircrafts and that won matches at least twice.
CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)
SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2
What is the latest round for Pohang Steelers as the away team?
CREATE TABLE table_name_28 (round INTEGER, away_team VARCHAR)
SELECT MAX(round) FROM table_name_28 WHERE away_team = "pohang steelers"
Show the manager name for gas stations belonging to the ExxonMobil company.
CREATE TABLE gas_station (manager_name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, company VARCHAR)
SELECT T3.manager_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.company = 'ExxonMobil'
Where has an ICAO of EPWA?
CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_43 WHERE icao = "epwa"
What is the launch designation of the satellite with a 2009-001a COSPAR ID?
CREATE TABLE table_name_53 (launch_designation VARCHAR, cospar_id_satcat_№ VARCHAR)
SELECT launch_designation FROM table_name_53 WHERE cospar_id_satcat_№ = "2009-001a"
what is the affiliation of the hilltoppers mascot?
CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR)
SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers"
What Interview subject was on a Date that is 11-92?
CREATE TABLE table_name_42 (interview_subject VARCHAR, date VARCHAR)
SELECT interview_subject FROM table_name_42 WHERE date = "11-92"
Attendance of 30,335 had what record?
CREATE TABLE table_name_74 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_74 WHERE attendance = "30,335"
Which Cuts made has a Top-5 smaller than 3, and a Top-25 smaller than 6, and an Events of 10?
CREATE TABLE table_name_53 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)
SELECT cuts_made FROM table_name_53 WHERE top_5 < 3 AND top_25 < 6 AND events = 10
What was the size of the crowd when North Melbourne was the home team?
CREATE TABLE table_name_64 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_64 WHERE home_team = "north melbourne"
Which tourist attractions does the visitor with detail 'Vincent' visit?
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent"
What was the to par for Tino Schuster?
CREATE TABLE table_name_7 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_7 WHERE player = "tino schuster"
Find the number of routes whose destination airports are in Canada.
CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR)
SELECT COUNT(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE country = 'Canada'
What is the Region, when the Catalog is SM 2965-05?
CREATE TABLE table_name_5 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_5 WHERE catalog = "sm 2965-05"
How many college/junior/club teams are from Sweden?
CREATE TABLE table_2850912_5 (college_junior_club_team VARCHAR, nationality VARCHAR)
SELECT COUNT(college_junior_club_team) FROM table_2850912_5 WHERE nationality = "Sweden"
How many counties are there in total?
CREATE TABLE county (Id VARCHAR)
SELECT COUNT(*) FROM county
What place has E as the to par, with Mark Wiebe as the player?
CREATE TABLE table_name_3 (place VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT place FROM table_name_3 WHERE to_par = "e" AND player = "mark wiebe"
What is the density of the common with an area of 20.4 km^2?
CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR)
SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE area__km_2__ = "20.4"
What are that status(es) of saint-jacques?
CREATE TABLE table_171250_2 (status VARCHAR, official_name VARCHAR)
SELECT status FROM table_171250_2 WHERE official_name = "Saint-Jacques"
What is the date of the game at Junction Oval?
CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_55 WHERE venue = "junction oval"
What was the 1991 score?
CREATE TABLE table_name_6 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_6 WHERE year = "1991"
How many titles for the nation with less than 3 fastest laps and 22 podiums?
CREATE TABLE table_name_83 (championship_titles VARCHAR, fastest_laps VARCHAR, podiums VARCHAR)
SELECT championship_titles FROM table_name_83 WHERE fastest_laps < 3 AND podiums = 22
For a year earlier than 1991 and a reynard 91d chassis, what's the highest points?
CREATE TABLE table_name_7 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_7 WHERE chassis = "reynard 91d" AND year < 1991
How many Huckleberry Hound episodes were aired on 1960.09.18?
CREATE TABLE table_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR)
SELECT COUNT(huckleberry_hound) FROM table_19860361_4 WHERE air_date = "1960.09.18"
what is the team that is pick 31?
CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR)
SELECT team FROM table_name_19 WHERE pick = 31
When 7th bw attached to 43rd sw is the unit what is the b-52 model?
CREATE TABLE table_18933037_3 (b_52_model VARCHAR, unit VARCHAR)
SELECT b_52_model FROM table_18933037_3 WHERE unit = "7th BW attached to 43rd SW"
What film was in 1970?
CREATE TABLE table_name_55 (film VARCHAR, year VARCHAR)
SELECT film FROM table_name_55 WHERE year = 1970
Who were the candidates when Barney Frank was the incumbent?
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank"
Who is the father of the child whose mother is Presendia Huntington Buell?
CREATE TABLE table_name_58 (father VARCHAR, mother VARCHAR)
SELECT father FROM table_name_58 WHERE mother = "presendia huntington buell"
Who wrote the series number 49 with a season larger than 4?
CREATE TABLE table_name_27 (written_by VARCHAR, season_no VARCHAR, series_no VARCHAR)
SELECT written_by FROM table_name_27 WHERE season_no > 4 AND series_no = 49
How much Total has a Player of todd hamilton, and a To par smaller than 15?
CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR, to_par VARCHAR)
SELECT COUNT(total) FROM table_name_55 WHERE player = "todd hamilton" AND to_par < 15
What was the surface for the opponent Marcos Baghdatis?
CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"
List all program origins in the alphabetical order.
CREATE TABLE program (origin VARCHAR)
SELECT origin FROM program ORDER BY origin
What was the Outcome of the match with Partner Kateryna Bondarenko?
CREATE TABLE table_name_84 (outcome VARCHAR, partner VARCHAR)
SELECT outcome FROM table_name_84 WHERE partner = "kateryna bondarenko"
Which faith has a name of Belswains?
CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)
SELECT faith FROM table_name_40 WHERE name = "belswains"
What was the away team that faced Carlton?
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_6 WHERE home_team = "carlton"
What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
CREATE TABLE table_name_43 (power VARCHAR, displacement VARCHAR, notes VARCHAR)
SELECT power FROM table_name_43 WHERE displacement = "182cid (2,988cc)" AND notes = "eu spec"
What is the fewest number of points for clubs with less than 2 draws and more than 8 matches played?
CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8
What is the fumrec minimum?
CREATE TABLE table_25773915_11 (fumrec INTEGER)
SELECT MIN(fumrec) FROM table_25773915_11
What stadium was the game played at when the result was hunter mariners def. sheffield eagles?
CREATE TABLE table_name_43 (stadium VARCHAR, result VARCHAR)
SELECT stadium FROM table_name_43 WHERE result = "hunter mariners def. sheffield eagles"
What was the 2nd leg score for Chemie Halle?
CREATE TABLE table_name_73 (team__number1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = "chemie halle"
What is the high earnings for players with 34 events and over 2 wins?
CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2
Who wrote the episode that aired on September 26, 2010?
CREATE TABLE table_27169029_1 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_27169029_1 WHERE original_air_date = "September 26, 2010"
Name the opponent for date of bye and week of 1
CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_39 WHERE date = "bye" AND week = 1
How many draws took place for team Corinthians with more than 5 losses?
CREATE TABLE table_name_81 (drawn VARCHAR, team VARCHAR, lost VARCHAR)
SELECT COUNT(drawn) FROM table_name_81 WHERE team = "corinthians" AND lost > 5
What party's candidate was re-elected in the Louisiana 6 district?
CREATE TABLE table_1342149_18 (party VARCHAR, result VARCHAR, district VARCHAR)
SELECT party FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 6"
Name the position for 23.7 avg start
CREATE TABLE table_2181798_1 (position VARCHAR, avg_start VARCHAR)
SELECT COUNT(position) FROM table_2181798_1 WHERE avg_start = "23.7"
Which 1997 has sf as the 2002?
CREATE TABLE table_name_74 (Id VARCHAR)
SELECT 1997 FROM table_name_74 WHERE 2002 = "sf"
With a Total of more than 149, what is Davis Love III's To par?
CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR, total VARCHAR)
SELECT AVG(to_par) FROM table_name_88 WHERE player = "davis love iii" AND total > 149
What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?
CREATE TABLE table_16201038_4 (at_opponents_venue VARCHAR, last_5_meetings VARCHAR, at_neutral_site VARCHAR)
SELECT at_opponents_venue FROM table_16201038_4 WHERE last_5_meetings = "MU, 4-1" AND at_neutral_site = "Tied, 0-0"
October 28, 2001 was what week of the season?
CREATE TABLE table_name_98 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_98 WHERE date = "october 28, 2001"
Who was the leading scorer of the game that had a score of 107–97?
CREATE TABLE table_name_26 (leading_scorer VARCHAR, score VARCHAR)
SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"
Tell me the date for new orleans saints
CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_22 WHERE opponent = "new orleans saints"
How many tracks belong to rock genre?
CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)
SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock"
What is the high grid total for maserati with under 35 laps?
CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, constructor VARCHAR)
SELECT MAX(grid) FROM table_name_64 WHERE laps < 35 AND constructor = "maserati"
What is the Date of Shooter New Targets from 1989's record?
CREATE TABLE table_name_39 (date VARCHAR, shooter VARCHAR)
SELECT date FROM table_name_39 WHERE shooter = "new targets from 1989"
Which nation has more than 6 Silver medals and fewer than 8 Gold medals?
CREATE TABLE table_name_59 (total INTEGER, silver VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_59 WHERE silver > 6 AND gold < 8
Saint-Jacques has what as the area km 2?
CREATE TABLE table_name_73 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT area_km_2 FROM table_name_73 WHERE official_name = "saint-jacques"
What was the lowest Weight (kg) for a player that had Jersey #10?
CREATE TABLE table_name_67 (weight__kg_ INTEGER, jersey__number VARCHAR)
SELECT MIN(weight__kg_) FROM table_name_67 WHERE jersey__number = 10
What was the score on may 19?
CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_77 WHERE date = "may 19"
What was the result when the team had contested 14 home games?
CREATE TABLE table_14302582_1 (result VARCHAR, home_matches VARCHAR)
SELECT result FROM table_14302582_1 WHERE home_matches = 14
How many foundeds have stade tunisien as the club, with a capacity greater than 18,000?
CREATE TABLE table_name_6 (founded INTEGER, club VARCHAR, capacity VARCHAR)
SELECT SUM(founded) FROM table_name_6 WHERE club = "stade tunisien" AND capacity > 18 OFFSET 000
What is the % Change at London Heathrow airport?
CREATE TABLE table_name_68 (_percentage_change VARCHAR, airport VARCHAR)
SELECT _percentage_change FROM table_name_68 WHERE airport = "london heathrow airport"
What was the score of the game where stafford rangers was the away team?
CREATE TABLE table_name_92 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_92 WHERE away_team = "stafford rangers"
What was the average score for the couple that had 4 dances?
CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
SELECT average FROM table_23662356_3 WHERE number_of_dances = 4
what team lost on april 15
CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_60 WHERE date = "april 15"
What is the result/score for the match report recap on week 14?
CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR)
SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14
Name the date with the record of 1-0
CREATE TABLE table_13258823_2 (date VARCHAR, record VARCHAR)
SELECT date FROM table_13258823_2 WHERE record = "1-0"
In 1961, what was the Chassis when the points were lower than 6?
CREATE TABLE table_name_51 (chassis VARCHAR, points VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_51 WHERE points < 6 AND year = 1961
What team opposed Tipperary in the Munster Final game?
CREATE TABLE table_name_98 (team VARCHAR, opposition VARCHAR, game VARCHAR)
SELECT team FROM table_name_98 WHERE opposition = "tipperary" AND game = "munster final"
Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000
CREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR)
SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 OFFSET 000
Which Opened has a Category of diesel light rail?
CREATE TABLE table_name_3 (opened INTEGER, category VARCHAR)
SELECT MAX(opened) FROM table_name_3 WHERE category = "diesel light rail"
Which record has an Opponent of orioles and a Date of april 14?
CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_9 WHERE opponent = "orioles" AND date = "april 14"
What's the elevator of Jacques D'euse?
CREATE TABLE table_name_74 (elevator VARCHAR, elector VARCHAR)
SELECT elevator FROM table_name_74 WHERE elector = "jacques d'euse"
Name the location for eagles
CREATE TABLE table_1973648_1 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_1973648_1 WHERE nickname = "Eagles"
what's the league where regular season is 2nd, northwest
CREATE TABLE table_1046454_1 (league VARCHAR, regular_season VARCHAR)
SELECT league FROM table_1046454_1 WHERE regular_season = "2nd, Northwest"
What was the venue when Collingwood was the away team?
CREATE TABLE table_name_49 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_49 WHERE away_team = "collingwood"
What decade is the artist the replacements?
CREATE TABLE table_name_92 (decade VARCHAR, artist VARCHAR)
SELECT decade FROM table_name_92 WHERE artist = "the replacements"
Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship?
CREATE TABLE table_name_3 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_3 WHERE runner_s__up = "bernhard langer" AND tournament = "at&t championship"
If the special weapon is the Grenado, what is the armor?
CREATE TABLE table_27704991_1 (armor VARCHAR, special_weapon VARCHAR)
SELECT armor FROM table_27704991_1 WHERE special_weapon = "Grenado"
What is the position for the years 1998-99
CREATE TABLE table_11545282_11 (position VARCHAR, years_for_jazz VARCHAR)
SELECT position FROM table_11545282_11 WHERE years_for_jazz = "1998-99"
How tall is the Anqing Bridge which opened prior to 2011?
CREATE TABLE table_name_8 (height_of_bridge_structure VARCHAR, opened VARCHAR, name VARCHAR)
SELECT height_of_bridge_structure FROM table_name_8 WHERE opened < 2011 AND name = "anqing bridge"
What is Place, when Prize is "$381.030"?
CREATE TABLE table_name_32 (place VARCHAR, prize VARCHAR)
SELECT place FROM table_name_32 WHERE prize = "$381.030"
What Week 4 has a Week 2 of samantha speer?
CREATE TABLE table_name_62 (week_4 VARCHAR, week_2 VARCHAR)
SELECT week_4 FROM table_name_62 WHERE week_2 = "samantha speer"
What was the date of the 24–27–6 Lightning home game against Tampa Bay that had a decision of Ramo?
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR, home VARCHAR, decision VARCHAR)
SELECT date FROM table_name_93 WHERE home = "tampa bay" AND decision = "ramo" AND record = "24–27–6"
How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?
CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)
SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"
Show all male student ids who don't play football.
CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR)
SELECT StuID FROM Student WHERE sex = 'M' EXCEPT SELECT StuID FROM Sportsinfo WHERE sportname = "Football"
What was the date of the game when the record of the series was 0–1?
CREATE TABLE table_name_10 (date VARCHAR, series VARCHAR)
SELECT date FROM table_name_10 WHERE series = "0–1"
Show all the planned delivery dates and actual delivery dates of bookings.
CREATE TABLE BOOKINGS (Planned_Delivery_Date VARCHAR, Actual_Delivery_Date VARCHAR)
SELECT Planned_Delivery_Date, Actual_Delivery_Date FROM BOOKINGS
Which player has a Position of fly-half, and a Caps of 3?
CREATE TABLE table_name_41 (player VARCHAR, position VARCHAR, caps VARCHAR)
SELECT player FROM table_name_41 WHERE position = "fly-half" AND caps = 3
Which Year is the lowest one that has a Time of 24:55:58, and a Place larger than 3?
CREATE TABLE table_name_69 (year INTEGER, time VARCHAR, place VARCHAR)
SELECT MIN(year) FROM table_name_69 WHERE time = "24:55:58" AND place > 3
List the names of pilots that do not have any record.
CREATE TABLE pilot_record (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR)
SELECT Pilot_name FROM pilot WHERE NOT Pilot_ID IN (SELECT Pilot_ID FROM pilot_record)