context
stringlengths
249
1.51k
question
stringlengths
20
171
answer
stringlengths
40
173
dbms
listlengths
0
5
CREATE TABLE IF NOT EXISTS table_1_27770426_1 ( Stumpings numeric, "Total dismissals" numeric, "No." numeric, Club text, Player text, "Test career" text, Tests numeric, Catches numeric ); CREATE TABLE IF NOT EXISTS table_1_12232843_1 ( "Womens singles" text, Season numeric, "Mens singles" text, "Mens double...
How many total catches did the player with no. 46 have?
SELECT COUNT(Catches) FROM table_1_27770426_1 WHERE "No." = '46'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10236830_6 ( Nomination text, "Actors Name" text, Country text, "Film Name" text, Director text ); CREATE TABLE IF NOT EXISTS table_1_18600760_20 ( "Water (sqmi)" text, Latitude text, County text, Longitude text, "Land ( sqmi )" text, Township text, "ANSI code" numeric, "...
How many ansi codes are there for latitude 48.142938?
SELECT COUNT("ANSI code") FROM table_1_18600760_20 WHERE "Latitude" ILIKE '%48.142938%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_11741681_2 ( Loss text, Date text, Attendance text, Opponent text, Record text, Score text ); CREATE TABLE IF NOT EXISTS table_1_12321870_32 ( Position text, Country text, Matches text, "Player name" text, Goals text, Period text ); CREATE TABLE IF NOT EXISTS table_1_12562...
What is the record for April 8?
SELECT Record FROM table_2_11741681_2 WHERE "Date" ILIKE '%april%8%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_12733279_3 ( Team text, Position text, School text, Player text, Pick numeric ); CREATE TABLE IF NOT EXISTS table_1_11959669_6 ( Score text, Date text, "Location Attendance" text, "High rebounds" text, "High points" text, "High assists" text, Game numeric, Record text );
What was the highest pick for the player Adam Jones?
SELECT MAX(Pick) FROM table_2_12733279_3 WHERE "Player" ILIKE '%adam%jones%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11222744_2 ( "Copyright Information" text, Format text, Year numeric, Title text, Studio text, "Release Date" text, "Catalog Number" text ); CREATE TABLE IF NOT EXISTS table_2_10809444_4 ( Crowd numeric, "Away team" text, "Home team" text, "Home team score" text, "Away tea...
When the Away team is melbourne, what venue do they play at?
SELECT Venue FROM table_2_10809444_4 WHERE "Away team" ILIKE '%melbourne%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1137718_2 ( "Winning Driver" text, Date text, "Rd." numeric, Constructor text, Report text, "Fastest Lap" text, "Pole Position" text, Location text, "Grand Prix" text ); CREATE TABLE IF NOT EXISTS table_1_1057316_1 ( Disposition text, "Build date" text, "Serial number" tex...
What year did they finish 1st, southern?
SELECT MAX(YEAR) FROM table_1_12002388_1 WHERE "Reg. Season" ILIKE '%1st,%Southern%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1112176_1 ( "Total Goals" numeric, "FA Cup Apps (Sub)" text, "FA Cup Goals" numeric, "Total Apps (Sub)" text, "Other Apps" numeric, Division text, Season text, "League Goals" numeric, "FL Cup Apps (Sub)" numeric, "Other Goals" numeric, "FL Cup Goals" numeric, "League Apps ...
Which player who won in 1977 and scored great than 155 was the closest to par?
SELECT MAX("To par") FROM table_2_18132874_3 WHERE "Year(s) won" ILIKE '%1977%' AND "Total" > '155'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1161065_28 ( Total numeric, Average numeric, Highest numeric, Venue text, Lowest numeric, Hosted numeric, "Up/Down" text, "Last Year" text ); CREATE TABLE IF NOT EXISTS table_2_14553504_2 ( Airport text, IATA text, ICAO text, City text, Country text );
For an ICAO of VCCT, what is the IATA?
SELECT IATA FROM table_2_14553504_2 WHERE "ICAO" ILIKE '%vcct%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11621873_1 ( Score text, Date text, "1st Prize( $ )" numeric, Winner text, "Purse( $ )" numeric, Location text, Tournament text ); CREATE TABLE IF NOT EXISTS table_1_160510_5 ( Region text, "RR Romaja" text, Country text, ISO text, Hanja text, Area text, Capital text, "...
Name the total number of hangul chosongul for 8,352
SELECT COUNT(Hangul/Chosongul) FROM table_1_160510_5 WHERE "Area" ILIKE '%8,352%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11274401_3 ( "No." numeric, Rating text, "Viewers (m)" text, "Air Date" text, "Rank (#)" text, "18–49 (Rating/Share)" text, Share text, Episode text, Timeslot text ); CREATE TABLE IF NOT EXISTS table_1_1046071_1 ( Year numeric, League text, Playoffs text, "Open Cup" text,...
What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167?
SELECT MAX(RESULT) FROM table_2_18569011_17 WHERE "Name" ILIKE '%wallace%spearmon%' AND "Reaction Time" > '0.167'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12165999_1 ( Player text, "AFL Team" text, Position text, "Overall Pick #" numeric, College text ); CREATE TABLE IF NOT EXISTS table_1_22570439_1 ( "U.S. viewers (millions)" text, "Season #" numeric, "Episode title" text, "Written by" text, "Original air date" text, "Series...
How many u.s. viewers (million) have a series # 83?
SELECT "U.S. viewers (millions)" FROM table_1_22570439_1 WHERE "Series #" = '83'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1216675_1 ( Subject text, Pinyin text, Translation text, Chapter numeric, Chinese text ); CREATE TABLE IF NOT EXISTS table_1_11964263_13 ( Game numeric, "High rebounds" text, Team text, "High assists" text, Series text, "Location Attendance" text, Score text, "High points...
Which Seat has a Season 6 of kevin o'leary?
SELECT MAX(Seat) FROM table_2_1787654_1 WHERE "Season 6" ILIKE '%kevin%o'leary%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_22347090_6 ( "Written by" text, "Directed by" text, "No. in series" numeric, "Original air date" text, "U.S. viewers (million)" text, Title text, "No. in season" numeric, "Production code" text ); CREATE TABLE IF NOT EXISTS table_1_12206918_2 ( Date text, Number numeric, Op...
Who wrote the episode that has a production code 3x7557?
SELECT "Written by" FROM table_1_22347090_6 WHERE "Production code" ILIKE '%3X7557%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_23982399_12 ( Winner text, "Theme Ingredient" text, "Original airdate" text, "Iron Chef" text, Challenger text, Special text, "Challenger Specialty" text ); CREATE TABLE IF NOT EXISTS table_1_12221135_3 ( Arrival text, "Going to" text, Departure text, "Calling at" text, Op...
What is the special when the challenger is dominique bouchet?
SELECT Special FROM table_1_23982399_12 WHERE "Challenger" ILIKE '%Dominique%Bouchet%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677691_10 ( Hometown text, College text, Player text, Position text, School text ); CREATE TABLE IF NOT EXISTS table_1_1213511_6 ( "NHL team" text, "College/junior/club team" text, "Pick #" numeric, Position text, Nationality text ); CREATE TABLE IF NOT EXISTS table_1_1968...
How many times was country considered when starky % was 20.96%
SELECT COUNT(County) FROM table_1_19681738_1 WHERE "Starky %" ILIKE '%20.96%%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677691_10 ( School text, Hometown text, College text, Position text, Player text ); CREATE TABLE IF NOT EXISTS table_1_101196_1 ( "Irish name" text, Population numeric, "Irish speakers" text, "English name" text, County text ); CREATE TABLE IF NOT EXISTS table_1_1204065_2 ...
What is the quantity when the seats number was 16 and the class was kss 1913?
SELECT Quantity FROM table_2_15546197_1 WHERE "Seats" = '16' AND "Class" ILIKE '%kss%1913%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11694832_1 ( "Original air date" text, Title text, "U.S. viewers (millions)" text, "No. in season" numeric, "No. in series" numeric, "Production code" text, "Written by" text, "Directed by" text ); CREATE TABLE IF NOT EXISTS table_1_1140103_6 ( Report text, Circuit text, "R...
What is the team for season 1911-12?
SELECT Team FROM table_1_10556257_1 WHERE "Season" ILIKE '%1911-12%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_101196_1 ( Population numeric, "Irish name" text, County text, "English name" text, "Irish speakers" text ); CREATE TABLE IF NOT EXISTS table_1_11622829_1 ( "Purse( $ )" numeric, Tournament text, Date text, Location text, "1st Prize( $ )" numeric, Score text, Winner text )...
Name the platforms for cityengine
SELECT Platforms FROM table_1_19495707_1 WHERE "Application" ILIKE '%CityEngine%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11820086_1 ( "U.S. viewers (millions)" text, "Directed by" text, "Production code" text, "No. in series" numeric, Title text, "Original air date" text, "Written by" text, "No. in season" numeric ); CREATE TABLE IF NOT EXISTS table_1_1341897_42 ( District text, Party text, "...
What is the earliest year that a candidate was first elected?
SELECT MIN("First elected") FROM table_1_1341897_42
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11964263_13 ( Date text, Series text, "High points" text, "High assists" text, "Location Attendance" text, Game numeric, "High rebounds" text, Team text ); CREATE TABLE IF NOT EXISTS table_1_11964154_7 ( Score text, "Location Attendance" text, Record text, Date text, "Hig...
Which Country has a Score of 67?
SELECT Country FROM table_2_18594233_4 WHERE "Score" = '67'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1057316_1 ( "Wheel arrangement ( Whyte notation )" text, Disposition text, "Operational owner(s)" text, "Serial number" text, "Build date" text ); CREATE TABLE IF NOT EXISTS table_1_1140080_2 ( Race text, "Race Winner" text, Location text, Report text, Constructor text, "Po...
What are the main places for the streymoy region with an area of larger than 6.1?
SELECT "Main places" FROM table_2_10700_2 WHERE "Regions" ILIKE '%streymoy%' AND "Area" > '6.1'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15715109_39 ( "Weight (kg)" numeric, "Height (cm)" numeric, "Jersey #" numeric, "1980–1981 Team" text, Position text, Birthdate text, Name text, Birthplace text ); CREATE TABLE IF NOT EXISTS table_1_11562149_1 ( "Written by" text, "Directed by" text, "No. in season" text, ...
What was the 1980-1981 team of the player born in Warroad, Minnesota?
SELECT "1980–1981 Team" FROM table_2_15715109_39 WHERE "Birthplace" ILIKE '%warroad,%minnesota%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11658094_1 ( Joined text, Location text, Founded numeric, Type text, Institution text, Enrollment numeric, Nickname text ); CREATE TABLE IF NOT EXISTS table_1_1131183_2 ( "Metro area" text, "Number of Jews (WJC)" numeric, "Rank ( WJC )" numeric, "Rank (ARDA)" numeric, "Num...
What place is the skier with 7.73 downhill points?
SELECT Place FROM table_2_17750898_3 WHERE "Downhill points" = '7.73'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_18621753_1 ( "2011" text, "2010" text, "2009" text, "2008" text, Tournament text, "2012" text ); CREATE TABLE IF NOT EXISTS table_1_10015132_2 ( "Years in Toronto" text, Position text, Nationality text, "No." text, Player text, "School/Club Team" text );
What's the 2012 during Wimbledon and had a Q3 in 2008?
SELECT 2012 FROM table_2_18621753_1 WHERE "2008" ILIKE '%q3%' AND "Tournament" ILIKE '%wimbledon%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_10015132_16 ( "School/Club Team" text, Nationality text, Player text, "Years in Toronto" text, Position text ); CREATE TABLE IF NOT EXISTS table_1_104858_1 ( "Year current Scouting organization joined WOSM" text, Country text, "Admits boys/girls" text, "Membership (from 2010)...
What is the nationality of school/club team of barton cc (ks)?
SELECT Nationality FROM table_2_10015132_16 WHERE "School/Club Team" ILIKE '%barton%cc%(ks)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10236830_1 ( "Actors Name" text, Nomination text, Director text, "Film Name" text ); CREATE TABLE IF NOT EXISTS table_1_10361230_1 ( Choice numeric, "Player name" text, Round numeric, Overall numeric, College text, Position text ); CREATE TABLE IF NOT EXISTS table_1_11649123...
What is Place, when Score is "71-71-69-71=282"?
SELECT Place FROM table_2_17198476_6 WHERE "Score" ILIKE '%71-71-69-71=282%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10953197_4 ( "No. in season" numeric, Director text, "Writer(s)" text, "Production code" text, Title text, "Original air date" text, "No. in series" numeric ); CREATE TABLE IF NOT EXISTS table_1_12232526_2 ( "Ship Name" text, "Hull Numbers" numeric, "Service years" text, No...
What is richmond's score as the home team?
SELECT "Home team score" FROM table_2_10773753_14 WHERE "Home team" ILIKE '%richmond%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11734041_18 ( "School/Club Team/Country" text, "Height in Ft." text, "No.(s)" text, Player text, "Years for Rockets" text, Position text ); CREATE TABLE IF NOT EXISTS table_1_12002388_1 ( "Open Cup" text, League text, Division text, Year numeric, Playoffs text, "Reg. Seaso...
When nominee is the result who is the director?
SELECT Director FROM table_1_26555737_1 WHERE "Result" ILIKE '%Nominee%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10718525_2 ( "No. in series" numeric, "Written by" text, "Directed by" text, Title text, "U.S. viewers (millions)" text, "No. in season" numeric, "Original air date" text ); CREATE TABLE IF NOT EXISTS table_1_11274401_3 ( "Rank (#)" text, "18–49 (Rating/Share)" text, Timeslo...
When the 2nd player chooses r bb, what is the 2nd player's probability of a winning draw of 93.54%?
SELECT "Probability of a draw" FROM table_2_10664957_2 WHERE "Probability 2nd player wins" ILIKE '%93.54%%' AND "2nd player's choice" ILIKE '%r%bb%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11111116_7 ( "No. in season" numeric, "Directed by" text, "No. in series" numeric, "Original air date" text, "Written by" text, Title text, "U.S. viewers (million)" text ); CREATE TABLE IF NOT EXISTS table_2_1122062_1 ( Grid numeric, Qual numeric, Driver text, Laps numeric,...
Who was #16 rank constructor with a grid of more than 1?
SELECT CONSTRUCTOR FROM table_2_1122062_1 WHERE "Grid" > '1' AND "Rank" = '16'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12284476_8 ( Series text, Diameter text, Denomination text, Obverse text, Mintage numeric, Reverse text, Weight text, Alloy text, Year numeric ); CREATE TABLE IF NOT EXISTS table_1_1140083_2 ( Report text, "Pole Position" text, Race text, "Race Winner" text, Constructor ...
What is the coast guard cross when you recieve the navy distinguished service medal?
SELECT "Coast Guard Cross" FROM table_1_2104176_1 WHERE "Distinguished Service Cross" ILIKE '%Navy%Distinguished%Service%Medal%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12113818_1 ( Year text, "Local Affairs" text, "External Affairs" text, "Communications and Corporate Affairs" text, "Academic & University Affairs" text, "Human Resources & Operations" text ); CREATE TABLE IF NOT EXISTS table_1_106367_2 ( "% of popular vote" text, "# of candid...
how many rounds had the score 44-22
SELECT COUNT(Round) FROM table_1_21256068_3 WHERE "Score" ILIKE '%44-22%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11570261_2 ( "54 holes" text, "Margin of victory" text, Championship text, Year numeric, "Winning score" text, "Runner(s)-up" text ); CREATE TABLE IF NOT EXISTS table_2_18578964_3 ( "1.85" text, Height numeric, Nationality text, Name text, "1.93" text );
What is the 1.93 for Svetlana Shkolina?
SELECT 1.93 FROM table_2_18578964_3 WHERE "Name" ILIKE '%svetlana%shkolina%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11178271_1 ( "Viewers (m)" text, "Air Date" text, "18–49 (Rating/Share)" text, "#" numeric, Rating text, "Weekly Rank" numeric, Share numeric, Episode text ); CREATE TABLE IF NOT EXISTS table_1_12321870_32 ( Period text, Position text, Country text, Goals text, Matches te...
Name the number of species with sepal width of 3.4 and sepal length of 5.4
SELECT COUNT(Species) FROM table_1_10477224_1 WHERE "Sepal width" ILIKE '%3.4%' AND "Sepal length" ILIKE '%5.4%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11019212_1 ( Monday text, Sunday text, Friday text, Tuesday text, Location text, Saturday text, Thursday text, Wednesday text ); CREATE TABLE IF NOT EXISTS table_2_15220905_2 ( Team text, Difference text, Lost numeric, Points numeric, Position numeric, Against numeric, ...
What is the lowest against value with less than 9 points and more than 6 lost?
SELECT MIN(Against) FROM table_2_15220905_2 WHERE "Points" < '9' AND "Lost" > '6'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10470082_7 ( "No." numeric, "US air date" text, Director text, "#" numeric, Title text, Villains text, Storyteller text, Writer text ); CREATE TABLE IF NOT EXISTS table_1_11963601_11 ( "High rebounds" text, "Location Attendance" text, Series text, Game numeric, Score text...
Tell me the discovery/publication for still living
SELECT "Discovery / publication of name" FROM table_2_10326_1 WHERE "Fossil record" ILIKE '%still%living%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10953197_6 ( "No. in season" numeric, "No. in series" numeric, "Writer(s)" text, Title text, Director text, "Original air date" text, "Production code" text ); CREATE TABLE IF NOT EXISTS table_1_14460085_3 ( Average text, Team text, "1987-88" text, Points numeric, Played n...
What is the average for the team with 34 in 88/89?
SELECT Average FROM table_1_14460085_3 WHERE "1988-89" ILIKE '%34%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12159115_2 ( "Production code" text, "Series #" numeric, "Written by" text, "Original air date" text, "Directed by" text, Title text, "U.S. viewers (millions)" text ); CREATE TABLE IF NOT EXISTS table_1_10935548_1 ( "U.S. viewers (millions)" text, "No. in series" numeric, "O...
What is the Purpose of the Callsign with a Freq currently of 4rph?
SELECT Purpose FROM table_2_17188917_2 WHERE "Freq currently" ILIKE '%4rph%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10953197_3 ( "Production code" text, Director text, "No. in series" numeric, "No. in season" numeric, Title text, "Original air date" text, "Writer(s)" text ); CREATE TABLE IF NOT EXISTS table_1_1166023_1 ( Builder text, Number text, "Year built" numeric, "TMS Number" text,...
how many open 2nd viii had u15 3rd iv being gt
SELECT COUNT("Open 2nd VIII") FROM table_1_11318462_5 WHERE "U15 3rd IV" ILIKE '%GT%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1167698_1 ( Champion text, "Top scorer" text, "Runner-up" text, Season text, "Third place" text ); CREATE TABLE IF NOT EXISTS table_2_15154539_5 ( "Home team" text, Attendance text, Score text, "Tie no" text, "Away team" text ); CREATE TABLE IF NOT EXISTS table_1_11545282_4 ...
Which Away team has a Score of 0–3?
SELECT "Away team" FROM table_2_15154539_5 WHERE "Score" ILIKE '%0–3%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1137707_2 ( "Fastest Lap" text, "Winning Constructor" text, "Winning Driver" text, "Grand Prix" text, "Pole Position" text, Location text, Report text, Date text, Round numeric ); CREATE TABLE IF NOT EXISTS table_1_11630008_5 ( "Written by" text, "Original air date" text, ...
How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
SELECT COUNT(2008) FROM table_2_182410_9 WHERE "2006" = '6.9' AND "2007" < '7.1'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12232526_2 ( "Service years" text, "Ship Name" text, "Hull Numbers" numeric, Origin text, Previously text, Note text, Class text ); CREATE TABLE IF NOT EXISTS table_2_17323346_3 ( "Opponent score" numeric, Date text, "Nets points" numeric, Result text, Opponent text, Reco...
What was the record on November 7, when the opponent score was less than 99?
SELECT Record FROM table_2_17323346_3 WHERE "Opponent score" < '99' AND "Date" ILIKE '%november%7%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12086015_7 ( Finals numeric, "Year(s)" text, Nationality text, "Win-Loss" text, Player text ); CREATE TABLE IF NOT EXISTS table_1_1140080_2 ( Date text, Report text, "Race Winner" text, Constructor text, "Pole Position" text, Race text, Location text, Rnd numeric, "Faste...
What team 2 had a second leg of 3-2?
SELECT "Team 2" FROM table_2_12443672_1 WHERE "2nd leg" ILIKE '%3-2%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11577996_1 ( "5th Place" text, "1st Place" text, Year numeric, "2nd Place" text, "3rd Place" text, "4th Place" text, Location text ); CREATE TABLE IF NOT EXISTS table_2_18155811_3 ( "Money ( $ )" numeric, Country text, Place text, Score text, "To par" text, Player text );
What was the average money when the score was 68-69-68-72=277?
SELECT AVG("Money ( $ )") FROM table_2_18155811_3 WHERE "Score" ILIKE '%68-69-68-72=277%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10715317_2 ( "Written by" text, "No. in season" numeric, Title text, "Directed by" text, "Original air date" text, "U.S. viewers (millions)" text, "No. in series" numeric ); CREATE TABLE IF NOT EXISTS table_1_22834834_12 ( "Total wins" numeric, Majors numeric, "ATP wins" num...
What is the latest year that data is available for?
SELECT MAX(YEAR) FROM table_1_22834834_12
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1156428_2 ( "Worcs f-c matches" numeric, "Worcs LA matches" numeric, "First-class span" text, Location text, "List A span" text, "Name of ground" text ); CREATE TABLE IF NOT EXISTS table_1_11803648_20 ( Position text, "Club team" text, Player text, Overall text, Nationality...
Who had the statistic of most assists?
SELECT Name FROM table_2_18127869_9 WHERE "Statistic" ILIKE '%most%assists%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11274401_2 ( "No." numeric, Timeslot text, Episode text, Rating text, "Air Date" text, "Rank (#)" text, "18–49 (Rating/Share)" text, Share numeric, "Viewers (m)" text ); CREATE TABLE IF NOT EXISTS table_1_1213511_2 ( "Pick #" numeric, Nationality text, Player text, "NHL t...
Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?
SELECT Producer FROM table_1_18943444_1 WHERE "Product" ILIKE '%金必氏牌嬰幼兒配方乳粉%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_11677760_16 ( Hometown text, School text, College text, Player text, Height text, "NBA Draft" text ); CREATE TABLE IF NOT EXISTS table_1_10360656_1 ( "Player name" text, Overall numeric, Position text, Round numeric, Choice numeric ); CREATE TABLE IF NOT EXISTS table_1_1243...
Which player has a height of 6-7?
SELECT Player FROM table_2_11677760_16 WHERE "Height" ILIKE '%6-7%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_16865180_1 ( Single text, Month text, "Record label" text, Album text, Year numeric ); CREATE TABLE IF NOT EXISTS table_1_1213511_7 ( "College/junior/club team" text, Position text, Nationality text, Player text, "NHL team" text, "Pick #" numeric ); CREATE TABLE IF NOT EXIS...
What's the average year for the good things happening album's single "lady lady lay"?
SELECT AVG(YEAR) FROM table_2_16865180_1 WHERE "Album" ILIKE '%good%things%happening%' AND "Single" ILIKE '%"lady%lady%lay"%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10470082_7 ( Storyteller text, Writer text, Director text, Villains text, "US air date" text, "#" numeric, "No." numeric ); CREATE TABLE IF NOT EXISTS table_1_28680377_2 ( "Written by" text, "Directed by" text, "U.S. viewers (million)" text, "Original air date" text, Title...
What is the title of the episode watched by 0.88 million U.S. viewers?
SELECT Title FROM table_1_28680377_2 WHERE "U.S. viewers (million)" ILIKE '%0.88%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17100961_57 ( Round numeric, Name text, College text, Position text, Overall numeric, Pick numeric ); CREATE TABLE IF NOT EXISTS table_1_1123802_1 ( "Power, takeoff" text, Engine text, "Supercharger gear ratio" text, "Compression ratio" text, "Octane rating" text, "Dry wei...
Which Position has a Round larger than 7, and a Name of wayne asberry?
SELECT POSITION FROM table_2_17100961_57 WHERE "Round" > '7' AND "Name" ILIKE '%wayne%asberry%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11934032_1 ( Registrations text, District text, "Station Number" text, Type text, Location text, Appliances text ); CREATE TABLE IF NOT EXISTS table_1_26686908_2 ( Production text, Challenge text, Circuit text, "Rd." text, Date text, "City / State" text, Championship text...
What was the location for the date 7–10 october?
SELECT "City / State" FROM table_1_26686908_2 WHERE "Date" ILIKE '%7–10%October%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_13054553_9 ( Team text, School text, "Season Outcome" text, "Division Record" text, "Overall Record" text ); CREATE TABLE IF NOT EXISTS table_1_1182314_5 ( "Norwegian Americans (2009)" numeric, "Norwegian Americans (2000)" numeric, "Percent (2009)" text, State text, "Norwegi...
What is the Senators' division record?
SELECT "Division Record" FROM table_2_13054553_9 WHERE "Team" ILIKE '%senators%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11959669_6 ( "Location Attendance" text, "High assists" text, Score text, Team text, Date text, Game numeric, "High points" text, "High rebounds" text, Record text ); CREATE TABLE IF NOT EXISTS table_1_1013129_11 ( Nationality text, Position text, Player text, "College/ju...
What district is the court located in Tolland?
SELECT MAX(District) FROM table_1_26758262_1 WHERE "Location of court" ILIKE '%Tolland%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1143966_1 ( "Goals for" numeric, Season text, "Pct %" text, Standing text, Games numeric, Lost numeric, Won numeric, "Goals against" numeric, Tied numeric ); CREATE TABLE IF NOT EXISTS table_1_10874596_1 ( "Year [e ] (Ceremony)" text, "Film title used in nomination" text, ...
How many games did janae stokes play?
SELECT MAX("Games Played") FROM table_1_23346303_4 WHERE "Player" ILIKE '%Janae%Stokes%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12095519_1 ( "Train No." text, "Train Name" text, Destination text, Origin text, Frequency text ); CREATE TABLE IF NOT EXISTS table_2_17065288_2 ( "Team 1" text, "Agg." text, "1st leg" text, "Team 2" text, "2nd leg" text ); CREATE TABLE IF NOT EXISTS table_1_11214772_1 ( Ch...
Which Team 1 has a 2nd leg of 1–2?
SELECT "Team 1" FROM table_2_17065288_2 WHERE "2nd leg" ILIKE '%1–2%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10128185_2 ( Total numeric, "Southern England" numeric, "Northern England" numeric, Song text, Scotland numeric, Mobiles numeric, "Northern Ireland" numeric, Wales numeric ); CREATE TABLE IF NOT EXISTS table_1_10470082_7 ( Villains text, "US air date" text, Director text, ...
What was the result on October 4, 1993?
SELECT RESULT FROM table_2_14610099_1 WHERE "Date" ILIKE '%october%4,%1993%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_16574447_6 ( Rank numeric, Total numeric, Bronze numeric, Silver numeric, Gold numeric, Nation text ); CREATE TABLE IF NOT EXISTS table_1_11734041_20 ( Player text, "School/Club Team/Country" text, "Years for Rockets" text, Position text, "Height in Ft." text, "No.(s)" tex...
What is the sum of Rank, when Bronze is less than 1, when Nation is Switzerland (SUI), and when Total is less than 2?
SELECT SUM(Rank) FROM table_2_16574447_6 WHERE "Bronze" < '1' AND "Nation" ILIKE '%switzerland%(sui)%' AND "Total" < '2'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11950720_3 ( "Bowling Style" text, Player text, "Batting Style" text, "No." text, "First Class Team" text, "Date of Birth" text ); CREATE TABLE IF NOT EXISTS table_1_11960944_11 ( "Location Attendance" text, "High rebounds" text, Date text, "High points" text, "High assists...
What team has a year listed of 2008?
SELECT Team FROM table_2_10587252_1 WHERE "Year" = '2008'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_17324893_4 ( Record text, December numeric, Opponent text, Game numeric, Score text ); CREATE TABLE IF NOT EXISTS table_1_11254821_2 ( "Points awarded (Satellite)" numeric, "Points awarded (Platinum)" numeric, "Points awarded (Gold)" numeric, "Finishing position" text, "Poin...
What is the average December, when Game is "36"?
SELECT AVG(December) FROM table_2_17324893_4 WHERE "Game" = '36'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11891841_2 ( "Transfer fee" text, "Moving from" text, Age numeric, "Transfer window" text, EU text, Name text, P text, Type text, N numeric, Ends numeric, Source text, Country text ); CREATE TABLE IF NOT EXISTS table_2_15081782_6 ( "2009" text, "2011" text, "2008" text,...
Name the 2011 with 2010 of 1r and 2012 of sf
SELECT 2011 FROM table_2_15081782_6 WHERE "2010" ILIKE '%1r%' AND "2012" ILIKE '%sf%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_18268852_4 ( Label text, "Catalogue #" text, Date text, Country text, Format text ); CREATE TABLE IF NOT EXISTS table_1_10470082_8 ( Storyteller text, Title text, Writer text, "US air date" text, "#" numeric, "No." numeric, Director text, Villains text ); CREATE TABLE IF ...
What is the format of catalog number 886973273913 (gowow012) in the United Kingdom?
SELECT Format FROM table_2_18268852_4 WHERE "Country" ILIKE '%united%kingdom%' AND "Catalogue #" ILIKE '%886973273913%(gowow012)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12444503_1 ( Season text, "lost to eventual winner" text, Winner text, "lost to eventual runner-up" text, Score text, "Runner-up" text ); CREATE TABLE IF NOT EXISTS table_1_11622255_1 ( Date text, Score text, Tournament text, "1st Prize( $ )" numeric, Location text, "Purse...
what is the election year with henry wyndham as 2nd member and walter barttelot as 1st?
SELECT Election FROM table_2_12261613_1 WHERE "2nd Member" ILIKE '%henry%wyndham%' AND "1st Member" ILIKE '%walter%barttelot%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1719212_3 ( Country text, Name text, Years text, Wins numeric, Rank numeric ); CREATE TABLE IF NOT EXISTS table_1_12165999_1 ( Player text, "AFL Team" text, College text, Position text, "Overall Pick #" numeric );
Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
SELECT Years FROM table_2_1719212_3 WHERE "Rank" > '2' AND "Wins" = '2' AND "Country" ILIKE '%france%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11603006_1 ( "Purse( $ )" numeric, Winner text, Tournament text, Date text, Location text, Score text, "1st Prize( $ )" numeric ); CREATE TABLE IF NOT EXISTS table_1_11964263_13 ( "High rebounds" text, "High assists" text, Team text, Game numeric, "High points" text, "Loc...
What is the lowest Pick # with michael grabner and less than 20 Reg GP?
SELECT MIN("Pick #") FROM table_2_11636955_38 WHERE "Player" ILIKE '%michael%grabner%' AND "Reg GP" < '20'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12221135_3 ( Departure text, "Calling at" text, Operator text, Arrival text, "Going to" text ); CREATE TABLE IF NOT EXISTS table_1_11220799_2 ( "Episode Titles" text, Reward text, Exiled text, Eliminated text, Vote text, Finish text, Immunity text, "First air date" text )...
What is jamar martin's highest pick?
SELECT MAX(Pick) FROM table_2_18965552_2 WHERE "Player" ILIKE '%jamar%martin%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10647401_1 ( Record text, Week numeric, Result text, Attendance numeric, Opponent text, Stadium text ); CREATE TABLE IF NOT EXISTS table_1_1012730_2 ( Wins numeric, Year numeric, Position text, Winnings text, "Top 5" numeric, "Top 10" numeric, "Team(s)" text, "Avg. Finis...
What hand guard system is used with a gas piston commando?
SELECT "Hand guards" FROM table_1_12834315_5 WHERE "Name" ILIKE '%Gas%Piston%Commando%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10577579_3 ( "Women’s Nickname" text, Joined text, Institution text, Location text, Left text, "Men’s Nickname" text, Enrollment numeric, "Current Conference" text, Founded numeric, Classification text, Type text ); CREATE TABLE IF NOT EXISTS table_1_1231316_7 ( "Fastest t...
What's the average year for the accolade 100 greatest singles of all time?
SELECT AVG(YEAR) FROM table_2_1715849_2 WHERE "Accolade" ILIKE '%100%greatest%singles%of%all%time%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140083_2 ( "Fastest Lap" text, "Pole Position" text, Report text, Location text, Rnd numeric, Constructor text, Date text, Race text, "Race Winner" text ); CREATE TABLE IF NOT EXISTS table_1_18018214_4 ( Loses numeric, Draws numeric, Points numeric, Wins numeric, Positi...
In the game with 31 points, how many goals were conceded?
SELECT COUNT("Goals conceded") FROM table_1_18018214_4 WHERE "Points" = '31'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11019212_1 ( Tuesday text, Thursday text, Sunday text, Friday text, Location text, Saturday text, Monday text, Wednesday text ); CREATE TABLE IF NOT EXISTS table_1_1140073_2 ( Date text, "Fastest Lap" text, Report text, "Race Winner" text, Rnd numeric, Constructor text, ...
How long is track number 8?
SELECT "Track time" FROM table_1_11839306_2 WHERE "Track" = '8'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1132568_3 ( "Fastest Lap" text, Constructor text, "Winning Driver" text, Report text, "Grand Prix" text, "Pole Position" text, "Rd." numeric ); CREATE TABLE IF NOT EXISTS table_2_12206234_6 ( Attendance numeric, Record text, Opponent text, Loss text, Score text, Date text...
Name the record for august 28
SELECT Record FROM table_2_12206234_6 WHERE "Date" ILIKE '%august%28%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1046454_1 ( "Regular Season" text, Year numeric, League text, Playoffs text, Division numeric, "Open Cup" text ); CREATE TABLE IF NOT EXISTS table_1_1140105_6 ( "Winning driver" text, "Race Name" text, Date text, Constructor text, Circuit text, Report text ); CREATE TABLE ...
Name the number of draws for when conceded is 25
SELECT COUNT(Draws) FROM table_1_14889048_1 WHERE "Conceded" = '25'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_17407001_2 ( Opponent text, Week numeric, Attendance text, Result text, Date text ); CREATE TABLE IF NOT EXISTS table_1_11960196_3 ( Game numeric, "High points" text, "High rebounds" text, "Location Attendance" text, Score text, "High assists" text, Team text, Series text...
What is the result on September 25, 1966?
SELECT RESULT FROM table_2_17407001_2 WHERE "Date" ILIKE '%september%25,%1966%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1221089_1 ( Founded numeric, Nickname text, Colors text, Joined numeric, Type text, Location text, Institution text ); CREATE TABLE IF NOT EXISTS table_1_1231892_4 ( Title text, "U.S. Air Date" text, "Production Code" text, "Villain/s" text, "Broadcast Order" text, "Numbe...
What's the original air date of the episode with a broadcast order s04 e01?
SELECT "U.S. Air Date" FROM table_1_1231892_4 WHERE "Broadcast Order" ILIKE '%S04%E01%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1489377_2 ( Yards numeric, Date text, Opponent text, Result text, Kicker text, "Game time" text, "Kicking team" text ); CREATE TABLE IF NOT EXISTS table_1_12033013_3 ( "Written by" text, "No. in series" text, "Directed by" text, "Original air date" text, "No. in season" te...
Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?
SELECT AVG(Yards) FROM table_2_1489377_2 WHERE "Game time" ILIKE '%2nd%quarter%(0:00)%' AND "Date" ILIKE '%november%8,%1971%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_18792938_5 ( Director text, "Release date" text, Series text, "Production Num." numeric, Title text ); CREATE TABLE IF NOT EXISTS table_1_1214035_1 ( Playoffs text, "Open Cup" text, Division text, "Regular Season" text, League text, Year numeric ); CREATE TABLE IF NOT EXIST...
What's the title of the film directed by Friz Freleng with an MM Series, production number greater than 6209 and a release date of 1934-11-03?
SELECT Title FROM table_2_18792938_5 WHERE "Production Num." > '6209' AND "Series" ILIKE '%mm%' AND "Director" ILIKE '%friz%freleng%' AND "Release date" ILIKE '%1934-11-03%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_15681686_4 ( "Rating/Share (18-49)" text, Rating text, "#" numeric, "Rank (Night)" text, Episode text, "Viewers (millions)" text, Share numeric, "Rank (Week)" text, "Rank (Timeslot)" text ); CREATE TABLE IF NOT EXISTS table_1_11916083_1 ( "Issue Price (Proof)" text, Artist ...
what is the total number of rank where viewers is 9.38?
SELECT COUNT("Rank (Timeslot)") FROM table_1_15681686_4 WHERE "Viewers (millions)" ILIKE '%9.38%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15290654_2 ( Date numeric, Tournament text, Surface text, Score text, "Opponent in the final" text ); CREATE TABLE IF NOT EXISTS table_1_1015421_1 ( Class text, Operator text, "No. Built" numeric, "Cars per Set" numeric, "Year Built" text, "Unit nos." text );
Which Score has an Opponent in the final of mehdi tahiri?
SELECT Score FROM table_2_15290654_2 WHERE "Opponent in the final" ILIKE '%mehdi%tahiri%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10718984_2 ( Title text, "Written by" text, "Original air date" text, "No. in season" numeric, "No. in series" numeric, "Directed by" text, "U.S. viewers (millions)" text ); CREATE TABLE IF NOT EXISTS table_2_14114066_1 ( "Release price ( USD )" text, "L2 cache" text, "Relea...
Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket?
SELECT Socket FROM table_2_14114066_1 WHERE "Frequency" ILIKE '%1.2%ghz%' AND "Release price ( USD )" ILIKE '%$70%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12454156_1 ( Entrants numeric, Winner text, "Winning Hand" text, "Losing Hand" text, "Prize Money" text, Year numeric, "Runner-Up" text ); CREATE TABLE IF NOT EXISTS table_1_11622496_1 ( Tournament text, Location text, Score text, "Purse( $ )" numeric, Date text, "1st Pri...
What can you say is the word from of sam sep?
SELECT "Word Form" FROM table_2_1270572_4 WHERE "Other" ILIKE '%sam%sep%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_26010857_13 ( "Teams Classification" text, Winner text, "Points Classification" text, Stage numeric, "Young Rider Classification" text, "General Classification" text ); CREATE TABLE IF NOT EXISTS table_1_11570261_2 ( "Runner(s)-up" text, Championship text, "Winning score" tex...
How many stages did Team Sky lead the teams classification?
SELECT MAX(Stage) FROM table_1_26010857_13 WHERE "Teams Classification" ILIKE '%Team%Sky%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10416547_1 ( "Major instrument(s)" text, Date text, "Music genre/style" text, "Lyrics theme/style" text, Track text, "Album name" text, "Track title" text, Duration text, Lyricist text ); CREATE TABLE IF NOT EXISTS table_1_11630008_5 ( Title text, "Series #" numeric, "Prod...
what is the average bodyweight when snatch is 80?
SELECT AVG(Bodyweight) FROM table_2_11279593_11 WHERE "Snatch" = '80'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_17063996_4 ( "Road Team" text, "Home Team" text, Game text, Result text, Date text ); CREATE TABLE IF NOT EXISTS table_1_10815352_1 ( "Total attendance" numeric, "Average attendance" numeric, Games numeric, Season text, Country text, League text, Sport text ); CREATE TABLE...
Which Result has a Road Team of san francisco, and a Game of game 2?
SELECT RESULT FROM table_2_17063996_4 WHERE "Road Team" ILIKE '%san%francisco%' AND "Game" ILIKE '%game%2%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_18191407_10 ( "Score points" text, Event text, Shooter text, "Rank points" text, Total text ); CREATE TABLE IF NOT EXISTS table_1_11240028_1 ( Episodes text, "Last appearance" text, "Portrayed by" text, Character text, "First appearance" text, Duration text );
What is the rank for the player where there are 11 points?
SELECT "Rank points" FROM table_2_18191407_10 WHERE "Score points" ILIKE '%11%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10312547_1 ( "1979 Broadway" text, "1998 Broadway" text, "1955 broadcast" text, "1954 Broadway" text, "1990 Broadway" text, "1960 broadcast" text, "1991 Broadway" text, "1999 Broadway" text, Character text ); CREATE TABLE IF NOT EXISTS table_1_11677100_16 ( Hometown text, P...
Who was the rider who had an accident time and a kawasaki zx-10r bike?
SELECT Rider FROM table_2_15878404_2 WHERE "Time" ILIKE '%accident%' AND "Bike" ILIKE '%kawasaki%zx-10r%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10716893_3 ( Host text, "Lap-by-lap" text, "Pre-race analyst" text, "Color commentator(s)" text, Year numeric, "Pit reporters" text, Network text ); CREATE TABLE IF NOT EXISTS table_1_11694832_1 ( Title text, "Directed by" text, "Original air date" text, "Written by" text, ...
Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
SELECT Player FROM table_2_10812403_3 WHERE "CFL Team" ILIKE '%montreal%alouettes%(via%hamilton%via%winnipeg)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10953197_3 ( "No. in season" numeric, "No. in series" numeric, "Writer(s)" text, "Original air date" text, "Production code" text, Director text, Title text ); CREATE TABLE IF NOT EXISTS table_1_1342426_18 ( Incumbent text, District text, Result text, Candidates text, "Fir...
How many candidates won the election of john n. sandlin?
SELECT COUNT(Candidates) FROM table_1_1342426_18 WHERE "Incumbent" ILIKE '%John%N.%Sandlin%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10818465_1 ( "Max memory" text, "GA Date" text, Model text, RU numeric, "Max disk capacity" text, "Processor frequency" text, "Max processors" text ); CREATE TABLE IF NOT EXISTS table_1_24865763_2 ( "FLM Winning Team" text, "GT2 Winning Team" text, "Rnd." numeric, Circuit t...
Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?
SELECT "GT2 Winning Team" FROM table_1_24865763_2 WHERE "LMP1 Winning Team" ILIKE '%Greg%Mansell%Leo%Mansell%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_16494599_10 ( Player text, "Years for Grizzlies" text, "No." numeric, Position text, "School/Club Team" text, Nationality text ); CREATE TABLE IF NOT EXISTS table_1_1255110_7 ( "Goals Against" numeric, Player text, Wins numeric, "GA Average" text, Club text, Minutes numeri...
How many athletes play the position of guard?
SELECT COUNT(Player) FROM table_1_16494599_10 WHERE "Position" ILIKE '%Guard%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1037590_1 ( Yards numeric, "Completion %" text, Rating text, Completions numeric, Attempts numeric, "Games started" numeric, Touchdowns numeric, Year numeric, Games numeric, Interceptions numeric, "Yards/Attempt" text ); CREATE TABLE IF NOT EXISTS table_2_1203292_3 ( Pick ...
Which player is Pick 33 and has a Nationality of USA?
SELECT Player FROM table_2_1203292_3 WHERE "Nationality" ILIKE '%usa%' AND "Pick" = '33'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11734041_17 ( Player text, "School/Club Team/Country" text, "No.(s)" numeric, Position text, "Years for Rockets" text, "Height in Ft." text ); CREATE TABLE IF NOT EXISTS table_1_11658094_1 ( Institution text, Nickname text, Location text, Joined text, Type text, Enrollment...
In Ascot (UK), what was the result?
SELECT RESULT FROM table_1_14981555_3 WHERE "Venue" ILIKE '%Ascot%(UK)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1708014_1 ( Starts numeric, "Top 5" numeric, "Avg. Start" text, "Avg. Finish" text, Position text, "Team(s)" text, Year numeric, Winnings text, "Top 10" numeric, Wins numeric, Poles numeric ); CREATE TABLE IF NOT EXISTS table_1_10647639_1 ( Attendance numeric, Date text, ...
How many poles did team #14 ginn racing have?
SELECT Poles FROM table_1_1708014_1 WHERE "Team(s)" ILIKE '%#14%Ginn%Racing%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1157867_2 ( "Date built" text, Notes text, "Boiler pressure" text, Cylinders text, "Wheel arrangement" text, Number text, Builder text, "Driving wheels" text, Name text ); CREATE TABLE IF NOT EXISTS table_1_10975034_4 ( College text, Position text, Player text, "CFL Team"...
What was the Home team when Farnborough Town was the Away team?
SELECT "Home team" FROM table_2_16176509_3 WHERE "Away team" ILIKE '%farnborough%town%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1053802_1 ( Winners text, "Main presenters" text, "Region/country" text, Network text, "Local title" text ); CREATE TABLE IF NOT EXISTS table_1_11603006_1 ( Score text, "1st Prize( $ )" numeric, Winner text, "Purse( $ )" numeric, Date text, Location text, Tournament text )...
COunt the sum of Diameter (km) which has a Latitude of 62.7n?
SELECT SUM("Diameter (km)") FROM table_2_16799784_11 WHERE "Latitude" ILIKE '%62.7n%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12030612_9 ( "Written by" text, Title text, "Directed by" text, "Series #" numeric, "Season #" numeric, "Original air date" text ); CREATE TABLE IF NOT EXISTS table_2_10290198_3 ( Award text, "Degree Year" text, "Award Year" numeric, Name text, Degree text );
Tell me the degree for chemistry 1965
SELECT Degree FROM table_2_10290198_3 WHERE "Award Year" = '1965' AND "Award" ILIKE '%chemistry%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12275551_1 ( "Mens singles" text, "Womens singles" text, "Mixed doubles" text, "Mens doubles" text, Year numeric, "Womens doubles" text ); CREATE TABLE IF NOT EXISTS table_1_10577579_2 ( Location text, "Mens Nickname" text, "Womens Nickname" text, Type text, Joined text, I...
Which game has an opponent of Phoenix Coyotes and was before Dec 9?
SELECT AVG(Game) FROM table_2_14034799_4 WHERE "Opponent" ILIKE '%phoenix%coyotes%' AND "December" < '9'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1446835_2 ( "Arrival date" text, Message text, "Date sent" text, "Designation HD" text, Constellation text ); CREATE TABLE IF NOT EXISTS table_1_1131183_2 ( "Number of Jews (WJC)" numeric, "Number of Jews (ASARB)" numeric, "Metro area" text, "Rank ( WJC )" numeric, "Rank (AR...
What date sent has orion as the constellation?
SELECT "Date sent" FROM table_2_1446835_2 WHERE "Constellation" ILIKE '%orion%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677691_2 ( Hometown text, Position text, School text, Player text, College text ); CREATE TABLE IF NOT EXISTS table_1_10015132_3 ( "Years in Toronto" text, "No." numeric, Nationality text, "School/Club Team" text );
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?
SELECT School FROM table_1_11677691_2 WHERE "College" ILIKE '%South%Carolina%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677100_17 ( School text, Hometown text, Player text, Position text, "MLB Draft" text ); CREATE TABLE IF NOT EXISTS table_1_10240125_1 ( "League Apps" numeric, "Total Goals" numeric, "Total Apps" numeric, "FA Cup Goals" numeric, "League Goals" numeric, Season text, Divisi...
Which wins have less than 1 bye?
SELECT MAX(Wins) FROM table_2_17982205_1 WHERE "Byes" < '1'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_18847736_2 ( Opponents numeric, Result text, Attendance numeric, Opponent text, Game numeric, "Dolphins points" numeric, Record text, Date text ); CREATE TABLE IF NOT EXISTS table_1_11111116_7 ( "Original air date" text, "Directed by" text, "U.S. viewers (million)" text, T...
What is the Opponents in the game with a Date of nov. 25?
SELECT MIN(Opponents) FROM table_2_18847736_2 WHERE "Date" ILIKE '%nov.%25%'
[ "PostgreSQL" ]