question
stringlengths 19
162
| table_info
stringlengths 39
951
| sql_query
stringlengths 24
181
|
---|---|---|
What Loss had an Attendance of 17,675?
|
CREATE TABLE table_name_27 (
loss VARCHAR,
attendance VARCHAR
)
|
SELECT loss FROM table_name_27 WHERE attendance LIKE "%17,675%"
|
Who wrote the episode that 2.93 million viewers?
|
CREATE TABLE table_28019988_2 (
written_by VARCHAR,
us_viewers__million_ VARCHAR
)
|
SELECT written_by FROM table_28019988_2 WHERE us_viewers__million_ LIKE "%2.93%"
|
What is the fewest number of wins when he has 3 poles in 2010?
|
CREATE TABLE table_name_51 (
wins INTEGER,
poles VARCHAR,
season VARCHAR
)
|
SELECT MIN(wins) FROM table_name_51 WHERE poles LIKE '%3%' AND season LIKE '%2010%'
|
How many s hindu are where buddhists are 955?
|
CREATE TABLE table_14598_5 (
s_hindu VARCHAR,
buddhist VARCHAR
)
|
SELECT s_hindu FROM table_14598_5 WHERE buddhist LIKE "%955%"
|
Who was awarded after 1947 in the category of, the best actor in a leading role?
|
CREATE TABLE table_name_90 (
award VARCHAR,
year VARCHAR,
category VARCHAR
)
|
SELECT award FROM table_name_90 WHERE year > '1947' AND category LIKE '%best actor in a leading role%'
|
In 2010-11, what was the League name?
|
CREATE TABLE table_name_18 (
league VARCHAR,
year VARCHAR
)
|
SELECT league FROM table_name_18 WHERE year LIKE "%2010-11%"
|
What is the highest Rank for Jason Kreis, with less than 305 matches?
|
CREATE TABLE table_43330 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
)
|
SELECT MAX("Rank") FROM table_43330 WHERE "Name" LIKE '%jason kreis%' AND "Matches" < 305
|
what is the home team when the away team is frickley colliery?
|
CREATE TABLE table_name_17 (
home_team VARCHAR,
away_team VARCHAR
)
|
SELECT home_team FROM table_name_17 WHERE away_team LIKE "%frickley colliery%"
|
what's the leading scorer on march 2
|
CREATE TABLE table_11964047_9 (
leading_scorer VARCHAR,
date VARCHAR
)
|
SELECT leading_scorer FROM table_11964047_9 WHERE date LIKE "%march 2%"
|
What player was picked for Buffalo Sabres?
|
CREATE TABLE table_2886617_8 (
player VARCHAR,
nhl_team VARCHAR
)
|
SELECT player FROM table_2886617_8 WHERE nhl_team LIKE "%buffalo sabres%"
|
What is the channel with a 2011 rating of 8.5?
|
CREATE TABLE table_name_64 (
channel VARCHAR
)
|
SELECT channel FROM table_name_64 WHERE "2011" LIKE '%8.5%'
|
What is the Position of the person with a First Election of 1988 as Vice Mayor 2009?
|
CREATE TABLE table_name_64 (
position VARCHAR,
first_election VARCHAR
)
|
SELECT position FROM table_name_64 WHERE first_election LIKE "%1988 as vice mayor 2009%"
|
What pick number was the player that was picked by Edmonton?
|
CREATE TABLE table_30260 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
|
SELECT "Pick #" FROM table_30260 WHERE "CFL Team" LIKE '%edmonton%'
|
What year has John Davies as the runner-up, with warren humphreys as the winner?
|
CREATE TABLE table_name_3 (
year VARCHAR,
runner_up VARCHAR,
winner VARCHAR
)
|
SELECT year FROM table_name_3 WHERE runner_up LIKE "%john davies%" AND winner LIKE "%warren humphreys%"
|
What is the leg for c. atkinson
|
CREATE TABLE table_13050822_2 (
leg VARCHAR,
rally_leader VARCHAR
)
|
SELECT leg FROM table_13050822_2 WHERE rally_leader LIKE '%c. atkinson%'
|
Which Bronze has a Nation of canada, and a Rank smaller than 6?
|
CREATE TABLE table_36675 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
|
SELECT AVG("Bronze") FROM table_36675 WHERE "Nation" LIKE '%canada%' AND "Rank" < 6
|
What is the first, last name, gpa of the youngest one among students whose GPA is above 3?
|
CREATE TABLE student (
stu_fname VARCHAR,
stu_lname VARCHAR,
stu_gpa INTEGER,
stu_dob VARCHAR
)
|
SELECT stu_fname, stu_lname, stu_gpa FROM student WHERE stu_gpa > 3 ORDER BY stu_dob DESC LIMIT 1
|
What is the tournament surface at Aptos?
|
CREATE TABLE table_name_88 (
surface VARCHAR,
tournament VARCHAR
)
|
SELECT surface FROM table_name_88 WHERE tournament LIKE '%aptos%'
|
Tell me the role for 2005
|
CREATE TABLE table_name_38 (
role VARCHAR,
year VARCHAR
)
|
SELECT role FROM table_name_38 WHERE year LIKE '%2005%'
|
What is the position of the player with more than 11 assists and 219 rebounds?
|
CREATE TABLE table_name_85 (
pos VARCHAR,
asts VARCHAR,
rebs VARCHAR
)
|
SELECT pos FROM table_name_85 WHERE asts > '11' AND rebs LIKE '%219%'
|
What is the Magnitude on the Date May 28, 2004?
|
CREATE TABLE table_32289 (
"Date" text,
"Time" text,
"Epicenter" text,
"Magnitude" text,
"Fatalities" text,
"Name" text
)
|
SELECT "Magnitude" FROM table_32289 WHERE "Date" LIKE '%may 28, 2004%'
|
how many teams are from morwell ?
|
CREATE TABLE table_203_664 (
id number,
"club" text,
"town" text,
"founded" number,
"nickname" text,
"colours" text,
"home ground" text,
"titles" number,
"website" text
)
|
SELECT COUNT("club") FROM table_203_664 WHERE "town" LIKE '%morwell%'
|
who completed run 1 in the least amount of time ?
|
CREATE TABLE table_203_358 (
id number,
"pos." number,
"athlete" text,
"run 1" number,
"run 2" number,
"total" text
)
|
SELECT "athlete" FROM table_203_358 ORDER BY "run 1" LIMIT 1
|
How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1?
|
CREATE TABLE table_60822 (
"Player" text,
"Position" text,
"Ekstraklasa" real,
"Polish Cup" real,
"Puchat Ligi" real,
"UEFA Cup" real,
"Total" real
)
|
SELECT SUM("Puchat Ligi") FROM table_60822 WHERE "Total" < 5 AND "Ekstraklasa" > 1
|
Which address do not have any member with the black membership card?
|
CREATE TABLE member (
address VARCHAR,
Membership_card VARCHAR
)
|
SELECT address FROM member EXCEPT SELECT address FROM member WHERE Membership_card LIKE '%black%'
|
What was the average for the country with the swimsuit score of 9.57?
|
CREATE TABLE table_11884814_3 (
average VARCHAR,
swimsuit VARCHAR
)
|
SELECT average FROM table_11884814_3 WHERE swimsuit LIKE "%9.57%"
|
In the election earlier than 2012 how many Inhabitants had a Party of five star movement?
|
CREATE TABLE table_74740 (
"Municipality" text,
"Inhabitants" real,
"Mayor" text,
"Party" text,
"Election" real
)
|
SELECT SUM("Inhabitants") FROM table_74740 WHERE "Party" LIKE '%five star movement%' AND "Election" < 2012
|
What is the name of a league in the sport of baseball?
|
CREATE TABLE table_name_96 (
league VARCHAR,
sport VARCHAR
)
|
SELECT league FROM table_name_96 WHERE sport LIKE "%baseball%"
|
What event was in detroit?
|
CREATE TABLE table_1139087_2 (
grand_prix VARCHAR,
location VARCHAR
)
|
SELECT grand_prix FROM table_1139087_2 WHERE location LIKE "%detroit%"
|
Who was the contstructor of the car having a grid of 20?
|
CREATE TABLE table_38799 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
|
SELECT "Constructor" FROM table_38799 WHERE "Grid" LIKE '%20%'
|
What date has parlophone as the label, and lp as a format?
|
CREATE TABLE table_36462 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
|
SELECT "Date" FROM table_36462 WHERE "Label" LIKE '%parlophone%' AND "Format" LIKE '%lp%'
|
If the series is ADAC GT Masters and poles is 1, what is the name of the team?
|
CREATE TABLE table_25628 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"F/Laps" real,
"Podiums" real,
"Points" text,
"Position" text
)
|
SELECT "Team" FROM table_25628 WHERE "Poles" = 1 AND "Series" LIKE '%adac gt masters%'
|
When was the event in Dublin?
|
CREATE TABLE table_79946 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
|
SELECT "Date" FROM table_79946 WHERE "City" LIKE '%dublin%'
|
Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?
|
CREATE TABLE table_name_19 (
car__number INTEGER,
pos VARCHAR,
make VARCHAR,
driver VARCHAR
)
|
SELECT MAX(car__number) FROM table_name_19 WHERE make LIKE "%toyota%" AND driver LIKE "%mike skinner%" AND pos > 3
|
Name the left day 9 finish for eliminated
|
CREATE TABLE table_25920798_2 (
eliminated VARCHAR,
finish VARCHAR
)
|
SELECT eliminated FROM table_25920798_2 WHERE finish LIKE "%left day 9%"
|
What is Opponent, when Tournament is 'Phuket , Thailand'?
|
CREATE TABLE table_name_8 (
opponent VARCHAR,
tournament VARCHAR
)
|
SELECT opponent FROM table_name_8 WHERE tournament LIKE "%phuket , thailand%"
|
What is the overall total for players drafted from notre dame?
|
CREATE TABLE table_58610 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
|
SELECT SUM("Overall") FROM table_58610 WHERE "College" LIKE '%notre dame%'
|
Name the crew chief for rhonda thorson
|
CREATE TABLE table_24535095_2 (
crew_chief VARCHAR,
listed_owner_s_ VARCHAR
)
|
SELECT crew_chief FROM table_24535095_2 WHERE listed_owner_s_ LIKE '%rhonda thorson%'
|
what is the total role in the year 2008 ?
|
CREATE TABLE table_203_133 (
id number,
"year" number,
"japanese title" text,
"english title" text,
"role" text,
"network" text
)
|
SELECT COUNT("role") FROM table_203_133 WHERE "year" = 2008
|
Name the 2006 when the 2010 is 27
|
CREATE TABLE table_name_26 (
Id VARCHAR
)
|
SELECT 2006 FROM table_name_26 WHERE 2010 LIKE "%27%"
|
What is the highest Year, when Notes is 'Celebrity Guest Alongside YG Family'?
|
CREATE TABLE table_46881 (
"Year" real,
"Title" text,
"Role" text,
"Network" text,
"Notes" text
)
|
SELECT MAX("Year") FROM table_46881 WHERE "Notes" LIKE '%celebrity guest alongside yg family%'
|
WHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualification?
|
CREATE TABLE table_47854 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
|
SELECT "Score" FROM table_47854 WHERE "Competition" LIKE '%1978 world cup qualification%'
|
What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?
|
CREATE TABLE table_27451 (
"June 10-11" text,
"March 27-29" text,
"January 15-16" text,
"November 3" text,
"August 21-22" text
)
|
SELECT "January 15-16" FROM table_27451 WHERE "June 10-11" LIKE '%june 10, 1964%'
|
Name the competition for stephanie cox on 2011-07-02
|
CREATE TABLE table_name_64 (
competition VARCHAR,
assist_pass VARCHAR,
date VARCHAR
)
|
SELECT competition FROM table_name_64 WHERE assist_pass LIKE "%stephanie cox%" AND date LIKE "%2011-07-02%"
|
What is Upstream, when Price is '14 EUR'?
|
CREATE TABLE table_name_25 (
upstream VARCHAR,
price VARCHAR
)
|
SELECT upstream FROM table_name_25 WHERE price LIKE "%14 eur%"
|
Which Series has a Date of may 2?
|
CREATE TABLE table_39181 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Series" text
)
|
SELECT "Series" FROM table_39181 WHERE "Date" LIKE '%may 2%'
|
Which player was active in Jazz in 1975-79?
|
CREATE TABLE table_57077 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
|
SELECT "Player" FROM table_57077 WHERE "Years for Jazz" LIKE '%1975-79%'
|
Where is lootos p lva from?
|
CREATE TABLE table_27409644_1 (
location VARCHAR,
club VARCHAR
)
|
SELECT location FROM table_27409644_1 WHERE club LIKE '%lootos põlva%'
|
What's the year of the first election of the district whose incumbent is Edwin E. Willis?
|
CREATE TABLE table_1341843_19 (
first_elected VARCHAR,
incumbent VARCHAR
)
|
SELECT first_elected FROM table_1341843_19 WHERE incumbent LIKE "%edwin e. willis%"
|
How many ends were lost by the country whose points for (PF) was 87?
|
CREATE TABLE table_1644857_2 (
Ends INTEGER,
pf VARCHAR
)
|
SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf LIKE '%87%'
|
When was naomi cavaday the opponent?
|
CREATE TABLE table_name_19 (
date VARCHAR,
opponent VARCHAR
)
|
SELECT date FROM table_name_19 WHERE opponent LIKE "%naomi cavaday%"
|
How many insurgents have 2003 as a period?
|
CREATE TABLE table_21636599_1 (
insurgents VARCHAR,
period VARCHAR
)
|
SELECT COUNT(insurgents) FROM table_21636599_1 WHERE period LIKE "%2003%"
|
What is the nickname that means god holds my life?
|
CREATE TABLE table_11908801_1 (
nickname VARCHAR,
meaning VARCHAR
)
|
SELECT nickname FROM table_11908801_1 WHERE meaning LIKE '%god holds my life%'
|
Which biggest interview score had an evening gown stat of 9.286?
|
CREATE TABLE table_11149 (
"State" text,
"Interview" real,
"Swimsuit" real,
"Evening Gown" real,
"Average" real
)
|
SELECT MAX("Interview") FROM table_11149 WHERE "Evening Gown" = 9.286
|
List the name and number of followers for each user, and sort the results by the number of followers in descending order.
|
CREATE TABLE user_profiles (
name VARCHAR,
followers VARCHAR
)
|
SELECT name, followers FROM user_profiles ORDER BY followers DESC
|
Name the venue for 27th position
|
CREATE TABLE table_name_1 (
venue VARCHAR,
position VARCHAR
)
|
SELECT venue FROM table_name_1 WHERE position LIKE "%27th%"
|
How many points did the player with 2 tries and more than 0 field goals have?
|
CREATE TABLE table_80163 (
"Player" text,
"Tries" real,
"Goals" real,
"Field Goals" real,
"Points" real
)
|
SELECT SUM("Points") FROM table_80163 WHERE "Tries" = 2 AND "Field Goals" > 0
|
What was the score when Montreal was home?
|
CREATE TABLE table_name_94 (
score VARCHAR,
home VARCHAR
)
|
SELECT score FROM table_name_94 WHERE home LIKE "%montreal%"
|
What is Year, when Time is '1:47.55'?
|
CREATE TABLE table_59146 (
"Event" text,
"Time" text,
"Swimmer" text,
"School" text,
"Year" real
)
|
SELECT "Year" FROM table_59146 WHERE "Time" LIKE '%1:47.55%'
|
Who was the opponent at the game that had a loss of Harden (9-6)?
|
CREATE TABLE table_15784 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
|
SELECT "Opponent" FROM table_15784 WHERE "Loss" LIKE '%harden (9-6)%'
|
Which American Labor candidate ran against Republican Thomas E. Dewey?
|
CREATE TABLE table_name_91 (
american_labor_ticket VARCHAR,
republican_ticket VARCHAR
)
|
SELECT american_labor_ticket FROM table_name_91 WHERE republican_ticket LIKE "%thomas e. dewey%"
|
What is the reference for the romani title da.i.su.ki?
|
CREATE TABLE table_name_4 (
reference VARCHAR,
romaji_title VARCHAR
)
|
SELECT reference FROM table_name_4 WHERE romaji_title LIKE "%da.i.su.ki%"
|
What is Rhiannon Leier's lane?
|
CREATE TABLE table_name_22 (
lane VARCHAR,
name VARCHAR
)
|
SELECT lane FROM table_name_22 WHERE name LIKE "%rhiannon leier%"
|
Name the gold for silver of 39
|
CREATE TABLE table_31611 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
|
SELECT "Gold" FROM table_31611 WHERE "Silver" = 39
|
When st kilda was playing at home what was the away teams score?
|
CREATE TABLE table_51264 (
"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_51264 WHERE "Home team" LIKE '%st kilda%'
|
On what date was the record 59 59?
|
CREATE TABLE table_53207 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
|
SELECT "Date" FROM table_53207 WHERE "Record" LIKE '%59–59%'
|
What is the highest round of pick 3?
|
CREATE TABLE table_name_42 (
round INTEGER,
pick VARCHAR
)
|
SELECT MAX(round) FROM table_name_42 WHERE pick LIKE '%3%'
|
Who was the opponent at the game that had a loss of Caldwell (10-11)?
|
CREATE TABLE table_name_35 (
opponent VARCHAR,
loss VARCHAR
)
|
SELECT opponent FROM table_name_35 WHERE loss LIKE "%caldwell (10-11)%"
|
What was the final score of the game held on February 24?
|
CREATE TABLE table_22883210_8 (
score VARCHAR,
date VARCHAR
)
|
SELECT score FROM table_22883210_8 WHERE date LIKE "%february 24%"
|
What was the score against san antonio?
|
CREATE TABLE table_13619053_4 (
score VARCHAR,
team VARCHAR
)
|
SELECT score FROM table_13619053_4 WHERE team LIKE "%san antonio%"
|
What is Country, when Player is 'Billy Maxwell'?
|
CREATE TABLE table_48863 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
|
SELECT "Country" FROM table_48863 WHERE "Player" LIKE '%billy maxwell%'
|
What is the relationship of the woman who died at 96?
|
CREATE TABLE table_name_95 (
relationship VARCHAR,
age_at_death VARCHAR
)
|
SELECT relationship FROM table_name_95 WHERE age_at_death LIKE "%96%"
|
Which away team scored 23.11 (149)?
|
CREATE TABLE table_56747 (
"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_56747 WHERE "Away team score" LIKE '%23.11 (149)%'
|
What is the CC displacement for 1965?
|
CREATE TABLE table_name_94 (
displacement_cc VARCHAR,
year VARCHAR
)
|
SELECT displacement_cc FROM table_name_94 WHERE year LIKE "%1965%"
|
What state had william bigler (d) as a successor)
|
CREATE TABLE table_2417308_3 (
state__class_ VARCHAR,
successor VARCHAR
)
|
SELECT state__class_ FROM table_2417308_3 WHERE successor LIKE '%william bigler (d)%'
|
Which opponent has 1-1 as the record?
|
CREATE TABLE table_name_95 (
opponent VARCHAR,
record VARCHAR
)
|
SELECT opponent FROM table_name_95 WHERE record LIKE "%1-1%"
|
Which Date has a Score of 7 6(3), 4 6, 6 2?
|
CREATE TABLE table_37497 (
"Date" real,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
|
SELECT SUM("Date") FROM table_37497 WHERE "Score" LIKE '%7–6(3), 4–6, 6–2%'
|
Name the first election for john mchugh
|
CREATE TABLE table_1341423_32 (
first_elected VARCHAR,
incumbent VARCHAR
)
|
SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent LIKE "%john mchugh%"
|
What round was the nose tackle drafted?
|
CREATE TABLE table_77723 (
"Pick" text,
"Round" real,
"Player" text,
"Position" text,
"School" text
)
|
SELECT SUM("Round") FROM table_77723 WHERE "Position" LIKE '%nose tackle%'
|
What week number had the New York Giants as opponent?
|
CREATE TABLE table_name_21 (
week VARCHAR,
opponent VARCHAR
)
|
SELECT COUNT(week) FROM table_name_21 WHERE opponent LIKE "%new york giants%"
|
What is 2009, when 2011 is 'Q2'?
|
CREATE TABLE table_62440 (
"Tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
|
SELECT "2009" FROM table_62440 WHERE "2011" LIKE '%q2%'
|
What is the list date of the historic place that was built 1896, 1914?
|
CREATE TABLE table_44963 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"County" text
)
|
SELECT "Listed" FROM table_44963 WHERE "Built" LIKE '%1896, 1914%'
|
What was the loss of the game attended by 37,119?
|
CREATE TABLE table_name_24 (
loss VARCHAR,
attendance VARCHAR
)
|
SELECT loss FROM table_name_24 WHERE attendance LIKE "%37,119%"
|
Which first's surname is Cook?
|
CREATE TABLE table_6137 (
"Surname" text,
"First" text,
"D.O.B." text,
"Uni#" real,
"Bats" text,
"Throws" text,
"Position" text
)
|
SELECT "First" FROM table_6137 WHERE "Surname" LIKE '%cook%'
|
How many shows were launched on CBS (2002)?
|
CREATE TABLE table_28803803_1 (
launched VARCHAR,
original_channel VARCHAR
)
|
SELECT COUNT(launched) FROM table_28803803_1 WHERE original_channel LIKE '%cbs (2002)%'
|
Who was the player in round 1?
|
CREATE TABLE table_name_55 (
player VARCHAR,
round VARCHAR
)
|
SELECT player FROM table_name_55 WHERE round LIKE '%1%'
|
Which Incumbent has a Republican of dan mansell?
|
CREATE TABLE table_name_73 (
incumbent VARCHAR,
republican VARCHAR
)
|
SELECT incumbent FROM table_name_73 WHERE republican LIKE "%dan mansell%"
|
Who swam in a lane less than 6 and finished with a time of 2:11.02?
|
CREATE TABLE table_14836 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
|
SELECT "Name" FROM table_14836 WHERE "Lane" < 6 AND "Time" LIKE '%2:11.02%'
|
Which February has a Game of 40?
|
CREATE TABLE table_36471 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
|
SELECT "February" FROM table_36471 WHERE "Game" = 40
|
What is the series for race 7
|
CREATE TABLE table_29471472_1 (
series VARCHAR,
races VARCHAR
)
|
SELECT series FROM table_29471472_1 WHERE races = 7
|
What is the highest Total, when Season is '1996-97', and when Second is less than 33?
|
CREATE TABLE table_name_23 (
total INTEGER,
season VARCHAR,
second VARCHAR
)
|
SELECT MAX(total) FROM table_name_23 WHERE season LIKE "%1996-97%" AND second < 33
|
What is the Tie Number when the home team was West Ham United?
|
CREATE TABLE table_48919 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
|
SELECT "Tie no" FROM table_48919 WHERE "Home team" LIKE '%west ham united%'
|
Where was the score 67-71-70=208?
|
CREATE TABLE table_name_26 (
place VARCHAR,
score VARCHAR
)
|
SELECT place FROM table_name_26 WHERE score = '-135'
|
What's the name of the person in the CF Pos?
|
CREATE TABLE table_65839 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"2012 club" text
)
|
SELECT "Name" FROM table_65839 WHERE "Pos." LIKE '%cf%'
|
How many elected catagories are there for the district with Saxby Chambliss as the incumbent?
|
CREATE TABLE table_26336739_1 (
elected VARCHAR,
incumbent VARCHAR
)
|
SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent LIKE "%saxby chambliss%"
|
Which Time has an Event of call to arms i?
|
CREATE TABLE table_name_15 (
time VARCHAR,
event VARCHAR
)
|
SELECT time FROM table_name_15 WHERE event LIKE "%call to arms i%"
|
What is the production code for the episode directed by Sam weisman?
|
CREATE TABLE table_25604014_4 (
production_code VARCHAR,
directed_by VARCHAR
)
|
SELECT production_code FROM table_25604014_4 WHERE directed_by LIKE '%sam weisman%'
|
Which Streak has a Score of 98 109?
|
CREATE TABLE table_12893 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Streak" text
)
|
SELECT "Streak" FROM table_12893 WHERE "Score" LIKE '%98–109%'
|
What was the high assists on April 7?
|
CREATE TABLE table_17288825_10 (
high_assists VARCHAR,
date VARCHAR
)
|
SELECT high_assists FROM table_17288825_10 WHERE date LIKE '%april 7%'
|
What party does jim ramstad represent?
|
CREATE TABLE table_1341423_23 (
party VARCHAR,
incumbent VARCHAR
)
|
SELECT party FROM table_1341423_23 WHERE incumbent LIKE "%jim ramstad%"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.