context stringlengths 249 1.51k | question stringlengths 20 171 | answer stringlengths 40 173 | dbms listlengths 0 5 |
|---|---|---|---|
CREATE TABLE IF NOT EXISTS table_1_1132588_3 (
"Fastest Lap" text,
Constructor text,
"Grand Prix" text,
"Pole Position" text,
"Rd." numeric,
Report text,
"Winning Driver" text
);
CREATE TABLE IF NOT EXISTS table_1_26436_2 (
"2008 Final Performance Film" text,
"Original Broadway Cast" text,
"2005 film" text,
... | Who was in the 2005 film with the role mark cohen? | SELECT "2005 film" FROM table_1_26436_2 WHERE "Role" ILIKE '%Mark%Cohen%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10577579_2 (
"Mens Nickname" text,
Type text,
Institution text,
Founded numeric,
Enrollment numeric,
"Womens Nickname" text,
Joined text,
Location text
);
CREATE TABLE IF NOT EXISTS table_1_11960196_3 (
Score text,
"High assists" text,
Game numeric,
"High rebounds" text,
... | Tell me the average wins for class of 50cc and rank of 8th | SELECT AVG(Wins) FROM table_2_10346040_2 WHERE "Class" ILIKE '%50cc%' AND "Rank" ILIKE '%8th%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11677100_7 (
Hometown text,
School text,
"MLB Draft" text,
Player text,
Position text
);
CREATE TABLE IF NOT EXISTS table_1_11713303_2 (
Team text,
"Manner of departure" text,
"Date of appointment" text,
"Date of vacancy" text,
"Replaced by" text,
"Outgoing manager" text
);... | What film was awarded on 22/3/06? | SELECT Film FROM table_2_12200520_2 WHERE "Date" ILIKE '%22/3/06%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10610087_6 (
Title text,
"No. in season" numeric,
"No. in series" numeric,
"Written by" text,
"Directed by" text,
"Original air date" text
);
CREATE TABLE IF NOT EXISTS table_1_1206114_2 (
"NetFlow Version" text,
Models text,
"Vendor and type" text,
Comments text,
Implement... | For an aggregate of 1-3, what was the 2nd leg? | SELECT "2nd leg" FROM table_2_12699826_2 WHERE "Agg." ILIKE '%1-3%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_12407546_2 (
Running text,
Athlete text,
Swimming text,
Riding text,
"#" numeric,
Total numeric,
Fencing text,
Shooting text
);
CREATE TABLE IF NOT EXISTS table_1_12165999_1 (
"AFL Team" text,
"Overall Pick #" numeric,
College text,
Position text,
Player text
);
CREATE TA... | Which tittles have an original air date of March 19, 1998 | SELECT Title FROM table_1_11951237_4 WHERE "Original air date" ILIKE '%March%19,%1998%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11951237_2 (
"Directed by" text,
"Season #" numeric,
"Original air date" text,
"Production code" text,
"Series #" numeric,
"Written by" text,
Title text,
"Musical guest and song" text
);
CREATE TABLE IF NOT EXISTS table_2_17248696_3 (
"Wheel arrangement" text,
"Quantity made... | What is Quantitiy Made, when Quantity Preserved is "4-4-0 — oooo — american"? | SELECT "Quantity made" FROM table_2_17248696_3 WHERE "Quantity preserved" ILIKE '%4-4-0%—%oooo%—%american%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11622496_1 (
"Purse( $ )" numeric,
Score text,
Tournament text,
Date text,
"1st Prize( $ )" text,
Location text,
Winner text
);
CREATE TABLE IF NOT EXISTS table_1_1157867_2 (
Cylinders text,
Notes text,
Name text,
"Date built" text,
Number text,
"Driving wheels" text,
"B... | What was the highest number of against when the difference was 58 and the total played was more than 22? | SELECT MAX(Against) FROM table_2_15400375_1 WHERE "Difference" ILIKE '%58%' AND "Played" > '22' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1013129_10 (
Nationality text,
Player text,
Pick numeric,
"NHL team" text,
"College/junior/club team" text,
Position text
);
CREATE TABLE IF NOT EXISTS table_1_1123802_1 (
Engine text,
"Supercharger gear ratio" text,
"Power, takeoff" text,
"Power, continuous" text,
"Compres... | Name the seasons and winners that airs 28 january 2007 | SELECT "Seasons and Winners" FROM table_1_16884579_1 WHERE "Premiere" ILIKE '%28%January%2007%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11964263_13 (
Series text,
Game numeric,
"High assists" text,
Team text,
"Location Attendance" text,
Score text,
"High points" text,
"High rebounds" text
);
CREATE TABLE IF NOT EXISTS table_1_11960944_6 (
Date text,
Score text,
"High rebounds" text,
"Location Attendance" t... | what is the date when the away team is melbourne? | SELECT Date FROM table_2_10807253_1 WHERE "Away team" ILIKE '%melbourne%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_1467267_2 (
"Publication range" text,
Frequency text,
Country text,
ISSN text,
"Document Type" text,
Status text,
Language text
);
CREATE TABLE IF NOT EXISTS table_1_11677691_10 (
School text,
Player text,
Hometown text,
College text,
Position text
);
CREATE TABLE IF NOT E... | What is the language with a France publication range of 1992–2003? | SELECT LANGUAGE FROM table_2_1467267_2 WHERE "Country" ILIKE '%france%' AND "Publication range" ILIKE '%1992–2003%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_1790061_7 (
Games text,
Points text,
Name text,
Goals text,
Assists text,
Season text
);
CREATE TABLE IF NOT EXISTS table_1_12407546_1 (
Riding text,
Fencing text,
Shooting text,
"#" numeric,
Total numeric,
Running text,
Swimming text,
"Athlete (NOC)" text
);
CREATE TABL... | In what season were there 27 goals and 58 points? | SELECT Season FROM table_2_1790061_7 WHERE "Goals" ILIKE '%27%' AND "Points" ILIKE '%58%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11390711_4 (
abbreviation text,
"Japanese orthography" text,
"English Name" text,
Foundation numeric,
Pronouciation text,
"Provider(IAI)" text
);
CREATE TABLE IF NOT EXISTS table_1_10932739_2 (
"Orbital Period" text,
"Planet Type" text,
Planet text,
"Detectable by:" text,
"... | What is the year when Scuderia Lancia Corse competed? | SELECT COUNT(YEAR) FROM table_2_1233829_1 WHERE "Team" ILIKE '%scuderia%lancia%corse%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_11339545_1 (
Height text,
Completed numeric,
Floors numeric,
Rank numeric,
Building text
);
CREATE TABLE IF NOT EXISTS table_1_11677691_12 (
School text,
College text,
Hometown text,
Player text,
Position text
);
CREATE TABLE IF NOT EXISTS table_1_1013129_8 (
Nationality te... | What is the lowest amount of floors after rank 1 in the Trillium (residential) building? | SELECT MIN(Floors) FROM table_2_11339545_1 WHERE "Rank" > '1' AND "Building" ILIKE '%the%trillium%(residential)%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1166023_1 (
"Carriage type" text,
"Year built" numeric,
Number text,
Builder text,
"TMS Number" text
);
CREATE TABLE IF NOT EXISTS table_2_1302448_1 (
Wins text,
Matches text,
Losses text,
Name text,
Draws text,
Period text
);
CREATE TABLE IF NOT EXISTS table_1_11381701_3 (... | Who has 5 losses and has played 11 matches? | SELECT Name FROM table_2_1302448_1 WHERE "Losses" ILIKE '%5%' AND "Matches" ILIKE '%11%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_18060467_5 (
Place text,
"To par" text,
Player text,
Score text,
Country text
);
CREATE TABLE IF NOT EXISTS table_1_10749367_3 (
"#" numeric,
Winner text,
"Passed?" text,
"Test-taker" text,
"Air Date" text,
Challenge text
);
CREATE TABLE IF NOT EXISTS table_1_1012730_1 (
"... | Which Place has a Score of 71-70=141? | SELECT Place FROM table_2_18060467_5 WHERE "Score" ILIKE '%71-70=141%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11318462_29 (
Denomination text,
Enrolment numeric,
"School Colours" text,
Location text,
Founded numeric,
"Day/Boarding" text,
School text,
"In competition since" numeric,
Abbreviation text
);
CREATE TABLE IF NOT EXISTS table_1_11656578_2 (
"No. of cities" numeric,
"Area k... | What's the number of decimal digits when the total bits is more than 32 and the exponent is less than 15? | SELECT "Number of decimal digits" FROM table_2_11376_1 WHERE "Total bits" > '32' AND "Exponent" < '15' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_12163387_1 (
"Mixed doubles" text,
"Womens singles" text,
"Mens singles" text,
"Womens doubles" text,
Year numeric,
"Mens doubles" text
);
CREATE TABLE IF NOT EXISTS table_2_1325898_1 (
"Difficulty score" text,
Gymnast text,
Total numeric,
Rank numeric,
"Routine score" nume... | What is the sum of the total for a routine score of 26.6? | SELECT SUM(Total) FROM table_2_1325898_1 WHERE "Routine score" = '26.6' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_12407546_1 (
"#" numeric,
"Athlete (NOC)" text,
Total numeric,
Shooting text,
Swimming text,
Fencing text,
Running text,
Riding text
);
CREATE TABLE IF NOT EXISTS table_1_10416547_1 (
Date text,
"Album name" text,
"Music genre/style" text,
Track text,
Lyricist text,
"Tra... | Who was the incumbent in Virginia 3? | SELECT Incumbent FROM table_1_2668374_18 WHERE "District" ILIKE '%Virginia%3%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_12015401_1 (
Average numeric,
Swimsuit numeric,
"Evening Gown" numeric,
State text,
Interview numeric
);
CREATE TABLE IF NOT EXISTS table_1_12000368_1 (
"Ranking L.A. (2)" text,
"Countries sampled" numeric,
"Year of publication" text,
"World Ranking (1)" text,
"Index (Year)"... | Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12 | SELECT MAX("Evening Gown") FROM table_2_12015401_1 WHERE "Average" < '8.793' AND "Swimsuit" < '8.12' AND "Interview" = '8.51' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11190568_7 (
Position text,
Team text,
"Manner of departure" text,
"Date of vacancy" text,
"Date of appointment" text,
"Replaced by" text,
"Outgoing manager" text
);
CREATE TABLE IF NOT EXISTS table_1_10007452_3 (
Model text,
"Fleet Series (Quantity)" text,
"Order Year" text... | How many figures are given for the New Democratic for the polling range May 11–31, 2010? | SELECT COUNT("New Democratic") FROM table_1_24778847_2 WHERE "Date of Polling" ILIKE '%May%11–31,%2010%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1004033_1 (
"Draft Pick #" text,
Nationality text,
Position text,
Season numeric,
Player text,
College text,
"Draft Class" text,
Team text
);
CREATE TABLE IF NOT EXISTS table_1_1242447_2 (
"Strongs Words Compounded" text,
"Hebrew word" text,
"Strongs #" text,
"Strongs Tran... | Which average bronze had a silver greater than 2 and a gold larger than 7? | SELECT AVG(Bronze) FROM table_2_12421856_3 WHERE "Silver" > '2' AND "Gold" > '7' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_1140076_2 (
Constructor text,
"Fastest Lap" text,
Location text,
Race text,
"Race Winner" text,
Date text,
Report text,
"Pole Position" text,
Rnd numeric
);
CREATE TABLE IF NOT EXISTS table_1_10812938_4 (
Player text,
"CFL Team" text,
Position text,
College text,
"Pick #... | What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari? | SELECT "Pole Position" FROM table_1_1140076_2 WHERE "Fastest Lap" ILIKE '%Nelson%Piquet%' AND "Constructor" ILIKE '%Ferrari%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_2562572_44 (
"Population (2011)" numeric,
Type text,
"Cyrillic Name Other Names" text,
"Largest ethnic group (2002)" text,
Settlement text,
"Dominant religion (2002)" text
);
CREATE TABLE IF NOT EXISTS table_1_10979230_5 (
Reference text,
"Release date" text,
"Japanese title"... | What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац? | SELECT "Largest ethnic group (2002)" FROM table_1_2562572_44 WHERE "Cyrillic Name Other Names" ILIKE '%Банатски%Карловац%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11960610_10 (
Record text,
"High assists" text,
Date text,
Team text,
"High rebounds" text,
"High points" text,
Score text,
"Location Attendance" text,
Game numeric
);
CREATE TABLE IF NOT EXISTS table_2_18116595_2 (
Finish text,
Country text,
"To par" text,
Total numeric,... | What is the highest total to par of +9? | SELECT MAX(Total) FROM table_2_18116595_2 WHERE "To par" ILIKE '%+9%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11622862_1 (
Location text,
Winner text,
"1st Prize( $ )" numeric,
"Purse( $ )" numeric,
Date text
);
CREATE TABLE IF NOT EXISTS table_2_12923427_3 (
Tournament text,
Opponent text,
Score text,
Surface text,
Outcome text
);
CREATE TABLE IF NOT EXISTS table_1_11318462_5 (
"O... | Name the score which has opponent of stefano galvani | SELECT Score FROM table_2_12923427_3 WHERE "Opponent" ILIKE '%stefano%galvani%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1057262_1 (
"2001-02" numeric,
"2002-03" numeric,
"2004-05" numeric,
Commodity text,
"2003-04" numeric,
"2006-07" numeric,
"2005-06" numeric
);
CREATE TABLE IF NOT EXISTS table_1_11960944_4 (
Date text,
Team text,
"Location Attendance" text,
Game numeric,
"High assists" te... | Which Total has an olympic bronze medalist? | SELECT Total FROM table_2_18191407_4 WHERE "Rank points" ILIKE '%olympic%bronze%medalist%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11545282_12 (
"Years for Jazz" text,
"No." numeric,
Position text,
"School/Club Team" text
);
CREATE TABLE IF NOT EXISTS table_1_10262329_1 (
"Assembly Type" text,
Pressure text,
"Time(Sec)" text,
"Adhesive Type" text,
"Temp (°C)" text
);
CREATE TABLE IF NOT EXISTS table_1_12... | What club team is Per Gustafsson play for? | SELECT "College/junior/club team" FROM table_1_1013129_11 WHERE "Player" ILIKE '%Per%Gustafsson%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_12275551_1 (
"Mens singles" text,
"Womens singles" text,
"Mixed doubles" text,
Year numeric,
"Mens doubles" text,
"Womens doubles" text
);
CREATE TABLE IF NOT EXISTS table_1_11677100_16 (
Player text,
Hometown text,
Position text,
School text,
"MLB Draft" text
);
CREATE TAB... | What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number? | SELECT MIN("Ofsted number") FROM table_2_15089329_3 WHERE "Intake" = '60' AND "Type" ILIKE '%junior%' AND "DCSF number" < '3386' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11318462_29 (
Abbreviation text,
Founded numeric,
"In competition since" numeric,
School text,
Denomination text,
"Day/Boarding" text,
Enrolment numeric,
Location text,
"School Colours" text
);
CREATE TABLE IF NOT EXISTS table_1_11230937_2 (
"Directed by" text,
"Written by"... | For an IATA of MLE, what is the ICAO? | SELECT ICAO FROM table_2_14553504_2 WHERE "IATA" ILIKE '%mle%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11214212_1 (
"Registration by other means" numeric,
"Registration of a minor child" numeric,
Year numeric,
"Naturalisation by marriage" numeric,
"Naturalisation by residence" numeric,
"Numer of Jamaicans granted British citizenship" numeric
);
CREATE TABLE IF NOT EXISTS table_2_... | What is Run 2, when Run 1 is 2:09.09? | SELECT "Run 2" FROM table_2_16944107_2 WHERE "Run 1" ILIKE '%2:09.09%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10979230_4 (
"Romaji title" text,
"Japanese title" text,
"Release date" text,
Oricon numeric,
Reference text
);
CREATE TABLE IF NOT EXISTS table_1_10647639_1 (
Week numeric,
Date text,
Opponent text,
"Game site" text,
Result text,
Attendance numeric,
Record text
);
CREATE ... | List all of the NLL Toronto Rock players. | SELECT Player FROM table_1_18042409_1 WHERE "National Lacrosse League" ILIKE '%Toronto%Rock%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10812938_3 (
Position text,
"Pick #" numeric,
College text,
Player text,
"CFL Team" text
);
CREATE TABLE IF NOT EXISTS table_2_1224931_1 (
Name text,
Inversions numeric,
Opened text,
Status text,
Country text,
Park text
); | Name the status for six flags new england | SELECT Status FROM table_2_1224931_1 WHERE "Park" ILIKE '%six%flags%new%england%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_14836185_3 (
"2nd" numeric,
"Scoring rank" text,
Year numeric,
"Cuts made*" numeric,
"Scoring average" text,
"Top 10s" numeric,
Wins numeric,
"Earnings ($)" numeric,
"Tournaments played" numeric,
"Best finish" text,
"3rd" numeric,
"Money list rank" numeric
);
CREATE TABLE ... | In the year where Angela Stanford had a scoring average of 71.62, how many times did she take second place? | SELECT COUNT(2nd) FROM table_1_14836185_3 WHERE "Scoring average" ILIKE '%71.62%' | [
"MySQL",
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11658094_3 (
Left numeric,
Institution text,
Joined numeric,
Type text,
Founded numeric,
Enrollment numeric,
Nickname text,
Location text,
"Current Conference" text
);
CREATE TABLE IF NOT EXISTS table_1_1176162_3 (
"top speed (km/h)" numeric,
"production period" text,
"max... | What is the segment A on episode 237? | SELECT "Segment A" FROM table_1_15187735_19 WHERE "Episode" = '237' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_12266757_1 (
"Womens singles" text,
"Mens singles" text,
Season text,
"Mixed doubles" text,
"Mens doubles" text,
"Womens doubles" text
);
CREATE TABLE IF NOT EXISTS table_1_25428629_1 (
"Indian Scorers" text,
Tournament text,
Location text,
Date text,
Score text,
Opponent ... | If the location is Yangon, Myanmar, what is the opponent total number? | SELECT COUNT(Opponent) FROM table_1_25428629_1 WHERE "Location" ILIKE '%Yangon,%Myanmar%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11959669_7 (
"High rebounds" text,
Score text,
Date text,
"High points" text,
Game numeric,
"High assists" text,
Record text,
"Location Attendance" text,
Team text
);
CREATE TABLE IF NOT EXISTS table_1_11614581_3 (
"Name in Russian" text,
Governorate text,
"Area, in thousa... | What was the final score on March 26? | SELECT Score FROM table_1_11959669_7 WHERE "Date" ILIKE '%March%26%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11662133_3 (
"Date withdrawn" text,
"Date entered service" text,
"Ships name" text,
Tonnage numeric,
"Type of Ship" text
);
CREATE TABLE IF NOT EXISTS table_1_10470082_8 (
"#" numeric,
Storyteller text,
"US air date" text,
Villains text,
Title text,
"No." numeric,
Director... | Who is the player with a year later than 2007 and the college/high school/club of Arizona? | SELECT Player FROM table_2_17269615_4 WHERE "Year" > '2007' AND "College/High School/Club" ILIKE '%arizona%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_1554464_7 (
"2011" text,
"2004" text,
"2007" text,
"2010" text,
"2012" text,
"2008" text,
"2002" text,
"2003" text,
"2001" text,
"2005" text,
"2000" text,
Tournament text,
"2006" text,
"2009" text
);
CREATE TABLE IF NOT EXISTS table_1_12001616_4 (
Status text,
Entrant ... | What's the tournamnet name that has a 2001 of 1r and 2011? | SELECT Tournament FROM table_2_1554464_7 WHERE "2001" ILIKE '%1r%' AND "2011" ILIKE '%a%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11964263_13 (
Game numeric,
Team text,
Series text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"High points" text
);
CREATE TABLE IF NOT EXISTS table_1_12060_2 (
"Fertility rates" text,
"Natural change (per 1000)" text,
"Live births" text,
"unnam... | What was the ladder position when the score was 15.9 (99)–14.6 (90)? | SELECT "Ladder Position" FROM table_1_24919137_2 WHERE "Score" ILIKE '%15.9%(99)–14.6%(90)%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_16677887_1 (
Position text,
College text,
Round numeric,
"Pick #" numeric,
Player text
);
CREATE TABLE IF NOT EXISTS table_1_12165999_1 (
"Overall Pick #" numeric,
"AFL Team" text,
Position text
);
CREATE TABLE IF NOT EXISTS table_1_1216675_1 (
Translation text,
Subject text... | Who is the quarterback for Arkansas State? | SELECT Player FROM table_2_16677887_1 WHERE "Position" ILIKE '%quarterback%' AND "College" ILIKE '%arkansas%state%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11964154_9 (
Date text,
"High points" text,
"Location Attendance" text,
"High assists" text,
"High rebounds" text,
Score text,
Team text
);
CREATE TABLE IF NOT EXISTS table_2_17261464_3 (
Game numeric,
Record text,
Result text,
Opponents numeric,
Streak text,
"Nuggets poi... | How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108? | SELECT COUNT(Opponents) FROM table_2_17261464_3 WHERE "Result" ILIKE '%loss%' AND "Game" < '49' AND "Nuggets points" = '108' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11677100_5 (
Hometown text,
Player text,
"MLB Draft" text,
Position text,
School text
);
CREATE TABLE IF NOT EXISTS table_1_12206918_2 (
Result text,
Date text,
Opponent text,
Number numeric,
Defenses numeric,
Name text,
Titles text
);
CREATE TABLE IF NOT EXISTS table_1_12... | What county is the township of Osborn in? | SELECT County FROM table_1_18600760_15 WHERE "Township" ILIKE '%Osborn%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_101196_1 (
Population numeric,
"Irish name" text,
County text,
"English name" text,
"Irish speakers" text
);
CREATE TABLE IF NOT EXISTS table_2_11960407_8 (
Date text,
"High points" text,
Record text,
Team text,
Score text,
"High assists" text,
"Location Attendance" text,
... | What was the score on April 20? | SELECT Score FROM table_2_11960407_8 WHERE "Date" ILIKE '%april%20%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_27700530_10 (
"Location Attendance" text,
Score text,
Record text,
"High rebounds" text,
Game numeric,
"High assists" text,
Team text,
"High points" text,
Date text
);
CREATE TABLE IF NOT EXISTS table_1_11562149_1 (
"Original air date" text,
"Directed by" text,
"No. in ser... | What is the record when jameer nelson (19) had the high points? | SELECT Record FROM table_1_27700530_10 WHERE "High points" ILIKE '%Jameer%Nelson%(19)%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_16874390_2 (
"Time/Retired" text,
Points numeric,
Laps numeric,
Grid numeric,
Driver text,
Team text
);
CREATE TABLE IF NOT EXISTS table_1_10842344_1 (
"Directed by" text,
"U.S. viewers (millions)" text,
"Original air date" text,
Title text,
"Written by" text,
"No. in seri... | Which Points have a Time/Retired of +49.222 secs? | SELECT MAX(Points) FROM table_2_16874390_2 WHERE "Time/Retired" ILIKE '%+49.222%secs%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1342331_5 (
Party text,
Incumbent text,
"First elected" numeric,
Candidates text,
Result text,
District text
);
CREATE TABLE IF NOT EXISTS table_1_12305325_4 (
"Arlenes vote" text,
"Craigs vote" text,
Eliminated text,
"Brunos vote" text,
Safe text,
"Lens vote" text,
Week ... | who is the the incumbent with candidates being ben cravens (d) unopposed | SELECT Incumbent FROM table_1_1342331_5 WHERE "Candidates" ILIKE '%Ben%Cravens%(D)%Unopposed%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11677100_3 (
Player text,
"MLB Draft" text,
Hometown text,
School text,
Position text
);
CREATE TABLE IF NOT EXISTS table_2_15968208_6 (
Ship text,
Total numeric,
"12-inch" numeric,
"13.5-inch/1250lb" numeric,
"13.5-inch/1400lb" numeric
); | What is the highest Total when the ship was lützow, and a 12-inch less than 8? | SELECT MAX(Total) FROM table_2_15968208_6 WHERE "Ship" ILIKE '%lützow%' AND "12-inch" < '8' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_22824302_3 (
Assists numeric,
"Free Throws" numeric,
Player text,
Steals numeric,
Blocks numeric,
"Games Played" numeric,
"Field Goals" numeric,
Points numeric,
Rebounds numeric
);
CREATE TABLE IF NOT EXISTS table_1_11748792_2 (
Saturday text,
Series text,
Friday text,
We... | How many steals for the player who had 121 rebounds? | SELECT MIN(Steals) FROM table_1_22824302_3 WHERE "Rebounds" = '121' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_12321870_32 (
"Player name" text,
Goals text,
Period text,
Matches text,
Country text
);
CREATE TABLE IF NOT EXISTS table_1_10908676_7 (
"No. in season" numeric,
"Written by" text,
Title text,
"Directed by" text,
"No. in series" numeric,
"Original air date" text
);
CREATE T... | How many picks did the College of USC wind up getting? | SELECT COUNT("Pick #") FROM table_2_14655657_1 WHERE "College" ILIKE '%usc%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_1615758_5 (
Chassis text,
Engine text,
Start text,
Year numeric,
Finish numeric,
Team text
);
CREATE TABLE IF NOT EXISTS table_1_11677691_3 (
Position text,
School text,
Hometown text,
Player text,
College text
); | What is the earliest year of the Honda Engine with a finish of 4? | SELECT MIN(YEAR) FROM table_2_1615758_5 WHERE "Engine" ILIKE '%honda%' AND "Finish" = '4' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_18680817_1 (
Result text,
Week numeric,
Date text,
Opponent text,
Attendance numeric
);
CREATE TABLE IF NOT EXISTS table_1_11214772_1 (
Champion text,
"Semi-Finalist #2" text,
Year text,
"Runner-Up" text,
Score text,
"Semi-Finalist #1" text,
Location text
);
CREATE TABLE I... | What was the highest week with a w 21-17 result, and more than 45,254 in attendance? | SELECT MAX(WEEK) FROM table_2_18680817_1 WHERE "Result" ILIKE '%w%21-17%' AND "Attendance" > '45,254' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1140103_6 (
"Race Name" text,
Constructor text,
Circuit text,
Report text,
Date text,
"#" numeric,
"Winning driver" text
);
CREATE TABLE IF NOT EXISTS table_1_11577996_1 (
Location text,
"4th Place" text,
"1st Place" text,
"5th Place" text,
"2nd Place" text,
Year numeric,... | What is the Sets+ for Team unicaja almería where the Sets- were less than 21 and the Points+ were less than 1497? | SELECT SUM(SETS+) FROM table_2_17308611_2 WHERE "Sets–" < '21' AND "Team" ILIKE '%unicaja%almería%' AND "Points+" < '1497' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_18132874_4 (
Place text,
Player text,
"To par" text,
Score text,
Country text,
"Money ( $ )" numeric
);
CREATE TABLE IF NOT EXISTS table_1_12204717_1 (
Year numeric,
"Mens singles" text,
"Womens doubles" text,
"Mens doubles" text,
"Womens singles" text,
"Mixed doubles" tex... | What was the money when the place was t8 and the score was 74-72-75-71=292? | SELECT "Money ( $ )" FROM table_2_18132874_4 WHERE "Place" ILIKE '%t8%' AND "Score" ILIKE '%74-72-75-71=292%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11240028_3 (
"Portrayed by" text,
Relationship text,
"First appearance" text,
Character text,
"Last appearance" text
);
CREATE TABLE IF NOT EXISTS table_1_11960407_2 (
Record text,
Score text,
Date text,
"Location Attendance" text,
"High points" text,
"High assists" text,
... | Name the combativity award with winner of luis león sánchez | SELECT "Combativity award" FROM table_2_14395920_2 WHERE "Winner" ILIKE '%luis%león%sánchez%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10413597_4 (
"Directed by" text,
"No. in season" numeric,
"No. in series" numeric,
"Original air date" text,
Title text,
"Written by" text,
Setting text
);
CREATE TABLE IF NOT EXISTS table_1_1112176_1 (
"FA Cup Apps (Sub)" text,
"Total Apps (Sub)" text,
Division text,
"FA C... | What college did Leon Perry attend? | SELECT College FROM table_2_16376436_1 WHERE "Player" ILIKE '%leon%perry%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_18036506_13 (
Byes numeric,
Wins numeric,
Draws numeric,
Against numeric,
Losses numeric,
"Golden Rivers" text
);
CREATE TABLE IF NOT EXISTS table_1_10335_1 (
Operational text,
"Estimated deaths" text,
"Current country of location" text,
"Primary means for mass killings" tex... | What is the total number of draws when there are fewer than 3 wins? | SELECT COUNT(Draws) FROM table_2_18036506_13 WHERE "Wins" < '3' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_10477224_1 (
"Sepal width" text,
"Petal length" text,
Species text,
"Petal width" text,
"Sepal length" text
);
CREATE TABLE IF NOT EXISTS table_1_11734041_7 (
Position text,
"Height in Ft." text,
"No.(s)" numeric,
"School/Club Team/Country" text,
"Years for Rockets" text,
P... | What year was the ateneo de manila university founded? | SELECT Founded FROM table_1_22171978_1 WHERE "Institution" ILIKE '%Ateneo%de%Manila%University%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_12303563_2 (
Winners numeric,
"3rd Place" numeric,
"#" numeric,
"Runners-up" numeric,
"4th Place" numeric,
Nation text
);
CREATE TABLE IF NOT EXISTS table_1_1255110_7 (
Club text,
"GA Average" text,
"Games Played" numeric,
"No." numeric,
"Goals Against" numeric,
Loses nume... | What is the Draw for skra warszawa? | SELECT Draw FROM table_2_15447701_3 WHERE "Team" ILIKE '%skra%warszawa%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11404452_1 (
"Episode title" text,
"Writer(s)" text,
"U.S. viewers (millions)" text,
Director text,
"Series #" numeric,
"Original air date" text
);
CREATE TABLE IF NOT EXISTS table_2_12164513_5 (
Opponent text,
Score text,
Attendance text,
Loss text,
Date text
);
CREATE TAB... | Which team had the attendance of 16,468 and lost? | SELECT Loss FROM table_2_12164513_5 WHERE "Attendance" ILIKE '%16,468%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1139835_1 (
Year numeric,
Margin numeric,
Scores text,
"Grand Finalist" text,
Winners text,
"Season Result" text,
Venue text,
Crowd numeric
);
CREATE TABLE IF NOT EXISTS table_2_12436_2 (
Rank text,
"2010" text,
"2009" text,
Country text,
"2011" text
);
CREATE TABLE IF NO... | what is the production in 2010 with rank of 8? | SELECT 2010 FROM table_2_12436_2 WHERE "Rank" ILIKE '%8%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10749367_3 (
"Passed?" text,
"#" numeric,
Winner text,
Challenge text,
"Air Date" text,
"Test-taker" text
);
CREATE TABLE IF NOT EXISTS table_1_11240028_3 (
Character text,
"First appearance" text,
Relationship text,
"Portrayed by" text,
"Last appearance" text
);
CREATE TAB... | Who directed the eposide that was watched by 1.95 million US viewers? | SELECT "Directed by" FROM table_1_26736342_1 WHERE "U.S. viewers (millions)" ILIKE '%1.95%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1140103_6 (
Date text,
Constructor text,
"Winning driver" text,
"#" numeric,
Report text,
"Race Name" text,
Circuit text
);
CREATE TABLE IF NOT EXISTS table_1_1013168_3 (
"Date successor seated" text,
District text,
Successor text,
Vacator text,
"Reason for change" text
);... | What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth? | SELECT MAX(YEAR) FROM table_2_1546813_1 WHERE "Winning team" ILIKE '%europe%' AND "USA Captain" ILIKE '%kathy%whitworth%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_12340907_1 (
"Residents per officer" numeric,
Municipality text,
"Police officers" numeric,
"Police force" text,
Population numeric,
"Total costs (2005)" text,
"Crime rate per 1,000 people" numeric,
"Case burden" numeric,
"Cost per capita" text
);
CREATE TABLE IF NOT EXISTS t... | Who directed the episode with a production code of 301? | SELECT "Directed by" FROM table_1_18424435_4 WHERE "Production code" = '301' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_10953197_6 (
Director text,
"Production code" text,
Title text,
"No. in season" numeric,
"Writer(s)" text,
"Original air date" text,
"No. in series" numeric
);
CREATE TABLE IF NOT EXISTS table_1_1140103_6 (
Date text,
Report text,
Circuit text,
"Race Name" text,
"Winning d... | give the least number of times an episode was shown from 1997-1998 | SELECT MIN("No. in season") FROM table_1_10953197_6 | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_2_18891701_1 (
Position text,
"League Goals" numeric,
"League Cup Apps" text,
"FA Cup Apps" text,
"Total Apps" text,
"League Cup Goals" numeric,
Name text,
"Total Goals" numeric,
"League Apps" text,
"FA Cup Goals" numeric
);
CREATE TABLE IF NOT EXISTS table_1_11677691_11 (
Pl... | what is the highest fa cup goals when the total goals is more than 3 and total apps is 31 (1)? | SELECT MAX("FA Cup Goals") FROM table_2_18891701_1 WHERE "Total Goals" > '3' AND "Total Apps" ILIKE '%31%(1)%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1046071_1 (
"Regular Season" text,
Playoffs text,
Year numeric,
Division numeric,
League text,
"Open Cup" text
);
CREATE TABLE IF NOT EXISTS table_1_10321805_1 (
Director text,
Result text,
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text
... | Which Lead Pitch/mm has a Part Number of tsop24/28? | SELECT MAX("Lead Pitch/mm") FROM table_2_1872794_2 WHERE "Part Number" ILIKE '%tsop24/28%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11545282_7 (
Position text,
Player text,
"No." numeric,
"School/Club Team" text,
"Years for Jazz" text,
Nationality text
);
CREATE TABLE IF NOT EXISTS table_1_26591434_1 (
"Ratings (Kansai)" text,
Episode numeric,
Title text,
"Ratings (Kanto)" text,
Director text,
"Origina... | What is the original air date for the writer tanaka shinichi? | SELECT "Original airdate" FROM table_1_26591434_1 WHERE "Writer" ILIKE '%Tanaka%Shinichi%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11960407_4 (
Date text,
Game numeric,
Score text,
Record text,
"High assists" text,
"High points" text,
Team text,
"Location Attendance" text,
"High rebounds" text
);
CREATE TABLE IF NOT EXISTS table_2_18602462_9 (
Class text,
Result text,
Athlete text,
Event text,
Rank ... | What horse has a 65.863 result? | SELECT Horse FROM table_2_18602462_9 WHERE "Result" ILIKE '%65.863%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_10722506_6 (
"Championship Game" numeric,
"Elite Eight" numeric,
"Sweet Sixteen" numeric,
Conference text,
"# of Bids" numeric,
"Win %" text,
Record text,
"Round of 32" numeric,
"Final Four" numeric
);
CREATE TABLE IF NOT EXISTS table_2_16941304_4 (
"Bike No" numeric,
Posit... | What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1? | SELECT MAX(Points) FROM table_2_16941304_4 WHERE "Position" < '4' AND "Equipment" ILIKE '%zabel%-%vmc%' AND "Bike No" < '1' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1140085_2 (
Location text,
Date text,
Constructor text,
"Race Winner" text,
Rnd numeric,
Report text,
"Fastest Lap" text,
"Pole Position" text,
Race text
);
CREATE TABLE IF NOT EXISTS table_1_1213511_2 (
"College/junior/club team" text,
Nationality text,
"Pick #" numeric,
... | Who's the player for the New York Rangers? | SELECT Player FROM table_1_1213511_2 WHERE "NHL team" ILIKE '%New%York%Rangers%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_18855244_1 (
Total numeric,
Games text,
Sport text,
Years text,
Gold numeric,
Rank numeric,
Silver numeric,
Nation text,
Bronze numeric
);
CREATE TABLE IF NOT EXISTS table_1_11960944_11 (
Series text,
"High points" text,
Team text,
Score text,
"High rebounds" text,
Game... | What is the total in 2000–2012, with more than 2 silver, 0 Bronze, and a Rank smaller than 70? | SELECT SUM(Total) FROM table_2_18855244_1 WHERE "Years" ILIKE '%2000–2012%' AND "Silver" > '2' AND "Bronze" = '0' AND "Rank" < '70' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11570261_2 (
"Winning score" text,
Year numeric,
Championship text,
"Margin of victory" text,
"Runner(s)-up" text,
"54 holes" text
);
CREATE TABLE IF NOT EXISTS table_2_15442936_2 (
Date text,
Tournament text,
"Opponent in the final" text,
Score text,
Surface text
);
CREATE... | For the tournament played on September 25, 1995, who was the Finals opponent? | SELECT "Opponent in the final" FROM table_2_15442936_2 WHERE "Date" ILIKE '%september%25,%1995%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1231316_7 (
Athlete text,
Rank numeric,
"Wind (m/s)" text,
Location text,
Nation text,
"Fastest time (s)" text
);
CREATE TABLE IF NOT EXISTS table_1_11964154_7 (
"Location Attendance" text,
"High assists" text,
"High points" text,
Date text,
Score text,
"High rebounds" tex... | How many games were against Furman? | SELECT MAX(Game) FROM table_1_20745444_1 WHERE "Opponent" ILIKE '%Furman%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11111116_8 (
"Written by" text,
"Original air date" text,
Title text,
"No. in season" numeric,
"No. in series" numeric,
"U.S. viewers (million)" text,
"Directed by" text
);
CREATE TABLE IF NOT EXISTS table_1_10360823_1 (
Overall numeric,
Round numeric,
Position text,
Choice... | What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? | SELECT SUM(Losses) FROM table_2_17746037_1 WHERE "Portland DFL" ILIKE '%westerns%' AND "Draws" > '1' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_17941032_2 (
Drawn text,
"Tries for" text,
Lost text,
"Tries against" text,
Played text,
"Try bonus" text,
Points text,
"Points for" text,
Club text,
"Points against" text,
Won text,
"Losing bonus" text
);
CREATE TABLE IF NOT EXISTS table_1_1137142_1 (
Season text,
"Grou... | What was the losing bonus that had 53 points? | SELECT "Losing bonus" FROM table_1_17941032_2 WHERE "Points" ILIKE '%53%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1067441_1 (
"Area (km²)" numeric,
Density text,
"GDP (2003, PPS in mil. € )" numeric,
"GDP per cap. (2003, in €)" numeric,
Province text,
"Population (2004 estimate)" numeric
);
CREATE TABLE IF NOT EXISTS table_1_11951237_2 (
"Written by" text,
Title text,
"Directed by" text,... | What is the number of the acquisition of import in the 2002 season? | SELECT Number FROM table_2_15463188_8 WHERE "Acquisition via" ILIKE '%import%' AND "Season" ILIKE '%2002%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11071897_1 (
"Interregnum ended" text,
"Count Palatine of the Rhine" text,
"Interregnum began" text,
Duration text,
"Count Palatine of Saxony" text
);
CREATE TABLE IF NOT EXISTS table_1_10602294_1 (
Deaths text,
Refs text,
Pressure text,
Windspeeds text,
"Areas affected" tex... | What's the average men's wheelchair when women's wheelchair is less than 0? | SELECT AVG("Men's wheelchair") FROM table_2_15413275_5 WHERE "Women's Wheelchair" < '0' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_10960039_6 (
Player text,
"Pick #" numeric,
"CFL Team" text,
College text,
Position text
);
CREATE TABLE IF NOT EXISTS table_1_1242447_2 (
"Strongs Transliteration" text,
"Strongs #" text,
"Hebrew word" text,
"English Spelling" text,
"Strongs Words Compounded" text
);
CREATE... | Which Year has a Division larger than 3? | SELECT MAX("The Year") FROM table_2_16799803_1 WHERE "Division" > '3' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11950720_4 (
"First Class Team" text,
"Date of Birth" text,
"No." text,
"Batting Style" text,
"Bowling Style" text,
Player text
);
CREATE TABLE IF NOT EXISTS table_1_10748727_1 (
Races numeric,
Podiums numeric,
Poles numeric,
Points text,
"Team Name" text,
Position text,
... | What type is the settlement of Lok? | SELECT TYPE FROM table_1_2562572_19 WHERE "Settlement" ILIKE '%Lok%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_18947170_1 (
"Elevation (m)" numeric,
"Prominence (m)" numeric,
Country text,
Peak text,
"Col (m)" numeric
);
CREATE TABLE IF NOT EXISTS table_1_11964047_8 (
Streak text,
Record text,
Date text,
Attendance text,
Visitor text,
"Leading scorer" text,
Score text,
"#" numeric... | What is the Col entry for the peak with an elevation of 2,308 meters? | SELECT COUNT("Col (m)") FROM table_2_18947170_1 WHERE "Elevation (m)" = '2,308' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11111116_6 (
"Directed by" text,
Title text,
"U.S. viewers (million)" text,
"Original air date" text,
"No. in series" numeric,
"No. in season" numeric,
"Written by" text
);
CREATE TABLE IF NOT EXISTS table_2_11622632_17 (
Nationality text,
"NHL team" text,
Player text,
Roun... | What is the NHL team that has a team (League) of Mississauga Icedogs (ohl)? | SELECT "NHL team" FROM table_2_11622632_17 WHERE "College/Junior/Club team (League)" ILIKE '%mississauga%icedogs%(ohl)%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_1546629_3 (
Date text,
Country text,
Label text,
Format text,
Catalog text
);
CREATE TABLE IF NOT EXISTS table_1_12113888_1 (
Builder text,
Number numeric,
Built text,
"Scrapped/Sold" text,
Rebuilt text,
"Name as rebuilt" text
); | What date was the release when the format was lp? | SELECT Date FROM table_2_1546629_3 WHERE "Format" ILIKE '%lp%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11907963_6 (
Team text,
"Location Attendance" text,
Game numeric,
Score text,
"High rebounds" text,
Date text,
"High assists" text,
"High points" text
);
CREATE TABLE IF NOT EXISTS table_2_17463217_2 (
Opponent text,
Location text,
"Res." text,
Method text,
Round numeric,... | What was the resolution of the fight when tim hague had a record of 15-7? | SELECT Res. FROM table_2_17463217_2 WHERE "Record" ILIKE '%15-7%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1140076_2 (
"Fastest Lap" text,
Rnd numeric,
Report text,
"Race Winner" text,
Race text,
Location text,
"Pole Position" text,
Constructor text,
Date text
);
CREATE TABLE IF NOT EXISTS table_1_30133_3 (
Economy text,
"Gap from Thailand as of 2012 (times)" text,
"1985" numer... | What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38? | SELECT 1985 FROM table_1_30133_3 WHERE "GDP AS of 2012 after purchasing power parity (PPP) calculations (USD billions)" ILIKE '%369.38%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11970261_2 (
Swimsuit text,
Interview text,
Preliminaries text,
Country text,
"Evening Gown" text,
Average text
);
CREATE TABLE IF NOT EXISTS table_1_11622862_1 (
Location text,
"1st Prize( $ )" numeric,
"Purse( $ )" numeric,
Tournament text,
Date text,
Winner text,
Score... | What's the value for played when points is 8 and position is 11th? | SELECT Played FROM table_2_11678695_1 WHERE "Position" ILIKE '%11th%' AND "Points" ILIKE '%8%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11713303_2 (
"Date of vacancy" text,
Team text,
"Manner of departure" text,
"Replaced by" text,
"Date of appointment" text,
"Outgoing manager" text
);
CREATE TABLE IF NOT EXISTS table_1_10602294_1 (
Windspeeds text,
Pressure text,
"Areas affected" text,
Deaths text,
Name te... | What is the ranktotal number if the Hashan Tillakaratne? | SELECT COUNT(Rank) FROM table_1_26041144_16 WHERE "Player" ILIKE '%Hashan%Tillakaratne%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1242447_2 (
"Strongs Transliteration" text,
"Strongs Words Compounded" text,
"Strongs #" text,
"English Spelling" text,
"Hebrew word" text
);
CREATE TABLE IF NOT EXISTS table_1_14623167_1 (
"Call sign" text,
Network text,
Owner text,
Branding text,
Virtual numeric,
Physical... | Name the number of branding for 31 physical | SELECT COUNT(Branding) FROM table_1_14623167_1 WHERE "Physical" = '31' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11585313_1 (
"number of goals" numeric,
"number of caps" numeric,
"date of birth" text,
name text,
"date of death†" text,
"date of debut" text,
number numeric
);
CREATE TABLE IF NOT EXISTS table_2_18981955_2 (
Round numeric,
Event text,
Method text,
Opponent text,
Location... | Which event had Carlos Alexandre Pereira as opponent? | SELECT Event FROM table_2_18981955_2 WHERE "Opponent" ILIKE '%carlos%alexandre%pereira%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_11766617_4 (
Date text,
Decision text,
Attendance numeric,
Visitor text,
Record text,
Score text,
Home text
);
CREATE TABLE IF NOT EXISTS table_1_1013129_1 (
Pick numeric,
"College/junior/club team" text,
Player text,
"NHL team" text,
Position text,
Nationality text
);
CR... | What was the Lightning's record at their home game against Carolina with an attendance over 16,526 and a decision of Holmqvist? | SELECT Record FROM table_2_11766617_4 WHERE "Decision" ILIKE '%holmqvist%' AND "Attendance" > '16,526' AND "Visitor" ILIKE '%carolina%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1140077_2 (
Location text,
Constructor text,
Race text,
"Race Winner" text,
Rnd numeric,
"Fastest Lap" text,
"Pole Position" text,
Date text,
Report text
);
CREATE TABLE IF NOT EXISTS table_1_11148572_1 (
Season numeric,
"MLS Supporters Shield Runner-Up" text,
"MLS Cup Run... | What is Fuzzy Zoeller's To par? | SELECT "To par" FROM table_2_18113463_7 WHERE "Player" ILIKE '%fuzzy%zoeller%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_2_12418501_1 (
Team text,
Goals numeric,
Season numeric,
Country text,
Apps numeric
);
CREATE TABLE IF NOT EXISTS table_1_1137704_2 (
"Fastest Lap" text,
Report text,
Round numeric,
"Grand Prix" text,
Date text,
"Winning Constructor" text,
"Pole Position" text,
"Winning Dri... | How many seasons have 1 goals and more than 11 apps? | SELECT COUNT(Season) FROM table_2_12418501_1 WHERE "Goals" = '1' AND "Apps" > '11' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11071897_1 (
"Interregnum began" text,
"Count Palatine of the Rhine" text,
Duration text,
"Interregnum ended" text,
"Count Palatine of Saxony" text
);
CREATE TABLE IF NOT EXISTS table_1_1204998_2 (
"English Name" text,
Area numeric,
Traditional text,
Population numeric,
Hakk... | Which artist has a Mintage of 500? | SELECT Artist FROM table_2_11916083_69 WHERE "Mintage" = '500' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_2_1794033_4 (
Year numeric,
"International (total)" text,
"Passenger Change" text,
"Cargo (tonnes)" text,
Domestic text,
"Total passengers" text,
"Aircraft Landings" text,
"International (non-CIS)" text
);
CREATE TABLE IF NOT EXISTS table_1_10240125_2 (
Season text,
"FA Cup Ap... | What is the domestic figure when cargo tonnes equal 25 866? | SELECT Domestic FROM table_2_1794033_4 WHERE "Cargo (tonnes)" ILIKE '%25%866%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11677691_11 (
Hometown text,
Position text,
College text,
School text,
Player text
);
CREATE TABLE IF NOT EXISTS table_1_2979789_1 (
"Other Apps" numeric,
"FA Cup Apps" numeric,
Division text,
"Total Apps" numeric,
"FA Cup Goals" numeric,
"Other Goals" numeric,
"League Goa... | Name the total number of division for fa cups being 9 | SELECT COUNT(Division) FROM table_1_2979789_1 WHERE "FA Cup Apps" = '9' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11964263_13 (
"Location Attendance" text,
Score text,
Date text,
"High points" text,
"High assists" text,
"High rebounds" text,
Series text,
Team text,
Game numeric
);
CREATE TABLE IF NOT EXISTS table_2_12819742_2 (
Total numeric,
Country text,
"To par" numeric,
"Year(s) ... | What was the score to par for 156 strokes? | SELECT COUNT("To par") FROM table_2_12819742_2 WHERE "Total" > '156' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_1132588_3 (
"Rd." numeric,
"Winning Driver" text,
"Pole Position" text,
"Fastest Lap" text,
"Grand Prix" text,
Report text,
Constructor text
);
CREATE TABLE IF NOT EXISTS table_1_18018248_2 (
Loses numeric,
Draws numeric,
Position numeric,
Points numeric,
"Goals scored" nu... | How many wins had 58 goals scored? | SELECT Wins FROM table_1_18018248_2 WHERE "Goals scored" = '58' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_1_11664625_2 (
"No. in series" numeric,
Title text,
"U.S. viewers (millions)" text,
"Directed by" text,
"Original air date" text,
"Written by" text,
"No. in season" numeric
);
CREATE TABLE IF NOT EXISTS table_2_10808346_3 (
"Home team" text,
"Away team" text,
Date text,
"Away... | What was the name of the away team had a score of 17.15 (117) | SELECT "Away team" FROM table_2_10808346_3 WHERE "Away team score" ILIKE '%17.15%(117)%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_11959669_6 (
"High points" text,
"Location Attendance" text,
Team text,
Score text,
"High rebounds" text,
"High assists" text,
Game numeric,
Record text,
Date text
);
CREATE TABLE IF NOT EXISTS table_2_11916083_28 (
Artist text,
Year numeric,
Mintage text,
"Issue Price" t... | What was the issue price for the Trumpeter Swan set? | SELECT "Issue Price" FROM table_2_11916083_28 WHERE "Theme" ILIKE '%trumpeter%swan%' | [
"PostgreSQL"
] |
CREATE TABLE IF NOT EXISTS table_1_1342359_17 (
District text,
Candidates text,
Party text,
Result text,
"First elected" numeric,
Incumbent text
);
CREATE TABLE IF NOT EXISTS table_1_11220799_2 (
Exiled text,
"Episode Titles" text,
Finish text,
Vote text,
Reward text,
Immunity text,
Eliminated text,
"Firs... | how many people won in 1914 | SELECT COUNT(District) FROM table_1_1342359_17 WHERE "First elected" = '1914' | [
"MySQL",
"Oracle",
"PostgreSQL",
"SQL Server",
"SQLite"
] |
CREATE TABLE IF NOT EXISTS table_2_18409326_1 (
Format text,
Owner text,
"Call sign" text,
Branding text,
Frequency text
);
CREATE TABLE IF NOT EXISTS table_1_10264179_2 (
Date text,
"Winning Driver" text,
"Fastest Lap" text,
"Pole Position" text,
"Winning Team" text,
Circuit text,
Round numeric
);
CREATE T... | What is the frequency for the radio owned by bell media with a call sign of chsu-fm? | SELECT Frequency FROM table_2_18409326_1 WHERE "Owner" ILIKE '%bell%media%' AND "Call sign" ILIKE '%chsu-fm%' | [
"PostgreSQL"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.