context
stringlengths
249
1.51k
question
stringlengths
20
171
answer
stringlengths
40
173
dbms
listlengths
0
5
CREATE TABLE IF NOT EXISTS table_1_10749367_3 ( Challenge text, "#" numeric, Winner text, "Test-taker" text, "Passed?" text, "Air Date" text ); CREATE TABLE IF NOT EXISTS table_2_16571273_17 ( "Set 1" text, Score text, Date text, "Set 2" text, "Set 3" text, Total text, Time text ); CREATE TABLE IF NOT EXIS...
What is the total when the score for set 2 is 20–25?
SELECT Total FROM table_2_16571273_17 WHERE "Set 2" ILIKE '%20–25%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_11422713_2 ( "1972" text, "1976" text, "1975" text, "1977" text, "1973" text, "1974" text, Tournament text, "1978" text ); CREATE TABLE IF NOT EXISTS table_1_10494429_3 ( case text, feminine text, masculine text, neuter text, "1st person" text, "2nd person" text, "unnam...
What is the 1977 value that has a 1974 a value?
SELECT 1977 FROM table_2_11422713_2 WHERE "1974" ILIKE '%a%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11803648_21 ( "Club team" text, Nationality text, Position text, Round numeric, Overall text, Player text ); CREATE TABLE IF NOT EXISTS table_2_12792876_5 ( "Try bonus" text, "Points against" text, "Points for" text, Lost text, Club text, Played text, "Tries against" text...
How many tries for did the team with a try bonus of 5 score?
SELECT "Tries for" FROM table_2_12792876_5 WHERE "Try bonus" ILIKE '%5%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11562149_1 ( "No. in series" text, "Directed by" text, "U.S. viewers (million)" text, Title text, "Featured character(s)" text, "No. in season" text, "Written by" text, "Original air date" text ); CREATE TABLE IF NOT EXISTS table_1_262560_1 ( Founded numeric, Type text, Ins...
Name the place that was founded in 1920
SELECT Institution FROM table_1_262560_1 WHERE "Founded" = '1920'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12226390_4 ( "Original air date" text, "Directed by" text, "Written by" text, "Production code" numeric, Title text, "No. in series" numeric, "No. in season" numeric ); CREATE TABLE IF NOT EXISTS table_2_15887683_2 ( HDTV text, Content text, "Package/Option" text, Language ...
What was the option from Italy with general television content, and the Cielo television service?
SELECT PACKAGE/OPTION FROM table_2_15887683_2 WHERE "Country" ILIKE '%italy%' AND "Content" ILIKE '%general%television%' AND "Television service" ILIKE '%cielo%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11961582_10 ( "Location Attendance" text, "High rebounds" text, Date text, Series text, Game numeric, "High assists" text, Score text, "High points" text, Team text ); CREATE TABLE IF NOT EXISTS table_1_11658094_1 ( Type text, Joined text, Location text, Institution text,...
What is the name of the episode written by karina csolty?
SELECT Title FROM table_1_27969432_2 WHERE "Written by" ILIKE '%Karina%Csolty%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11244302_1 ( "#" numeric, Share numeric, "Air Date" text, Episode text, "Viewers (m)" text, "18-49 (Rating/Share)" text, Rating text, "Rank (Overall)" text, "Time slot (EST)" text ); CREATE TABLE IF NOT EXISTS table_1_103084_4 ( Year numeric, "BBC Two Rank" text, "BBC One ...
What is the bird uniform that is associated with the rank of G2?
SELECT "Bird Uniform" FROM table_2_17464729_1 WHERE "Rank" ILIKE '%g2%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11734041_7 ( "No.(s)" numeric, "School/Club Team/Country" text, Position text, "Height in Ft." text, "Years for Rockets" text, Player text ); CREATE TABLE IF NOT EXISTS table_1_10718192_2 ( "No. in season" numeric, "U.S. viewers (millions)" text, "Directed by" text, Title te...
In the 2005 season, how many races did the 15th place team complete?
SELECT AVG(Races) FROM table_2_15813224_1 WHERE "Final Placing" ILIKE '%15th%' AND "Season" ILIKE '%2005%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_12185856_1 ( "Mixed doubles" text, "Women's singles" text, Year numeric, "Men's singles" text, "Women's doubles" text, "Men's doubles" text ); CREATE TABLE IF NOT EXISTS table_1_10568553_1 ( Notes text, "Street Names" text, County text, Location text, "Roads Intersected" te...
Who won the men's doubles in 1995?
SELECT "Men's doubles" FROM table_2_12185856_1 WHERE "Year" = '1995'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10979230_4 ( "Romaji title" text, Reference text, "Release date" text, "Japanese title" text, Oricon numeric ); CREATE TABLE IF NOT EXISTS table_1_11404452_1 ( "Episode title" text, "Original air date" text, "Series #" numeric, Director text, "Writer(s)" text, "U.S. viewers...
What is the maximum number of top 10s when he finished in 63rd?
SELECT MAX("Top 10") FROM table_1_1637041_2 WHERE "Position" ILIKE '%63rd%'
[ "PostgreSQL", "SQL Server" ]
CREATE TABLE IF NOT EXISTS table_2_13193466_5 ( "Final Score" text, "Host Team" text, "Visiting Team" text, Stadium text, Date text ); CREATE TABLE IF NOT EXISTS table_1_1140067_2 ( Location text, Race text, Constructor text, Report text, "Race Winner" text, "Pole Position" text, "Fastest Lap" text, Rnd nu...
What was the name of the host team at Texas stadium?
SELECT "Host Team" FROM table_2_13193466_5 WHERE "Stadium" ILIKE '%texas%stadium%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10006830_1 ( Description text, "Total disk area" text, "Max Gross Weight" text, Aircraft text, "Max disk Loading" text ); CREATE TABLE IF NOT EXISTS table_1_10749143_2 ( "Season #" numeric, "Original air date" text, "Directed by" text, "Series #" numeric, Title text, "Produ...
What is the natural change number of Syria when there were 67,000 deaths and an average population greater than 2,820?
SELECT SUM("Natural change") FROM table_2_1508951_1 WHERE "Deaths" = '67,000' AND "Average population (x 1,000)" > '2,820'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12221135_3 ( Departure text, Arrival text, Operator text, "Calling at" text, "Going to" text ); CREATE TABLE IF NOT EXISTS table_1_238199_1 ( "equation:" text, "k_{\mathrm{H,px}} = \frac{p}{x}" text, "k_{\mathrm{H,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}" text, "k_{\ma...
What was the '{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' if '_{\mathrm{h,cp}} = \frac{c_\mathrm{aq}}{p}' is 7.8 × 10−4?
SELECT "k_{\mathrm{H,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}" FROM table_1_238199_1 WHERE "k_{\mathrm{H,cp}} = \frac{c_\mathrm{aq}}{p}" ILIKE '%7.8%×%10−4%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677100_8 ( School text, Player text, "MLB Draft" text, Position text, Hometown text ); CREATE TABLE IF NOT EXISTS table_1_1012730_1 ( Wins numeric, Winnings text, "Top 10" numeric, Year numeric, Starts numeric, "Team(s)" text, "Top 5" numeric, Poles numeric, "Avg. Star...
Name the most for fløysvik for 8
SELECT MAX("Tor Fløysvik") FROM table_1_28677723_14 WHERE "Karianne Gulliksen" = '8'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11734041_17 ( Position text, "School/Club Team/Country" text, "Height in Ft." text, Player text, "No.(s)" numeric, "Years for Rockets" text ); CREATE TABLE IF NOT EXISTS table_2_1598242_3 ( Tournament text, Events numeric, "Top-5" numeric, "Top-10" numeric, "Cuts made" nume...
How many wins are related to events of 7 and more than 2 top-10s?
SELECT COUNT(Wins) FROM table_2_1598242_3 WHERE "Events" = '7' AND "Top-10" > '2'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1137142_1 ( "Group C Winner" text, "Group B Winner" text, "Group A Winner" text, Season text, "Group D Winner" text ); CREATE TABLE IF NOT EXISTS table_2_15055594_7 ( "Fall 09" numeric, "Fall 06" numeric, "Fall 05" numeric, "Fall 07" numeric, States text, "Fall 08" numeric ...
What is the mean Fall 09 number where fall 05 is less than 3?
SELECT AVG("Fall 09") FROM table_2_15055594_7 WHERE "Fall 05" < '3'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_10890692_3 ( "2.4km Run (min:sec)" text, Grade text, Points numeric, "Chin-up (reps)" text, "Standing Broad Jump (cm)" text, "Sit-up (reps)" text, "Shuttle Run (sec)" text ); CREATE TABLE IF NOT EXISTS table_1_11839306_2 ( "Track time" text, Disc numeric, Track numeric, "Rō...
What grade was the 2.4km Run (min:sec) of 13:01-13:40?
SELECT Grade FROM table_2_10890692_3 WHERE "2.4km Run (min:sec)" ILIKE '%13:01-13:40%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_18811741_15 ( Finishes numeric, Points numeric, Driver text, Podiums numeric, "Stage wins" numeric, Pos numeric, Wins numeric, Starts numeric ); CREATE TABLE IF NOT EXISTS table_1_1149495_1 ( "Runner-up" text, Host text, Year text, "Fourth place" text, "Fifth place" text,...
How many podiums for the driver with 18 stage wins?
SELECT COUNT(Podiums) FROM table_1_18811741_15 WHERE "Stage wins" = '18'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_1213511_5 ( Nationality text, Player text, "Pick #" numeric, "College/junior/club team" text, Position text, "NHL team" text ); CREATE TABLE IF NOT EXISTS table_1_12570207_1 ( Livingstone numeric, "Total Region" numeric, Year numeric, "Mt Morgan" numeric, Rockhampton numeri...
What is the one mora for the three-mora word /˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]?
SELECT "one mora" FROM table_2_1213860_3 WHERE "three-mora word" ILIKE '%/˩haruꜜ/%[hàɽɯ́%~%hàɽɯ̂]%'
[ "PostgreSQL", "SQL Server" ]
CREATE TABLE IF NOT EXISTS table_1_11404452_1 ( "Episode title" text, "Series #" numeric, "Writer(s)" text, "Original air date" text, Director text, "U.S. viewers (millions)" text ); CREATE TABLE IF NOT EXISTS table_1_12221135_3 ( Arrival text, Departure text, "Calling at" text, "Going to" text, Operator tex...
What is the sum of the weeks on a chart a song with a position less than 1 haas?
SELECT SUM("Weeks on chart") FROM table_2_11795254_3 WHERE "Position" < '1'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11677691_6 ( College text, Player text, School text, Position text, Hometown text ); CREATE TABLE IF NOT EXISTS table_1_11603006_1 ( "1st Prize( $ )" numeric, Location text, "Purse( $ )" numeric, Tournament text, Score text, Winner text ); CREATE TABLE IF NOT EXISTS table_2...
When melbourne was the away team, what was the lowest crowd turnout they had?
SELECT MIN(Crowd) FROM table_2_10788451_13 WHERE "Away team" ILIKE '%melbourne%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140074_2 ( Report text, Race text, Rnd numeric, "Race Winner" text, Constructor text, Location text, "Fastest Lap" text, Date text, "Pole Position" text ); CREATE TABLE IF NOT EXISTS table_1_10953197_3 ( "No. in series" numeric, Director text, "No. in season" numeric, Ti...
Which school added a player to the Lakers in 1948?
SELECT School/Country FROM table_2_10560886_5 WHERE "From" ILIKE '%1948%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12496904_1 ( "Population Change 2002-2012 (%)" text, "Population, August 15, 2002" numeric, "Population Density 2012 (km 2 )" numeric, "Rank in Nyagatare Sectors, 2012" numeric, Sector text, "Area in sqkm" numeric, "Population August 15, 2012" numeric ); CREATE TABLE IF NOT EXI...
What's the highest attendance for a game the Texan's played at Arrowhead Stadium?
SELECT MAX(Attendance) FROM table_2_15399928_3 WHERE "Game site" ILIKE '%arrowhead%stadium%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_18493040_6 ( Date text, Opponent text, Game text, Record text, "Location Attendance" text, Score text ); CREATE TABLE IF NOT EXISTS table_1_12148147_2 ( "First Year" text, "Second Year" text, "Fourth Year" text, Subjects text, "Third Year" text ); CREATE TABLE IF NOT EXISTS...
What is the location/attendance for the w 95-93 score?
SELECT "Location Attendance" FROM table_2_18493040_6 WHERE "Score" ILIKE '%w%95-93%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_16090262_1 ( "Directed by" text, "Written By" text, "No. in series" numeric, "No. in season" numeric, Originalairdate text, Title text, "TV Broadcast" text ); CREATE TABLE IF NOT EXISTS table_1_10647639_1 ( Result text, "Game site" text, Week numeric, Date text, Record tex...
Which title was No. 4 in season?
SELECT Title FROM table_1_16090262_1 WHERE "No. in season" = '4'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12033013_1 ( Title text, "Directed by" text, "No. in series" numeric, "Written by" text, "Production code" text, "Original air date" text ); CREATE TABLE IF NOT EXISTS table_2_107555_2 ( "Network Affiliation ID" text, PSIP text, "Translator Call Letters" text, "B Mountain Ch...
What signal quality does the KCAL-DT channel have?
SELECT "Signal Quality" FROM table_2_107555_2 WHERE "Station Call Letters" ILIKE '%kcal-dt%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1140105_6 ( "Winning driver" text, "Race Name" text, Report text, Circuit text, Constructor text, Date text ); CREATE TABLE IF NOT EXISTS table_1_11585313_2 ( number numeric, "date of debut" text, "date of birth" text, "number of goals" numeric, "date of death†" text, "num...
Which total is highest with 0 gold and more than 0 silver, in Ukraine?
SELECT MAX(Total) FROM table_2_12392804_3 WHERE "Gold" = '0' AND "Silver" > '0' AND "Nation" ILIKE '%ukraine%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_172047_1 ( "Size of rest bit field" text, "Number of networks" text, "Leading bits" numeric, "Addresses per network" text, Class text, "Size of network number bit field" text, "Start address" text, "End address" text ); CREATE TABLE IF NOT EXISTS table_1_10715317_2 ( "Directe...
What is the start address when the network number bit field is 16?
SELECT "Start address" FROM table_2_172047_1 WHERE "Size of network number bit field" ILIKE '%16%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_11801912_11 ( Date text, Home text, Score text, Attendance numeric, Visitor text, Decision text ); CREATE TABLE IF NOT EXISTS table_1_11545282_19 ( Player text, Position text, Nationality text, "School/Club Team" text, "No." numeric, "Years for Jazz" text ); CREATE TABLE I...
Who was the home team on the May 2 game?
SELECT Home FROM table_2_11801912_11 WHERE "Date" ILIKE '%may%2%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11604804_5 ( Founded numeric, Location text, Institution text, Color text, Status text, Nickname text ); CREATE TABLE IF NOT EXISTS table_1_11404452_1 ( Director text, "Original air date" text, "Series #" numeric, "U.S. viewers (millions)" text, "Writer(s)" text, "Episode ...
What is the name of the player if the innings is 82?
SELECT Player FROM table_1_23316034_16 WHERE "Innings" = '82'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11961582_7 ( "High points" text, Game numeric, "Location Attendance" text, Team text, "High rebounds" text, Record text, "High assists" text ); CREATE TABLE IF NOT EXISTS table_2_17026847_18 ( Away text, Home text, Date text, Score text, Attendance numeric );
Who was the home team when the score was 0:1?
SELECT Home FROM table_2_17026847_18 WHERE "Score" ILIKE '%0:1%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1560166_1 ( "Seasons in Esiliiga" numeric, Club text, "2012" text, Titles numeric, "Last title" text, "Current run since" numeric ); CREATE TABLE IF NOT EXISTS table_1_10647401_1 ( Result text, Week numeric, Opponent text, Record text, Attendance numeric, Stadium text ); C...
What is the 2012 season in Esiliiga more than 4, and more than 0 titles?
SELECT 2012 FROM table_2_1560166_1 WHERE "Seasons in Esiliiga" > '4' AND "Titles" > '0'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11585313_1 ( "number of caps" numeric, name text, "number of goals" numeric, "date of birth" text, "date of death†" text, number numeric, "date of debut" text ); CREATE TABLE IF NOT EXISTS table_1_12148018_2 ( "Original airdate" text, Director text, Writer text, Viewers tex...
What is the format for South Australia?
SELECT Format FROM table_1_1000181_1 WHERE "State/territory" ILIKE '%South%Australia%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15369913_4 ( Location text, Result numeric, Date text, Year numeric, "World Rank" text ); CREATE TABLE IF NOT EXISTS table_1_10021158_3 ( "2nd" numeric, "Earnings ($)" numeric, "Tournaments played" numeric, "Money list rank" text, "Cuts made*" numeric, "Best finish" text, ...
What Year has a Result smaller than 20.31, and a World Rank of 5th?
SELECT AVG(YEAR) FROM table_2_15369913_4 WHERE "Result" < '20.31' AND "World Rank" ILIKE '%5th%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12444503_1 ( "lost to eventual winner" text, "lost to eventual runner-up" text, "Runner-up" text, Score text, Season text, Winner text ); CREATE TABLE IF NOT EXISTS table_1_10312547_1 ( "1979 Broadway" text, "1998 Broadway" text, "1990 Broadway" text, "1955 broadcast" text, ...
What is the British for the Australian ɔ?
SELECT British FROM table_2_17798093_19 WHERE "Australian" ILIKE '%ɔ%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11562143_1 ( "Original air date" text, "No. in series" numeric, Title text, "No. in season" numeric, "Directed by" text, "Written by" text, "Featured character(s)" text, "U.S. viewers (million)" text ); CREATE TABLE IF NOT EXISTS table_1_1143966_1 ( "Pct %" text, Season text...
Who had the highest rebounds on game 5?
SELECT "High rebounds" FROM table_2_17355408_11 WHERE "Game" = '5'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12161822_5 ( "Winning constructor" text, "Grand Prix" text, "Fastest lap" text, "Winning driver" text, "Rd." numeric, Report text, "Pole position" text ); CREATE TABLE IF NOT EXISTS table_2_1122303_1 ( Date text, Result text, Goal numeric, Score text, Competition text, Ve...
What venue had less than 2 goals?
SELECT Venue FROM table_2_1122303_1 WHERE "Goal" < '2'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11254821_2 ( "Points awarded (Platinum)" numeric, "Points awarded (Satellite)" numeric, "Points awarded (Gold)" numeric, "Points awarded (Silver)" numeric, "Finishing position" text ); CREATE TABLE IF NOT EXISTS table_1_101196_1 ( "English name" text, "Irish speakers" text, "I...
On what date was the poll showing John Kennedy with 45% and Mary Landrieu with 38%?
SELECT "Dates administered" FROM table_2_16751596_4 WHERE "Republican: John Kennedy" ILIKE '%45%%' AND "Democrat: Mary Landrieu" ILIKE '%38%%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11545282_5 ( "No." text, "School/Club Team" text, Position text, Nationality text, "Years for Jazz" text, Player text ); CREATE TABLE IF NOT EXISTS table_2_18191407_14 ( Event text, "Score points" text, "Rank points" text, Total text, Shooter text ); CREATE TABLE IF NOT EXI...
Which Shooter has a Rank points of 8 and a Event of wc milan?
SELECT Shooter FROM table_2_18191407_14 WHERE "Rank points" ILIKE '%8%' AND "Event" ILIKE '%wc%milan%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1007688_1 ( Typhus numeric, Smallpox numeric, "Relapsing fever" numeric, Year text, "Typhoid fever" numeric, Malaria text ); CREATE TABLE IF NOT EXISTS table_1_12261714_2 ( "Points classification" text, Winner text, "Intergiro classification" text, "Mountains classification"...
What date has @ new orleans as the team?
SELECT Date FROM table_2_17325937_8 WHERE "Team" ILIKE '%@%new%orleans%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11562149_1 ( "No. in season" text, "U.S. viewers (million)" text, "No. in series" text, "Written by" text, "Featured character(s)" text, "Directed by" text, "Original air date" text, Title text ); CREATE TABLE IF NOT EXISTS table_1_11621915_1 ( Tournament text, "1st Prize( $...
How many live births per year are there in the period where the life expectancy for females is 73.3?
SELECT "Live births per year" FROM table_1_18950570_2 WHERE "Life expectancy females" ILIKE '%73.3%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11236195_2 ( "GF Attendance" numeric, LosingTeam text, Location text, "Grand FinalDate" text, Season numeric, "Clive Churchill Medal" text, Score text, WinningTeam text ); CREATE TABLE IF NOT EXISTS table_1_10566855_1 ( "Runner-up" text, Premier text, Attendance numeric, V...
What position has a Cross-code debut of 1st ru test v ireland?
SELECT POSITION FROM table_2_18860278_1 WHERE "Cross-code debut" ILIKE '%1st%ru%test%v%ireland%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12251936_1 ( "Live births 2006" numeric, County text, "GFR 2006" text, "TFR 2006" text, "Whites as % of Pop." text ); CREATE TABLE IF NOT EXISTS table_2_13258789_2 ( Record text, Attendance numeric, Week numeric, Date text, Opponent text, Result text, "Game site" text ); C...
Name the result for arrowhead stadium
SELECT RESULT FROM table_2_13258789_2 WHERE "Game site" ILIKE '%arrowhead%stadium%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_145320_1 ( Result text, Year numeric, Film text, Award text, Group text ); CREATE TABLE IF NOT EXISTS table_1_1213511_3 ( "College/junior/club team" text, "NHL team" text, "Pick #" numeric, Position text, Nationality text, Player text ); CREATE TABLE IF NOT EXISTS table_1_1...
Which Award has a Group of césar awards, and a Result of nominated, and a Year larger than 2001, and a Film of 8 women (8 femmes)?
SELECT Award FROM table_2_145320_1 WHERE "Group" ILIKE '%césar%awards%' AND "Result" ILIKE '%nominated%' AND "Year" > '2001' AND "Film" ILIKE '%8%women%(8%femmes)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11734041_17 ( "Height in Ft." text, "No.(s)" numeric, Player text, "Years for Rockets" text, Position text, "School/Club Team/Country" text ); CREATE TABLE IF NOT EXISTS table_2_10808681_2 ( "Away team" text, "Home team score" text, "Home team" text, Venue text, Date text, ...
Who was the home team at princes park?
SELECT "Home team" FROM table_2_10808681_2 WHERE "Venue" ILIKE '%princes%park%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11900378_1 ( Tournament text, City text, Surface text, "Singles champions" text, Country text, "Doubles champions" text ); CREATE TABLE IF NOT EXISTS table_1_11734041_7 ( Player text, "No.(s)" numeric, Position text, "Years for Rockets" text, "Height in Ft." text, "School/...
Which home team is on April 21?
SELECT "Home Team" FROM table_2_17063036_4 WHERE "Date" ILIKE '%april%21%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_14624447_50 ( Gain numeric, "GP-GS" text, Long numeric, "Avg/G" numeric, Loss numeric, Name text ); CREATE TABLE IF NOT EXISTS table_1_11793221_2 ( Complement text, Commander text, Wounded text, Missing text, Killed text, Unit text );
What is the sum of Long for derrick locke?
SELECT SUM(Long) FROM table_2_14624447_50 WHERE "Name" ILIKE '%derrick%locke%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15410247_1 ( "Population (2005 Census)" numeric, "Population (2000 Census)" numeric, Rank numeric, "Population (2010 Census)" numeric, Municipality text ); CREATE TABLE IF NOT EXISTS table_1_1174162_1 ( "Mean household size (in 2006)" text, "Area (km²)" text, "Median age (in 2...
What is the total number of rank that has population (2005 Census) smaller than 193,398 and population (2000 Census) of 167,231?
SELECT COUNT(Rank) FROM table_2_15410247_1 WHERE "Population (2000 Census)" = '167,231' AND "Population (2005 Census)" < '193,398'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10975034_4 ( Position text, College text, "Pick #" numeric, Player text, "CFL Team" text ); CREATE TABLE IF NOT EXISTS table_2_14827502_7 ( Score text, Location text, Record text, Game numeric, Opponent text, Date text ); CREATE TABLE IF NOT EXISTS table_1_11907963_6 ( "Hi...
What is the Score of the game earlier than 69 with a record of 4–56?
SELECT Score FROM table_2_14827502_7 WHERE "Game" < '69' AND "Record" ILIKE '%4–56%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_15892903_2 ( Rank text, Wins numeric, Points numeric, Year numeric, Class text, Team text ); CREATE TABLE IF NOT EXISTS table_1_11214212_1 ( "Registration by other means" numeric, "Numer of Jamaicans granted British citizenship" numeric, "Registration of a minor child" numeri...
What is the Class for a year later than 1958, with 4 points?
SELECT CLASS FROM table_2_15892903_2 WHERE "Year" > '1958' AND "Points" = '4'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_1106241_3 ( "D 47 +" text, "D 43 √" text, "D 46 O" text, "D 50 +" text, "D 41 √" text, "D 44 √" text, "D 45 O" text, "D 48 +" text, "D 42 √" text, "D 49 +" text ); CREATE TABLE IF NOT EXISTS table_1_10470082_6 ( Storyteller text, "US air date" text, Villains text, Direct...
I want to know the D 47 for D 46 O of majority→
SELECT "D 47 +" FROM table_2_1106241_3 WHERE "D 46 O" ILIKE '%majority→%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10960039_1 ( "Pick #" numeric, "CFL Team" text, Player text, College text, Position text ); CREATE TABLE IF NOT EXISTS table_1_1057316_1 ( "Serial number" text, "Wheel arrangement ( Whyte notation )" text, "Build date" text, Disposition text, "Operational owner(s)" text ); C...
specific orbital energy of −0.5 mj/kg is what altitude above the earth's surface?
SELECT "altitude above the Earth's surface" FROM table_2_143696_2 WHERE "specific orbital energy" ILIKE '%−0.5%mj/kg%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11147852_1 ( "City of license/Market" text, "Channel TV ( DT )" text, "Year of affiliation" text, Station text, "Owned since" text ); CREATE TABLE IF NOT EXISTS table_1_11677760_31 ( School text, Player text, "NBA Draft" text, Height text, Hometown text, College text ); CRE...
Name the software with the latest stable date of 0.6.1
SELECT Software FROM table_2_11634225_1 WHERE "Latest stable date (version)" ILIKE '%0.6.1%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_242785_3 ( "Castra legionaria (legion bases) * = main base. Start date 31 BC if unspecified" text, Emblem text, "Legion no and title" text, "Date founded/ founder" text, "Main legion base" text, Notes text, "Date disband" text ); CREATE TABLE IF NOT EXISTS table_1_11908801_1 ( ...
What are the notes when castra legionaria (legion bases) is 39-c.300 moguntiacum * (gs)?
SELECT Notes FROM table_1_242785_3 WHERE "Castra legionaria (legion bases) * = main base. Start date 31 BC if unspecified" ILIKE '%39-c.300%Moguntiacum%*%(GS)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_16623894_8 ( "Agg." text, "Team 1" text, "2nd leg" text, "Team 2" text, "1st leg" text ); CREATE TABLE IF NOT EXISTS table_1_1046071_1 ( Year numeric, "Open Cup" text, Division numeric, Playoffs text, League text, "Regular Season" text ); CREATE TABLE IF NOT EXISTS table_1_...
What was the score in the 1st leg when 2nd leg was 1–4?
SELECT "1st leg" FROM table_2_16623894_8 WHERE "2nd leg" ILIKE '%1–4%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11964047_10 ( "Leading scorer" text, Score text, Home text, Date text, "#" numeric, Visitor text, Attendance text, Streak text, Record text ); CREATE TABLE IF NOT EXISTS table_1_1973321_5 ( Status text, Points numeric, "Points defending" numeric, Rk numeric, Sd numeric, ...
Name the least new points for steffi graf
SELECT MIN("New points") FROM table_1_1973321_5 WHERE "Player" ILIKE '%Steffi%Graf%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11391954_3 ( "Half Marathon (womens)" numeric, "Marathon (womens)" numeric, Country text, Total numeric, "Half Marathon (mens)" numeric, "Marathon (mens)" numeric ); CREATE TABLE IF NOT EXISTS table_1_1140080_2 ( Report text, Rnd numeric, "Pole Position" text, Race text, Co...
How many rounds did Alex Ardoin achieved a fastest lap?
SELECT COUNT(Round) FROM table_1_25459168_2 WHERE "Fastest lap" ILIKE '%Alex%Ardoin%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12454156_1 ( "Prize Money" text, "Losing Hand" text, "Runner-Up" text, Entrants numeric, "Winning Hand" text, Year numeric, Winner text ); CREATE TABLE IF NOT EXISTS table_1_10966926_2 ( Position text, College text, Weight numeric, Height text, "Player name" text, Round n...
What's the Ikavian translation of the Ijekavian word with ěl → io Ijekavian development?
SELECT Ikavian FROM table_1_27730_9 WHERE "Ijekavian development" ILIKE '%ěl%→%io%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1112176_1 ( "Other Goals" numeric, "League Apps (Sub)" numeric, "FA Cup Goals" numeric, Division text, "Total Apps (Sub)" text, "FL Cup Apps (Sub)" numeric, "FA Cup Apps (Sub)" text, "Total Goals" numeric, "Other Apps" numeric, "FL Cup Goals" numeric, Season text, "League ...
What is the lowest year that had foil team as the event at Melbourne?
SELECT MIN(YEAR) FROM table_2_14971607_1 WHERE "Event" ILIKE '%foil%team%' AND "Venue" ILIKE '%melbourne%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_1341663_44 ( Candidates text, Result text, Party text, Incumbent text, District text, "First elected" numeric ); CREATE TABLE IF NOT EXISTS table_1_11677691_6 ( College text, School text, Position text, Player text, Hometown text ); CREATE TABLE IF NOT EXISTS table_1_121623...
Which district is republican?
SELECT District FROM table_1_1341663_44 WHERE "Party" ILIKE '%Republican%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11677760_31 ( "NBA Draft" text, Player text, Height text, College text, Hometown text, School text ); CREATE TABLE IF NOT EXISTS table_2_14647789_3 ( Grid numeric, Team text, Driver text, Time text, Laps numeric ); CREATE TABLE IF NOT EXISTS table_1_11950720_3 ( "First Cla...
What is name of the drive with a Time of +13.315?
SELECT Driver FROM table_2_14647789_3 WHERE "Time" ILIKE '%+13.315%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11803648_21 ( Player text, "Club team" text, Position text, Round numeric, Nationality text, Overall text ); CREATE TABLE IF NOT EXISTS table_1_12033013_1 ( "Directed by" text, "Production code" text, "Written by" text, "No. in series" numeric, "Original air date" text, Ti...
Which Chassis did the Entrant clarke-mordaunt-guthrie-durlacher carry?
SELECT Chassis FROM table_2_1226504_1 WHERE "Entrant" ILIKE '%clarke-mordaunt-guthrie-durlacher%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10710364_2 ( "Growth (1991–2001)" text, "Literacy (%)" text, "Sex ratio (total)" numeric, "Work participation (%)" text, "Sex ratio (child)" numeric, "Religious group" text, "Sex ratio (urban)" numeric, "Sex ratio (rural)" numeric, "Population %" text ); CREATE TABLE IF NOT E...
what is the notes for andre vonarburg?
SELECT Notes FROM table_2_18662643_2 WHERE "Athlete" ILIKE '%andre%vonarburg%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17832085_4 ( Wins numeric, Losses numeric, "Goals against" numeric, Played numeric, "Goal Difference" numeric, "Goals for" numeric, Points numeric, Club text, Position numeric, Draws numeric ); CREATE TABLE IF NOT EXISTS table_1_10477224_1 ( "Petal length" text, Species te...
How many Goals against have Goals for smaller than 33, and Points smaller than 16?
SELECT SUM("Goals against") FROM table_2_17832085_4 WHERE "Goals for" < '33' AND "Points" < '16'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_12275654_1 ( Year numeric, "Mens doubles" text, "Womens doubles" text, "Mens singles" text, "Womens singles" text, "Mixed doubles" text ); CREATE TABLE IF NOT EXISTS table_1_10392906_2 ( Week numeric, "Final score" text, "Game site" text, Opponent text, Date text, Kickoff ...
what artist cam from uruguay
SELECT Artist FROM table_2_13846706_1 WHERE "Country" ILIKE '%uruguay%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_13036251_1 ( Winner text, "The Mole" text, Airdate text, Season text, "Runner-up" text, "International destination" text, "Prize money" text ); CREATE TABLE IF NOT EXISTS table_1_11602313_4 ( "sSpec number" text, "Model number" text, "Release date" text, Frequency text, TD...
what's airdate with international destination being scotland
SELECT Airdate FROM table_1_13036251_1 WHERE "International destination" ILIKE '%Scotland%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10121127_1 ( "UN Operation title" text, "Australian role" text, "Number of Australians involved" text, "Dates of Australian involvement" text, "UN Operation name" text, Location text ); CREATE TABLE IF NOT EXISTS table_1_11964047_10 ( Date text, Visitor text, Attendance text,...
Which Gold has a Bronze larger than 1, and a Total larger than 80?
SELECT SUM(Gold) FROM table_2_155115_1 WHERE "Bronze" > '1' AND "Total" > '80'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11236195_5 ( "GF Attendance" numeric, "Grand FinalDate" text, Score text, LosingTeam text, Location text, Season numeric, "Clive Churchill Medal" text, WinningTeam text ); CREATE TABLE IF NOT EXISTS table_2_11328656_3 ( City text, Floors numeric, "Height (ft)" numeric, Nam...
What is the smallest height (ft) of a building in Frankfurt with a height (m) of 257 and less than 55 floors?
SELECT MIN("Height (ft)") FROM table_2_11328656_3 WHERE "City" ILIKE '%frankfurt%' AND "Height (m)" = '257' AND "Floors" < '55'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_18179114_8 ( Status text, "Opposing Teams" text, Against numeric, Date text, Venue text ); CREATE TABLE IF NOT EXISTS table_1_11545282_4 ( "Years for Jazz" text, "School/Club Team" text, Player text, "No." numeric, Nationality text, Position text );
What venue has Scotland as the opposing teams?
SELECT Venue FROM table_2_18179114_8 WHERE "Opposing Teams" ILIKE '%scotland%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11630008_5 ( Title text, "Directed by" text, "Written by" text, "Season #" numeric, "Series #" numeric, "Production code" numeric ); CREATE TABLE IF NOT EXISTS table_1_15026994_2 ( Writer text, Director text, "Original air date" text, Episode text, "#" numeric, "Viewing fi...
What are all episodes with a viewing figure of 6.72 million?
SELECT Episode FROM table_1_15026994_2 WHERE "Viewing figure" ILIKE '%6.72%million%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_14312471_1 ( Ground text, Date text, "Home team" text, "Away team" text, "Home team score" text, Report text, Crowd numeric, "Away team score" text ); CREATE TABLE IF NOT EXISTS table_1_1216675_1 ( Pinyin text, Chapter numeric, Subject text, Chinese text, Translation text...
Who was the away team when Carlton was the home team?
SELECT "Away team" FROM table_1_14312471_1 WHERE "Home team" ILIKE '%Carlton%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11960944_11 ( Team text, "High assists" text, "Location Attendance" text, Game numeric, Series text, "High rebounds" text, "High points" text ); CREATE TABLE IF NOT EXISTS table_1_12027364_1 ( "Mens singles" text, Year numeric, "Mixed doubles" text, "Womens doubles" text, ...
What was the score when the home team was goole town?
SELECT Score FROM table_2_17540875_3 WHERE "Home team" ILIKE '%goole%town%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10647401_1 ( Stadium text, Record text, Result text, Opponent text, Week numeric, Attendance numeric ); CREATE TABLE IF NOT EXISTS table_1_100518_1 ( Weapon text, "Guardian Mātṛkā" text, Consort text, Direction text, Mantra text, Name text, "Graha (Planet)" text ); CREATE...
How much does the player from Southern California weight?
SELECT Weight FROM table_1_20861261_4 WHERE "College" ILIKE '%Southern%California%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12407546_2 ( Total numeric, Riding text, Running text, Fencing text, Athlete text, "#" numeric, Swimming text, Shooting text ); CREATE TABLE IF NOT EXISTS table_1_11677691_5 ( College text, Position text, Hometown text, Player text, School text ); CREATE TABLE IF NOT EXIS...
What is the number of the crowd for the home team of South Melbourne?
SELECT SUM(Crowd) FROM table_2_10640687_9 WHERE "Home team" ILIKE '%south%melbourne%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1805191_24 ( District text, Incumbent text, Results text, "First elected" numeric, Party text ); CREATE TABLE IF NOT EXISTS table_1_1108394_24 ( Queens text, Total numeric, "1973 Democratic initial primary" text, "Richmond [Staten Is.]" text, Manhattan text, "%" text, Broo...
What is Incumbent, when Results is "Re-Elected", when Party is "Democratic", and when District is "Minnesota 7"?
SELECT Incumbent FROM table_2_1805191_24 WHERE "Results" ILIKE '%re-elected%' AND "Party" ILIKE '%democratic%' AND "District" ILIKE '%minnesota%7%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10335_1 ( Camp text, "Occupied territory" text, "Current country of location" text, Operational text, "Primary means for mass killings" text, "Estimated deaths" text ); CREATE TABLE IF NOT EXISTS table_1_10015132_7 ( Player text, Position text, "Years in Toronto" text, Natio...
Who was the opponent at the game with a loss of Sele (0-1)?
SELECT Opponent FROM table_2_13955746_10 WHERE "Loss" ILIKE '%sele%(0-1)%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10953197_4 ( "No. in season" numeric, "Original air date" text, Title text, "Production code" text, "Writer(s)" text, Director text, "No. in series" numeric ); CREATE TABLE IF NOT EXISTS table_1_11240028_1 ( "Portrayed by" text, "First appearance" text, Duration text, Episo...
What is the total number of Caps Aca Ratuva, a flanker, has?
SELECT COUNT(Caps) FROM table_2_11783766_10 WHERE "Position" ILIKE '%flanker%' AND "Player" ILIKE '%aca%ratuva%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_29225103_2 ( "HM Winning Team" text, "AP Winning Team" text, "CP Winning Team" text, "DM Winning Team" text, "FP Winning Team" text, Circuit text, Rnd text, "CM Winning Team" text, "EM Winning Team" text, "HP Winning Team" text, "FM Winning Team" text, "GM Winning Team" te...
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?
SELECT "EP Winning Team" FROM table_1_29225103_2 WHERE "CP Winning Team" ILIKE '%Dave%Clark%' AND "GM Winning Team" ILIKE '%Stuart%Northrup%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1626337_2 ( "Nat." text, "Transfer window" text, Name text, "Moving to" text, "Transfer fee" text, Type text ); CREATE TABLE IF NOT EXISTS table_1_11318462_29 ( "In competition since" numeric, "Day/Boarding" text, "School Colours" text, Denomination text, Founded numeric, ...
What is the type of loan and the transfer fee loan?
SELECT Nat. FROM table_2_1626337_2 WHERE "Type" ILIKE '%loan%' AND "Transfer fee" ILIKE '%loan%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_120778_1 ( Jurisdiction text, "Percent For" text, "Percent Against" text, "Against Prohibition" numeric, "For Prohibition" numeric ); CREATE TABLE IF NOT EXISTS table_2_1252110_3 ( Year numeric, Chassis text, Points numeric, Engine text, Entrant text );
What was the Chassis with less than 8 points before 1960?
SELECT Chassis FROM table_2_1252110_3 WHERE "Year" < '1960' AND "Points" < '8'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_18087075_3 ( "2011" text, "2012" text, "2010" text, Tournament text, "2008" text, "2009" text ); CREATE TABLE IF NOT EXISTS table_1_1222653_10 ( "Central bank" text, "1 USD =" text, Country text, Currency text, "1 Euro =" text ); CREATE TABLE IF NOT EXISTS table_1_11167610_...
What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"?
SELECT Tournament FROM table_2_18087075_3 WHERE "2012" ILIKE '%a%' AND "2011" ILIKE '%a%' AND "2008" ILIKE '%a%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10015132_1 ( Position text, "No." text, "Years in Toronto" text, Player text, Nationality text, "School/Club Team" text ); CREATE TABLE IF NOT EXISTS table_1_11608735_3 ( "Other Local Sources" text, "Property Taxes" text, "State & Federal" text, Year numeric, "Investment Ea...
In the Open Championship with more than 3 cuts made, what is the average wins?
SELECT AVG(Wins) FROM table_2_18512893_3 WHERE "Tournament" ILIKE '%the%open%championship%' AND "Cuts made" > '3'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10812938_4 ( "Pick #" numeric, Player text, "CFL Team" text, Position text, College text ); CREATE TABLE IF NOT EXISTS table_2_1489377_2 ( Date text, "Kicking team" text, "Game time" text, Opponent text, Kicker text, Yards numeric, Result text );
Opponent of houston texans had what result?
SELECT RESULT FROM table_2_1489377_2 WHERE "Opponent" ILIKE '%houston%texans%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11630008_7 ( Title text, "Original air date" text, "Production code" numeric, "Series #" numeric, "Written by" text, "Directed by" text, "Season #" numeric ); CREATE TABLE IF NOT EXISTS table_1_12444503_1 ( "lost to eventual runner-up" text, "Runner-up" text, Season text, "...
What is the location of the 1999 tournament?
SELECT LOCATION FROM table_1_22165661_3 WHERE "Tournament" = '1999'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_10647401_1 ( Stadium text, Result text, Attendance numeric, Record text, Opponent text, Week numeric ); CREATE TABLE IF NOT EXISTS table_1_10413597_4 ( "Original air date" text, Setting text, "Written by" text, Title text, "Directed by" text, "No. in season" numeric, "No....
Which Notes have a Distance larger than 7, and a Location of aplin?
SELECT Notes FROM table_2_18506777_1 WHERE "Distance" > '7' AND "Location" ILIKE '%aplin%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11753080_2 ( Rating text, Viewers text, Timeslot text, "18-49" text, "#" numeric, "Weekly Rank" text, Episode text, "Air Date" text, Share numeric ); CREATE TABLE IF NOT EXISTS table_1_10815352_1 ( Season text, League text, "Total attendance" numeric, Games numeric, Spor...
What is the weekly rank where the number is 4?
SELECT "Weekly Rank" FROM table_1_11753080_2 WHERE "#" = '4'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_2_11513998_5 ( Record text, Date text, Opponent text, Loss text, Score text, Attendance numeric ); CREATE TABLE IF NOT EXISTS table_1_11664625_2 ( "Original air date" text, "No. in series" numeric, "No. in season" numeric, "U.S. viewers (millions)" text, "Directed by" text, ...
Who is the loser when the attendance is larger than 31,409 and the date is July 9?
SELECT Loss FROM table_2_11513998_5 WHERE "Attendance" > '31,409' AND "Date" ILIKE '%july%9%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_1799173_1 ( Terminus text, Length text, "NIMT Junction" text, "Date Closed" text, "Line Name" text ); CREATE TABLE IF NOT EXISTS table_1_11960944_4 ( "High rebounds" text, Score text, Record text, "High points" text, "Location Attendance" text, Team text, Date text, Game ...
What terminus is 3.5km in lenght?
SELECT Terminus FROM table_2_1799173_1 WHERE "Length" ILIKE '%3.5km%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10581768_2 ( Type text, Founded numeric, Enrollment numeric, Location text, Nickname text, Institution text ); CREATE TABLE IF NOT EXISTS table_1_12159115_2 ( "Production code" text, "Original air date" text, "U.S. viewers (millions)" text, "Written by" text, "Directed by" ...
Which First season of current spell is the highest one that has a Position in 2013 of 9th, and a Number of seasons in second tier larger than 14?
SELECT MAX("First season of current spell") FROM table_2_1560673_1 WHERE "Position in 2013" ILIKE '%9th%' AND "Number of seasons in second tier" > '14'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10953197_2 ( "Writer(s)" text, "Original air date" text, "No. in series" numeric, "Production code" text, Director text, Title text, "No. in season" numeric ); CREATE TABLE IF NOT EXISTS table_2_15313481_12 ( Location text, Name text, Notes text, Unit text, Authors text, ...
What unit is in Argentina?
SELECT Unit FROM table_2_15313481_12 WHERE "Location" ILIKE '%argentina%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11658094_1 ( Founded numeric, Location text, Institution text, Type text, Enrollment numeric, Joined text, Nickname text ); CREATE TABLE IF NOT EXISTS table_1_15314901_1 ( "Velocity angle η in i-radians" text, "Coordinate velocity v dx/dt in units of c" text, "Condition/Para...
What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444?
SELECT COUNT("Coordinate velocity v dx/dt in units of c") FROM table_1_15314901_1 WHERE "Velocity angle η in i-radians" ILIKE '%ln[2%+%√5]%≅%1.444%'
[ "PostgreSQL", "SQL Server" ]
CREATE TABLE IF NOT EXISTS table_1_11545282_18 ( "School/Club Team" text, "No." numeric, Player text, Position text, "Years for Jazz" text, Nationality text ); CREATE TABLE IF NOT EXISTS table_1_22941863_19 ( Stage numeric, "Team classification" text, Winner text, "Mountains classification" text, "Sprints cl...
What is the name of the winner when the sprints classification is no award?
SELECT Winner FROM table_1_22941863_19 WHERE "Sprints classification" ILIKE '%no%award%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10748727_1 ( Wins numeric, Races numeric, Series text, Position text, Points text, Poles numeric, Season text, "F/Laps" numeric, Podiums numeric, "Team Name" text ); CREATE TABLE IF NOT EXISTS table_1_12584173_1 ( "Population (Allora)" numeric, "Population (Warwick)" numer...
Who wrote the episode titled "The Feet on the Beach"?
SELECT "Written by" FROM table_1_28027307_1 WHERE "Title" ILIKE '%"The%Feet%on%the%Beach"%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_29273115_1 ( "Production code" text, "Original air date" text, "No. in season" numeric, "No. in series" numeric, "Directed by" text, Title text, "Written by" text ); CREATE TABLE IF NOT EXISTS table_1_1140105_6 ( "Winning driver" text, Circuit text, "Race Name" text, Report...
Who are the writers of the episode with production code IP02009?
SELECT "Written by" FROM table_1_29273115_1 WHERE "Production code" ILIKE '%IP02009%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17925998_1 ( "Market Share" text, Bank text, "Number of Branches" numeric, "Assets (USD) Millions" numeric, Rank text ); CREATE TABLE IF NOT EXISTS table_1_10966926_2 ( Weight numeric, Position text, Height text, Choice numeric, College text, "Player name" text, Round nume...
What is the Market Share that has Assets of 25 Million and a rank of 23?
SELECT "Market Share" FROM table_2_17925998_1 WHERE "Assets (USD) Millions" = '25' AND "Rank" ILIKE '%23%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_11147852_1 ( "City of license/Market" text, "Owned since" text, "Channel TV ( DT )" text, Station text, "Year of affiliation" text ); CREATE TABLE IF NOT EXISTS table_1_1204998_2 ( Area numeric, "English Name" text, Hakka text, Traditional text, Density numeric, Simplified ...
Name the venue when the away team was richmond
SELECT Venue FROM table_2_1204658_10 WHERE "Away team" ILIKE '%richmond%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_12305325_4 ( "Brunos vote" text, "Lens vote" text, Safe text, "Arlenes vote" text, "Craigs vote" text, Eliminated text, Week numeric ); CREATE TABLE IF NOT EXISTS table_1_10975034_5 ( Player text, Position text, "CFL Team" text, College text, "Pick #" numeric ); CREATE TAB...
What is Label, when Region is Japan?
SELECT Label FROM table_2_16752996_2 WHERE "Region" ILIKE '%japan%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_1_10120207_8 ( Rank text, "Season premiere" text, "Timeslot ( ET )" text, "Viewers (millions)" text, "Season finale" text, Season numeric, "TV season" text ); CREATE TABLE IF NOT EXISTS table_2_10856203_5 ( "Cuts made" numeric, "Top-10" numeric, Wins numeric, "Top-25" numeric...
Which tournament has the highest number of cuts while also having 4 top 25 appearances?
SELECT MAX("Cuts made") FROM table_2_10856203_5 WHERE "Top-25" = '4'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]
CREATE TABLE IF NOT EXISTS table_1_11964047_9 ( Attendance text, Streak text, Home text, Visitor text, "Leading scorer" text, "#" numeric ); CREATE TABLE IF NOT EXISTS table_1_10361453_2 ( Opponents numeric, Attendance numeric, Result text, Opponent text, "Vikings points" numeric, Game numeric ); CREATE TAB...
When was the score 123-112?
SELECT Date FROM table_2_16275352_6 WHERE "Score" ILIKE '%123-112%'
[ "PostgreSQL" ]
CREATE TABLE IF NOT EXISTS table_2_17633162_5 ( "Goals Scored" numeric, Lost numeric, "Goals Conceded" numeric, Draw numeric, Played numeric, Points text, Team text ); CREATE TABLE IF NOT EXISTS table_1_11677760_31 ( Hometown text, College text, Height text, School text, "NBA Draft" text, Player text );
Count the Draw which has Lost of 0, and a Goals Scored larger than 0?
SELECT SUM(Draw) FROM table_2_17633162_5 WHERE "Lost" = '0' AND "Goals Scored" > '0'
[ "MySQL", "Oracle", "PostgreSQL", "SQL Server", "SQLite" ]