question
stringlengths 19
162
| table_info
stringlengths 39
951
| sql_query
stringlengths 24
181
|
---|---|---|
how many bronze medals were won by the nation with the fewest gold medals ?
|
CREATE TABLE table_204_822 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
|
SELECT "bronze" FROM table_204_822 ORDER BY "gold" LIMIT 1
|
What is High Assists, when Team is 'Oklahoma City'?
|
CREATE TABLE table_name_38 (
high_assists VARCHAR,
team VARCHAR
)
|
SELECT high_assists FROM table_name_38 WHERE team LIKE "%oklahoma city%"
|
What is the building for the r90 pennant?
|
CREATE TABLE table_name_16 (
builder VARCHAR,
pennant VARCHAR
)
|
SELECT builder FROM table_name_16 WHERE pennant LIKE "%r90%"
|
What round has a pick less than 189, with arizona cardinals as the NFL club?
|
CREATE TABLE table_name_4 (
round VARCHAR,
pick VARCHAR,
nfl_club VARCHAR
)
|
SELECT round FROM table_name_4 WHERE pick < 189 AND nfl_club LIKE '%arizona cardinals%'
|
what's the points for with lost being 4
|
CREATE TABLE table_14058433_5 (
points_for VARCHAR,
lost VARCHAR
)
|
SELECT points_for FROM table_14058433_5 WHERE lost LIKE "%4%"
|
what is the series sorted when the released is may 2012?
|
CREATE TABLE table_47445 (
"Series Sorted" text,
"Title" text,
"Doctor" text,
"Featuring" text,
"Released" text
)
|
SELECT "Series Sorted" FROM table_47445 WHERE "Released" LIKE '%may 2012%'
|
What date was the away team, team Gillingham?
|
CREATE TABLE table_name_64 (
date VARCHAR,
away_team VARCHAR
)
|
SELECT date FROM table_name_64 WHERE away_team LIKE "%gillingham%"
|
What episode was first aired in 1976?
|
CREATE TABLE table_79450 (
"Year" real,
"Program" text,
"Role" text,
"Episode" text,
"First aired" text
)
|
SELECT "Episode" FROM table_79450 WHERE "First aired" LIKE '%1976%'
|
What event was on 26 August 2005?
|
CREATE TABLE table_name_14 (
event VARCHAR,
date VARCHAR
)
|
SELECT event FROM table_name_14 WHERE date LIKE "%26 august 2005%"
|
What is the max pressure of the .38 long colt cartridge?
|
CREATE TABLE table_173103_1 (
max_pressure VARCHAR,
cartridge VARCHAR
)
|
SELECT max_pressure FROM table_173103_1 WHERE cartridge LIKE "%.38 long colt%"
|
What is the average number of attendance at home games for each year?
|
CREATE TABLE home_game (
YEAR VARCHAR,
attendance INTEGER
)
|
SELECT YEAR, AVG(attendance) FROM home_game GROUP BY YEAR
|
Who was the leading scorer on February 9?
|
CREATE TABLE table_name_96 (
leading_scorer VARCHAR,
date VARCHAR
)
|
SELECT leading_scorer FROM table_name_96 WHERE date LIKE "%february 9%"
|
Which Notes have a Date of 2008-01-27?
|
CREATE TABLE table_name_21 (
notes VARCHAR,
date VARCHAR
)
|
SELECT notes FROM table_name_21 WHERE date LIKE "%2008-01-27%"
|
Name the date for princes park
|
CREATE TABLE table_name_87 (
date VARCHAR,
venue VARCHAR
)
|
SELECT date FROM table_name_87 WHERE venue LIKE "%princes park%"
|
What Chassis ranked 18th?
|
CREATE TABLE table_name_18 (
chassis VARCHAR,
rank VARCHAR
)
|
SELECT chassis FROM table_name_18 WHERE rank LIKE "%18th%"
|
What was the lowest Attendance on 8 October 1986?
|
CREATE TABLE table_7385 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
|
SELECT MIN("Attendance") FROM table_7385 WHERE "Date" LIKE '%8 october 1986%'
|
What is the College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch?
|
CREATE TABLE table_name_31 (
college_junior_club_team__league_ VARCHAR,
position VARCHAR,
player VARCHAR
)
|
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position LIKE "%rw%" AND player LIKE "%don murdoch%"
|
What is the rank of the team with 0 gold and less than 0 silvers?
|
CREATE TABLE table_name_72 (
rank INTEGER,
gold VARCHAR,
silver VARCHAR
)
|
SELECT SUM(rank) FROM table_name_72 WHERE gold LIKE '0' AND silver < '0'
|
name the top 5 where the winnings is $52,595
|
CREATE TABLE table_1671401_3 (
top_5 VARCHAR,
winnings VARCHAR
)
|
SELECT top_5 FROM table_1671401_3 WHERE winnings LIKE '%$52,595%'
|
How do you spell the Hebrew word in English?
|
CREATE TABLE table_name_24 (
english_spelling VARCHAR,
hebrew_word VARCHAR
)
|
SELECT english_spelling FROM table_name_24 WHERE hebrew_word LIKE '%יְהוֹשָפָט%'
|
What is the lowest caps for the Club of SBV Excelsior?
|
CREATE TABLE table_39294 (
"Season" text,
"Club" text,
"Country" text,
"Competition" text,
"Caps" real,
"Goals" real
)
|
SELECT MIN("Caps") FROM table_39294 WHERE "Club" LIKE '%sbv excelsior%'
|
bradycardia ( heart rate < 60 / min, not valid for patients on beta _ blockers ) .
|
CREATE TABLE table_test_17 (
"id" int,
"anemia" bool,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"active_infection" bool,
"fever" bool,
"bradycardia" int,
"renal_disease" bool,
"oliguria" bool,
"creatinine_clearance_cl" float,
"left_ventricular_failure" bool,
"hgb" int,
"platelet_count" float,
"oxygen_saturation" int,
"thrombocytopenia" float,
"heart_rate" int,
"serum_creatinine" float,
"diuresis" int,
"catecholamine_support" bool,
"NOUSE" float
)
|
SELECT * FROM table_test_17 WHERE bradycardia = 1 OR heart_rate < 60
|
How many seasons has UPS sponsored a car with a number larger than 17?
|
CREATE TABLE table_name_9 (
season VARCHAR,
car__number VARCHAR,
sponsor VARCHAR
)
|
SELECT COUNT(season) FROM table_name_9 WHERE car__number > '17' AND sponsor LIKE '%ups%'
|
What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
|
CREATE TABLE table_name_43 (
power VARCHAR,
displacement VARCHAR,
notes VARCHAR
)
|
SELECT power FROM table_name_43 WHERE displacement LIKE "%182cid (2,988cc)%" AND notes LIKE "%eu spec%"
|
What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?
|
CREATE TABLE table_name_62 (
date VARCHAR,
description VARCHAR
)
|
SELECT date FROM table_name_62 WHERE description LIKE "%undergoing overhaul, restoration or repairs%"
|
What country had a winner in 1907?
|
CREATE TABLE table_32817 (
"Year" real,
"Rider" text,
"Country" text,
"Distance" text,
"Pacing" text,
"Velodrome" text
)
|
SELECT "Country" FROM table_32817 WHERE "Year" = 1907
|
Which conference held at School of whiting?
|
CREATE TABLE table_name_49 (
previous_conference VARCHAR,
school VARCHAR
)
|
SELECT previous_conference FROM table_name_49 WHERE school LIKE "%whiting%"
|
What is the GDP (nominal) with Population of 5,125,693?
|
CREATE TABLE table_name_16 (
gdp_per_capita__nominal_ VARCHAR,
population VARCHAR
)
|
SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population LIKE "%5,125,693%"
|
What is the highest number of extra points?
|
CREATE TABLE table_14342480_15 (
extra_points INTEGER
)
|
SELECT MAX(extra_points) FROM table_14342480_15
|
Which Relation has a Year larger than 2000, and a Length of 8 x 20 mins?
|
CREATE TABLE table_name_12 (
relation VARCHAR,
year VARCHAR,
length VARCHAR
)
|
SELECT relation FROM table_name_12 WHERE year > '2000' AND length LIKE '%8 x 20 mins%'
|
Name the most attendance
|
CREATE TABLE table_26401898_2 (
attendance INTEGER
)
|
SELECT MIN(attendance) FROM table_26401898_2
|
What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4?
|
CREATE TABLE table_name_48 (
attendance INTEGER,
opponent VARCHAR,
week VARCHAR
)
|
SELECT MAX(attendance) FROM table_name_48 WHERE opponent LIKE '%chicago cardinals%' AND week < 4
|
What is the name of the diety for the river of sone?
|
CREATE TABLE table_name_16 (
name_of_deity VARCHAR,
name_of_the_river VARCHAR
)
|
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river LIKE "%sone%"
|
Phillip Landrum was first elected in 1952 from the ninth district of Georgia.
|
CREATE TABLE table_1341707_12 (
district VARCHAR,
first_elected VARCHAR
)
|
SELECT district FROM table_1341707_12 WHERE first_elected LIKE '%1952%'
|
What is the season # for the production code 3.89?
|
CREATE TABLE table_29391888_1 (
season__number VARCHAR,
production_code VARCHAR
)
|
SELECT season__number FROM table_29391888_1 WHERE production_code LIKE "%3.89%"
|
What is the sum of Metres wiht a Feet that's smaller than 196?
|
CREATE TABLE table_35790 (
"Name" text,
"City" text,
"Years as tallest" text,
"Metres" real,
"Feet" real,
"Floors" real
)
|
SELECT COUNT("Metres") FROM table_35790 WHERE "Feet" < 196
|
How many entries are in barony when the townland is derrigra?
|
CREATE TABLE table_30121075_1 (
barony VARCHAR,
townland VARCHAR
)
|
SELECT COUNT(barony) FROM table_30121075_1 WHERE townland LIKE "%derrigra%"
|
What is the Date that has a Round of semifinal?
|
CREATE TABLE table_name_46 (
date VARCHAR,
round VARCHAR
)
|
SELECT date FROM table_name_46 WHERE round LIKE "%semifinal%"
|
what was the score in the loss to tapani (0-1)?
|
CREATE TABLE table_name_39 (
score VARCHAR,
loss VARCHAR
)
|
SELECT score FROM table_name_39 WHERE loss LIKE "%tapani (0-1)%"
|
What is the tries for when 52 was the tries against?
|
CREATE TABLE table_name_89 (
tries_for VARCHAR,
tries_against VARCHAR
)
|
SELECT tries_for FROM table_name_89 WHERE tries_against LIKE "%52%"
|
What was the fate on 27 june 1942?
|
CREATE TABLE table_name_44 (
fate VARCHAR,
date VARCHAR
)
|
SELECT fate FROM table_name_44 WHERE date LIKE "%27 june 1942%"
|
What is the Team with a Date with december 11?
|
CREATE TABLE table_name_69 (
team VARCHAR,
date VARCHAR
)
|
SELECT team FROM table_name_69 WHERE date LIKE "%december 11%"
|
Which venue had the result 7-1?
|
CREATE TABLE table_32230 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
|
SELECT "Venue" FROM table_32230 WHERE "Result" LIKE '%7-1%'
|
What is the average year that Idris Elba was nominated for or won an award?
|
CREATE TABLE table_7244 (
"Year" real,
"Actor" text,
"Award" text,
"Series" text,
"Result" text
)
|
SELECT AVG("Year") FROM table_7244 WHERE "Actor" LIKE '%idris elba%'
|
Where is lincoln high school located?
|
CREATE TABLE table_11677691_6 (
hometown VARCHAR,
school VARCHAR
)
|
SELECT hometown FROM table_11677691_6 WHERE school LIKE "%lincoln high school%"
|
What incumbent was first elected in 2009?
|
CREATE TABLE table_19753079_8 (
incumbent VARCHAR,
first_elected VARCHAR
)
|
SELECT incumbent FROM table_19753079_8 WHERE first_elected LIKE '%2009%'
|
Placing of 3 had what match w-l?
|
CREATE TABLE table_name_20 (
matches_w_l VARCHAR,
placing VARCHAR
)
|
SELECT matches_w_l FROM table_name_20 WHERE placing LIKE '%3%'
|
What is Event, when Date is April 20, 2013?
|
CREATE TABLE table_46812 (
"Event" text,
"Date" text,
"Rating" text,
"Share" text,
"Viewers" text
)
|
SELECT "Event" FROM table_46812 WHERE "Date" LIKE '%april 20, 2013%'
|
Which game site hosted a match on April 10, 2004?
|
CREATE TABLE table_name_87 (
game_site VARCHAR,
date VARCHAR
)
|
SELECT game_site FROM table_name_87 WHERE date LIKE "%april 10, 2004%"
|
What is the Away Team when the Home Team is Torquay United and the Attendence is 6 December 1997?
|
CREATE TABLE table_50546 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
|
SELECT "Away team" FROM table_50546 WHERE "Attendance" LIKE '%6 december 1997%' AND "Home team" LIKE '%torquay united%'
|
What is Apogee, when Designation is Prognoz 6?
|
CREATE TABLE table_name_9 (
apogee VARCHAR,
designation VARCHAR
)
|
SELECT apogee FROM table_name_9 WHERE designation LIKE "%prognoz 6%"
|
How low is the Attendance that has an Opponent of devil rays and a Date of may 13?
|
CREATE TABLE table_name_15 (
attendance INTEGER,
opponent VARCHAR,
date VARCHAR
)
|
SELECT MIN(attendance) FROM table_name_15 WHERE opponent LIKE "%devil rays%" AND date LIKE "%may 13%"
|
What bike does dean ellison ride?
|
CREATE TABLE table_name_48 (
bike VARCHAR,
rider VARCHAR
)
|
SELECT bike FROM table_name_48 WHERE rider LIKE "%dean ellison%"
|
Who was the head coach when the opponent was Arsenal?
|
CREATE TABLE table_name_95 (
head_coach VARCHAR,
opponent VARCHAR
)
|
SELECT head_coach FROM table_name_95 WHERE opponent LIKE "%arsenal%"
|
Who was the winner in 2007?
|
CREATE TABLE table_32851 (
"Date" real,
"Sport" text,
"Winner" text,
"Score" text,
"Loser" text
)
|
SELECT "Winner" FROM table_32851 WHERE "Date" LIKE '%2007%'
|
who visited on november 17?
|
CREATE TABLE table_name_29 (
visitor VARCHAR,
date VARCHAR
)
|
SELECT visitor FROM table_name_29 WHERE date LIKE "%november 17%"
|
In what year was the church located in flor built?
|
CREATE TABLE table_name_29 (
year_built VARCHAR,
location_of_the_church VARCHAR
)
|
SELECT year_built FROM table_name_29 WHERE location_of_the_church LIKE "%florø%"
|
Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7?
|
CREATE TABLE table_name_16 (
laps INTEGER,
time VARCHAR,
grid VARCHAR
)
|
SELECT AVG(laps) FROM table_name_16 WHERE time LIKE '+17.485%' AND grid < '7'
|
What position was played by the player who was 2.12 meters tall?
|
CREATE TABLE table_12962773_10 (
position VARCHAR,
height VARCHAR
)
|
SELECT position FROM table_12962773_10 WHERE height LIKE "%2.12%"
|
What visiting team has a record of 4-3?
|
CREATE TABLE table_62185 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
|
SELECT "Visitor" FROM table_62185 WHERE "Record" LIKE '%4-3%'
|
What is the Project Name with a Country that is kazakhstan and a Peak that is 150?
|
CREATE TABLE table_name_90 (
project_name VARCHAR,
country VARCHAR,
peak VARCHAR
)
|
SELECT project_name FROM table_name_90 WHERE country LIKE "%kazakhstan%" AND peak = "150"
|
What is the smallest number of goals against when there are 1 of 18 points, and more than 8 are drawn?
|
CREATE TABLE table_name_58 (
goals_against INTEGER,
points_1 VARCHAR,
drawn VARCHAR
)
|
SELECT MIN(goals_against) FROM table_name_58 WHERE points_1 LIKE "%18%" AND drawn > 8
|
What is Package/Option, when Content is Poker?
|
CREATE TABLE table_name_3 (
package_option VARCHAR,
content VARCHAR
)
|
SELECT package_option FROM table_name_3 WHERE content LIKE "%poker%"
|
Name the total number of series for march 19, 2000
|
CREATE TABLE table_1876825_2 (
no_in_series VARCHAR,
original_air_date VARCHAR
)
|
SELECT COUNT(no_in_series) FROM table_1876825_2 WHERE original_air_date LIKE "%march 19, 2000%"
|
How many females does this network has?
|
CREATE TABLE Person (
gender VARCHAR
)
|
SELECT COUNT(*) FROM Person WHERE gender LIKE '%female%'
|
What is the score for game 38?
|
CREATE TABLE table_name_1 (
score VARCHAR,
game VARCHAR
)
|
SELECT score FROM table_name_1 WHERE game LIKE '%38%'
|
What is the 1st round result for ECAC Chaumont (D2) as team 1?
|
CREATE TABLE table_13034 (
"Team 1" text,
"Score" text,
"Team 2" text,
"1st round" text,
"2nd round" text
)
|
SELECT "1st round" FROM table_13034 WHERE "Team 1" LIKE '%ecac chaumont (d2)%'
|
Name the most world rank for asian rank being 31
|
CREATE TABLE table_2249029_1 (
world_rank INTEGER,
asian_rank VARCHAR
)
|
SELECT MAX(world_rank) FROM table_2249029_1 WHERE asian_rank LIKE '%31%'
|
What is the 2nd ratio of 1996-2002 Dodge Viper?
|
CREATE TABLE table_1310499_1 (
application VARCHAR
)
|
SELECT 2 AS nd FROM table_1310499_1 WHERE application LIKE "%1996-2002 dodge viper%"
|
what is the last school to be founded in the aac ?
|
CREATE TABLE table_203_135 (
id number,
"institution" text,
"location" text,
"founded" number,
"type" text,
"enrollment" number,
"joined" number,
"nickname" text
)
|
SELECT "institution" FROM table_203_135 ORDER BY "founded" DESC LIMIT 1
|
What average Total has a Gold award of 13 and a Bronze award less than 13?
|
CREATE TABLE table_name_84 (
total INTEGER,
gold VARCHAR,
bronze VARCHAR
)
|
SELECT AVG(total) FROM table_name_84 WHERE gold LIKE '%13%' AND CAST(bronze AS INTEGER) < 13
|
What is the Air Date that has a 18 49 larger than 1.9, less than 7.54 viewers and a rating less than 4.9?
|
CREATE TABLE table_75835 (
"Episode #" real,
"Title" text,
"Air Date" text,
"Rating" real,
"Share" real,
"18\u201349" real,
"Viewers" real,
"Rank" text
)
|
SELECT "Air Date" FROM table_75835 WHERE "18–49" > 1.9 AND "Viewers" < 7.54 AND "Rating" < 4.9
|
Tell me the nationality of pick of 153
|
CREATE TABLE table_4355 (
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text
)
|
SELECT "Nationality" FROM table_4355 WHERE "Pick" LIKE '%153%'
|
What is the Places amount of the United States Ranking 8?
|
CREATE TABLE table_name_71 (
places INTEGER,
nation VARCHAR,
rank VARCHAR
)
|
SELECT AVG(places) FROM table_name_71 WHERE nation LIKE '%united states%' AND rank LIKE '%8%'
|
If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number?
|
CREATE TABLE table_22670216_1 (
rnd VARCHAR,
location VARCHAR,
pole_position VARCHAR
)
|
SELECT COUNT(rnd) FROM table_22670216_1 WHERE location LIKE "%brooklyn, michigan%" AND pole_position LIKE "%bobby unser%"
|
What is the Staffel D in the season 1983-84 with a Staffel E of Motor Suhl?
|
CREATE TABLE table_43255 (
"Season" text,
"Staffel A" text,
"Staffel B" text,
"Staffel C" text,
"Staffel D" text,
"Staffel E" text
)
|
SELECT "Staffel D" FROM table_43255 WHERE "Staffel E" LIKE '%motor suhl%' AND "Season" LIKE '%1983-84%'
|
What date did De Vries start?
|
CREATE TABLE table_12608427_8 (
started VARCHAR,
name VARCHAR
)
|
SELECT started FROM table_12608427_8 WHERE name LIKE "%de vries%"
|
What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents?
|
CREATE TABLE table_76321 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Record" text
)
|
SELECT SUM("January") FROM table_76321 WHERE "Opponent" LIKE '%@ montreal canadiens%' AND "Game" > 49
|
What is the lowest Laps for mike spence, with a Grid smaller than 8?
|
CREATE TABLE table_name_36 (
laps INTEGER,
driver VARCHAR,
grid VARCHAR
)
|
SELECT MIN(laps) FROM table_name_36 WHERE driver LIKE "%mike spence%" AND grid < 8
|
What is the sum of the week for the Denver Broncos?
|
CREATE TABLE table_name_60 (
week INTEGER,
opponent VARCHAR
)
|
SELECT SUM(week) FROM table_name_60 WHERE opponent LIKE "%denver broncos%"
|
What is the Years of the player with Jersey Number(s) of 44?
|
CREATE TABLE table_name_73 (
years VARCHAR,
jersey_number_s_ VARCHAR
)
|
SELECT years FROM table_name_73 WHERE jersey_number_s_ LIKE '%44%'
|
Which accolade has USA as the country, with a year less than 2009?
|
CREATE TABLE table_41384 (
"Publication" text,
"Country" text,
"Accolade" text,
"Year" real,
"Rank" text
)
|
SELECT "Accolade" FROM table_41384 WHERE "Country" LIKE '%usa%' AND "Year" < 2009
|
Name the date that has a friendly competition at rheinpark stadion, vaduz
|
CREATE TABLE table_name_71 (
date VARCHAR,
competition VARCHAR,
venue VARCHAR
)
|
SELECT date FROM table_name_71 WHERE competition LIKE "%friendly%" AND venue LIKE "%rheinpark stadion, vaduz%"
|
When 61 is the entries what is the winning boat?
|
CREATE TABLE table_24673710_1 (
winning_boat VARCHAR,
entries VARCHAR
)
|
SELECT winning_boat FROM table_24673710_1 WHERE entries LIKE '%61%'
|
What is the lowest Bronze with a 17 Rank and a Total less than 5
|
CREATE TABLE table_name_30 (
bronze INTEGER,
rank VARCHAR,
total VARCHAR
)
|
SELECT MIN(bronze) FROM table_name_30 WHERE rank LIKE "%17%" AND total < "5"
|
Who holds the lead role when Aanders Brorson is third?
|
CREATE TABLE table_39118 (
"Country" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
|
SELECT "Lead" FROM table_39118 WHERE "Third" LIKE '%aanders brorson%'
|
What shows for 2004 when 2005 is A, 2006 is A, tournament is US Open?
|
CREATE TABLE table_name_60 (
tournament VARCHAR
)
|
SELECT 2004 FROM table_name_60 WHERE 2005 = "a" AND 2006 = "a" AND tournament LIKE "%us open%"
|
Who was the coach for qadsia?
|
CREATE TABLE table_name_58 (
coach VARCHAR,
club VARCHAR
)
|
SELECT coach FROM table_name_58 WHERE club LIKE "%qadsia%"
|
Attendance of 48,510 had what highest week?
|
CREATE TABLE table_37241 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Attendance" real
)
|
SELECT MAX("Week") FROM table_37241 WHERE "Attendance" LIKE '%48,510%'
|
Find the distinct winery of wines having price between 50 and 100.
|
CREATE TABLE WINE (
Winery VARCHAR,
Price INTEGER
)
|
SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100
|
When was the Election of 1953?
|
CREATE TABLE table_5558 (
"Election" text,
"Date" text,
"Mayor" text,
"Ward seats" text,
"Votes" text
)
|
SELECT "Date" FROM table_5558 WHERE "Election" LIKE '%1953%'
|
What is the total number of agriculatural panels of the composition with more than 3 National Universities of Ireland?
|
CREATE TABLE table_name_59 (
agricultural_panel VARCHAR,
national_university_of_ireland INTEGER
)
|
SELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_ireland > 3
|
How many wines are produced at Robert Biale winery?
|
CREATE TABLE WINE (
Winery VARCHAR
)
|
SELECT COUNT(*) FROM WINE WHERE Winery LIKE "%robert biale%"
|
What is the title of every song, and how many weeks was each song at #1 for One Direction?
|
CREATE TABLE table_19542477_9 (
song_s__—_weeks VARCHAR,
artist_s_ VARCHAR
)
|
SELECT song_s__—_weeks FROM table_19542477_9 WHERE artist_s_ LIKE '%one direction%'
|
how many maximum winners
|
CREATE TABLE table_12303563_2 (
winners INTEGER
)
|
SELECT MAX(winners) FROM table_12303563_2
|
When was the attendance 3686?
|
CREATE TABLE table_name_23 (
date VARCHAR,
attendance VARCHAR
)
|
SELECT date FROM table_name_23 WHERE attendance = '3686'
|
how many delegates are not in their 20 's
|
CREATE TABLE table_204_20 (
id number,
"represent" text,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
|
SELECT COUNT("contestant") FROM table_204_20 WHERE "age" < 20
|
Name the average cuts for top-25 more than 13 and top-5 less than 11
|
CREATE TABLE table_name_5 (
cuts_made INTEGER,
top_25 VARCHAR,
top_5 VARCHAR
)
|
SELECT AVG(cuts_made) FROM table_name_5 WHERE top_25 > '13' AND top_5 < '11'
|
What is the Team when the match was in buenos aires , argentina?
|
CREATE TABLE table_name_60 (
team VARCHAR,
location VARCHAR
)
|
SELECT team FROM table_name_60 WHERE location LIKE "%buenos aires , argentina%"
|
What was Maxim Podoprigora's lowest rank?
|
CREATE TABLE table_79975 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
|
SELECT MIN("Rank") FROM table_79975 WHERE "Name" LIKE '%maxim podoprigora%'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.