question
stringlengths 19
162
| table_info
stringlengths 39
951
| sql_query
stringlengths 24
181
|
---|---|---|
Name a music director, belonging to a year after 2003?
|
CREATE TABLE table_name_86 (
music_director VARCHAR,
year INTEGER
)
|
SELECT music_director FROM table_name_86 WHERE year > 2003
|
What is the verb meaning for Saugen in part 1?
|
CREATE TABLE table_44583 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
|
SELECT "Verb meaning" FROM table_44583 WHERE "Part 1" LIKE '%saugen%'
|
What date did the away team Mansfield Town play?
|
CREATE TABLE table_name_56 (
date VARCHAR,
away_team VARCHAR
)
|
SELECT date FROM table_name_56 WHERE away_team LIKE "%mansfield town%"
|
When was the team, whose captain is Matt Smith, founded?
|
CREATE TABLE table_17914 (
"Team" text,
"Location" text,
"Stadium" text,
"Founded" real,
"Joined" real,
"Head Coach" text,
"Captain" text
)
|
SELECT "Founded" FROM table_17914 WHERE "Captain" LIKE '%matt smith%'
|
What is the lowest number of three pointers in games where the number of rebounds was 178?
|
CREATE TABLE table_22824324_2 (
three_pointers INTEGER,
rebounds VARCHAR
)
|
SELECT MIN(three_pointers) FROM table_22824324_2 WHERE rebounds LIKE '%178%'
|
What is the grand slam in 1987, when round shows first round, and Ivan Lendl won?
|
CREATE TABLE table_62130 (
"Year" real,
"Grand Slam" text,
"Round" text,
"Winner" text,
"Loser" text
)
|
SELECT "Grand Slam" FROM table_62130 WHERE "Year" = 1987 AND "Round" LIKE '%first round%' AND "Winner" LIKE '%ivan lendl%'
|
How many faculty is there in total in the year of 2002?
|
CREATE TABLE faculty (
faculty INTEGER,
YEAR VARCHAR
)
|
SELECT SUM(faculty) FROM faculty WHERE YEAR LIKE '%2002%'
|
What is the traffic direction of 70th street?
|
CREATE TABLE table_56945 (
"Street" text,
"West" text,
"East" text,
"# of lanes" text,
"Traffic direction" text
)
|
SELECT "Traffic direction" FROM table_56945 WHERE "Street" LIKE '%70th street%'
|
How many tree species are in the kitechura reserve?
|
CREATE TABLE table_16577990_1 (
tree_species VARCHAR,
central_forest_reserve VARCHAR
)
|
SELECT tree_species FROM table_16577990_1 WHERE central_forest_reserve LIKE "%kitechura%"
|
Tell me the horse when the faults are 9 and the total is 46.36
|
CREATE TABLE table_12013 (
"Rider" text,
"Horse" text,
"Faults" text,
"Round 1 + 2A Points" text,
"Total" real
)
|
SELECT "Horse" FROM table_12013 WHERE "Faults" LIKE '%9%' AND "Total" = 46.36
|
What average total has 0 as the gold, with 6 as the rank?
|
CREATE TABLE table_name_69 (
total INTEGER,
gold VARCHAR,
rank VARCHAR
)
|
SELECT AVG(total) FROM table_name_69 WHERE gold = '0' AND rank LIKE '%6%'
|
what is the place when the score is 68-70-68=206?
|
CREATE TABLE table_name_3 (
place VARCHAR,
score VARCHAR
)
|
SELECT place FROM table_name_3 WHERE score = '206'
|
what year did the rush allow the most goals ?
|
CREATE TABLE table_204_32 (
id number,
"season" number,
"division" text,
"w-l" text,
"finish" text,
"home" text,
"road" text,
"gf" number,
"ga" number,
"coach" text,
"playoffs" text,
"avg attendance" number
)
|
SELECT "season" FROM table_204_32 ORDER BY "ga" DESC LIMIT 1
|
Total weeks of 49,980 attendance?
|
CREATE TABLE table_name_55 (
week INTEGER,
attendance VARCHAR
)
|
SELECT SUM(week) FROM table_name_55 WHERE attendance LIKE '%49%' LIMIT 1 OFFSET 980
|
nejat konuk and dervi ş ero ğ lu are from which party ?
|
CREATE TABLE table_203_694 (
id number,
"#" number,
"name" text,
"took office" text,
"left office" text,
"party" text
)
|
SELECT "party" FROM table_203_694 WHERE "name" LIKE '%nejat konuk%' OR "name" LIKE '%dervis eroglu%'
|
What's the railway number of a D(rebuild) class?
|
CREATE TABLE table_name_28 (
railway_number_s_ VARCHAR,
class VARCHAR
)
|
SELECT railway_number_s_ FROM table_name_28 WHERE class LIKE "%d(rebuild)%"
|
screening egfr < 60 ml / min / 1.73 m2
|
CREATE TABLE table_train_169 (
"id" int,
"leukocytes" int,
"hemoglobin_a1c_hba1c" float,
"urine_albumin_excretion" int,
"estimated_glomerular_filtration_rate_egfr" int,
"glucola_beverage_gct" int,
"age" float,
"NOUSE" float
)
|
SELECT * FROM table_train_169 WHERE estimated_glomerular_filtration_rate_egfr < 60
|
How much is the lowest Operating Expenditures when Contributions are more than 8,245,241?
|
CREATE TABLE table_54361 (
"Candidate" text,
"Contributions" real,
"Loans Received" real,
"All Receipts" real,
"Operating Expenditures" real,
"All Disbursements" real
)
|
SELECT MIN("Operating Expenditures") FROM table_54361 WHERE "Contributions" > 8245241
|
How many gold medals does the country ranked higher than 2 with more than 8 bronze have?
|
CREATE TABLE table_70723 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
|
SELECT SUM("Gold") FROM table_70723 WHERE "Rank" < 2 AND "Bronze" > 8
|
total number of models created .
|
CREATE TABLE table_203_873 (
id number,
"model name" text,
"length" text,
"width" text,
"height" text,
"riders" number,
"capacity" number,
"description" text,
"portable" text,
"notes" number
)
|
SELECT COUNT(DISTINCT "model name") FROM table_203_873
|
Who was the home team when the away team was Footscray?
|
CREATE TABLE table_53738 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
|
SELECT "Home team" FROM table_53738 WHERE "Away team" LIKE '%footscray%'
|
Which position was active in Jazz in 2002-03?
|
CREATE TABLE table_name_59 (
position VARCHAR,
years_for_jazz VARCHAR
)
|
SELECT position FROM table_name_59 WHERE years_for_jazz LIKE "%2002-03%"
|
Which actor won in 1966?
|
CREATE TABLE table_name_43 (
actor VARCHAR,
year VARCHAR
)
|
SELECT actor FROM table_name_43 WHERE year LIKE '%1966%'
|
For outgoing manager is alberto malesani mention all the applicable replaced by person
|
CREATE TABLE table_3703 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
|
SELECT "Replaced by" FROM table_3703 WHERE "Outgoing manager" LIKE '%alberto malesani%'
|
How many losses are there for team tembetary?
|
CREATE TABLE table_18703133_6 (
losses VARCHAR,
team VARCHAR
)
|
SELECT losses FROM table_18703133_6 WHERE team LIKE "%tembetary%"
|
What is the main presenter of bulgaria?
|
CREATE TABLE table_1053802_1 (
main_presenters VARCHAR,
region_country VARCHAR
)
|
SELECT main_presenters FROM table_1053802_1 WHERE region_country LIKE '%bulgaria%'
|
What is the original artist when the vocal percussionist is Alexei Kalveks?
|
CREATE TABLE table_28715942_5 (
original_artist VARCHAR,
vocal_percussionist VARCHAR
)
|
SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist LIKE '%alexei kalveks%'
|
What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States?
|
CREATE TABLE table_name_27 (
total INTEGER,
gold VARCHAR,
bronze VARCHAR,
nation VARCHAR
)
|
SELECT SUM(total) FROM table_name_27 WHERE bronze > 2 AND nation LIKE '%united states%' AND gold > 1
|
What nations participated in 2007?
|
CREATE TABLE table_66466 (
"Sport" text,
"Body" text,
"Year" text,
"Event type" text,
"Location" text,
"Nations" text
)
|
SELECT "Nations" FROM table_66466 WHERE "Year" LIKE '%2007%'
|
What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points?
|
CREATE TABLE table_11219 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Trofeo Fast Team" text
)
|
SELECT "Stage" FROM table_11219 WHERE "Trofeo Fast Team" LIKE '%carrera jeans-tassoni%' AND "Winner" LIKE '%mario cipollini%' AND "Points classification" LIKE '%claudio chiappucci%'
|
Name the replaced by for august 9
|
CREATE TABLE table_27597 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Position in table" text,
"Replaced by" text,
"Date of appointment" text
)
|
SELECT "Replaced by" FROM table_27597 WHERE "Date of vacancy" LIKE '%august 9%' AND "Date of appointment" LIKE '%august 9%'
|
What venue was on 27 May 2000?
|
CREATE TABLE table_name_81 (
venue VARCHAR,
date VARCHAR
)
|
SELECT venue FROM table_name_81 WHERE date LIKE "%27 may 2000%"
|
Which To par has a Year of 1994?
|
CREATE TABLE table_name_24 (
to_par VARCHAR,
year VARCHAR
)
|
SELECT to_par FROM table_name_24 WHERE year LIKE '%1994%'
|
When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?
|
CREATE TABLE table_14553 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
|
SELECT "Year" FROM table_14553 WHERE "Points" < 1 AND "Engine" LIKE '%cosworth v8%' AND "Entrant" LIKE '%jolly club switzerland%'
|
For the flyers, what's the minimum capacity?
|
CREATE TABLE table_20718 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Joined TSCHL" real,
"Home Arena" text,
"Capacity" real,
"Team Website" text
)
|
SELECT MIN("Capacity") FROM table_20718 WHERE "Team Nickname" LIKE '%flyers%'
|
Name the scores for chris ramsey and carol vorderman
|
CREATE TABLE table_23292220_17 (
scores VARCHAR,
seans_team VARCHAR
)
|
SELECT scores FROM table_23292220_17 WHERE seans_team LIKE "%chris ramsey and carol vorderman%"
|
What is the number of games for the season with 10 ties?
|
CREATE TABLE table_name_86 (
games VARCHAR,
tied VARCHAR
)
|
SELECT games FROM table_name_86 WHERE tied LIKE '%10%'
|
What year had 32 moves?
|
CREATE TABLE table_8509 (
"White" text,
"Black" text,
"Year" real,
"Result" text,
"Moves" real,
"Tournament" text,
"Opening" text
)
|
SELECT SUM("Year") FROM table_8509 WHERE "Moves" = 32
|
how long was the m1894 rifle 's barrel ?
|
CREATE TABLE table_204_343 (
id number,
"nation" text,
"model" text,
"length" text,
"barrel length" text,
"weight" text
)
|
SELECT "barrel length" FROM table_204_343 WHERE "model" LIKE '%m1894 rifle%'
|
How many Atts that have Yards of 43 and a Long larger than 43?
|
CREATE TABLE table_name_65 (
att INTEGER,
yards VARCHAR,
long VARCHAR
)
|
SELECT SUM(att) FROM table_name_65 WHERE yards LIKE '%43%' AND long > 43
|
Which constructor has a Time/Retired of +37.311?
|
CREATE TABLE table_56316 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
|
SELECT "Constructor" FROM table_56316 WHERE "Time/Retired" LIKE '%+37.311%'
|
What is the 2007 result when the 2010 result was 2r, at the US Open?
|
CREATE TABLE table_name_91 (
tournament VARCHAR
)
|
SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament LIKE "%us open%"
|
when does the train arriving at bourne at 11.45 departure
|
CREATE TABLE table_22277 (
"Departure" text,
"Going to" text,
"Calling at" text,
"Arrival" text,
"Operator" text
)
|
SELECT "Departure" FROM table_22277 WHERE "Going to" LIKE '%bourne%' AND "Arrival" = '11.45'
|
Which Time/Retired has a Grid smaller than 3, and a Driver of mika h kkinen?
|
CREATE TABLE table_name_58 (
time_retired VARCHAR,
grid VARCHAR,
driver VARCHAR
)
|
SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver LIKE "%mika häkkinen%"
|
What was the higest attendance on November 9, 1958?
|
CREATE TABLE table_name_4 (
attendance INTEGER,
date VARCHAR
)
|
SELECT MAX(attendance) FROM table_name_4 WHERE date LIKE "%november 9, 1958%"
|
How many losses did the team with 22 goals for andmore than 8 games played have?
|
CREATE TABLE table_78521 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
)
|
SELECT COUNT("Losses") FROM table_78521 WHERE "Goals For" = 22 AND "Games Played" > 8
|
What is the largest overall number of major hurricanes?
|
CREATE TABLE table_2930244_3 (
number_of_major_hurricanes INTEGER
)
|
SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3
|
Which Proto-Austronesian has a Proto-Oceanic of *lima?
|
CREATE TABLE table_name_97 (
proto_austronesian VARCHAR,
proto_oceanic VARCHAR
)
|
SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic LIKE '%*lima%'
|
What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2 0?
|
CREATE TABLE table_60349 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
|
SELECT "Away team" FROM table_60349 WHERE "Score" LIKE '%2–0%' AND "Home team" LIKE '%wolverhampton wanderers%'
|
What was the featured in Engine through rounds 10-13?
|
CREATE TABLE table_55779 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Driver" text,
"Rounds" text
)
|
SELECT "Engine" FROM table_55779 WHERE "Rounds" LIKE '%10-13%'
|
What was Laurel's division record?
|
CREATE TABLE table_67113 (
"School" text,
"Team" text,
"Division Record" text,
"Overall Record" text,
"Season Outcome" text
)
|
SELECT "Division Record" FROM table_67113 WHERE "School" LIKE '%laurel%'
|
How many people wrote the episode directed by Arvin Brown?
|
CREATE TABLE table_30030227_1 (
written_by VARCHAR,
directed_by VARCHAR
)
|
SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_by LIKE "%arvin brown%"
|
How many years was ensign n180b a Chassis with 4 points?
|
CREATE TABLE table_70406 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
|
SELECT SUM("Year") FROM table_70406 WHERE "Points" = 4 AND "Chassis" LIKE '%ensign n180b%'
|
Which Opponent has an Away of 1 1, and a Home of 3 3?
|
CREATE TABLE table_75827 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text,
"Series" text
)
|
SELECT "Opponent" FROM table_75827 WHERE "Away" LIKE '%1–1%' AND "Home" LIKE '%3–3%'
|
What was the venue that had a friendly match competition?
|
CREATE TABLE table_name_49 (
venue VARCHAR,
competition VARCHAR
)
|
SELECT venue FROM table_name_49 WHERE competition LIKE "%friendly match%"
|
what is the population where municipality is san jacinto?
|
CREATE TABLE table_1691800_2 (
population__2010_ VARCHAR,
municipality VARCHAR
)
|
SELECT population__2010_ FROM table_1691800_2 WHERE municipality LIKE '%san jacinto%'
|
What is the NBA Draft for the School Bishop O'Connell High School?
|
CREATE TABLE table_name_10 (
nba_draft VARCHAR,
school VARCHAR
)
|
SELECT nba_draft FROM table_name_10 WHERE school LIKE "%bishop o'connell high school%"
|
What is the average round in which a Safety with an overall rank higher than 89 was drafted?
|
CREATE TABLE table_33305 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
|
SELECT AVG("Round") FROM table_33305 WHERE "Position" LIKE '%safety%' AND "Overall" > 89
|
What is the average Worst score for Mario Lopez as the Best dancer and Tango as the Dance?
|
CREATE TABLE table_33270 (
"Dance" text,
"Best dancer" text,
"Best score" real,
"Worst dancer" text,
"Worst score" real
)
|
SELECT AVG("Worst score") FROM table_33270 WHERE "Best dancer" LIKE '%mario lopez%' AND "Dance" LIKE '%tango%'
|
Show the different statuses and the numbers of roller coasters for each status.
|
CREATE TABLE roller_coaster (
Status VARCHAR
)
|
SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status
|
Which character was nominated in the 2010 Indian Television Academy Awards?
|
CREATE TABLE table_name_1 (
character VARCHAR,
year VARCHAR,
award_ceremony VARCHAR
)
|
SELECT character FROM table_name_1 WHERE year = '2010' AND award_ceremony LIKE '%indian television academy awards%'
|
which rider completed all 21 laps of the 2008 malaysian motorcycle grand prixwith the longest time ?
|
CREATE TABLE table_203_166 (
id number,
"pos" text,
"no" number,
"rider" text,
"manufacturer" text,
"laps" number,
"time" text,
"grid" number,
"points" number
)
|
SELECT "rider" FROM table_203_166 WHERE "laps" = 21 ORDER BY "pos" DESC LIMIT 1
|
Who directed the episode with the production code 176252?
|
CREATE TABLE table_19654 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
|
SELECT "Directed by" FROM table_19654 WHERE "Production code" = 176252
|
who won more gold medals , brazil or china ?
|
CREATE TABLE table_203_630 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
|
SELECT "nation" FROM table_203_630 WHERE "nation" LIKE '%brazil%' OR "nation" LIKE '%china%' ORDER BY "gold" DESC LIMIT 1
|
What date was the game played at Punt Road Oval?
|
CREATE TABLE table_53058 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
|
SELECT "Date" FROM table_53058 WHERE "Venue" LIKE '%punt road oval%'
|
What is the series number when al horford (10) had the high rebounds?
|
CREATE TABLE table_3873 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
|
SELECT "Series" FROM table_3873 WHERE "High rebounds" LIKE '%al horford (10)%'
|
What was the manner of departure for notts county with an incoming manager of martin allen
|
CREATE TABLE table_26914759_3 (
manner_of_departure VARCHAR,
team VARCHAR,
incoming_manager VARCHAR
)
|
SELECT manner_of_departure FROM table_26914759_3 WHERE team LIKE "%notts county%" AND incoming_manager LIKE "%martin allen%"
|
which player had the status to the fourth round lost to tsvetana pironkova [32] Answers:
|
CREATE TABLE table_29572583_20 (
player VARCHAR,
status VARCHAR
)
|
SELECT player FROM table_29572583_20 WHERE status LIKE "%fourth round lost to tsvetana pironkova [32]%"
|
What is the lowest round for an overall pick of 349 with a pick number in the round over 11?
|
CREATE TABLE table_76383 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
|
SELECT MIN("Round") FROM table_76383 WHERE "Overall" = 349 AND "Pick" > 11
|
Which team has a qualifying 2 time under 59.612 and a best of 59.14?
|
CREATE TABLE table_38485 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" real,
"Best" real
)
|
SELECT "Team" FROM table_38485 WHERE "Qual 2" < 59.612 AND "Best" = 59.14
|
What is the title of the production code 1acx09?
|
CREATE TABLE table_18734298_1 (
title VARCHAR,
production_code VARCHAR
)
|
SELECT title FROM table_18734298_1 WHERE production_code LIKE '%1acx09%'
|
The home team has a score of 12.9 (81) what is the score of the away team?
|
CREATE TABLE table_56896 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
|
SELECT "Away team score" FROM table_56896 WHERE "Home team score" LIKE '%12.9 (81)%'
|
Which Runner-up has a Winning score of 20 (70-69-64-65=268)?
|
CREATE TABLE table_name_69 (
runner_up VARCHAR,
winning_score VARCHAR
)
|
SELECT runner_up FROM table_name_69 WHERE winning_score = '-20'
|
what is the game where the high points is by manu gin bili (26)?
|
CREATE TABLE table_27715173_8 (
game VARCHAR,
high_points VARCHAR
)
|
SELECT game FROM table_27715173_8 WHERE high_points LIKE "%manu ginóbili (26)%"
|
What are the average Laps on Grid 15?
|
CREATE TABLE table_50944 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
|
SELECT AVG("Laps") FROM table_50944 WHERE "Grid" = 15
|
What event was in a year later than 2007 and in the 88th position?
|
CREATE TABLE table_66598 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text,
"Notes" text
)
|
SELECT "Event" FROM table_66598 WHERE "Year" > 2007 AND "Position" LIKE '%88th%'
|
Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?
|
CREATE TABLE table_53525 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
|
SELECT MAX("Goals against") FROM table_53525 WHERE "Wins" = 19 AND "Goals for" > 53
|
what is the name of the first player on this list ?
|
CREATE TABLE table_203_871 (
id number,
"#" number,
"player" text,
"pos" text,
"pts" number,
"tries" number,
"conv" number,
"pens" number,
"drop" number,
"opposition" text,
"venue" text,
"date" text
)
|
SELECT "player" FROM table_203_871 WHERE id = 1
|
What inverse subjunctive has as the imperative and a subjunctive of se m chadn?
|
CREATE TABLE table_42917 (
"m\u00e5cha" text,
"indicative" text,
"imperative" text,
"subjunctive" text,
"inverse subjunctive" text
)
|
SELECT "inverse subjunctive" FROM table_42917 WHERE "imperative" LIKE '%—%' AND "subjunctive" LIKE '%se måchadn%'
|
Which term in office has a qld state, a Party of labor, and an Electorate of fisher?
|
CREATE TABLE table_name_76 (
term_in_office VARCHAR,
electorate VARCHAR,
state VARCHAR,
party VARCHAR
)
|
SELECT term_in_office FROM table_name_76 WHERE state LIKE "%qld%" AND party LIKE "%labor%" AND electorate LIKE "%fisher%"
|
What is the score for the player who won $3,600?
|
CREATE TABLE table_name_40 (
score VARCHAR,
money___$__ VARCHAR
)
|
SELECT score FROM table_name_40 WHERE money___$__ LIKE '%3,600%'
|
Name the most field goals
|
CREATE TABLE table_72533 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
|
SELECT MAX("Field goals") FROM table_72533
|
What year did jockey Ramon Dominguez have a distance of 1-1/16?
|
CREATE TABLE table_53833 (
"Year" text,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance" text,
"Time" text,
"Purse" text
)
|
SELECT "Year" FROM table_53833 WHERE "Distance" LIKE '%1-1/16%' AND "Jockey" LIKE '%ramon dominguez%'
|
What is the largest vote result if loss/gain is -0.5%?
|
CREATE TABLE table_73867 (
"Constituency" text,
"Candidate" text,
"Affiliation" text,
"Result - votes" real,
"Result - %" text,
"Loss/gain" text
)
|
SELECT MAX("Result - votes") FROM table_73867 WHERE "Loss/gain" LIKE '%-0.5%%'
|
What is the sum for December when the record was 22-12-5?
|
CREATE TABLE table_36845 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
|
SELECT SUM("December") FROM table_36845 WHERE "Record" LIKE '%22-12-5%'
|
How many members did Africa have the year that Australia had 94615?
|
CREATE TABLE table_22851 (
"Year" real,
"Worldwide" real,
"Africa" real,
"America" real,
"Asia" real,
"Australia" real,
"Europe" real
)
|
SELECT "Africa" FROM table_22851 WHERE "Australia" = 94615
|
List the total number of years that have a score of 3 6, 4 6, 2 6.
|
CREATE TABLE table_2533 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
|
SELECT COUNT("Year") FROM table_2533 WHERE "Score in the final" LIKE '%3–6, 4–6, 2–6%'
|
What is the result when the Indianapolis Colts are the opponents?
|
CREATE TABLE table_55184 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Kickoff [a ]" text,
"Game site" text,
"Attendance" text,
"Record" text
)
|
SELECT "Result" FROM table_55184 WHERE "Opponent" LIKE '%indianapolis colts%'
|
Who played in the Toronto Raptors from 1995-96?
|
CREATE TABLE table_15857 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
)
|
SELECT "Player" FROM table_15857 WHERE "Years in Toronto" LIKE '%1995-96%'
|
what's the first elected with district illinois 18
|
CREATE TABLE table_1341472_15 (
first_elected VARCHAR,
district VARCHAR
)
|
SELECT first_elected FROM table_1341472_15 WHERE district LIKE '%illinois 18%'
|
What is the highest production number released on 1955-04-02 with i. freleng as the director?
|
CREATE TABLE table_79458 (
"Title" text,
"Series" text,
"Director" text,
"Production Number" real,
"Release date" text
)
|
SELECT MAX("Production Number") FROM table_79458 WHERE "Director" LIKE '%i. freleng%' AND "Release date" LIKE '%1955-04-02%'
|
What is the Skip when the Third was john morris?
|
CREATE TABLE table_name_61 (
skip VARCHAR,
third VARCHAR
)
|
SELECT skip FROM table_name_61 WHERE third LIKE "%john morris%"
|
What is the 3rd largest when 2nd largest in Minab?
|
CREATE TABLE table_48113 (
"Province" text,
"Largest city" text,
"2nd Largest" text,
"3rd Largest" text,
"4th largest" text
)
|
SELECT "3rd Largest" FROM table_48113 WHERE "2nd Largest" LIKE '%minab%'
|
What type of game was held against France with the results of 3:1?
|
CREATE TABLE table_6658 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
|
SELECT "Type of game" FROM table_6658 WHERE "Results¹" LIKE '%3:1%' AND "Opponent" LIKE '%france%'
|
Which song had Central Station as a label and whose album was Various - Wild Nights 4?
|
CREATE TABLE table_31987 (
"Year" real,
"Album" text,
"Song" text,
"Label" text,
"Catalog#" text,
"Format" text,
"Country" text
)
|
SELECT "Song" FROM table_31987 WHERE "Label" LIKE '%central station%' AND "Album" LIKE '%various - wild nights 4%'
|
Who had more than 3 wins?
|
CREATE TABLE table_10510 (
"Season" text,
"Winner" text,
"Team" text,
"Position" text,
"Win #" real
)
|
SELECT "Winner" FROM table_10510 WHERE "Win #" > 3
|
how many times was the televote/sms 2.39% and the place more than 9?
|
CREATE TABLE table_66500 (
"Draw" real,
"Artist" text,
"Song" text,
"Televote/SMS" text,
"Place" real
)
|
SELECT COUNT("Draw") FROM table_66500 WHERE "Televote/SMS" LIKE '%2.39%%' AND "Place" > 9
|
plasma creatinine > 2 mg / dl.
|
CREATE TABLE table_train_119 (
"id" int,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"diastolic_blood_pressure_dbp" int,
"hypotension" bool,
"allergy_to_milk" bool,
"allergy_to_soy" bool,
"body_mass_index_bmi" float,
"plasma_creatinine" float,
"NOUSE" float
)
|
SELECT * FROM table_train_119 WHERE plasma_creatinine > 2
|
how many years did an jae sung play ?
|
CREATE TABLE table_204_177 (
id number,
"player" text,
"years played" text,
"total w-l" text,
"singles w-l" text,
"doubles w-l" text
)
|
SELECT "years played" FROM table_204_177 WHERE "player" LIKE '%an jae-sung%'
|
Name the week for date of bye
|
CREATE TABLE table_39203 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text
)
|
SELECT "Week" FROM table_39203 WHERE "Date" LIKE '%bye%'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.