question
stringlengths
19
162
table_info
stringlengths
39
951
sql_query
stringlengths
24
181
What was the outcome for the match at the leipzig tournament with a score w/o?
CREATE TABLE table_name_45 ( outcome VARCHAR, tournament VARCHAR, score VARCHAR )
SELECT outcome FROM table_name_45 WHERE tournament LIKE "%leipzig%" AND score LIKE "%w/o%"
what is the maximum number in the season wher the us viewers is 2.59?
CREATE TABLE table_20726262_4 ( no_in_season INTEGER, usviewers__million_ VARCHAR )
SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ LIKE "%2.59%"
what is the pick for adam gettis?
CREATE TABLE table_8111 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MIN("Pick") FROM table_8111 WHERE "Name" LIKE '%adam gettis%'
What was the venue of the game on 27 April 1964?
CREATE TABLE table_56611 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_56611 WHERE "Date" LIKE '%27 april 1964%'
How many championships are there when there are 6 points
CREATE TABLE table_26223231_1 ( series VARCHAR, points VARCHAR )
SELECT series FROM table_26223231_1 WHERE points LIKE "%6%"
Who had a time of 26.11?
CREATE TABLE table_49133 ( "Event" text, "Date" text, "Round" text, "Name" text, "Nationality" text, "Time" text, "Record" text )
SELECT "Name" FROM table_49133 WHERE "Time" LIKE '%26.11%'
What region has a 5 rank?
CREATE TABLE table_56122 ( "Rank" real, "Mountain Peak" text, "Region" text, "Mountain Range" text, "Location" text )
SELECT "Region" FROM table_56122 WHERE "Rank" = 5
What is the record of wins/losses that were played at opponents venue (uf, 1-0)
CREATE TABLE table_16201038_5 ( overall_record VARCHAR, at_opponents_venue VARCHAR )
SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue LIKE '%uf, 1-0%'
What is the score for 17 April 2013?
CREATE TABLE table_43152 ( "Date" text, "Tournament" text, "Location" text, "Home team" text, "Score" text, "Away team" text )
SELECT "Score" FROM table_43152 WHERE "Date" LIKE '%17 april 2013%'
What is the highest number of division championships where playoff berths were 11?
CREATE TABLE table_1952065_4 ( division_championships INTEGER, playoff_berths VARCHAR )
SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths LIKE '%11%'
What league were they in in 2009?
CREATE TABLE table_1168 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text )
SELECT "League" FROM table_1168 WHERE "Year" = 2009
List every album's title.
CREATE TABLE albums ( title VARCHAR )
SELECT title FROM albums
Where was the argentine grand prix?
CREATE TABLE table_name_42 ( location VARCHAR, race VARCHAR )
SELECT location FROM table_name_42 WHERE race LIKE "%argentine grand prix%"
What team was the away team when they played at lake oval?
CREATE TABLE table_name_84 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team AS score FROM table_name_84 WHERE venue LIKE '%lake oval%'
What Locomotive was Delivered as T414?
CREATE TABLE table_name_2 ( locomotive VARCHAR, delivered_as VARCHAR )
SELECT locomotive FROM table_name_2 WHERE delivered_as LIKE "%t414%"
What is the total number of PLD for Team Arsenal?
CREATE TABLE table_name_14 ( total_pld VARCHAR, team VARCHAR )
SELECT COUNT(total_pld) FROM table_name_14 WHERE team LIKE "%arsenal%"
What was the score when the loss was hideo nomo (3 5)?
CREATE TABLE table_6614 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text, "Attendance" real, "Record" text )
SELECT "Score" FROM table_6614 WHERE "Loss" LIKE '%hideo nomo (3–5)%'
What position was Bob Lilly?
CREATE TABLE table_274117_5 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_274117_5 WHERE player LIKE "%bob lilly%"
What's the location for the Spartans?
CREATE TABLE table_name_99 ( location VARCHAR, mascot VARCHAR )
SELECT location FROM table_name_99 WHERE mascot LIKE "%spartans%"
What is the prize money for the second round qualifying that is listed?
CREATE TABLE table_name_60 ( prize_money VARCHAR, round VARCHAR )
SELECT prize_money FROM table_name_60 WHERE round LIKE "%second round qualifying%"
What is Country of Origin, when Year of Intro is 1977?
CREATE TABLE table_name_10 ( country_of_origin VARCHAR, year_of_intro VARCHAR )
SELECT country_of_origin FROM table_name_10 WHERE year_of_intro LIKE '%1977%'
Which weight class had a time of 4:59?
CREATE TABLE table_name_65 ( weight_class VARCHAR, time VARCHAR )
SELECT weight_class FROM table_name_65 WHERE time LIKE "%4:59%"
What league was involved in 2008?
CREATE TABLE table_21602734_1 ( league VARCHAR, year VARCHAR )
SELECT league FROM table_21602734_1 WHERE year LIKE '%2008%'
Name the height for the center position from kansas
CREATE TABLE table_name_93 ( height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR )
SELECT height_in_ft FROM table_name_93 WHERE position LIKE "%center%" AND school_club_team_country LIKE "%kansas%"
What record has 46 as the game?
CREATE TABLE table_name_74 ( record VARCHAR, game VARCHAR )
SELECT record FROM table_name_74 WHERE game LIKE '%46%'
Name the leagues entering this round for 4
CREATE TABLE table_73078 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text, "Leagues entering this round" text )
SELECT "Leagues entering this round" FROM table_73078 WHERE "Clubs involved" = 4
What is the grid for the driver who earned 14 points?
CREATE TABLE table_17304504_1 ( grid VARCHAR, points VARCHAR )
SELECT grid FROM table_17304504_1 WHERE points LIKE "%14%"
Which PBA team has a College of nu?
CREATE TABLE table_name_61 ( pba_team VARCHAR, college VARCHAR )
SELECT pba_team FROM table_name_61 WHERE college LIKE "%nu%"
How many laps were there when the Time/Retired was +14.403?
CREATE TABLE table_67521 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text )
SELECT "Laps" FROM table_67521 WHERE "Time/Retired" LIKE '%+14.403%'
How many were first elected in the Arkansas 4 district?
CREATE TABLE table_1342233_5 ( first_elected VARCHAR, district VARCHAR )
SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district LIKE '%arkansas 4%'
which year was joan rivers nominated for a tony award and what was the nominated work ?
CREATE TABLE table_202_29 ( id number, "year" number, "nominated work" text, "award" text, "category" text, "result" text )
SELECT "year", "nominated work" FROM table_202_29 WHERE "award" LIKE '%tony award%'
what date is at the top of the list ?
CREATE TABLE table_204_814 ( id number, "date" text, "opposition" text, "result" text, "score" text, "brazil scorers" text, "competition" text )
SELECT "date" FROM table_204_814 WHERE id = 1
Who were all candidate when incumbent was D. Wyatt Aiken?
CREATE TABLE table_19244 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_19244 WHERE "Incumbent" LIKE '%d. wyatt aiken%'
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?
CREATE TABLE table_name_33 ( record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR )
SELECT record_medal_event FROM table_name_33 WHERE sport LIKE "%athletics%" AND athlete LIKE "%robert garrett%" AND CAST(medal_count AS INTEGER) < 3
what was the name of the show that natalia oriero hosted in 2008 ?
CREATE TABLE table_204_871 ( id number, "ano" text, "title" text, "role" text, "channel" text, "notes" text )
SELECT "title" FROM table_204_871 WHERE "ano" = 2008 AND "notes" LIKE '%host%'
Name the opponent for 11-1
CREATE TABLE table_22847880_2 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_22847880_2 WHERE record LIKE "%11-1%"
What is the Venue when the result was 2-1?
CREATE TABLE table_8204 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text, "Scorers" text )
SELECT "Venue" FROM table_8204 WHERE "Result" LIKE '%2-1%'
What was Tom Donchez pick number?
CREATE TABLE table_49451 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text )
SELECT "Pick #" FROM table_49451 WHERE "Player" LIKE '%tom donchez%'
What is maximum, minimum and average amount of outstanding of customer?
CREATE TABLE Customers ( amount_outstanding INTEGER )
SELECT MAX(amount_outstanding), MIN(amount_outstanding), AVG(amount_outstanding) FROM Customers
What Source has an Attack of 9,77%?
CREATE TABLE table_6488 ( "Source" text, "Date" text, "GERB" text, "Attack" text, "Blue Coalition" text )
SELECT "Source" FROM table_6488 WHERE "Attack" LIKE '%9,77%'
What's the total of the position of 1?
CREATE TABLE table_name_91 ( total INTEGER, position INTEGER )
SELECT SUM(total) FROM table_name_91 WHERE position < 1
What venue is in the city of Durham?
CREATE TABLE table_32893 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text )
SELECT "Venue" FROM table_32893 WHERE "City" LIKE '%durham%'
What season has 6 races and the team is Australia?
CREATE TABLE table_name_90 ( season VARCHAR, races VARCHAR, team VARCHAR )
SELECT season FROM table_name_90 WHERE races LIKE '%6%' AND team LIKE '%australia%'
How many entries for number in series when director is Bryan Cranston?
CREATE TABLE table_26736040_1 ( no_in_series VARCHAR, directed_by VARCHAR )
SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by LIKE "%bryan cranston%"
What placement gets more than $400?
CREATE TABLE table_name_18 ( place VARCHAR, money___$__ INTEGER )
SELECT place FROM table_name_18 WHERE money___$__ > 400
For week 15, what was the total number of attendance recorded?
CREATE TABLE table_49265 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT COUNT("Attendance") FROM table_49265 WHERE "Week" = 15
When did the 4th finisher enter?
CREATE TABLE table_19291 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text )
SELECT "Entered" FROM table_19291 WHERE "Finished" LIKE '%4th%'
What is the English title when the original title is Die Qual Der Wahl?
CREATE TABLE table_1481865_1 ( title__english_ VARCHAR, title__original_ VARCHAR )
SELECT title__english_ FROM table_1481865_1 WHERE title__original_ LIKE '%die qual der wahl%'
What is the earliest year on the chart?
CREATE TABLE table_26609690_1 ( year INTEGER )
SELECT MIN(year) FROM table_26609690_1
What is the tries for when the points against is 214?
CREATE TABLE table_name_25 ( tries_for VARCHAR, points_against VARCHAR )
SELECT tries_for FROM table_name_25 WHERE points_against LIKE "%214%"
What class is ERP W of 800?
CREATE TABLE table_72002 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "Class" FROM table_72002 WHERE "ERP W" = 800
Team Rusport has the best of 59.654 and what qual 1?
CREATE TABLE table_43518 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text )
SELECT "Qual 1" FROM table_43518 WHERE "Team" LIKE '%rusport%' AND "Best" = '59.654'
What is Moving To, when Name is 'Leon Andreasen'?
CREATE TABLE table_name_18 ( moving_to VARCHAR, name VARCHAR )
SELECT moving_to FROM table_name_18 WHERE name LIKE "%leon andreasen%"
How many years did he have an average finish of 11.7?
CREATE TABLE table_2387790_2 ( avg_start VARCHAR, avg_finish VARCHAR )
SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish LIKE "%11.7%"
What is Place, when Score is less than 70?
CREATE TABLE table_name_44 ( place VARCHAR, score INTEGER )
SELECT place FROM table_name_44 WHERE score < 70
What is every entry for passed when NO votes is 312187?
CREATE TABLE table_256286_43 ( passed VARCHAR, no_votes VARCHAR )
SELECT passed FROM table_256286_43 WHERE no_votes = '312187'
What is the total for set 2 17-25?
CREATE TABLE table_name_80 ( total VARCHAR, set_2 VARCHAR )
SELECT total FROM table_name_80 WHERE set_2 LIKE "%17-25%"
What is the ICAO when the IATA is ika?
CREATE TABLE table_41851 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "ICAO" FROM table_41851 WHERE "IATA" LIKE '%ika%'
What is the score of the home team, bath city?
CREATE TABLE table_name_16 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_16 WHERE home_team LIKE "%bath city%"
Who played as Team 1 against Lom i?
CREATE TABLE table_name_8 ( team_1 VARCHAR, team_2 VARCHAR )
SELECT team_1 FROM table_name_8 WHERE team_2 LIKE "%lomé i%"
What was the Opponent when the Cavaliers had a Record of 3-9?
CREATE TABLE table_name_10 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_10 WHERE record LIKE "%3-9%"
Name the number of game 2-6
CREATE TABLE table_27537870_5 ( game VARCHAR, score VARCHAR )
SELECT COUNT(game) FROM table_27537870_5 WHERE score LIKE "%2-6%"
What is the platform(s) for the year 2006 (10th)?
CREATE TABLE table_name_78 ( platform_s_ VARCHAR, year VARCHAR )
SELECT platform_s_ FROM table_name_78 WHERE year LIKE "%2006 (10th)%"
What is the average pick for Florida State?
CREATE TABLE table_name_70 ( pick INTEGER, school_club_team VARCHAR )
SELECT AVG(pick) FROM table_name_70 WHERE school_club_team LIKE "%florida state%"
Which country has Weerawila Airport?
CREATE TABLE table_34983 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "Country" FROM table_34983 WHERE "Airport" LIKE '%weerawila airport%'
What is the average game number when the record is 4-1?
CREATE TABLE table_name_18 ( game INTEGER, record VARCHAR )
SELECT AVG(game) FROM table_name_18 WHERE record LIKE "%4-1%"
Who had the most high assists with a record of 32-19?
CREATE TABLE table_23284271_8 ( high_assists VARCHAR, record VARCHAR )
SELECT high_assists FROM table_23284271_8 WHERE record LIKE "%32-19%"
What is every value for Polish when Balarusian is ?
CREATE TABLE table_25008327_8 ( polish VARCHAR, belarusian VARCHAR )
SELECT polish FROM table_25008327_8 WHERE belarusian LIKE "%ноч%"
When shaun maloney is the player what is the lowest p?
CREATE TABLE table_18254488_2 ( p INTEGER, player VARCHAR )
SELECT MIN(p) FROM table_18254488_2 WHERE player LIKE "%shaun maloney%"
What was the venue when the score was 24 28?
CREATE TABLE table_55992 ( "Date" text, "Competition" text, "Venue" text, "Result" text, "Score" text, "Goals" text )
SELECT "Venue" FROM table_55992 WHERE "Score" LIKE '%24–28%'
what lane was new zealand in?
CREATE TABLE table_69065 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT "Lane" FROM table_69065 WHERE "Nationality" LIKE '%new zealand%'
Who was the home team when the record was 27 14 6?
CREATE TABLE table_70292 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Home" FROM table_70292 WHERE "Record" LIKE '%27–14–6%'
What was the total games played at the Staples Center?
CREATE TABLE table_name_56 ( game INTEGER, location VARCHAR )
SELECT SUM(game) FROM table_name_56 WHERE location LIKE "%staples center%"
Tell me the average original week for soldier field
CREATE TABLE table_name_18 ( original_week INTEGER, venue VARCHAR )
SELECT AVG(original_week) FROM table_name_18 WHERE venue LIKE "%soldier field%"
What is the try bonus when the tries against are 17?
CREATE TABLE table_17625749_3 ( try_bonus VARCHAR, tries_against VARCHAR )
SELECT try_bonus FROM table_17625749_3 WHERE tries_against LIKE "%17%"
Which Record has a Date of may 31?
CREATE TABLE table_43008 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text )
SELECT "Record" FROM table_43008 WHERE "Date" LIKE '%may 31%'
What is Ivaipor , pr's biggest population?
CREATE TABLE table_name_13 ( population INTEGER, town_city VARCHAR )
SELECT MAX(population) FROM table_name_13 WHERE lower(town_city) LIKE '%ivaiporã, pr%'
What were the least Wins in 1988?
CREATE TABLE table_name_19 ( wins INTEGER, year VARCHAR )
SELECT MIN(wins) FROM table_name_19 WHERE year LIKE '%1988%'
What was the date for a round that only had 1 match?
CREATE TABLE table_name_36 ( date VARCHAR, matches VARCHAR )
SELECT date FROM table_name_36 WHERE matches LIKE '%1%'
What is the tournament on 5 October 2004?
CREATE TABLE table_name_50 ( tournament VARCHAR, date VARCHAR )
SELECT tournament FROM table_name_50 WHERE date LIKE "%5 october 2004%"
How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?
CREATE TABLE table_298883_5 ( date_of_issue VARCHAR, obverse VARCHAR )
SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse LIKE "%kumsusan memorial palace%"
On 9/3/97, what was the score that resulted in a w?
CREATE TABLE table_name_72 ( score VARCHAR, result VARCHAR, date VARCHAR )
SELECT score FROM table_name_72 WHERE result LIKE "%w%" AND date LIKE "%9/3/97%"
What is Darren Clarke's total score?
CREATE TABLE table_58808 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT COUNT("Score") FROM table_58808 WHERE "Player" LIKE '%darren clarke%'
What is the most recent year with the Album/Song 'the best worst-case scenario'?
CREATE TABLE table_name_19 ( year INTEGER, album___song VARCHAR )
SELECT MAX(year) FROM table_name_19 WHERE album___song LIKE "%the best worst-case scenario%"
Which Record has Points larger than 0, and a Score of 7 3?
CREATE TABLE table_39285 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT "Record" FROM table_39285 WHERE "Points" > 0 AND "Score" LIKE '%7–3%'
What was the team record when the team played @ Utah?
CREATE TABLE table_21197135_1 ( record VARCHAR, opponent VARCHAR )
SELECT record FROM table_21197135_1 WHERE opponent LIKE '%@ utah%'
What is the fumrec minimum?
CREATE TABLE table_25773915_11 ( fumrec INTEGER )
SELECT MIN(fumrec) FROM table_25773915_11
What is the home team of the game on February 3?
CREATE TABLE table_name_72 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_72 WHERE date LIKE "%february 3%"
the names of models that launched between 2002 and 2004.
CREATE TABLE chip_model ( Model_name VARCHAR, Launch_year INTEGER )
SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004
What is the Team in Game 38?
CREATE TABLE table_76274 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text )
SELECT "Team" FROM table_76274 WHERE "Game" = 38
What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4?
CREATE TABLE table_name_19 ( draws INTEGER, points VARCHAR, position VARCHAR, wins VARCHAR )
SELECT SUM(draws) FROM table_name_19 WHERE position < '4' AND wins LIKE '%11%' AND points < '38'
Who is the composer on the tracks less than 4?
CREATE TABLE table_name_36 ( composer VARCHAR, track INTEGER )
SELECT composer FROM table_name_36 WHERE track < 4
how many reports of races took place on october 16?
CREATE TABLE table_10707142_2 ( report VARCHAR, date VARCHAR )
SELECT COUNT(report) FROM table_10707142_2 WHERE date LIKE "%october 16%"
What away team played at Kardinia Park?
CREATE TABLE table_name_63 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team AS score FROM table_name_63 WHERE venue LIKE '%kardinia park%'
What is the total capacity for coach Trevor Gleeson?
CREATE TABLE table_name_64 ( capacity INTEGER, coach VARCHAR )
SELECT SUM(capacity) FROM table_name_64 WHERE coach LIKE "%trevor gleeson%"
Name the number of high rebounds for april 21
CREATE TABLE table_17621978_11 ( high_rebounds VARCHAR, date VARCHAR )
SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date LIKE '%april 21%'
What is the score of player brian watts, who has a to par of 5?
CREATE TABLE table_13061 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real )
SELECT "Score" FROM table_13061 WHERE "To par" = 5 AND "Player" LIKE '%brian watts%'
Name the aircraft type for furstenau/vorden
CREATE TABLE table_28342423_1 ( aircraft_type VARCHAR, geschwader_base VARCHAR )
SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base LIKE "%furstenau/vorden%"
What is the friendly game for Germany of France?
CREATE TABLE table_39204 ( "136." real, "18 February" text, "Friendly" text, "Croatia" text, "Germany" text )
SELECT "Friendly" FROM table_39204 WHERE "Germany" LIKE '%france%'
When did Adam Thompson play in the final?
CREATE TABLE table_name_47 ( date VARCHAR, opponent_in_the_final VARCHAR )
SELECT date FROM table_name_47 WHERE opponent_in_the_final LIKE "%adam thompson%"