question
stringlengths
19
162
table_info
stringlengths
39
951
sql_query
stringlengths
24
181
What's the model of the processor with BGA479 socket and a 5.5 w TDP?
CREATE TABLE table_24099916_1 ( model__list_ VARCHAR, socket VARCHAR, tdp VARCHAR )
SELECT model__list_ FROM table_24099916_1 WHERE socket LIKE "%bga479%" AND tdp LIKE "%5.5 w%"
What team 1 has a team 2 of universidad nacional?
CREATE TABLE table_name_4 ( team_1 VARCHAR, team_2 VARCHAR )
SELECT team_1 FROM table_name_4 WHERE team_2 LIKE "%universidad nacional%"
What is the origin for the launch taking place in 2010?
CREATE TABLE table_name_71 ( origin VARCHAR, launch VARCHAR )
SELECT origin FROM table_name_71 WHERE launch LIKE '%2010%'
What was the constructor of the car that Hermann Lang drove after 1935?
CREATE TABLE table_58104 ( "Year" real, "Driver" text, "Constructor" text, "Location" text, "Report" text )
SELECT "Constructor" FROM table_58104 WHERE "Year" > 1935 AND "Driver" LIKE '%hermann lang%'
What is the rank for the team with a Time of 1:12.40.28?
CREATE TABLE table_name_94 ( rank INTEGER, time VARCHAR )
SELECT SUM(rank) FROM table_name_94 WHERE time LIKE "%1:12.40.28%"
Opponent of denver broncos happened on what date?
CREATE TABLE table_6226 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real )
SELECT "Date" FROM table_6226 WHERE "Opponent" LIKE '%denver broncos%'
What is the largest % Won with a Lost smaller than 0?
CREATE TABLE table_name_89 ( _percentage_won INTEGER, lost INTEGER )
SELECT MAX(_percentage_won) FROM table_name_89 WHERE lost < 0
Which month has the most happy hours?
CREATE TABLE happy_hour ( MONTH VARCHAR )
SELECT MONTH FROM happy_hour GROUP BY MONTH ORDER BY COUNT(*) DESC LIMIT 1
What is the lowest jews and others 1 for the localities 11?
CREATE TABLE table_25947046_1 ( jews_and_others_1 INTEGER, localities VARCHAR )
SELECT MIN(jews_and_others_1) FROM table_25947046_1 WHERE localities LIKE '%11%'
From what series was Tokio Jokio, directed by Norm McCabe?
CREATE TABLE table_64288 ( "Title" text, "Series" text, "Director" text, "Release date" text, "reissue?" text )
SELECT "Series" FROM table_64288 WHERE "Director" LIKE '%norm mccabe%' AND "Title" LIKE '%tokio jokio%'
What is the score when a loss was listed with Lannan (4-8)?
CREATE TABLE table_name_48 ( score VARCHAR, loss VARCHAR )
SELECT score FROM table_name_48 WHERE loss LIKE "%lannan (4-8)%"
What is the score in the Liverpool home game?
CREATE TABLE table_name_67 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_67 WHERE home_team LIKE "%liverpool%"
In what Year was the Finish Champions?
CREATE TABLE table_name_99 ( year VARCHAR, finish VARCHAR )
SELECT year FROM table_name_99 WHERE finish LIKE "%champions%"
Which Score has a Date of 26 september 2004?
CREATE TABLE table_name_71 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_71 WHERE date LIKE "%26 september 2004%"
What is Reuben Foster's college?
CREATE TABLE table_name_59 ( college VARCHAR, player VARCHAR )
SELECT college FROM table_name_59 WHERE player LIKE "%reuben foster%"
Name the manufacturer with grid of 11
CREATE TABLE table_70602 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Manufacturer" FROM table_70602 WHERE "Grid" = 11
What is the distance for the team time trial?
CREATE TABLE table_57016 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Distance" FROM table_57016 WHERE "Type" LIKE '%team time trial%'
Which year al geiberger is in?
CREATE TABLE table_name_50 ( year_s__won VARCHAR, player VARCHAR )
SELECT year_s__won FROM table_name_50 WHERE player LIKE "%al geiberger%"
What is the height for the Shanghai World Plaza?
CREATE TABLE table_name_26 ( height_m___ft VARCHAR, name VARCHAR )
SELECT height_m___ft FROM table_name_26 WHERE name LIKE "%shanghai world plaza%"
WHICH Outcome IS ON 18 july 1993?
CREATE TABLE table_name_70 ( outcome VARCHAR, date VARCHAR )
SELECT outcome FROM table_name_70 WHERE date LIKE "%18 july 1993%"
Which letter has an operator of the Defense Information Systems Agency?
CREATE TABLE table_name_32 ( letter VARCHAR, operator VARCHAR )
SELECT letter FROM table_name_32 WHERE operator LIKE "%defense information systems agency%"
What is the largest attendance that has December 16, 1962 as the date?
CREATE TABLE table_38069 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_38069 WHERE "Date" LIKE '%december 16, 1962%'
What was the average pick made by the Texas Rangers?
CREATE TABLE table_name_82 ( pick INTEGER, team VARCHAR )
SELECT AVG(pick) FROM table_name_82 WHERE team LIKE "%texas rangers%"
What is the highest channel number?
CREATE TABLE table_27871460_2 ( channel_number INTEGER )
SELECT MAX(channel_number) FROM table_27871460_2
which was the first film in kannada ?
CREATE TABLE table_204_546 ( id number, "year" number, "film" text, "song" text, "language" text )
SELECT "film" FROM table_204_546 WHERE "language" LIKE '%kannada%' ORDER BY "year" LIMIT 1
Who is moving during winter from wal?
CREATE TABLE table_name_28 ( moving_from VARCHAR, transfer_window VARCHAR, country VARCHAR )
SELECT moving_from FROM table_name_28 WHERE transfer_window LIKE "%winter%" AND country LIKE "%wal%"
What family was featured in episode us14 of the series?
CREATE TABLE table_19897294_11 ( family_families VARCHAR, no_in_series VARCHAR )
SELECT family_families FROM table_19897294_11 WHERE no_in_series LIKE '%us14%'
What is the highest number of points before 1954?
CREATE TABLE table_name_5 ( points INTEGER, year INTEGER )
SELECT MAX(points) FROM table_name_5 WHERE year < 1954
Which school(s) had a wide receiver drafted in round 4?
CREATE TABLE table_name_16 ( school_club_team VARCHAR, round VARCHAR, position VARCHAR )
SELECT school_club_team FROM table_name_16 WHERE round > '4' AND position LIKE '%wide receiver%'
Which Visitor is listed as having a Date of December 17?
CREATE TABLE table_69994 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Visitor" FROM table_69994 WHERE "Date" LIKE '%december 17%'
What is the catalog number with the date November 16, 2004?
CREATE TABLE table_58469 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Catalog" FROM table_58469 WHERE "Date" LIKE '%november 16, 2004%'
What is Identifier, when City of License is Terrace Bay?
CREATE TABLE table_name_26 ( identifier VARCHAR, city_of_license VARCHAR )
SELECT identifier FROM table_name_26 WHERE city_of_license LIKE "%terrace bay%"
How long is the song titled burning love?
CREATE TABLE table_name_54 ( time VARCHAR, song_title VARCHAR )
SELECT time FROM table_name_54 WHERE song_title LIKE "%burning love%"
What was the score of the game when the record was 59-65?
CREATE TABLE table_71775 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Score" FROM table_71775 WHERE "Record" LIKE '%59-65%'
are there above or below 30 places ?
CREATE TABLE table_204_279 ( id number, "name of place" text, "number\nof\ncounties" number, "principal\ncounty" text, "zip code\nlower" number, "zip code\nupper" number )
SELECT (SELECT COUNT("name of place") FROM table_204_279) > 30
What is the lowest position for driver Kyle Busch?
CREATE TABLE table_name_94 ( pos INTEGER, driver VARCHAR )
SELECT MIN(pos) FROM table_name_94 WHERE driver LIKE "%kyle busch%"
What season had a downhill of 35 and overall greater than 21?
CREATE TABLE table_name_53 ( season VARCHAR, downhill VARCHAR, overall VARCHAR )
SELECT COUNT(season) FROM table_name_53 WHERE downhill LIKE "%35%" AND overall > 21
what is the location attendance when the series is 4-3?
CREATE TABLE table_name_38 ( location_attendance VARCHAR, series VARCHAR )
SELECT location_attendance FROM table_name_38 WHERE series LIKE "%4-3%"
When 139 is on March 27th to 29th what is August 21st to 22nd?
CREATE TABLE table_27526 ( "June 10-11" text, "March 27-29" text, "January 15-16" text, "November 3" text, "August 21-22" text )
SELECT "August 21-22" FROM table_27526 WHERE "March 27-29" LIKE '%139%'
what is the total number of people holm park can hold ?
CREATE TABLE table_203_420 ( id number, "#" number, "stadium" text, "capacity" number, "city" text, "home team" text )
SELECT "capacity" FROM table_203_420 WHERE "stadium" LIKE '%holm park%'
Tell me the pole winner of may 12
CREATE TABLE table_name_91 ( pole_winner VARCHAR, date VARCHAR )
SELECT pole_winner FROM table_name_91 WHERE date LIKE "%may 12%"
Who was the successor in New York 11th district?
CREATE TABLE table_2159537_3 ( successor VARCHAR, district VARCHAR )
SELECT successor FROM table_2159537_3 WHERE district LIKE '%new york 11th%'
What was the format for catalog 660-51-015?
CREATE TABLE table_name_51 ( format VARCHAR, catalog VARCHAR )
SELECT format FROM table_name_51 WHERE catalog LIKE '%660-51-015%'
What is the Result of the game with an Attendance of 55,353?
CREATE TABLE table_name_53 ( result VARCHAR, attendance VARCHAR )
SELECT result FROM table_name_53 WHERE attendance LIKE "%55,353%"
how many total number of moto2/250cc when country is united states
CREATE TABLE table_4138 ( "Country" text, "MotoGP/500cc" real, "350cc" real, "Moto2/250cc" real, "Moto3/125cc" real, "80cc/50cc" real, "Total" real )
SELECT COUNT("Moto2/250cc") FROM table_4138 WHERE "Country" LIKE '%united states%'
Who was the opponent when the record was 61-57?
CREATE TABLE table_name_89 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_89 WHERE record LIKE "%61-57%"
What novelty has USA as the location, and coryloides as the name?
CREATE TABLE table_41240 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Unit" text, "Location" text )
SELECT "Novelty" FROM table_41240 WHERE "Location" LIKE '%usa%' AND "Name" LIKE '%coryloides%'
What site has november 30, 2006 as the date?
CREATE TABLE table_name_25 ( site VARCHAR, date VARCHAR )
SELECT site FROM table_name_25 WHERE date LIKE "%november 30, 2006%"
What's the name of the 2005 tournament that has a 1R in both 2006 and 2002?
CREATE TABLE table_name_14 ( Id VARCHAR )
SELECT 2005 FROM table_name_14 WHERE 2006 LIKE "%1r%" AND 2002 LIKE "%1r%"
What country was the game played when it was played from April 11-April 21?
CREATE TABLE table_name_73 ( country VARCHAR, date VARCHAR )
SELECT country FROM table_name_73 WHERE date LIKE "%april 11-april 21%"
Name the tournament when it has 2011 of 2r
CREATE TABLE table_80362 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "Tournament" FROM table_80362 WHERE "2011" LIKE '%2r%'
What is the highest Week, when Result is W 34-21?
CREATE TABLE table_49029 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Week") FROM table_49029 WHERE "Result" LIKE '%w 34-21%'
what is the surface when the opponents are louise field nathalie herreman?
CREATE TABLE table_name_13 ( surface VARCHAR, opponents VARCHAR )
SELECT surface FROM table_name_13 WHERE opponents LIKE "%louise field nathalie herreman%"
What award did Andrew Ryder win as producer?
CREATE TABLE table_name_40 ( award VARCHAR, producer_s_ VARCHAR )
SELECT award FROM table_name_40 WHERE producer_s_ LIKE "%andrew ryder%"
List the names of all the distinct product names in alphabetical order?
CREATE TABLE product ( product_name VARCHAR )
SELECT DISTINCT product_name FROM product ORDER BY product_name
what is the lowest week when the attendance is 54,714?
CREATE TABLE table_63822 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MIN("Week") FROM table_63822 WHERE "Attendance" LIKE '%54,714%'
What is the time associated with August 16, 2008?
CREATE TABLE table_68728 ( "Event" text, "Time" text, "Venue" text, "Date" text, "Notes" text )
SELECT "Time" FROM table_68728 WHERE "Date" LIKE '%august 16, 2008%'
What is the rank for Burghley?
CREATE TABLE table_40645 ( "Competition" text, "Place" text, "Year" real, "Horse" text, "Rank" text )
SELECT "Rank" FROM table_40645 WHERE "Place" LIKE '%burghley%'
Whicih Extra points are the average ones that have Points smaller than 6?
CREATE TABLE table_name_35 ( extra_points INTEGER, points INTEGER )
SELECT AVG(extra_points) FROM table_name_35 WHERE points < 6
Which Tournament has a Location of texas, and a Winner of tom watson (39)?
CREATE TABLE table_name_15 ( tournament VARCHAR, location VARCHAR, winner VARCHAR )
SELECT tournament FROM table_name_15 WHERE location LIKE "%texas%" AND winner LIKE "%tom watson (39)%"
On what day was Game 7 of this season played?
CREATE TABLE table_9974 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text )
SELECT "Date" FROM table_9974 WHERE "Game" LIKE '%game 7%'
Give me the result for a format saying album with 1994 as the year.
CREATE TABLE table_name_91 ( result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR )
SELECT result_s_ FROM table_name_91 WHERE format_s_ LIKE '%album%' AND year = '1994'
Who had a versus of sri lanka?
CREATE TABLE table_name_18 ( player VARCHAR, versus VARCHAR )
SELECT player FROM table_name_18 WHERE versus LIKE "%sri lanka%"
What is the status for 24/11/1979?
CREATE TABLE table_name_86 ( status VARCHAR, date VARCHAR )
SELECT status FROM table_name_86 WHERE date LIKE "%24/11/1979%"
Who was the builder of Nor?
CREATE TABLE table_name_12 ( builder VARCHAR, ship VARCHAR )
SELECT builder FROM table_name_12 WHERE ship LIKE "%nor%"
what is the number of the average of the drama titled
CREATE TABLE table_29633639_1 ( average INTEGER, chinese_title VARCHAR )
SELECT MAX(average) FROM table_29633639_1 WHERE chinese_title LIKE "%魚躍在花見%"
How many catches does hh dippenaar have?
CREATE TABLE table_name_59 ( catches VARCHAR, player VARCHAR )
SELECT catches FROM table_name_59 WHERE player LIKE "%hh dippenaar%"
What shows for notes when rank is more than 4, and country is South Korea?
CREATE TABLE table_63807 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text )
SELECT "Notes" FROM table_63807 WHERE "Rank" > 4 AND "Country" LIKE '%south korea%'
What was the competition in 2003?
CREATE TABLE table_69314 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text )
SELECT "Competition" FROM table_69314 WHERE "Year" = 2003
What is the title of the original airing on e4 May 2, 2010?
CREATE TABLE table_22170495_6 ( title VARCHAR, original_airing_on_e4 VARCHAR )
SELECT title FROM table_22170495_6 WHERE original_airing_on_e4 LIKE '%may 2, 2010%'
Who had the high points when the team was charlotte?
CREATE TABLE table_74197 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_74197 WHERE "Team" LIKE '%charlotte%'
What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up?
CREATE TABLE table_name_56 ( year VARCHAR, champion VARCHAR, runner_up VARCHAR )
SELECT year FROM table_name_56 WHERE champion LIKE "%akron goodyear wingfoots%" AND runner_up LIKE "%real madrid%"
What is the Korean dialect in the daegu capital?
CREATE TABLE table_name_71 ( korean_dialect VARCHAR, capital VARCHAR )
SELECT korean_dialect FROM table_name_71 WHERE capital LIKE "%daegu%"
Name the total number of status for eldon
CREATE TABLE table_171361_2 ( status VARCHAR, official_name VARCHAR )
SELECT COUNT(status) FROM table_171361_2 WHERE official_name LIKE "%eldon%"
What is the player from England's To Par?
CREATE TABLE table_name_68 ( to_par VARCHAR, country VARCHAR )
SELECT to_par FROM table_name_68 WHERE country LIKE "%england%"
what is the old English name of Saturday?
CREATE TABLE table_2624098_1 ( old_english_day_name VARCHAR, modern_english_day_name VARCHAR )
SELECT old_english_day_name FROM table_2624098_1 WHERE modern_english_day_name LIKE "%saturday%"
Season of 2012 13 is what league?
CREATE TABLE table_name_68 ( league VARCHAR, season VARCHAR )
SELECT league FROM table_name_68 WHERE season LIKE "%2012–13%"
Name the timeslot for season 5
CREATE TABLE table_143554_1 ( timeslot VARCHAR, season VARCHAR )
SELECT timeslot FROM table_143554_1 WHERE season LIKE '%5%'
Who won the match when the margin was 131 runs?
CREATE TABLE table_22384475_1 ( winner VARCHAR, margin VARCHAR )
SELECT winner FROM table_22384475_1 WHERE margin LIKE "%131 runs%"
What was the 1st leg when team 2 was nov milenium?
CREATE TABLE table_44166 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "1st leg" FROM table_44166 WHERE "Team 2" LIKE '%nov milenium%'
What was the loss of the game against the Indians when the record was 15-15?
CREATE TABLE table_name_68 ( loss VARCHAR, opponent VARCHAR, record VARCHAR )
SELECT loss FROM table_name_68 WHERE opponent LIKE "%indians%" AND record LIKE "%15-15%"
What is the date when the Lakers were the home team?
CREATE TABLE table_name_1 ( date VARCHAR, home VARCHAR )
SELECT date FROM table_name_1 WHERE home LIKE "%lakers%"
What day is south melbourne at home?
CREATE TABLE table_name_71 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_71 WHERE home_team LIKE "%south melbourne%"
What is Tournament, when Week is November 23?
CREATE TABLE table_name_64 ( tournament VARCHAR, week VARCHAR )
SELECT tournament FROM table_name_64 WHERE week LIKE "%november 23%"
What was the opponent for july 21?
CREATE TABLE table_name_35 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_35 WHERE date LIKE "%july 21%"
What was the result of week 11?
CREATE TABLE table_name_1 ( result VARCHAR, week VARCHAR )
SELECT result FROM table_name_1 WHERE week LIKE '%11%'
In which stadium is the week 5 game played?
CREATE TABLE table_16225 ( "Week" real, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" real )
SELECT "Stadium" FROM table_16225 WHERE "Week" = 5
What is To Par, when Place is 3?
CREATE TABLE table_51132 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_51132 WHERE "Place" LIKE '%3%'
Can you tell me Labour's place 2003 that has the Result of con hold, and the Constituency of ayr?
CREATE TABLE table_51738 ( "Rank" real, "Constituency" text, "Winning party 2003" text, "Swing to gain" real, "Labour's place 2003" text, "Result" text )
SELECT "Labour's place 2003" FROM table_51738 WHERE "Result" LIKE '%con hold%' AND "Constituency" LIKE '%ayr%'
Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?
CREATE TABLE table_name_34 ( runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR )
SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory LIKE "%1 stroke%" AND tournament LIKE "%world seniors invitational%"
What is the score in the final of the tournament with a clay surface on 18 April 2011?
CREATE TABLE table_name_88 ( score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR )
SELECT score_in_the_final FROM table_name_88 WHERE surface LIKE '%clay%' AND date LIKE '%18 april 2011%'
What was the final score for the match held on April 11, 2007?
CREATE TABLE table_name_68 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_68 WHERE date LIKE "%april 11, 2007%"
What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245?
CREATE TABLE table_name_8 ( lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR )
SELECT AVG(lane) FROM table_name_8 WHERE time > '22.57' AND react < '0.245' AND country LIKE '%cuba%'
what is the part 4 when the verb meaning is to steal?
CREATE TABLE table_name_95 ( part_4 VARCHAR, verb_meaning VARCHAR )
SELECT part_4 FROM table_name_95 WHERE verb_meaning LIKE "%to steal%"
How much Drawn has Goals Against of 81, and a Lost larger than 23?
CREATE TABLE table_name_95 ( drawn VARCHAR, goals_against VARCHAR, lost VARCHAR )
SELECT COUNT(drawn) FROM table_name_95 WHERE goals_against LIKE '%81%' AND lost > '23'
Name the opponent for may 12
CREATE TABLE table_name_73 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_73 WHERE date LIKE "%may 12%"
How many points were scored against with a losing bonus of 1 for Blaenavon RFC?
CREATE TABLE table_name_67 ( points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR )
SELECT points_against FROM table_name_67 WHERE losing_bonus LIKE "%1%" AND club LIKE "%blaenavon rfc%"
What is the capital (endonym) where Douglas is the Capital (exonym)?
CREATE TABLE table_1008653_9 ( capital___endonym__ VARCHAR, capital___exonym__ VARCHAR )
SELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ LIKE "%douglas%"
Name the location attendance for l 93-105
CREATE TABLE table_27882867_4 ( location_attendance VARCHAR, score VARCHAR )
SELECT location_attendance FROM table_27882867_4 WHERE score LIKE '%l 93-105%'
If the name is Patrick Grappin, what is the nationality?
CREATE TABLE table_3088 ( "Name" text, "Position" text, "Period" text, "Appearances\u00b9" real, "Goals\u00b9" real, "Nationality\u00b2" text )
SELECT "Nationality²" FROM table_3088 WHERE "Name" LIKE '%patrick grappin%'