context
stringlengths
249
1.51k
question
stringlengths
20
171
answer
stringlengths
40
173
dbms
listlengths
0
5
CREATE TABLE IF NOT EXISTS table_1_11621915_1 ( "Purse( $ )" numeric, Tournament text, "1st Prize( $ )" numeric, Winner text ); CREATE TABLE IF NOT EXISTS table_2_15630550_5 ( Tournament text, "Home team" text, Score text, Date text, "Away team" text, Location text );
What is the location with Honduras is Home team?
SELECT LOCATION FROM table_2_15630550_5 WHERE "Home team" ILIKE '%honduras%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1137695_3 ( Report text, "Fastest Lap" text, "Pole Position" text, "Grand Prix" text, Round numeric, "Winning Constructor" text, "Winning Driver" text ); CREATE TABLE IF NOT EXISTS table_1_2140071_5 ( Coach text, "Premier date" text, "Episode Summary" text, Episode numeric,...
What is the last season?
SELECT MAX(Season) FROM table_1_2140071_5
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_12715053_1 ( "Clinical Trials β" text, "Chemical Class" text, "Molecular Target" text, Trademark text, "Clinical Status" text, "Disease Area" text, "Marine Organism α" text, "Compound Name" text ); CREATE TABLE IF NOT EXISTS table_1_1140090_6 ( Constructor text, "Race Name" ...
What is the organism that has a disease area of cancer and has 4/4 clinical trial b?
SELECT "Marine Organism α" FROM table_2_12715053_1 WHERE "Disease Area" ILIKE '%cancer%' AND "Clinical Trials β" ILIKE '%4/4%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1009087_1 ( "Season finale" text, "TV season" text, Ranking text, Network text, "Viewers (in millions)" text, "Season premiere" text, Season text ); CREATE TABLE IF NOT EXISTS table_2_17426846_5 ( "Transfer window" text, "Transfer fee" text, Type text, Name text, "Moving t...
Which Name has a Type of loan, and a Moving to of apollon kalamaria?
SELECT Name FROM table_2_17426846_5 WHERE "Type" ILIKE '%loan%' AND "Moving to" ILIKE '%apollon%kalamaria%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11907963_6 ( Score text, Game numeric, Team text, "High points" text, Date text, "Location Attendance" text, "High assists" text, Record text, "High rebounds" text ); CREATE TABLE IF NOT EXISTS table_1_23292220_3 ( "Seans team" text, Episode text, Scores text, "First broa...
What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas?
SELECT "First broadcast" FROM table_1_23292220_3 WHERE "Seans team" ILIKE '%Peter%Serafinowicz%and%Johnny%Vegas%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11630008_3 ( "Production Code" numeric, "Written by" text, Title text, "Original air date" text, "Directed by" text, "Series no." numeric ); CREATE TABLE IF NOT EXISTS table_2_16993234_5 ( League text, Away text, Home text, Teams text, Season text ); CREATE TABLE IF NOT EXI...
Which Away has a Season of 2007–08?
SELECT Away FROM table_2_16993234_5 WHERE "Season" ILIKE '%2007–08%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10749143_2 ( "Directed by" text, "Written by" text, "Season #" numeric, "U.S. viewers (millions)" text, "Original air date" text, Title text, "Production code" text, "Series #" numeric ); CREATE TABLE IF NOT EXISTS table_1_11236195_5 ( Score text, LosingTeam text, "Grand Fi...
When 36 is the amount of ends won how many sets of pf's are there?
SELECT COUNT(PF) FROM table_1_29542269_2 WHERE "Ends Won" = '36'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1140105_6 ( Report text, Constructor text, "Winning driver" text, Circuit text, "Race Name" text, Date text ); CREATE TABLE IF NOT EXISTS table_1_12074447_4 ( "Evaluation average (Before April 2009)" text, "Peak lessons taught" numeric, "% of negative evaluations" text, "Pun...
What is the number of high checkout with fewer than 13 legs won, a 180s lower than 2 and an LWAT of more than 1?
SELECT COUNT("High Checkout") FROM table_2_18317531_1 WHERE "Legs Won" < '13' AND "180s" < '2' AND "LWAT" > '1'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_2933761_1 ( Occupation text, Gender text, "Played by" text, "Prison connection" text, Name text, Status text ); CREATE TABLE IF NOT EXISTS table_1_12163387_1 ( "Mens singles" text, "Womens singles" text, "Womens doubles" text, "Mens doubles" text, Year numeric, "Mixed doub...
How many characters does Maurice Dean Wint play in the movie Cube?
SELECT COUNT(Status) FROM table_1_2933761_1 WHERE "Played by" ILIKE '%Maurice%Dean%Wint%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140074_2 ( "Race Winner" text, Rnd numeric, Race text, Location text, Constructor text, "Pole Position" text, "Fastest Lap" text, Report text, Date text ); CREATE TABLE IF NOT EXISTS table_1_1013168_2 ( Successor text, "State (class)" text, Vacator text, "Date of success...
What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12?
SELECT MAX(Points) FROM table_2_15404907_1 WHERE "Lost" > '5' AND "Difference" ILIKE '%-%10%' AND "Played" > '12'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10295819_1 ( "Total W–L" text, "Ties played" numeric, "Current singles ranking" text, Player text, "First year played" numeric, "Singles W–L" text, "Current doubles ranking" text, "Doubles W–L" text ); CREATE TABLE IF NOT EXISTS table_2_11561548_3 ( Name text, "Current versi...
What is the System with a freeware License?
SELECT SYSTEM FROM table_2_11561548_3 WHERE "License" ILIKE '%freeware%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12125069_2 ( "Winning Team" text, Date text, Attendance numeric, "Losing Pitcher" text, "Winning Pitcher" text, Location text, Score text ); CREATE TABLE IF NOT EXISTS table_2_18166348_1 ( Country text, Player text, "To par" text, Total numeric, Finish text, "Year(s) won"...
What year (s) won was +2 the To par, and t22 the finish?
SELECT "Year(s) won" FROM table_2_18166348_1 WHERE "To par" ILIKE '%+2%' AND "Finish" ILIKE '%t22%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11411026_2 ( "Written by" text, "Directed by" text, "Original air date" text, "No. in season" numeric, "U.S. viewers (millions)" text, "No. in series" numeric, Title text ); CREATE TABLE IF NOT EXISTS table_1_11449590_2 ( "Game site" text, "Kickoff [a ]" text, Attendance tex...
What is the Date with a Runner(s)-up that is jerry steelsmith?
SELECT Date FROM table_2_1569714_1 WHERE "Runner(s)-up" ILIKE '%jerry%steelsmith%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140088_6 ( "Winning driver" text, Date text, Report text, Constructor text, "Race Name" text, Circuit text ); CREATE TABLE IF NOT EXISTS table_1_11951237_4 ( "Directed by" text, Title text, "Production code" text, "Written by" text, "Series #" numeric, "Original air date"...
What is the Team, when the Year is 2011?
SELECT Team FROM table_2_1278412_1 WHERE "Year" ILIKE '%2011%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1357052_6 ( Distribution text, RSBAC text, "Mandatory access control" text, grsecurity text, "Compile time buffer checks" text, "Software executable space protection" text ); CREATE TABLE IF NOT EXISTS table_1_10236830_4 ( Nomination text, "Actors Name" text, "Film Name" text...
what's the software executable space protection with dbeingtribution being gentoo
SELECT "Software executable space protection" FROM table_1_1357052_6 WHERE "Distribution" ILIKE '%Gentoo%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140083_2 ( Location text, Date text, Race text, Report text, Rnd numeric, "Fastest Lap" text, Constructor text, "Pole Position" text, "Race Winner" text ); CREATE TABLE IF NOT EXISTS table_1_10264179_2 ( "Pole Position" text, "Winning Driver" text, Circuit text, Round nu...
What's the score of the Nice International Championships where Björn Borg was the champion?
SELECT Score FROM table_2_17689648_1 WHERE "Name" ILIKE '%nice%international%championships%' AND "Champion" ILIKE '%björn%borg%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_12980230_1 ( Year numeric, Outcome text, Opponent text, Score text, Partner text, Tournament text ); CREATE TABLE IF NOT EXISTS table_1_10953197_2 ( "No. in series" numeric, "Original air date" text, "No. in season" numeric, "Writer(s)" text, "Production code" text, Direct...
What score has an opponent gan teik chai lin woon fui?
SELECT Score FROM table_2_12980230_1 WHERE "Opponent" ILIKE '%gan%teik%chai%lin%woon%fui%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11734041_11 ( "Height in Ft." text, "Years for Rockets" text, "No.(s)" text, Position text, "School/Club Team/Country" text, Player text ); CREATE TABLE IF NOT EXISTS table_2_17432115_1 ( "Rank #" text, Result text, "Opponent#" text, Site text, Attendance text, Date text )...
What was the rank when the opponent was Wisconsin (played at Wisconsin)?
SELECT "Rank #" FROM table_2_17432115_1 WHERE "Opponent#" ILIKE '%at%wisconsin%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10815352_1 ( Games numeric, "Total attendance" numeric, "Average attendance" numeric, Season text, Sport text, League text ); CREATE TABLE IF NOT EXISTS table_1_11622829_1 ( "Purse( $ )" numeric, "1st Prize( $ )" numeric, Winner text, Location text, Tournament text, Score ...
Tell me the nominator for piotr adamczyk
SELECT Nomination FROM table_2_10236830_6 WHERE "Actor's Name" ILIKE '%piotr%adamczyk%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11963601_11 ( Score text, Game numeric, "Location Attendance" text, "High rebounds" text, "High points" text, "High assists" text, Series text, Team text, Date text ); CREATE TABLE IF NOT EXISTS table_1_12251936_1 ( County text, "TFR 2006" text, "Whites as % of Pop." text,...
Which Rank has a Qual of 145.144?
SELECT Rank FROM table_2_16564_3 WHERE "Qual" ILIKE '%145.144%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11636213_7 ( Edition text, Partnering text, Date text, "W–L" text, Surface text, Against text, Opponents text, Result text, Round text ); CREATE TABLE IF NOT EXISTS table_1_11621873_1 ( Winner text, Score text, Tournament text, "Purse( $ )" numeric, "1st Prize( $ )" nume...
Which coach had a 2007-2008 season of 6th?
SELECT Coach FROM table_2_18111138_1 WHERE "2007-2008 season" ILIKE '%6th%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11621915_1 ( Location text, Winner text, Date text, Score text, "1st Prize( $ )" numeric, Tournament text, "Purse( $ )" numeric ); CREATE TABLE IF NOT EXISTS table_2_1403702_1 ( "Channels ( Analog / Digital )" text, "ERP (Analog/ Digital)" text, "Region served" text, "HAAT ...
Which City has a 360kw 90kw ERP?
SELECT City FROM table_2_1403702_1 WHERE "ERP (Analog/ Digital)" ILIKE '%360kw%90kw%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_11107697_1 ( Score text, Venue text, Winners text, Location text, Date text, "Runners-up" text, Season text ); CREATE TABLE IF NOT EXISTS table_1_10819266_8 ( "Season finale" text, Rank text, "Season premiere" text, "Viewers (in millions)" text, "Time slot (EST)" text, "T...
Which season's winner is Panathinaikos and is located in Athens?
SELECT Season FROM table_2_11107697_1 WHERE "Location" ILIKE '%athens%' AND "Winners" ILIKE '%panathinaikos%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_12819742_4 ( Country text, Player text, "To par" text, Place text, Score text ); CREATE TABLE IF NOT EXISTS table_1_11677691_6 ( Position text, Hometown text, School text, College text ); CREATE TABLE IF NOT EXISTS table_1_10392906_2 ( Date text, "Game site" text, Kickoff ...
How close to par was Tom Kite when he played?
SELECT "To par" FROM table_2_12819742_4 WHERE "Player" ILIKE '%tom%kite%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677691_10 ( Position text, College text, School text, Hometown text ); CREATE TABLE IF NOT EXISTS table_2_11755831_2 ( Player text, Yards text, Long numeric, "Avg." text, "Car." numeric ); CREATE TABLE IF NOT EXISTS table_1_11677100_3 ( Position text, Hometown text, "MLB...
Who has greater than 8 Long and a 73 Yards?
SELECT Player FROM table_2_11755831_2 WHERE "Long" > '8' AND "Yards" ILIKE '%73%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10015132_2 ( Player text, "Years in Toronto" text, Position text, "School/Club Team" text, "No." text, Nationality text ); CREATE TABLE IF NOT EXISTS table_1_26914759_3 ( "Date of vacancy" text, Team text, "Date of appointment" text, "Incoming manager" text, "Position in ta...
who was the incoming manager for the 12th position in the table
SELECT "Incoming manager" FROM table_1_26914759_3 WHERE "Position in table" ILIKE '%12th%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_27683516_3 ( "Outgoing manager" text, Team text, "Manner of departure" text, "Date of vacancy" text, Table text, "Date of appointment" text, "Incoming manager" text ); CREATE TABLE IF NOT EXISTS table_1_12159115_3 ( "Season #" numeric, "Series #" numeric, Title text, "Direc...
What is the table when the team is slovan bratislava?
SELECT TABLE FROM table_1_27683516_3 WHERE "Team" ILIKE '%Slovan%Bratislava%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17975363_1 ( Mass text, Eccentricity text, "Companion (in order from star)" text, "Semimajor axis ( AU )" text, "Orbital period ( s day )" text, Inclination text ); CREATE TABLE IF NOT EXISTS table_1_11235334_2 ( Episode text, Viewers text, "#" numeric, "Air Date" text, Tim...
What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 −0.0104?
SELECT "Companion (in order from star)" FROM table_2_17975363_1 WHERE "Semimajor axis ( AU )" ILIKE '%0.1886%+0.083%−0.0104%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_11290838_3 ( Home text, Record text, Score text, Date text, Visitor text ); CREATE TABLE IF NOT EXISTS table_1_10812938_3 ( Position text, College text, Player text, "Pick #" numeric, "CFL Team" text ); CREATE TABLE IF NOT EXISTS table_1_11622255_1 ( Winner text, "1st Priz...
Tell me the score on april 27 with visitor of buffalo
SELECT Score FROM table_2_11290838_3 WHERE "Visitor" ILIKE '%buffalo%' AND "Date" ILIKE '%april%27%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12226390_4 ( "Original air date" text, "No. in season" numeric, Title text, "Written by" text, "No. in series" numeric, "Directed by" text, "Production code" numeric ); CREATE TABLE IF NOT EXISTS table_1_10812293_4 ( "Location Attendance" text, Team text, "High points" text,...
Which report has a Set 3 value of 21–25?
SELECT Report FROM table_2_17998533_3 WHERE "Set 3" ILIKE '%21–25%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_28201906_1 ( Played numeric, Percent text, Club text, Drawn numeric, Points numeric, Lost numeric, "Pts Agst" numeric, Position numeric, Won numeric, "Pts For" numeric ); CREATE TABLE IF NOT EXISTS table_1_11803648_21 ( Overall text, Player text, Round numeric, "Club tea...
What is the lowest number of drawn games by a team?
SELECT MIN(Drawn) FROM table_1_28201906_1
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_16588532_2 ( Branding text, Frequency text, Callsign text, Location text, "Power (kW)" text ); CREATE TABLE IF NOT EXISTS table_1_11734041_18 ( "Height in Ft." text, Player text, "Years for Rockets" text, "No.(s)" text, "School/Club Team/Country" text, Position text ); CREA...
What is the Branding for the station located in Zamboanga?
SELECT Branding FROM table_2_16588532_2 WHERE "Location" ILIKE '%zamboanga%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10470082_5 ( "No." numeric, Storyteller text, Writer text, "#" numeric, "US air date" text, Director text, Villains text, Title text ); CREATE TABLE IF NOT EXISTS table_1_10953197_6 ( "No. in series" numeric, "Original air date" text, "No. in season" numeric, "Writer(s)" t...
How many have Mrs. briar as a villain
SELECT COUNT(No.) FROM table_1_10470082_5 WHERE "Villains" ILIKE '%Mrs.%Briar%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11622255_1 ( Winner text, Location text, "Purse( $ )" numeric, "1st Prize( $ )" numeric, Date text, Tournament text, Score text ); CREATE TABLE IF NOT EXISTS table_1_10527215_3 ( "Winning driver" text, "Pole Position" text, "Fastest Lap" text, Report text, Rd numeric, Nam...
what is the maximum 1st prize( $ ) where score is 193 (-17)
SELECT MAX("1st Prize( $ )") FROM table_1_11622255_1 WHERE "Score" ILIKE '%193%(-17)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12526990_1 ( Biggenden numeric, Year numeric, Eidsvold numeric, "Total Region" numeric, Monto numeric, Mundubbera numeric, Gayndah numeric, Perry numeric ); CREATE TABLE IF NOT EXISTS table_1_10602294_1 ( Name text, "Areas affected" text, Windspeeds text, "Peak classificat...
Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777
SELECT Constellation FROM table_2_11051840_8 WHERE "Apparent magnitude" > '7.7' AND "NGC number" = '7777'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_19189856_1 ( "First performance" text, Category text, Performer text, "Last performance" text, Performances numeric ); CREATE TABLE IF NOT EXISTS table_1_1246208_5 ( "Goals For Avg." text, "Goals Against" numeric, "Goals For" numeric, Club text, "Goals Against Avg." text, "...
what is the first performance of the last performance on 03/29/1957
SELECT "First performance" FROM table_1_19189856_1 WHERE "Last performance" ILIKE '%03/29/1957%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_16013858_13 ( Score text, "Set 2" text, "Set 1" text, "Set 5" text, "Set 4" text, "Set 3" text, Total text, Date text ); CREATE TABLE IF NOT EXISTS table_1_1015914_15 ( "Kalau Kawau Ya" text, "Kawalgau Ya" text, "Kalaw Lagaw Ya" text, "Kulkalgau Ya" text, "Kauraraigau Ya ...
What is set 3 when set 5 is na, set 1 is 21-25, and set 2 is 25-16?
SELECT "Set 3" FROM table_2_16013858_13 WHERE "Set 5" ILIKE '%na%' AND "Set 1" ILIKE '%21-25%' AND "Set 2" ILIKE '%25-16%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1013129_8 ( Pick numeric, Nationality text, Position text, "College/junior/club team" text, "NHL team" text, Player text ); CREATE TABLE IF NOT EXISTS table_2_17102518_2 ( Score text, Record text, Date text, Home text, Visitor text ); CREATE TABLE IF NOT EXISTS table_1_1041...
What is the Score on November 23, 1946 with Washington Capitols Home team?
SELECT Score FROM table_2_17102518_2 WHERE "Home" ILIKE '%washington%capitols%' AND "Date" ILIKE '%november%23,%1946%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_104858_1 ( "Year current Scouting organization joined WOSM" text, "Name of member organization" text, "Admits boys/girls" text, "Year member organization was founded" text, "Membership (from 2010)" numeric, Country text ); CREATE TABLE IF NOT EXISTS table_1_10015132_2 ( Positio...
What is Minister, when Party is "AN"?
SELECT Minister FROM table_2_16824962_2 WHERE "Party" ILIKE '%an%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140076_2 ( "Pole Position" text, Rnd numeric, Race text, "Fastest Lap" text, Constructor text, Date text, Report text, "Race Winner" text, Location text ); CREATE TABLE IF NOT EXISTS table_2_12557214_2 ( Venue text, "Gross Revenue (2011)" text, "Tickets Sold / Available" ...
What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
SELECT "Gross Revenue (2011)" FROM table_2_12557214_2 WHERE "Gross Revenue (1982)" ILIKE '%$156,315%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_29686983_1 ( Circuit text, "Winning Team" text, Date text, "Pole Position" text, "Fastest Lap" text, Round numeric, Country text, Report text, "Winning Rider" text ); CREATE TABLE IF NOT EXISTS table_1_11677100_18 ( Hometown text, Player text, "MLB Draft" text, Position t...
what is the maximum round and fabien foret had the pole position?
SELECT MAX(Round) FROM table_1_29686983_1 WHERE "Pole Position" ILIKE '%Fabien%Foret%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12001616_4 ( "Car No." numeric, Driver text, Laps numeric, Start numeric, Entrant text, "Car Make" text, Finish numeric, Status text, "Car Name" text ); CREATE TABLE IF NOT EXISTS table_1_11734041_20 ( "Height in Ft." text, "School/Club Team/Country" text, "Years for Rocke...
From what Country is Gene Borek?
SELECT Country FROM table_2_17245540_5 WHERE "Player" ILIKE '%gene%borek%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1290024_14 ( Type text, Manufacturer text, "Quantity made" text, Class text, Names text, "Date made" text ); CREATE TABLE IF NOT EXISTS table_1_104858_1 ( "Membership (from 2010)" numeric, "Year member organization was founded" text, "Year current Scouting organization joined...
What is the quantity made of the locomotive with a Waterford class?
SELECT "Quantity made" FROM table_2_1290024_14 WHERE "Class" ILIKE '%waterford%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1253396_5 ( "Goals For Avg." text, "Goals For" numeric, "Goals Against" numeric, Club text, "Overall Record" text, "Goals Against Avg." text ); CREATE TABLE IF NOT EXISTS table_1_1213511_6 ( Nationality text, Position text, "NHL team" text, "Pick #" numeric, Player text, "...
Which PF per game has a Rank of 5?
SELECT MIN("PF per game") FROM table_2_1711351_1 WHERE "Rank" = '5'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_103084_4 ( "BBC Two Rank" text, "Broadcast date" text, "BBC One Rank" text, "BBC One total viewing" numeric, Year numeric, "BBC Two total viewing" text ); CREATE TABLE IF NOT EXISTS table_1_1342315_17 ( Candidates text, Incumbent text, "First elected" numeric, Party text, D...
How many districts for rené l. derouen?
SELECT COUNT(District) FROM table_1_1342315_17 WHERE "Incumbent" ILIKE '%René%L.%DeRouen%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10015132_2 ( Position text, Player text, "Years in Toronto" text, "School/Club Team" text, Nationality text, "No." text ); CREATE TABLE IF NOT EXISTS table_1_11630008_3 ( "Written by" text, "Series no." numeric, "Original air date" text, "Production Code" numeric, "Directed...
List the status for the operator Toronto transit commission.
SELECT Status FROM table_1_22481967_1 WHERE "Operator" ILIKE '%Toronto%Transit%Commission%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10819266_8 ( "Time slot (EST)" text, Rank text, Season numeric, "Viewers (in millions)" text, "TV season" text, "Season premiere" text, Episodes numeric, "Season finale" text ); CREATE TABLE IF NOT EXISTS table_1_12002388_1 ( League text, "Open Cup" text, Year numeric, "Re...
In the country United Arab Emirates, what is the number of imports?
SELECT Imports FROM table_1_26160007_1 WHERE "Country" ILIKE '%United%Arab%Emirates%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1057262_1 ( Commodity text, "2003-04" numeric, "2001-02" numeric, "2006-07" numeric, "2004-05" numeric, "2002-03" numeric, "2005-06" numeric ); CREATE TABLE IF NOT EXISTS table_1_10240125_2 ( "Total Goals" numeric, Season text, Division text, "Total Apps" numeric, "League ...
Which IHSAA Class is located in charlottesville?
SELECT "IHSAA Class" FROM table_2_18935018_1 WHERE "Location" ILIKE '%charlottesville%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12171145_1 ( "Womens doubles" text, "Mens singles" text, "Womens singles" text, "Mens doubles" text, Year numeric, "Mixed doubles" text ); CREATE TABLE IF NOT EXISTS table_1_1013129_8 ( "College/junior/club team" text, Position text, Nationality text, "NHL team" text, Pick ...
How many numbers were recorded on the fields goals of the Left End player?
SELECT COUNT("Field goals") FROM table_1_25711913_2 WHERE "Position" ILIKE '%Left%end%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_24865763_2 ( "GT2 Winning Team" text, "LMP1 Winning Team" text, "LMP2 Winning Team" text, "GT1 Winning Team" text, Results text, Circuit text, "Rnd." numeric, "FLM Winning Team" text ); CREATE TABLE IF NOT EXISTS table_1_12171145_1 ( "Womens singles" text, "Mens doubles" tex...
What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?
SELECT MAX(Rnd.) FROM table_1_24865763_2 WHERE "GT2 Winning Team" ILIKE '%Marc%Lieb%Richard%Lietz%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12526990_1 ( Year numeric, Mundubbera numeric, Gayndah numeric, Biggenden numeric, Eidsvold numeric, Perry numeric, Monto numeric, "Total Region" numeric ); CREATE TABLE IF NOT EXISTS table_2_16715979_2 ( Week numeric, Opponent text, Result text, Attendance numeric, Date ...
What is Date, when Week is 11?
SELECT Date FROM table_2_16715979_2 WHERE "Week" = '11'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12193259_1 ( "Mens doubles" text, "Womens singles" text, Season text, "Mixed doubles" text, "Womens doubles" text, "Mens singles" text ); CREATE TABLE IF NOT EXISTS table_1_1013129_1 ( "NHL team" text, Nationality text, "College/junior/club team" text, Pick numeric, Positio...
What is the date for the player who debuted later than 1972 against Limerick?
SELECT Date FROM table_2_10714000_2 WHERE "Début" > '1972' AND "Opposition" ILIKE '%limerick%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_10150210_5 ( Week numeric, Date text, "Time ( ET )" text, "Final Score" text, "Game Site" text, Opponent text ); CREATE TABLE IF NOT EXISTS table_1_11793221_2 ( Unit text, Commander text, Killed text, Missing text, Wounded text, Complement text ); CREATE TABLE IF NOT EXIST...
Where will the game at (ET) of 7:00 pm be at?
SELECT "Game Site" FROM table_2_10150210_5 WHERE "Time ( ET )" ILIKE '%7:00%pm%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10312547_1 ( "1979 Broadway" text, "1960 broadcast" text, "1998 Broadway" text, "1990 Broadway" text, "1991 Broadway" text, "1955 broadcast" text, "1999 Broadway" text, Character text, "1954 Broadway" text ); CREATE TABLE IF NOT EXISTS table_1_1213511_4 ( Position text, "NH...
Which 2006 has a 2012 of a, and a 2011 of 3r?
SELECT 2006 FROM table_2_1550535_1 WHERE "2012" ILIKE '%a%' AND "2011" ILIKE '%3r%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677100_4 ( Hometown text, Player text, "MLB Draft" text, Position text, School text ); CREATE TABLE IF NOT EXISTS table_2_1376890_2 ( "Aspect Ratios" text, "Abbr." text, "Intra DC Precision" text, "Chroma Format" text, Name text, "Picture Coding Types" text, "Scalable mo...
What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile?
SELECT "Picture Coding Types" FROM table_2_1376890_2 WHERE "Chroma Format" ILIKE '%4:2:2%or%4:2:0%' AND "Name" ILIKE '%4:2:2%profile%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677100_4 ( Position text, Hometown text, School text, "MLB Draft" text, Player text ); CREATE TABLE IF NOT EXISTS table_1_10321805_1 ( "Film title used in nomination" text, Director text, "Original title" text, Result text, "Year (Ceremony)" text ); CREATE TABLE IF NOT EXI...
What is the total number of MEPs that has 465,955 inhabitants per MEP and an influence smaller than 1.79?
SELECT COUNT(MEPs) FROM table_2_1542906_1 WHERE "Inhabitants per MEP" = '465,955' AND "Influence" < '1.79'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11562143_1 ( "Original air date" text, "Directed by" text, "No. in season" numeric, "No. in series" numeric, "U.S. viewers (million)" text, "Featured character(s)" text, "Written by" text, Title text ); CREATE TABLE IF NOT EXISTS table_1_11622255_1 ( Winner text, Tournament ...
What week ended in a result of w 30-3, and had an attendance less than 62,795?
SELECT MIN(WEEK) FROM table_2_15093626_2 WHERE "Result" ILIKE '%w%30-3%' AND "Attendance" < '62,795'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1231316_5 ( "Fastest time (s)" text, Nation text, "Wind (m/s)" text, Date text, Athlete text, Rank numeric, Location text ); CREATE TABLE IF NOT EXISTS table_1_103084_4 ( "Broadcast date" text, "BBC Two total viewing" text, "BBC One total viewing" numeric, "BBC Two Rank" te...
What is Viewers, when Air Date is "July 4, 2008"?
SELECT Viewers FROM table_2_18125441_1 WHERE "Air Date" ILIKE '%july%4,%2008%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1235869_1 ( Engine text, Chassis text, Entrant text, Year numeric, Points numeric ); CREATE TABLE IF NOT EXISTS table_1_10592536_8 ( "Manner of departure" text, "Position in table" text, "Date of vacancy" text, "Outgoing manager" text, Team text, "Replaced by" text, "Date ...
Which Entrant has a vanwall straight-4 engine?
SELECT Entrant FROM table_2_1235869_1 WHERE "Engine" ILIKE '%vanwall%straight-4%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1671401_1 ( "Team(s)" text, "Top 10" numeric, Poles numeric, "Avg. Start" text, "Top 5" numeric, Winnings text, Year numeric, Wins numeric, Starts numeric, Position text, "Avg. Finish" text ); CREATE TABLE IF NOT EXISTS table_1_10975034_5 ( "Pick #" numeric, Player text, ...
Name the least top 5
SELECT MIN("Top 5") FROM table_1_1671401_1
[ "SQL Server" ]
CREATE TABLE IF NOT EXISTS table_2_1123476_2 ( Laps numeric, "Time/Retired" text, Driver text, Constructor text, Grid numeric ); CREATE TABLE IF NOT EXISTS table_1_10705060_1 ( Position text, Series text, "Team Name" text, Races numeric, Points numeric, Season text, Wins numeric, Poles numeric );
Which time/retired had 75 laps and Pedro de la Rosa as a driver?
SELECT TIME/Retired FROM table_2_1123476_2 WHERE "Laps" = '75' AND "Driver" ILIKE '%pedro%de%la%rosa%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140067_2 ( Constructor text, Location text, Report text, Rnd numeric, Race text, "Race Winner" text, Date text, "Fastest Lap" text, "Pole Position" text ); CREATE TABLE IF NOT EXISTS table_1_12261714_2 ( Stage text, "Points classification" text, Winner text, "Intergiro c...
Tell me the average gold for moldova and bronze less than 1
SELECT AVG(Gold) FROM table_2_10838789_3 WHERE "Nation" ILIKE '%moldova%' AND "Bronze" < '1'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1011383_2 ( Silver numeric, Bronze numeric, Rank numeric, Gold numeric, Total numeric, Nation text ); CREATE TABLE IF NOT EXISTS table_1_11303072_5 ( "Batting partners" text, "Fielding team" text, "Batting team" text, Venue text, Wicket text, Season text, Runs text ); CRE...
What is the lowest number of silver owned by a nation that is not ranked number 1?
SELECT MIN(Silver) FROM table_2_1011383_2 WHERE "Rank" < '1'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_17717526_12 ( "2009" text, "2007" text, Tournament text, "2012" text, "2010" text, "2006" text, "2011" text, "2008" text ); CREATE TABLE IF NOT EXISTS table_1_10021158_3 ( "2nd" numeric, "Cuts made*" numeric, Year numeric, "Scoring rank" text, "Money list rank" text, "To...
What 2009 has lq as the 2011?
SELECT 2009 FROM table_2_17717526_12 WHERE "2011" ILIKE '%lq%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1205598_1 ( "NFL Team(s)" text, "NBA Team(s)" text, "Media Market Ranking" numeric, "Hosted 4 teams since" numeric, "NHL Team(s)" text, "Metropolitan Area" text, "MLB Team(s)" text ); CREATE TABLE IF NOT EXISTS table_1_25800134_1 ( Director text, "Season #" numeric, Title te...
Who directed the episodes that aired December 15, 1956?
SELECT Director FROM table_1_25800134_1 WHERE "Airdate" ILIKE '%December%15,%1956%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1231892_4 ( "U.S. Air Date" text, "Broadcast Order" text, "Villain/s" text, "Number in series" numeric, Title text, "Production Code" text ); CREATE TABLE IF NOT EXISTS table_1_11960610_10 ( "High points" text, "High rebounds" text, Score text, "Location Attendance" text, D...
What was the partial thromboplastin time for factor x deficiency as seen in amyloid purpura
SELECT "Partial thromboplastin time" FROM table_1_1099080_1 WHERE "Condition" ILIKE '%Factor%X%deficiency%as%seen%in%amyloid%purpura%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_12265902_2 ( Competition text, Goal text, Location text, Lineup text, Score text, Result text, "Assist/pass" text ); CREATE TABLE IF NOT EXISTS table_1_1213511_2 ( "College/junior/club team" text, "Pick #" numeric, Player text, Position text, "NHL team" text, Nationality ...
Which Assist/pass has a Result of 6-2?
SELECT Assist/pass FROM table_2_12265902_2 WHERE "Result" ILIKE '%6-2%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11210576_3 ( "Final Episode Count" numeric, Character text, Duration text, "First Episode" text, Position text, Actor text, "Final Episode" text ); CREATE TABLE IF NOT EXISTS table_1_12321870_32 ( Country text, Matches text, "Player name" text, Period text, Goals text ); C...
When portsmouth is the city of license who is the licensee?
SELECT Licensee FROM table_1_1949746_1 WHERE "City of License" ILIKE '%Portsmouth%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1013168_3 ( "Date successor seated" text, Successor text, District text, "Reason for change" text, Vacator text ); CREATE TABLE IF NOT EXISTS table_1_22297140_3 ( "Replaced by" text, "Date of vacancy" text, Team text, "Manner of departure" text, "Outgoing manager" text, "Da...
Which outgoing manager was replaced by Jafar Fatahi?
SELECT "Outgoing manager" FROM table_1_22297140_3 WHERE "Replaced by" ILIKE '%Jafar%Fatahi%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12232526_2 ( Previously text, Note text, Class text, "Ship Name" text, Origin text, "Hull Numbers" numeric, "Service years" text ); CREATE TABLE IF NOT EXISTS table_2_10809142_1 ( Crowd numeric, Date text, "Home team" text, "Home team score" text, "Away team" text, "Away ...
What is the score of the away team where the home team scored 14.8 (92)?
SELECT "Away team score" FROM table_2_10809142_1 WHERE "Home team score" ILIKE '%14.8%(92)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1012730_1 ( "Avg. Start" text, "Top 5" numeric, Wins numeric, "Avg. Finish" text, "Team(s)" text, Position text, Poles numeric, Winnings text, Year numeric, "Top 10" numeric, Starts numeric ); CREATE TABLE IF NOT EXISTS table_2_18499677_2 ( "2008 club" text, Weight text, ...
What was the spike for the Army Club in 2008?
SELECT Spike FROM table_2_18499677_2 WHERE "2008 club" ILIKE '%army%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12441518_1 ( Character text, "Portrayed by" text, "# of episodes" numeric, "Recurring cast seasons" text, "Main cast seasons" text ); CREATE TABLE IF NOT EXISTS table_1_11545282_18 ( Player text, "Years for Jazz" text, "No." numeric, "School/Club Team" text, Position text, ...
How many laps were there when time/retired was gearbox?
SELECT SUM(Laps) FROM table_2_1122338_1 WHERE "Time/Retired" ILIKE '%gearbox%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10935548_1 ( "Written by" text, Title text, "U.S. viewers (millions)" text, "Production code" text, "No. in series" numeric, "Directed by" text, "No. in season" numeric, "Original air date" text ); CREATE TABLE IF NOT EXISTS table_2_142333_2 ( "1st place" numeric, "3rd place...
Which Rank is the Country of soviet union with a Total smaller than 19?
SELECT MIN(Rank) FROM table_2_142333_2 WHERE "Country" ILIKE '%soviet%union%' AND "Total" < '19'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10581768_2 ( Enrollment numeric, Founded numeric, Nickname text, Location text, Type text, Institution text ); CREATE TABLE IF NOT EXISTS table_1_11960196_3 ( "High assists" text, Team text, Game numeric, Score text, Date text, "High points" text, "Location Attendance" te...
During the act, Performance of "Lost" by Anouk, what was the result?
SELECT RESULT FROM table_1_23429629_4 WHERE "Act" ILIKE '%Performance%of%"Lost"%by%Anouk%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10020178_1 ( Name text, "Name of the Lake" text, "Crest length (meters)" numeric, "Year of construction" numeric, "Height (meters)" numeric, Type text, Canton text ); CREATE TABLE IF NOT EXISTS table_1_12570207_1 ( Livingstone numeric, Year numeric, Rockhampton numeric, "Mt...
Name the Gross-to-date which has a Date of august 23–25?
SELECT Gross-TO-date FROM table_2_1625624_1 WHERE "Date" ILIKE '%august%23–25%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15753390_4 ( Machine text, Country text, Rider text, Place numeric, Points numeric, Speed text, Time text ); CREATE TABLE IF NOT EXISTS table_1_12444503_1 ( Score text, Winner text, "Runner-up" text, Season text, "lost to eventual winner" text, "lost to eventual runner-up...
What is Time, when Speed is 87.49mph?
SELECT TIME FROM table_2_15753390_4 WHERE "Speed" ILIKE '%87.49mph%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_27298240_26 ( perfect text, "1st" text, "2nd" text, pluperfect text, Present text, aorist text, Pronoun text, imperfect text ); CREATE TABLE IF NOT EXISTS table_1_1242447_2 ( "English Spelling" text, "Strongs Words Compounded" text, "Strongs Transliteration" text, "Hebrew ...
Which aorist has imperfect form of bijasmo / bejasmo / besmo?
SELECT aorist FROM table_1_27298240_26 WHERE "imperfect" ILIKE '%bijasmo%/%bejasmo%/%besmo%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_10701914_10 ( "Away team score" text, "Home team" text, Crowd numeric, "Home team score" text, Date text, Venue text, "Away team" text ); CREATE TABLE IF NOT EXISTS table_1_12095519_1 ( Frequency text, Destination text, "Train Name" text, "Train No." text, Origin text );
What was the crowd size of the match where the home team scored 7.7 (49) against Geelong?
SELECT SUM(Crowd) FROM table_2_10701914_10 WHERE "Home team score" ILIKE '%7.7%(49)%' AND "Away team" ILIKE '%geelong%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140116_5 ( Report text, "Winning driver" text, "Race Name" text, Circuit text, Constructor text, Date text ); CREATE TABLE IF NOT EXISTS table_1_10470082_3 ( Director text, Villains text, "No." numeric, "#" numeric, "US air date" text, Writer text, Title text, Storytell...
When was Piedmont College founded?
SELECT MAX(Founded) FROM table_1_255188_1 WHERE "Institution" ILIKE '%Piedmont%College%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_14316789_1 ( Quantity numeric, Gauge text, System text, Seats numeric, Standing numeric, Owner text, Delivery text, Operation text, Length text ); CREATE TABLE IF NOT EXISTS table_1_103084_4 ( "Broadcast date" text, "BBC Two total viewing" text, Year numeric, "BBC One Ran...
How many seats have a quantity over 45?
SELECT SUM(Seats) FROM table_2_14316789_1 WHERE "Quantity" > '45'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10874596_1 ( Director text, Result text, "Original title" text, "Year [e ] (Ceremony)" text, "Film title used in nomination" text ); CREATE TABLE IF NOT EXISTS table_1_10568553_1 ( Milepost text, "Roads Intersected" text, Notes text, "Street Names" text, County text, Locati...
What shows for 3:30 pm when 2:30 pm is local programs?
SELECT "5:00 pm" FROM table_2_17893851_1 WHERE "2:30 pm" ILIKE '%local%programs%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_20170644_1 ( "Pick #" numeric, "CFL Team" text, Player text, Position text, College text ); CREATE TABLE IF NOT EXISTS table_1_11250_4 ( "First season of current spell in top division" text, "Position in 2012–13" text, "Top division titles" numeric, "Last top division title" ...
What team was in position OL?
SELECT "CFL Team" FROM table_1_20170644_1 WHERE "Position" ILIKE '%OL%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_18932779_4 ( Draw numeric, Artist text, Points numeric, Song text, Place numeric ); CREATE TABLE IF NOT EXISTS table_1_1099080_1 ( Condition text, "Prothrombin time" text, "Bleeding time" text, "Partial thromboplastin time" text, "Platelet count" text );
What is the sum of placings for the song "Tavo Spalvos"?
SELECT SUM(Place) FROM table_2_18932779_4 WHERE "Song" ILIKE '%"tavo%spalvos"%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10236830_4 ( "Film Name" text, Director text, Nomination text, "Actors Name" text, Country text ); CREATE TABLE IF NOT EXISTS table_1_11964047_8 ( Home text, Streak text, Visitor text, Record text, "#" numeric, Attendance text, "Leading scorer" text, Date text, Score tex...
Which actor from Serbia was nominated for best actor in a supporting role?
SELECT "Actors Name" FROM table_1_10236830_4 WHERE "Nomination" ILIKE '%Best%Actor%in%a%Supporting%Role%' AND "Country" ILIKE '%Serbia%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677100_3 ( "MLB Draft" text, Hometown text, Position text, School text, Player text ); CREATE TABLE IF NOT EXISTS table_2_1715849_2 ( Rank numeric, Accolade text, Publication text, Country text, Year numeric );
What's the accolade for the rank of 497?
SELECT Accolade FROM table_2_1715849_2 WHERE "Rank" = '497'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_1140104_2 ( Entrant text, Rounds text, Engine text, Driver text, Constructor text, Chassis text, Tyre text ); CREATE TABLE IF NOT EXISTS table_1_10360823_1 ( "Player name" text, Round numeric, College text, Choice numeric, Overall numeric, Position text ); CREATE TABLE IF...
Which chassis had an entrant of John Mecom?
SELECT Chassis FROM table_2_1140104_2 WHERE "Entrant" ILIKE '%john%mecom%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17102076_6 ( Date text, "High assists" text, Record text, Game numeric, "High points" text, Score text, "Location Attendance" text, Team text ); CREATE TABLE IF NOT EXISTS table_1_1140088_6 ( Circuit text, Constructor text, "Race Name" text, Report text, "Winning driver" ...
What is the record of game 26 with beno udrih (4) as the highest assists?
SELECT Record FROM table_2_17102076_6 WHERE "High assists" ILIKE '%beno%udrih%(4)%' AND "Game" = '26'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1252130_1 ( Finish text, Laps numeric, Qual text, Year text, Rank text, Start text ); CREATE TABLE IF NOT EXISTS table_1_11585313_2 ( number numeric, "date of death†" text, name text, "number of goals" numeric, "number of caps" numeric, "date of birth" text, "date of debu...
What is the highest number of laps with a 21 start?
SELECT MAX(Laps) FROM table_2_1252130_1 WHERE "Start" ILIKE '%21%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11577996_1 ( "1st Place" text, "2nd Place" text, "4th Place" text, Location text, "3rd Place" text, Year numeric, "5th Place" text ); CREATE TABLE IF NOT EXISTS table_1_11603006_1 ( Score text, Winner text, "Purse( $ )" numeric, "1st Prize( $ )" numeric, Tournament text );...
If the Home team score was 19.15 (129), what was the Away team's score that game?
SELECT "Away team score" FROM table_2_10806852_16 WHERE "Home team score" ILIKE '%19.15%(129)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11680175_1 ( Bötzow text, Bärenklau text, Schwante text, "Neu-Vehlefanz" numeric, Vehlefanz text, Eichstädt numeric, Marwitz text, Year numeric ); CREATE TABLE IF NOT EXISTS table_2_18178534_7 ( Date text, Status text, Against numeric, Venue text, "Opposing Teams" text );
What is the total number of Against, when Date is "16/03/1996"?
SELECT COUNT(Against) FROM table_2_18178534_7 WHERE "Date" ILIKE '%16/03/1996%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11207040_5 ( Average numeric, Stadium text, Highest numeric, Lowest numeric, Capacity numeric ); CREATE TABLE IF NOT EXISTS table_2_14727389_1 ( Best text, Name text, "Qual 1" text, "Qual 2" text, Team text ); CREATE TABLE IF NOT EXISTS table_1_11071897_1 ( "Count Palatine ...
What team has 59.372 for qual 1?
SELECT Team FROM table_2_14727389_1 WHERE "Qual 1" ILIKE '%59.372%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15789909_9 ( Score text, Date text, "Set 3" text, Total text, "Set 2" text, Time text, "Set 1" text, Report text ); CREATE TABLE IF NOT EXISTS table_1_11621799_1 ( Tournament text, "1st Prize( $ )" numeric, Location text, "Purse( $ )" numeric, Winner text ); CREATE TABLE ...
What is the score for set 3 with a time at 15:04?
SELECT "Set 3" FROM table_2_15789909_9 WHERE "Time" ILIKE '%15:04%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11642945_1 ( Director text, "Total No." numeric, "Original air date" text, Celebrity text, Viewers text ); CREATE TABLE IF NOT EXISTS table_1_10556257_1 ( "League Goals" numeric, Season text, "Cup Apps" numeric, "League Apps" numeric, "Cup Goals" numeric ); CREATE TABLE IF N...
What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6.
SELECT SUM(Against) FROM table_2_15351508_1 WHERE "Drawn" < '2' AND "Position" > '8' AND "Lost" > '6'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10120207_8 ( "TV season" text, "Viewers (millions)" text, "Season finale" text, Season numeric, Rank text, "Timeslot ( ET )" text, "Season premiere" text ); CREATE TABLE IF NOT EXISTS table_1_11602313_4 ( "Release price ( USD )" text, TDP text, Voltage text, "L2 cache" text...
What is the loss when the average/gain is less than 16.7, gain is 104 and long is larger than 4?
SELECT AVG(Loss) FROM table_2_18830588_38 WHERE "Avg/G" < '16.7' AND "Long" > '4' AND "Gain" = '104'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10932739_2 ( "Radial velocity (m/s)" text, Planet text, "Semimajor Axis ( AU )" text, "Orbital Period" text, "Planet Type" text, "Detectable by:" text ); CREATE TABLE IF NOT EXISTS table_1_10120207_8 ( "Viewers (millions)" text, "Season finale" text, Season numeric, "TV seas...
What is the 1st party during the 1857 election?
SELECT "1st Party" FROM table_2_12264624_1 WHERE "Election" ILIKE '%1857%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1130632_1 ( "U.S. viewers (million)" text, Title text, "Written by" text, "Original air date" text, "No. in series" numeric, "Directed by" text, "Featured character(s)" text ); CREATE TABLE IF NOT EXISTS table_2_18772258_1 ( Player text, Pick numeric, "PBA team" text, "Coun...
What is Far Eastern College Johnny Abarrientos' Pick number?
SELECT Pick FROM table_2_18772258_1 WHERE "College" ILIKE '%far%eastern%' AND "Player" ILIKE '%johnny%abarrientos%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17063289_1 ( Manufacturer text, "Time/Retired" text, Grid text, Rider text, Laps text ); CREATE TABLE IF NOT EXISTS table_1_10580575_1 ( Export numeric, "CO 2 -emission" numeric, Production numeric, Capita text, Electricity numeric, "unnamed_0" numeric, "Prim. energy" nume...
Which manufacturer does Loris Capirossi ride for?
SELECT Manufacturer FROM table_2_17063289_1 WHERE "Rider" ILIKE '%loris%capirossi%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11274401_3 ( Episode text, Share text, Timeslot text, Rating text, "Rank (#)" text, "18–49 (Rating/Share)" text, "Viewers (m)" text, "No." numeric, "Air Date" text ); CREATE TABLE IF NOT EXISTS table_1_11642945_1 ( Viewers text, "Original air date" text, "Total No." numeri...
How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta?
SELECT COUNT("Golden tickets") FROM table_1_28793672_1 WHERE "Callback venue" ILIKE '%RCTI%Studio,%Jakarta%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_27910411_1 ( "Written by" text, "Original air date" text, "Directed by" text, "No. in series" numeric, Title text, "U.S. viewers (millions)" text ); CREATE TABLE IF NOT EXISTS table_1_101942_2 ( "Children In Hazardous Work (%)" text, "Economically Active Children (%)" text, "...
How many items are listed for U.S. viewers for episode number 5 in the series?
SELECT COUNT("U.S. viewers (millions)") FROM table_1_27910411_1 WHERE "No. in series" = '5'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12444503_1 ( Score text, Winner text, "Runner-up" text, "lost to eventual runner-up" text, "lost to eventual winner" text, Season text ); CREATE TABLE IF NOT EXISTS table_1_10874596_1 ( "Film title used in nomination" text, "Original title" text, Director text, Result text, ...
With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
SELECT Number FROM table_2_1653640_1 WHERE "Builder" ILIKE '%baldwin%locomotive%works%' AND "Works number" = '40864'
[ "PostgreSQL" ]