question
stringlengths 19
162
| table_info
stringlengths 39
951
| sql_query
stringlengths 24
181
|
---|---|---|
Where was the game held where Hawthorn was the away team? | CREATE TABLE table_name_46 (
venue VARCHAR,
away_team VARCHAR
) | SELECT venue FROM table_name_46 WHERE away_team LIKE "%hawthorn%" |
What is the smallest Result with a Location of birmingham, and Rank larger than 5? | CREATE TABLE table_12162 (
"Rank" real,
"Result" real,
"Athlete" text,
"Date" text,
"Location" text
) | SELECT MIN("Result") FROM table_12162 WHERE "Location" LIKE '%birmingham%' AND "Rank" > 5 |
What is the 2006 value of the 2009 A value, 2011 A value, and A as the 2007 value? | CREATE TABLE table_57759 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | SELECT "2006" FROM table_57759 WHERE "2009" LIKE '%a%' AND "2011" LIKE '%a%' AND "2007" LIKE '%a%' |
Name the week for kingdome | CREATE TABLE table_14520977_1 (
week VARCHAR,
location VARCHAR
) | SELECT week FROM table_14520977_1 WHERE location LIKE '%kingdome%' |
What is the total pick with Bill Duffy? | CREATE TABLE table_49448 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
) | SELECT SUM("Pick") FROM table_49448 WHERE "Player" LIKE '%bill duffy%' |
What is the average time in a rank of 61? | CREATE TABLE table_63008 (
"Rank" real,
"Heat" real,
"Athlete" text,
"Country" text,
"Time" real
) | SELECT AVG("Time") FROM table_63008 WHERE "Rank" = 61 |
HOw many top 5 starts did the team with an average start of 17.7 have? | CREATE TABLE table_1929755_1 (
top_5 VARCHAR,
avg_start VARCHAR
) | SELECT COUNT(top_5) FROM table_1929755_1 WHERE avg_start LIKE "%17.7%" |
What launch has a Ship of fearless? | CREATE TABLE table_67047 (
"Ship" text,
"Pennant number" text,
"Laid down" text,
"Launched" text,
"Commissioned" text
) | SELECT "Launched" FROM table_67047 WHERE "Ship" LIKE '%fearless%' |
Which competition did he win on August 15, 2012? | CREATE TABLE table_name_54 (
competition VARCHAR,
result VARCHAR,
date VARCHAR
) | SELECT competition FROM table_name_54 WHERE result LIKE "%win%" AND date LIKE "%august 15, 2012%" |
What was the highest number of points in 1966? | CREATE TABLE table_name_99 (
points INTEGER,
year VARCHAR
) | SELECT MAX(points) FROM table_name_99 WHERE year LIKE '%1966%' |
What was date when the time was 2:26 and the location was Riverfront Stadium? | CREATE TABLE table_name_62 (
date VARCHAR,
time VARCHAR,
location VARCHAR
) | SELECT date FROM table_name_62 WHERE time LIKE "%2:26%" AND location LIKE "%riverfront stadium%" |
What is the record for the game with a score of 7 5? | CREATE TABLE table_71563 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) | SELECT "Record" FROM table_71563 WHERE "Score" LIKE '%7–5%' |
Who was the incumbent when the candidate was william drayton (j)? | CREATE TABLE table_28880 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
) | SELECT "Incumbent" FROM table_28880 WHERE "Candidates" LIKE '%william drayton (j)%' |
What date has 0-6700-30838-2-9 for a catalog? | CREATE TABLE table_name_88 (
date VARCHAR,
catalog VARCHAR
) | SELECT date FROM table_name_88 WHERE catalog LIKE "%0-6700-30838-2-9%" |
What year has 59th as a finish position? | CREATE TABLE table_name_58 (
year VARCHAR,
finish_position VARCHAR
) | SELECT year FROM table_name_58 WHERE finish_position LIKE "%59th%" |
What is the average year for Wallenstein with 1a1 design? | CREATE TABLE table_name_49 (
acquired INTEGER,
design VARCHAR,
name VARCHAR
) | SELECT AVG(acquired) FROM table_name_49 WHERE design LIKE "%1a1%" AND name LIKE "%wallenstein%" |
what is the most number where the person is luke donald | CREATE TABLE table_28498999_6 (
reset_points INTEGER,
player VARCHAR
) | SELECT MAX(reset_points) FROM table_28498999_6 WHERE player LIKE "%luke donald%" |
List the date of perpetrators in descending order of the number of people killed. | CREATE TABLE perpetrator (
Date VARCHAR,
Killed VARCHAR
) | SELECT Date FROM perpetrator ORDER BY Killed DESC |
Who was the athlete from Lithuania? | CREATE TABLE table_name_87 (
athlete VARCHAR,
country VARCHAR
) | SELECT athlete FROM table_name_87 WHERE country LIKE "%lithuania%" |
what is the years when playoffs is 115? | CREATE TABLE table_name_51 (
years VARCHAR,
playoffs VARCHAR
) | SELECT years FROM table_name_51 WHERE playoffs LIKE '%115%' |
What is the monounsaturated fat with 15g of saturated fat? | CREATE TABLE table_name_22 (
monounsaturated_fat VARCHAR,
saturated_fat VARCHAR
) | SELECT monounsaturated_fat FROM table_name_22 WHERE saturated_fat LIKE "%15g%" |
What was the first year that South Korea won gold and Malaysia won bronze? | CREATE TABLE table_name_74 (
year INTEGER,
gold VARCHAR,
bronze VARCHAR
) | SELECT MIN(year) FROM table_name_74 WHERE gold LIKE "%south korea%" AND bronze LIKE "%malaysia%" |
WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER? | CREATE TABLE table_50511 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | SELECT MAX("Grid") FROM table_50511 WHERE "Time/Retired" LIKE '%accident%' AND "Manufacturer" LIKE '%honda%' |
What is the goals for Round 15? | CREATE TABLE table_6804 (
"Round" text,
"Year" real,
"Team" text,
"Opponent" text,
"Goals" real,
"Behinds" real
) | SELECT "Goals" FROM table_6804 WHERE "Round" LIKE '%round 15%' |
Which title was developed by Battlecry Studios? | CREATE TABLE table_68682 (
"Title" text,
"Year" text,
"Developer" text,
"Publisher" text,
"Platform" text
) | SELECT "Title" FROM table_68682 WHERE "Developer" LIKE '%battlecry studios%' |
What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1? | CREATE TABLE table_44140 (
"Season" real,
"Wins" real,
"Poles" real,
"Podiums" real,
"Position" text
) | SELECT SUM("Poles") FROM table_44140 WHERE "Season" < 2004 AND "Podiums" < 1 |
Who were the assistant and main principals of Kat Hughes? | CREATE TABLE table_name_97 (
Assistant VARCHAR,
principal__2013_2014_ VARCHAR
) | SELECT Assistant AS principal__2013_2014_ FROM table_name_97 WHERE principal__2013_2014_ LIKE "%kat hughes%" |
Who is the home team at brunswick street oval? | CREATE TABLE table_name_17 (
home_team VARCHAR,
venue VARCHAR
) | SELECT home_team FROM table_name_17 WHERE venue LIKE '%brunswick street oval%' |
What team was the home team when Tottenham Hotspur is the away team? | CREATE TABLE table_name_86 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_86 WHERE away_team LIKE "%tottenham hotspur%" |
How many counties have an area of 1,205.4 km2? | CREATE TABLE table_1404414_2 (
code VARCHAR,
area__km_2__ VARCHAR
) | SELECT COUNT(code) FROM table_1404414_2 WHERE area__km_2__ LIKE "%1,205.4%" |
Who had the most assists agains New Orleans? | CREATE TABLE table_27755603_7 (
high_assists VARCHAR,
team VARCHAR
) | SELECT high_assists FROM table_27755603_7 WHERE team LIKE "%new orleans%" |
What is the highest draw number when 23 points are scored? | CREATE TABLE table_63699 (
"Draw" real,
"Language" text,
"Artist" text,
"Song" text,
"English translation" text,
"Place" real,
"Points" real
) | SELECT MAX("Draw") FROM table_63699 WHERE "Points" LIKE '%23%' |
Name the number of time for uab | CREATE TABLE table_26842217_18 (
time VARCHAR,
visiting_team VARCHAR
) | SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team LIKE "%uab%" |
What's the total number of bronze medals for Sweden (SWE) having less than 1 gold and silver? | CREATE TABLE table_79719 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT COUNT("Bronze") FROM table_79719 WHERE "Gold" < 1 AND "Nation" LIKE '%sweden (swe)%' AND "Silver" < 1 |
What is every record for the team Boston? | CREATE TABLE table_23248869_10 (
record VARCHAR,
team VARCHAR
) | SELECT record FROM table_23248869_10 WHERE team LIKE "%boston%" |
When is the birth date of player with right arm fast style? | CREATE TABLE table_name_74 (
date_of_birth VARCHAR,
bowling_style VARCHAR
) | SELECT date_of_birth FROM table_name_74 WHERE bowling_style LIKE "%right arm fast%" |
What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal? | CREATE TABLE table_72055 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | SELECT MIN("Total") FROM table_72055 WHERE "Gold" = 0 AND "Bronze" > 2 AND "Silver" > 1 |
What is the Week number on September 6, 1946? | CREATE TABLE table_name_48 (
week INTEGER,
date VARCHAR
) | SELECT SUM(week) FROM table_name_48 WHERE date LIKE "%september 6, 1946%" |
Which record has a date of January 29? | CREATE TABLE table_6480 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) | SELECT "Record" FROM table_6480 WHERE "Date" LIKE '%january 29%' |
what is the date when the away team is crystal palace? | CREATE TABLE table_45069 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Date" FROM table_45069 WHERE "Away team" LIKE '%crystal palace%' |
How many different classes of verbs are there whose part 3 is lucon? | CREATE TABLE table_1745843_6 (
class VARCHAR,
part_3 VARCHAR
) | SELECT COUNT(class) FROM table_1745843_6 WHERE part_3 LIKE "%lucon%" |
What is the Entrant with a Engine of talbot l6, and Eug ne Chaboud was the driver? | CREATE TABLE table_name_80 (
entrant VARCHAR,
engine VARCHAR,
driver VARCHAR
) | SELECT entrant FROM table_name_80 WHERE engine LIKE "%talbot l6%" AND driver LIKE "%eugène chaboud%" |
Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4% | CREATE TABLE table_73138 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "Party" FROM table_73138 WHERE "Candidates" LIKE '%yvette clarke (d) 90.6% hugh carr (r) 9.4%' |
Name the result for dolly parton | CREATE TABLE table_19508635_1 (
result VARCHAR,
original_artist VARCHAR
) | SELECT result FROM table_19508635_1 WHERE original_artist LIKE "%dolly parton%" |
Which country has a to par less than 19 and a score of 75-79-77-73=304? | CREATE TABLE table_name_92 (
country VARCHAR,
to_par VARCHAR,
score VARCHAR
) | SELECT country FROM table_name_92 WHERE to_par < '19' AND score = '304' |
Who is the head linesman of the game on 1 February 2009? | CREATE TABLE table_name_46 (
head_linesman VARCHAR,
date VARCHAR
) | SELECT head_linesman FROM table_name_46 WHERE date LIKE "%1 february 2009%" |
How many teams placed 4th in the regular season? | CREATE TABLE table_17369 (
"Year" real,
"Division" text,
"League" text,
"Reg. Season" text,
"Playoffs" text,
"Open Cup" text
) | SELECT COUNT("Division") FROM table_17369 WHERE "Reg. Season" LIKE '%4th%' |
What was the score of the game played on a clay surface on June 6, 2005? | CREATE TABLE table_32719 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
) | SELECT "Score" FROM table_32719 WHERE "Surface" LIKE '%clay%' AND "Date" LIKE '%june 6, 2005%' |
What player(s) appeared in 1969? | CREATE TABLE table_25820584_7 (
player VARCHAR,
year_s_ VARCHAR
) | SELECT player FROM table_25820584_7 WHERE year_s_ LIKE "%1969%" |
What venue was the tour match against eastern province played at with more than 0 against? | CREATE TABLE table_name_31 (
venue VARCHAR,
opposing_team VARCHAR,
status VARCHAR,
against VARCHAR
) | SELECT venue FROM table_name_31 WHERE status LIKE "%tour match%" AND against > 0 AND opposing_team LIKE "%eastern province%" |
Who was the opponent when the fight had a time of 0:10? | CREATE TABLE table_name_97 (
opponent VARCHAR,
time VARCHAR
) | SELECT opponent FROM table_name_97 WHERE time LIKE "%0:10%" |
What county has a CERCLIS ID of scd037405362? | CREATE TABLE table_name_64 (
county VARCHAR,
cerclis_id VARCHAR
) | SELECT county FROM table_name_64 WHERE cerclis_id LIKE "%scd037405362%" |
Name the score for fiji | CREATE TABLE table_name_99 (
score VARCHAR,
country VARCHAR
) | SELECT score FROM table_name_99 WHERE country LIKE "%fiji%" |
Which season was one of the players rated +98? | CREATE TABLE table_name_6 (
season VARCHAR,
rating VARCHAR
) | SELECT season FROM table_name_6 WHERE rating LIKE '%+98%' |
What is the duration when Lok Sabha shows fifth? | CREATE TABLE table_65290 (
"Lok Sabha" text,
"Duration" text,
"Name of M.P." text,
"Party Affiliation" text,
"Election Year" real
) | SELECT "Duration" FROM table_65290 WHERE "Lok Sabha" LIKE '%fifth%' |
What is the title when original air date is may15,2008? | CREATE TABLE table_10701133_1 (
title VARCHAR,
original_air_date VARCHAR
) | SELECT title FROM table_10701133_1 WHERE original_air_date LIKE "%may15,2008%" |
what was the number of silver metals given for weightlifting ? | CREATE TABLE table_204_103 (
id number,
"medal" text,
"name" text,
"sport" text,
"event" text
) | SELECT COUNT("medal") FROM table_204_103 WHERE "sport" LIKE '%weightlifting%' |
Which Points against has a Lost of lost? | CREATE TABLE table_name_97 (
points_against VARCHAR
) | SELECT points_against FROM table_name_97 WHERE "lost" LIKE '%lost%' |
WHat kind of L2 cache has a Model number of turion x2 ultra zm-85? | CREATE TABLE table_7402 (
"Model number" text,
"Frequency" text,
"L2 cache" text,
"Multi 1" text,
"Voltage" text,
"Socket" text,
"Release date" text,
"Order part number" text
) | SELECT "L2 cache" FROM table_7402 WHERE "Model number" LIKE '%turion x2 ultra zm-85%' |
What's the number of poles in the season where the team had a Kalex motorcycle? | CREATE TABLE table_73169 (
"Season" real,
"Class" text,
"Team" text,
"Motorcycle" text,
"Type" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Poles" real,
"Fastest Laps" real,
"Pts" real,
"Position" text
) | SELECT "Poles" FROM table_73169 WHERE "Motorcycle" LIKE '%kalex%' |
How much did Dale Jarrett win? | CREATE TABLE table_2442 (
"Position" real,
"Driver" text,
"Points" real,
"Winnings" text,
"Series" text
) | SELECT "Winnings" FROM table_2442 WHERE "Driver" LIKE '%dale jarrett%' |
what is the country where the player is phil mickelson? | CREATE TABLE table_13282157_1 (
country VARCHAR,
player VARCHAR
) | SELECT country FROM table_13282157_1 WHERE player LIKE "%phil mickelson%" |
Name the points for year more than 1987 | CREATE TABLE table_name_56 (
points VARCHAR,
year INTEGER
) | SELECT points FROM table_name_56 WHERE year > 1987 |
What is the title of episode 155 in the series? | CREATE TABLE table_27988540_1 (
title VARCHAR,
no_in_series VARCHAR
) | SELECT title FROM table_27988540_1 WHERE no_in_series LIKE '%155%' |
Jury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points? | CREATE TABLE table_5667 (
"Draw" real,
"Artist" text,
"Song" text,
"Jury" real,
"Televoting" real,
"Points" real,
"Place" real
) | SELECT SUM("Points") FROM table_5667 WHERE "Jury" > 6 AND "Artist" LIKE '%zhenya rasskazova%' AND "Draw" > 9 |
What is the away team at the game with a Tie no of 2? | CREATE TABLE table_name_18 (
away_team VARCHAR,
tie_no VARCHAR
) | SELECT away_team FROM table_name_18 WHERE tie_no LIKE "%2%" |
Where Date is september 13, 1998 what is result? | CREATE TABLE table_55955 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) | SELECT "Result" FROM table_55955 WHERE "Date" LIKE '%september 13, 1998%' |
What is the lowest number of goals scored in regular league games by Ehiogu where he scored 0 goals in the FA Cup and at least 1 goal in the League Cup? | CREATE TABLE table_53430 (
"Name" text,
"League" real,
"FA Cup" real,
"League Cup" real,
"Total" real
) | SELECT MIN("League") FROM table_53430 WHERE "FA Cup" = 0 AND "Total" = 1 AND "Name" LIKE '%ehiogu%' AND "League Cup" > 0 |
Which Away team had a score of 18.8 (116)? | CREATE TABLE table_33529 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_33529 WHERE "Away team score" LIKE '%18.8 (116)%' |
What was the loss of the game when the record was 3 2? | CREATE TABLE table_71087 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text,
"Stadium" text
) | SELECT "Loss" FROM table_71087 WHERE "Record" LIKE '%3–2%' |
What year did Japan form a label? | CREATE TABLE table_name_79 (
year VARCHAR,
region VARCHAR
) | SELECT year FROM table_name_79 WHERE region LIKE "%japan%" |
Which Score has a Series of flyers lead 3 2? | CREATE TABLE table_name_17 (
score VARCHAR,
series VARCHAR
) | SELECT score FROM table_name_17 WHERE series LIKE "%flyers lead 3–2%" |
What is Since, when Transfer Fee is ' 12m'? | CREATE TABLE table_name_48 (
since VARCHAR,
transfer_fee VARCHAR
) | SELECT since FROM table_name_48 WHERE transfer_fee LIKE '%£ 12m%' |
What is the Result of the game on November 24, 1946? | CREATE TABLE table_63150 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text
) | SELECT "Result" FROM table_63150 WHERE "Date" LIKE '%november 24, 1946%' |
Name the further cities for slovakia and west direction | CREATE TABLE table_23207 (
"Further Cities" text,
"County, Oblast or State" text,
"Country" text,
"Distance" text,
"Direction" text
) | SELECT "Further Cities" FROM table_23207 WHERE "Country" LIKE '%slovakia%' AND "Direction" LIKE '%west%' |
How many clubs have tries for count of 50? | CREATE TABLE table_17859 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT COUNT("Played") FROM table_17859 WHERE "Tries for" LIKE '%50%' |
Which Away team score has a Home team of melbourne? | CREATE TABLE table_name_17 (
away_team VARCHAR,
home_team VARCHAR
) | SELECT away_team AS score FROM table_name_17 WHERE home_team LIKE "%melbourne%" |
how many result with date being october 25, 1964 | CREATE TABLE table_19772 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
) | SELECT COUNT("Result") FROM table_19772 WHERE "Date" LIKE '%october 25, 1964%' |
What artist had a peak position under 2, and more than 200,000 in sales? | CREATE TABLE table_64102 (
"Rank" real,
"Artist" text,
"Album" text,
"Peak position" real,
"Sales" real,
"Certification" text
) | SELECT "Artist" FROM table_64102 WHERE "Peak position" < 2 AND "Sales" > 200000 |
how many total medals were there all together ? | CREATE TABLE table_204_302 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT SUM("total") FROM table_204_302 |
What is the total time that it took for the driver to finish 14 laps? | CREATE TABLE table_47538 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
) | SELECT "Time" FROM table_47538 WHERE "Laps" = 14 |
What date was there a game larger than 17? | CREATE TABLE table_name_20 (
date VARCHAR,
game INTEGER
) | SELECT date FROM table_name_20 WHERE game > 17 |
Which membership card has more than 5 members? | CREATE TABLE member (
Membership_card VARCHAR
) | SELECT Membership_card FROM member GROUP BY Membership_card HAVING COUNT(*) > 5 |
What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)? | CREATE TABLE table_name_81 (
week_5_sept_28 VARCHAR,
week_10_nov_2 VARCHAR
) | SELECT week_5_sept_28 FROM table_name_81 WHERE week_10_nov_2 LIKE "%maryland (6-2)%" |
What is Michael Del Zotto's nationality? | CREATE TABLE table_name_54 (
nationality VARCHAR,
player VARCHAR
) | SELECT nationality FROM table_name_54 WHERE player LIKE "%michael del zotto%" |
Where is runner-up Betsy Rawls from? | CREATE TABLE table_name_76 (
location VARCHAR,
runner_s__up VARCHAR
) | SELECT location FROM table_name_76 WHERE runner_s__up LIKE "%betsy rawls%" |
what are the total number of games played in october ? | CREATE TABLE table_203_382 (
id number,
"date" text,
"opponent" text,
"site" text,
"result" text
) | SELECT COUNT(*) FROM table_203_382 WHERE "date" LIKE '%10%' |
What is the highest number of rounds for a 3:16 fight? | CREATE TABLE table_77905 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT MAX("Round") FROM table_77905 WHERE "Time" LIKE '%3:16%' |
Who wrote episode 26 in the series? | CREATE TABLE table_26139405_1 (
writer VARCHAR,
episode__number VARCHAR
) | SELECT writer FROM table_26139405_1 WHERE episode__number LIKE '%26%' |
What is the maximum enrollment of the Sooners? | CREATE TABLE table_20190834_1 (
enrollment INTEGER,
team_name VARCHAR
) | SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name LIKE "%sooners%" |
What's the home ground of the Lions? | CREATE TABLE table_name_15 (
home_ground VARCHAR,
nickname VARCHAR
) | SELECT home_ground FROM table_name_15 WHERE nickname LIKE "%lions%" |
for a Goals Against greater than 42 what is the number of losses? | CREATE TABLE table_name_9 (
losses INTEGER,
goals_against INTEGER
) | SELECT AVG(losses) FROM table_name_9 WHERE goals_against > 42 |
Name the country for the 9th and sign of g e | CREATE TABLE table_name_51 (
country VARCHAR,
date VARCHAR,
sign VARCHAR
) | SELECT country FROM table_name_51 WHERE date LIKE "%9th%" AND sign LIKE "%g e%" |
What episode has a run time of 25:12? | CREATE TABLE table_name_51 (
episode VARCHAR,
run_time VARCHAR
) | SELECT episode FROM table_name_51 WHERE run_time LIKE "%25:12%" |
For the game against the Washington Bullets, what was the final score? | CREATE TABLE table_name_97 (
score VARCHAR,
opponent VARCHAR
) | SELECT score FROM table_name_97 WHERE opponent LIKE "%washington bullets%" |
What was the highest match when the away opponent was Dalian Shide Siwu? | CREATE TABLE table_name_53 (
match INTEGER,
opponent_team VARCHAR,
home_away VARCHAR
) | SELECT MAX(match) FROM table_name_53 WHERE opponent_team LIKE "%dalian shide siwu%" AND home_away LIKE "%away%" |
Tell me the average year with a record of 33-33 | CREATE TABLE table_55802 (
"Year" real,
"Record" text,
"Finish" text,
"Manager" text,
"Playoffs" text
) | SELECT AVG("Year") FROM table_55802 WHERE "Record" LIKE '%33-33%' |
Which is the lowest round to have a pick of 12 and position of linebacker? | CREATE TABLE table_name_86 (
round INTEGER,
pick__number VARCHAR,
position VARCHAR
) | SELECT MIN(round) FROM table_name_86 WHERE pick__number = '12' AND position LIKE '%linebacker%' |
When did tav rez lose? | CREATE TABLE table_name_64 (
date VARCHAR,
loss VARCHAR
) | SELECT date FROM table_name_64 WHERE loss LIKE "%tavárez%" |
What 'party' was re-elected in district South Carolina 7? | CREATE TABLE table_2668243_22 (
party VARCHAR,
result VARCHAR,
district VARCHAR
) | SELECT party FROM table_2668243_22 WHERE result LIKE "%re-elected%" AND district LIKE "%south carolina 7%" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.