question
stringlengths 19
162
| table_info
stringlengths 39
951
| sql_query
stringlengths 24
181
|
---|---|---|
Name the number of rank for season 6 | CREATE TABLE table_211714_2 (
rank VARCHAR,
season VARCHAR
) | SELECT COUNT(rank) FROM table_211714_2 WHERE season LIKE '%6%' |
Which Season has a League of bezirksliga? | CREATE TABLE table_name_77 (
season VARCHAR,
league VARCHAR
) | SELECT season FROM table_name_77 WHERE league LIKE "%bezirksliga%" |
For team Atl tico Nacional, what were the points? | CREATE TABLE table_16795394_3 (
points VARCHAR,
team__number2 VARCHAR
) | SELECT points FROM table_16795394_3 WHERE team__number2 LIKE "%atlético nacional%" |
What was the Rider of the LCR Honda 600CC Team with a Time of 59 22.80? | CREATE TABLE table_39163 (
"Rank" real,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
) | SELECT "Rider" FROM table_39163 WHERE "Team" LIKE '%lcr honda 600cc%' AND "Time" LIKE '%59’ 22.80%' |
With a 1992 result of A, and at the U.S. Open Tournament, what is the 1989 result? | CREATE TABLE table_name_88 (
tournament VARCHAR
) | SELECT 1989 FROM table_name_88 WHERE 1992 = "a" AND tournament LIKE '%u.s. open%' |
Name the parent unit for josef priller | CREATE TABLE table_28342423_1 (
parent_unit VARCHAR,
commanding_officer VARCHAR
) | SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer LIKE "%josef priller%" |
What is the venue when Geelong is the away team? | CREATE TABLE table_name_27 (
venue VARCHAR,
away_team VARCHAR
) | SELECT venue FROM table_name_27 WHERE away_team LIKE "%geelong%" |
What is the date of the label Dos or Die Recordings? | CREATE TABLE table_41360 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) | SELECT "Date" FROM table_41360 WHERE "Label" LIKE '%dos or die recordings%' |
What is the home team of the game with the Raptors as the visitor team? | CREATE TABLE table_name_66 (
home VARCHAR,
visitor VARCHAR
) | SELECT home FROM table_name_66 WHERE visitor LIKE "%raptors%" |
What is the date for the game at the tallaght stadium and result was 0 1? | CREATE TABLE table_27232 (
"Season" text,
"Date" text,
"Home team" text,
"Result" text,
"Away team" text,
"Stadium" text
) | SELECT "Date" FROM table_27232 WHERE "Stadium" LIKE '%tallaght stadium%' AND "Result" LIKE '%0–1%' |
What is the Acquisition via for Dennis Miranda? | CREATE TABLE table_43169 (
"Name" text,
"Position" text,
"Number" text,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
) | SELECT "Acquisition via" FROM table_43169 WHERE "Name" LIKE '%dennis miranda%' |
Name the results for district new york 24 | CREATE TABLE table_1341423_32 (
results VARCHAR,
district VARCHAR
) | SELECT results FROM table_1341423_32 WHERE district LIKE "%new york 24%" |
What is the November 3 result when June 10-11 is 147? | CREATE TABLE table_25284864_3 (
november_3 VARCHAR,
june_10_11 VARCHAR
) | SELECT november_3 FROM table_25284864_3 WHERE june_10_11 LIKE "%147%" |
Which player finished t35? | CREATE TABLE table_name_89 (
player VARCHAR,
finish VARCHAR
) | SELECT player FROM table_name_89 WHERE finish LIKE "%t35%" |
Who were the Opponents in the Match with Partner Rushmi Chakravarthi? | CREATE TABLE table_name_80 (
opponents VARCHAR,
partner VARCHAR
) | SELECT opponents FROM table_name_80 WHERE partner LIKE "%rushmi chakravarthi%" |
Which week had an attendance of 55,158? | CREATE TABLE table_48040 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
) | SELECT SUM("Week") FROM table_48040 WHERE "Attendance" LIKE '%55,158%' |
For the Australian Open, in 2007 the result was A, but what was the result in 2012? | CREATE TABLE table_name_4 (
tournament VARCHAR
) | SELECT 2012 FROM table_name_4 WHERE 2007 = "a" AND tournament LIKE '%australian open%' |
Which Tournament has a Score of 6 4, 6 2? | CREATE TABLE table_37494 (
"Date" real,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
) | SELECT "Tournament" FROM table_37494 WHERE "Score" LIKE '%6–4, 6–2%' |
In which year did Kati Klinzing finish 3rd? | CREATE TABLE table_name_24 (
year VARCHAR,
third VARCHAR
) | SELECT year FROM table_name_24 WHERE third LIKE "%kati klinzing%" |
What is the number of titles for the city of gy r with a rank larger than 4? | CREATE TABLE table_name_47 (
titles INTEGER,
city VARCHAR,
rank VARCHAR
) | SELECT SUM(titles) FROM table_name_47 WHERE city LIKE "%győr%" AND rank > 4 |
which locomotive entered service first : 4107 or 4103 ? | CREATE TABLE table_203_27 (
id number,
"number" number,
"serial no" number,
"entered service" text,
"withdrawn" text,
"kilometres travelled" number
) | SELECT "number" FROM table_203_27 WHERE "number" IN (4107, 4103) ORDER BY "entered service" LIMIT 1 |
what film game before ter meri kahaani ? | CREATE TABLE table_203_157 (
id number,
"year" number,
"film" text,
"role" text,
"language" text,
"notes" text
) | SELECT "film" FROM table_203_157 WHERE id = (SELECT id FROM table_203_157 WHERE "film" LIKE '%teri meri kahaani%') - 1 |
What was the archive for episode with 6.6 million viewers? | CREATE TABLE table_1601935_1 (
archive VARCHAR,
viewers__in_millions_ VARCHAR
) | SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ LIKE "%6.6%" |
What was the attendance of the North Melbourne's home game? | CREATE TABLE table_58570 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT COUNT("Crowd") FROM table_58570 WHERE "Home team" LIKE '%north melbourne%' |
how many millions of spectator did has the episode whose prod.code was rp#213? | CREATE TABLE table_23117208_3 (
viewers__millions_ VARCHAR,
prod_code VARCHAR
) | SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code LIKE '%rp#213%' |
Who was the losing pitcher when 40583 attended? | CREATE TABLE table_13710464_1 (
losing_pitcher VARCHAR,
attendance VARCHAR
) | SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = '40583' |
What was the aveg/g for the qb with the Att-Cmp-Int of 117 215 6? | CREATE TABLE table_9026 (
"Name" text,
"GP-GS" text,
"Effic" real,
"Att-Cmp-Int" text,
"Avg/G" real
) | SELECT COUNT("Avg/G") FROM table_9026 WHERE "Att-Cmp-Int" LIKE '%117–215–6%' |
what is the camera used when the wavelength is 814nm (i-band)? | CREATE TABLE table_2583036_1 (
camera VARCHAR,
wavelength VARCHAR
) | SELECT camera FROM table_2583036_1 WHERE wavelength LIKE "%814nm (i-band)%" |
Who is the home team with tie number 9? | CREATE TABLE table_name_93 (
home_team VARCHAR,
tie_no VARCHAR
) | SELECT home_team FROM table_name_93 WHERE tie_no LIKE "%9%" |
What was the D segment for episode 60? | CREATE TABLE table_name_51 (
segment_d VARCHAR,
episode VARCHAR
) | SELECT segment_d FROM table_name_51 WHERE episode LIKE '%60%' |
What is the Country of the 10,000m Event? | CREATE TABLE table_name_39 (
country VARCHAR,
event VARCHAR
) | SELECT country FROM table_name_39 WHERE event LIKE "%10,000m%" |
What stage number had the general classification Rory Sutherland? | CREATE TABLE table_23157997_13 (
stage VARCHAR,
general_classification VARCHAR
) | SELECT COUNT(stage) FROM table_23157997_13 WHERE general_classification LIKE "%rory sutherland%" |
Where's the school that Mark Fletcher is the principal of? | CREATE TABLE table_1984697_53 (
city___town VARCHAR,
principal VARCHAR
) | SELECT city___town FROM table_1984697_53 WHERE principal LIKE "%mark fletcher%" |
What is the total of tries for a player with conv smaller than 45, 19 starts and pens fewer than 22? | CREATE TABLE table_name_83 (
tries VARCHAR,
pens VARCHAR,
conv VARCHAR,
start VARCHAR
) | SELECT COUNT(tries) FROM table_name_83 WHERE conv < '45' AND start LIKE '%19%' AND pens < '22' |
What party did robert p. letcher represent? | CREATE TABLE table_2668264_8 (
party VARCHAR,
incumbent VARCHAR
) | SELECT party FROM table_2668264_8 WHERE incumbent LIKE "%robert p. letcher%" |
What is the highest episode number written by Harry Winkler? | CREATE TABLE table_2342078_4 (
episode__number INTEGER,
written_by VARCHAR
) | SELECT MAX(episode__number) FROM table_2342078_4 WHERE written_by LIKE "%harry winkler%" |
Who had high points when high rebound is gray (8)? | CREATE TABLE table_11960610_10 (
high_points VARCHAR,
high_rebounds VARCHAR
) | SELECT high_points FROM table_11960610_10 WHERE high_rebounds LIKE "%gray (8)%" |
What is the average enrollment of the IHSAA A class in wolcott? | CREATE TABLE table_name_34 (
enrollment INTEGER,
ihsaa_class VARCHAR,
location VARCHAR
) | SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class LIKE "%a%" AND location LIKE "%wolcott%" |
Which is the class AA when graford was the class A | CREATE TABLE table_14747043_1 (
class_aA VARCHAR,
class_a VARCHAR
) | SELECT class_aA FROM table_14747043_1 WHERE class_a LIKE "%graford%" |
What is the highest round that had a pick lower than 8? | CREATE TABLE table_name_58 (
round INTEGER,
pick__number INTEGER
) | SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8 |
What game number was on January 14? | CREATE TABLE table_27713583_8 (
game VARCHAR,
date VARCHAR
) | SELECT game FROM table_27713583_8 WHERE date LIKE "%january 14%" |
Show different teams in eliminations and the number of eliminations from each team. | CREATE TABLE elimination (
Team VARCHAR
) | SELECT Team, COUNT(*) FROM elimination GROUP BY Team |
Which tournament had a playoff with a margin of victory? | CREATE TABLE table_name_49 (
tournament VARCHAR,
margin_of_victory VARCHAR
) | SELECT tournament FROM table_name_49 WHERE margin_of_victory LIKE "%playoff%" |
what is the date (from) where the notes are apeldoornsche tramweg-maatschappij? | CREATE TABLE table_12562214_1 (
date__from_ VARCHAR,
notes VARCHAR
) | SELECT date__from_ FROM table_12562214_1 WHERE notes LIKE '%apeldoornsche tramweg-maatschappij%' |
What is the Home team at the Lincoln City Away game? | CREATE TABLE table_name_80 (
home_team VARCHAR,
away_team VARCHAR
) | SELECT home_team FROM table_name_80 WHERE away_team LIKE "%lincoln city%" |
What is the name of the winner with a type of plain stage and a Course of nola to sora? | CREATE TABLE table_57199 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
) | SELECT "Winner" FROM table_57199 WHERE "Type" LIKE '%plain stage%' AND "Course" LIKE '%nola to sora%' |
Who did the team play against when a record of 3-1, #16 was achieved? | CREATE TABLE table_21063459_1 (
opponent VARCHAR,
record VARCHAR
) | SELECT opponent FROM table_21063459_1 WHERE record LIKE "%3-1, #16%" |
Which Venue has Attendances of 11,045? | CREATE TABLE table_6191 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
) | SELECT "Venue" FROM table_6191 WHERE "Attendance" LIKE '%11,045%' |
What was the score of the home team when there were more than 5,500 people in the crowd? | CREATE TABLE table_52691 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team score" FROM table_52691 WHERE "Crowd" > 5500 |
In what venue does Footscray play? | CREATE TABLE table_name_16 (
venue VARCHAR,
home_team VARCHAR
) | SELECT venue FROM table_name_16 WHERE home_team LIKE "%footscray%" |
How man horse power did the ship covadonga have? | CREATE TABLE table_23614702_2 (
horse__power VARCHAR,
warship VARCHAR
) | SELECT horse__power FROM table_23614702_2 WHERE warship LIKE "%covadonga%" |
What is the lowest grid with time of +0.499,when laps are larger than 21? | CREATE TABLE table_name_33 (
grid INTEGER,
time VARCHAR,
laps VARCHAR
) | SELECT MIN(grid) FROM table_name_33 WHERE time LIKE '+0.499%' AND laps > 21 |
Which island is in the United Kingdom? | CREATE TABLE table_name_43 (
island VARCHAR,
country VARCHAR
) | SELECT island FROM table_name_43 WHERE country LIKE "%united kingdom%" |
When did Alan Hutcheson won Class B on round 1? | CREATE TABLE table_24853015_1 (
date VARCHAR,
class_b_winner VARCHAR,
round VARCHAR
) | SELECT date FROM table_24853015_1 WHERE class_b_winner LIKE '%alan hutcheson%' AND round = '1' |
What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? | CREATE TABLE table_16724844_1 (
mens_open VARCHAR,
womens_40 VARCHAR
) | SELECT mens_open FROM table_16724844_1 WHERE womens_40 LIKE '%sydney scorpions defeated hunter hornets%' |
What is Scott Hoch with a Score of 66 Country? | CREATE TABLE table_46752 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
) | SELECT "Country" FROM table_46752 WHERE "Score" = 66 AND "Player" LIKE '%scott hoch%' |
What season had Marcio Lassiter? | CREATE TABLE table_75727 (
"Name" text,
"Position" text,
"Number" real,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
) | SELECT "Season" FROM table_75727 WHERE "Name" LIKE '%marcio lassiter%' |
What percentage of people were opposed to the candidate based on the WNBC/Marist poll that showed 8% of people were unsure? | CREATE TABLE table_name_47 (
oppose VARCHAR,
unsure VARCHAR,
poll_source VARCHAR
) | SELECT oppose FROM table_name_47 WHERE unsure LIKE "%8%%" AND poll_source LIKE "%wnbc/marist poll%" |
Tell me the model for total production of 1347 | CREATE TABLE table_name_30 (
model VARCHAR,
total_production VARCHAR
) | SELECT model FROM table_name_30 WHERE total_production = '1347' |
Who got the game high rebounds in game 46? | CREATE TABLE table_17001658_7 (
high_rebounds VARCHAR,
game VARCHAR
) | SELECT high_rebounds FROM table_17001658_7 WHERE game LIKE '%46%' |
Which venue ended in a 3-0 result? | CREATE TABLE table_63250 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
) | SELECT "Venue" FROM table_63250 WHERE "Result" LIKE '%3-0%' |
how many winnings does jeff gordon have? | CREATE TABLE table_27781212_1 (
winnings VARCHAR,
driver VARCHAR
) | SELECT winnings FROM table_27781212_1 WHERE driver LIKE "%jeff gordon%" |
What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver? | CREATE TABLE table_name_40 (
shortstop VARCHAR,
second_baseman VARCHAR,
catcher VARCHAR,
third_baseman VARCHAR
) | SELECT shortstop FROM table_name_40 WHERE catcher LIKE "%johnny roseboro%" AND third_baseman LIKE "%jim lefebvre%" AND second_baseman LIKE "%nate oliver%" |
Which country has a GDP (nominal) of $29.9 billion? | CREATE TABLE table_name_30 (
country VARCHAR,
gdp__nominal_ VARCHAR
) | SELECT country FROM table_name_30 WHERE LOWER(gdp__nominal_) LIKE "%$29.9 billion%" |
What are the highest points that have a difference of 8, with a position less than 4? | CREATE TABLE table_name_36 (
points INTEGER,
difference VARCHAR,
position VARCHAR
) | SELECT MAX(points) FROM table_name_36 WHERE difference LIKE "%8%" AND position < "4" |
how many athletes have been flag bearers for samoa at the olympic games ? | CREATE TABLE table_204_986 (
id number,
"#" number,
"event year" number,
"season" text,
"flag bearer" text
) | SELECT COUNT(DISTINCT "flag bearer") FROM table_204_986 |
On what date was Kentucky the opponent, and Ragle lost? | CREATE TABLE table_11883 (
"Date" text,
"Opponent" text,
"Score" text,
"Site/Stadium" text,
"Loss" text,
"Attendance" text,
"Record" text
) | SELECT "Date" FROM table_11883 WHERE "Opponent" LIKE '%kentucky%' AND "Loss" LIKE '%ragle%' |
which team conceded the least goals ? | CREATE TABLE table_203_67 (
id number,
"place" number,
"team" text,
"played" number,
"won" number,
"draw" number,
"lost" number,
"goals\nscored" number,
"goals\nconceded" number,
"+/-" number,
"points" number
) | SELECT "team" FROM table_203_67 ORDER BY "goals\nconceded" LIMIT 1 |
Which Score has an Attendance of 23 january 1999, and a Tie # of 6? | CREATE TABLE table_36002 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
) | SELECT "Score" FROM table_36002 WHERE "Attendance" LIKE '%23 january 1999%' AND "Tie no" LIKE '%6%' |
What day was the game that had the Cavaliers as visiting team and the Knicks as the home team? | CREATE TABLE table_75874 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
) | SELECT "Date" FROM table_75874 WHERE "Visitor" LIKE '%cavaliers%' AND "Home" LIKE '%knicks%' |
What team(s) had 120 consecutive starts? | CREATE TABLE table_28606933_7 (
teams VARCHAR,
consecutive_starts VARCHAR
) | SELECT teams FROM table_28606933_7 WHERE consecutive_starts = '120' |
When Hawthorn is the away team, what is their score? | CREATE TABLE table_name_84 (
away_team VARCHAR
) | SELECT away_team AS score FROM table_name_84 WHERE away_team LIKE "%hawthorn%" |
What is 2001, when 1989 is 'A', and when Tournament is 'U.S. Open'? | CREATE TABLE table_name_94 (
tournament VARCHAR
) | SELECT 2001 FROM table_name_94 WHERE 1989 = "a" AND tournament LIKE '%u.s. open%' |
What year did anna thompson have a 7th place result? | CREATE TABLE table_name_85 (
year VARCHAR,
result VARCHAR
) | SELECT year FROM table_name_85 WHERE result LIKE "%7th%" |
Name the most number for steve stricker | CREATE TABLE table_26592 (
"#" real,
"Player" text,
"Country" text,
"Points" real,
"Reset points" real,
"Events" real
) | SELECT MAX("#") FROM table_26592 WHERE "Player" LIKE '%steve stricker%' |
Which venue was used for the game whose score was 2:3? | CREATE TABLE table_77074 (
"Season" real,
"Team 1" text,
"Score" text,
"Team 2" text,
"Venue" text
) | SELECT "Venue" FROM table_77074 WHERE "Score" LIKE '%2:3%' |
What is the total number of Laps that's got a Year less than 1987? | CREATE TABLE table_6254 (
"Year" real,
"Class" text,
"Team" text,
"Chassis" text,
"Tyre" text,
"Laps" real
) | SELECT SUM("Laps") FROM table_6254 WHERE "Year" < 1987 |
Whats the title of the episode with production code 109 | CREATE TABLE table_15938543_1 (
title VARCHAR,
production_code VARCHAR
) | SELECT title FROM table_15938543_1 WHERE production_code LIKE '%109%' |
Please give me a list of cities whose regional population is over 10000000. | CREATE TABLE city (
city VARCHAR,
regional_population INTEGER
) | SELECT city FROM city WHERE regional_population > 10000000 |
Which 2011's tournament was Indian Wells? | CREATE TABLE table_name_24 (
tournament VARCHAR
) | SELECT 2011 FROM table_name_24 WHERE tournament LIKE '%indian wells%' |
What was the ladder position when the score was 15.9 (99) 14.6 (90)? | CREATE TABLE table_24919137_2 (
ladder_position VARCHAR,
score VARCHAR
) | SELECT ladder_position FROM table_24919137_2 WHERE score LIKE "%15.9 (99)–14.6 (90)%" |
What college team did Milan Kostolny play for? | CREATE TABLE table_2886617_8 (
college_junior_club_team VARCHAR,
player VARCHAR
) | SELECT college_junior_club_team FROM table_2886617_8 WHERE player LIKE "%milan kostolny%" |
What is stanford's average overall? | CREATE TABLE table_name_66 (
overall INTEGER,
college VARCHAR
) | SELECT AVG(overall) FROM table_name_66 WHERE college LIKE "%stanford%" |
What is every value of period when eccentricity is 0.583085? | CREATE TABLE table_206217_2 (
period__h_ VARCHAR,
eccentricity VARCHAR
) | SELECT period__h_ FROM table_206217_2 WHERE eccentricity LIKE "%0.583085%" |
What is the kit manufacturer that has billy bonds as the manager? | CREATE TABLE table_80388 (
"Team" text,
"Manager" text,
"Captain" text,
"Kit manufacturer" text,
"Shirt sponsor" text
) | SELECT "Kit manufacturer" FROM table_80388 WHERE "Manager" LIKE '%billy bonds%' |
What is the Country that has Richard Buck Lane higher than 3? | CREATE TABLE table_48949 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text
) | SELECT "Country" FROM table_48949 WHERE "Lane" > 3 AND "Name" LIKE '%richard buck%' |
What is the Date of the RCA release with Catalog number SF-7635? | CREATE TABLE table_name_57 (
date VARCHAR,
label VARCHAR,
catalog VARCHAR
) | SELECT date FROM table_name_57 WHERE label LIKE "%rca%" AND catalog LIKE "%sf-7635%" |
What is the score of the game that holds a record of 80-61? | CREATE TABLE table_name_69 (
score VARCHAR,
record VARCHAR
) | SELECT score FROM table_name_69 WHERE record LIKE "%80-61%" |
Which city has the cincinnati hockey website? | CREATE TABLE table_16384648_2 (
location VARCHAR,
team_website VARCHAR
) | SELECT location FROM table_16384648_2 WHERE team_website LIKE '%cincinnati hockey%' |
What is the record of the game on February 25, 2008? | CREATE TABLE table_name_59 (
record VARCHAR,
date VARCHAR
) | SELECT record FROM table_name_59 WHERE date LIKE "%february 25, 2008%" |
Who ran in the election where Claude Fuller was the incumbent? | CREATE TABLE table_1342338_5 (
candidates VARCHAR,
incumbent VARCHAR
) | SELECT candidates FROM table_1342338_5 WHERE incumbent LIKE "%claude fuller%" |
what is the number of halfwidth are there ? | CREATE TABLE table_203_119 (
id number,
"jamo" text,
"hangul compatibility" text,
"hangul jamo area" text,
"hanyang private use" text,
"halfwidth" text
) | SELECT COUNT(*) FROM table_203_119 WHERE NOT "halfwidth" IS NULL |
How many people have a Median household income of $37,759? | CREATE TABLE table_name_66 (
population INTEGER,
median_household_income VARCHAR
) | SELECT SUM(population) FROM table_name_66 WHERE median_household_income LIKE "%$37,759%" |
Who was the jockey in group 1 at the 1400m distance at randwick? | CREATE TABLE table_20626467_1 (
jockey VARCHAR,
distance VARCHAR,
class VARCHAR,
venue VARCHAR
) | SELECT jockey FROM table_20626467_1 WHERE class LIKE "%group 1%" AND venue LIKE "%randwick%" AND distance LIKE "%1400m%" |
Which Grid has a Rider of loic napoleone? | CREATE TABLE table_name_14 (
grid INTEGER,
rider VARCHAR
) | SELECT AVG(grid) FROM table_name_14 WHERE rider LIKE "%loic napoleone%" |
When did Hollywood Records release a digital download? | CREATE TABLE table_65413 (
"Region" text,
"Date" text,
"Format" text,
"Label" text,
"Edition" text
) | SELECT "Date" FROM table_65413 WHERE "Label" LIKE '%hollywood records%' AND "Format" LIKE '%digital download%' |
What was result of goal 4? | CREATE TABLE table_39187 (
"Goal" real,
"Date" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Result" FROM table_39187 WHERE "Goal" = 4 |
count the the average Total of ian baker-finch? | CREATE TABLE table_name_39 (
total INTEGER,
player VARCHAR
) | SELECT AVG(total) FROM table_name_39 WHERE player LIKE "%ian baker-finch%" |
What was the average speed where lap four's time was 22.9049? | CREATE TABLE table_23018775_3 (
avg_speed VARCHAR,
lap_four VARCHAR
) | SELECT avg_speed FROM table_23018775_3 WHERE lap_four LIKE "%22.9049%" |
Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3 | CREATE TABLE table_74478 (
"Rank" real,
"School" text,
"Appearances" real,
"Wins" real,
"Losses" real
) | SELECT SUM("Losses") FROM table_74478 WHERE "Wins" < 2 AND "Rank" = 10 AND "Appearances" > 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.