answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT season FROM table_175980_2 WHERE finale = "May 25, 2004" | What seasons had a finale on May 25, 2004? | CREATE TABLE table_175980_2 (season VARCHAR, finale VARCHAR) |
SELECT "Score" FROM table_49774 WHERE "Opponent" = 'seattle' | Which Score has an Opponent of seattle? | CREATE TABLE table_49774 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location/Attendance" text,
"Record" text
) |
SELECT post_town FROM table_name_54 WHERE dialcode = "020" AND location = "hook" | Which Post Town has a Dialcode of 020 and is located in Hook? | CREATE TABLE table_name_54 (post_town VARCHAR, dialcode VARCHAR, location VARCHAR) |
SELECT season FROM table_175980_2 WHERE ranking = "#47" | What seasons had a ranking of #47? | CREATE TABLE table_175980_2 (season VARCHAR, ranking VARCHAR) |
SELECT winning_driver FROM table_1140116_5 WHERE race_name = "XIV Eläintarhanajot" | Which driver won the race xiv el intarhanajot? | CREATE TABLE table_1140116_5 (
winning_driver VARCHAR,
race_name VARCHAR
) |
SELECT dialcode FROM table_name_11 WHERE location = "edmonton" | What Dialcode has a location of Edmonton? | CREATE TABLE table_name_11 (dialcode VARCHAR, location VARCHAR) |
SELECT viewers__in_millions_ FROM table_175980_2 WHERE season = "1st" | What are all values for viewers for 1st season? | CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, season VARCHAR) |
SELECT COUNT(DISTINCT "team") FROM table_203_761 | what is the total number of teams ? | CREATE TABLE table_203_761 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) |
SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589 | Which average rank has an Earning amount that is less than $224,589? | CREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER) |
SELECT date_withdrawn FROM table_17607663_1 WHERE secr_no = 771 | What is the withdraw date for secr no. 771? | CREATE TABLE table_17607663_1 (date_withdrawn VARCHAR, secr_no VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "GREEK ORTHODOX" AND lab.label = "Uptake Ratio" | provide the number of patients whose religion is greek orthodox and lab test name is uptake ratio? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescription... |
SELECT country FROM table_name_93 WHERE rank = 2 | Which country has a rank of 2? | CREATE TABLE table_name_93 (country VARCHAR, rank VARCHAR) |
SELECT builder FROM table_17607663_1 WHERE br_no = 31779 | Who is the builder for br no. 31779? | CREATE TABLE table_17607663_1 (builder VARCHAR, br_no VARCHAR) |
SELECT County_name, COUNT(County_name) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY County_name | Show how many delegates in each county with a bar chart. | CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
Party int,
First_Elected real,
Committee text
)
CREATE TABLE party (
Party_ID int,
... |
SELECT COUNT(roll) FROM table_name_7 WHERE name = "shelly park school" | What is the total number on roll for Shelly Park school? | CREATE TABLE table_name_7 (roll VARCHAR, name VARCHAR) |
SELECT country FROM table_17596418_5 WHERE loan_club = "Fulham" | what ist he country where the loan club is fulham? | CREATE TABLE table_17596418_5 (country VARCHAR, loan_club VARCHAR) |
SELECT COUNT("Nickerie") FROM table_21148 WHERE "Marowijne" = '4.7%' | Name the nickerie for marowijne being 4.7% | CREATE TABLE table_21148 (
"Religion" text,
"Suriname" text,
"Paramaribo" text,
"Wanica" text,
"Nickerie" text,
"Coronie" text,
"Saramacca" text,
"Commewijne" text,
"Marowijne" text,
"Para" text,
"Brokopondo" text,
"Sipaliwini" text
) |
SELECT week FROM table_name_96 WHERE record = "0-5" | What week was the record 0-5? | CREATE TABLE table_name_96 (week VARCHAR, record VARCHAR) |
SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November" | what ist he total number of ages where the start date is 6 november? | CREATE TABLE table_17596418_5 (age VARCHAR, started VARCHAR) |
SELECT res FROM table_name_73 WHERE record = "19-9" | What was the result of the fight when Tetsuji Kato's record was 19-9? | CREATE TABLE table_name_73 (
res VARCHAR,
record VARCHAR
) |
SELECT result FROM table_name_31 WHERE attendance = "45,320" | What was the result of the game with the attendance of 45,320? | CREATE TABLE table_name_31 (result VARCHAR, attendance VARCHAR) |
SELECT title FROM table_17624965_1 WHERE production_code = 618 | What was the name of eipsode 618? | CREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR) |
SELECT wins FROM table_18018248_2 WHERE goals_scored = 58 | How many wins had 58 goals scored? | CREATE TABLE table_18018248_2 (
wins VARCHAR,
goals_scored VARCHAR
) |
SELECT kickoff_[a_] FROM table_name_68 WHERE date = "september 15, 1985" | What time was the kickoff on September 15, 1985? | CREATE TABLE table_name_68 (kickoff_ VARCHAR, a_ VARCHAR, date VARCHAR) |
SELECT COUNT(written_by) FROM table_17624965_1 WHERE directed_by = "Alison Maclean" | How many episodes did Alison Maclean direct? | CREATE TABLE table_17624965_1 (written_by VARCHAR, directed_by VARCHAR) |
SELECT AVG("Played") FROM table_50936 WHERE "Conceded" < '7' | Mean of played with smaller than 7 conceded? | CREATE TABLE table_50936 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
) |
SELECT player FROM table_name_74 WHERE long = "5" AND yards = "6" | Which Player had a Long of 5 and Yards of 6? | CREATE TABLE table_name_74 (player VARCHAR, long VARCHAR, yards VARCHAR) |
SELECT high_points FROM table_17622423_12 WHERE date = "May 29" | Name the high points for may 29 | CREATE TABLE table_17622423_12 (high_points VARCHAR, date VARCHAR) |
SELECT country FROM competition WHERE competition_type = 'Tournament' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 | what is the name of the country that participated in the most tournament competitions? | CREATE TABLE competition_result (
competition_id number,
club_id_1 number,
club_id_2 number,
score text
)
CREATE TABLE competition (
competition_id number,
year number,
competition_type text,
country text
)
CREATE TABLE player (
player_id number,
name text,
position text,
... |
SELECT yards FROM table_name_32 WHERE player = "rob turner" | How many Yards did Player Rob Turner collect? | CREATE TABLE table_name_32 (yards VARCHAR, player VARCHAR) |
SELECT date FROM table_17622423_12 WHERE series = "2-2" | Name the date for series 2-2 | CREATE TABLE table_17622423_12 (date VARCHAR, series VARCHAR) |
SELECT MAX(year) FROM table_name_92 WHERE championship = "olympics" AND event = "men's eight" AND nation = "canada" AND result = "silver" | What year was olympics, Canada and the Men's Eight Event ended with a silver medal? | CREATE TABLE table_name_92 (
year INTEGER,
result VARCHAR,
nation VARCHAR,
championship VARCHAR,
event VARCHAR
) |
SELECT home FROM table_name_52 WHERE date = "march 5" | Who is the home team on March 5? | CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR) |
SELECT high_assists FROM table_17622423_12 WHERE date = "May 21" | Name the high assists for may 21 | CREATE TABLE table_17622423_12 (high_assists VARCHAR, date VARCHAR) |
SELECT "1992-93" FROM table_19306 WHERE "1991-92" = '55' | What is the 92'-93 result for the team with 55 in 91'-92? | CREATE TABLE table_19306 (
"Team" text,
"Average" text,
"Points" real,
"Played" real,
"1991-92" text,
"1992-93" text,
"1993-94" real
) |
SELECT visitor FROM table_name_62 WHERE date = "march 24" | Who is the visitor on March 24? | CREATE TABLE table_name_62 (visitor VARCHAR, date VARCHAR) |
SELECT COUNT(play_by_play) FROM table_17628022_2 WHERE pregame_analysts = "Darren Flutie, Eric Tillman and Greg Frers" | How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers? | CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_analysts VARCHAR) |
SELECT release_date FROM table_name_95 WHERE title = "i wanna play house" | What is the release date of I Wanna Play House? | CREATE TABLE table_name_95 (
release_date VARCHAR,
title VARCHAR
) |
SELECT home FROM table_name_57 WHERE date = "march 24" | Who was the home team on March 24? | CREATE TABLE table_name_57 (home VARCHAR, date VARCHAR) |
SELECT play_by_play FROM table_17628022_2 WHERE pregame_host = "Brian Williams" AND sideline_reporters = "Steve Armitage and Brenda Irving" | Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving? | CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_host VARCHAR, sideline_reporters VARCHAR) |
SELECT series FROM table_name_86 WHERE date = "may 18" | Which Series are on may 18? | CREATE TABLE table_name_86 (
series VARCHAR,
date VARCHAR
) |
SELECT assisted FROM table_name_79 WHERE solo = 6 AND sack < 5 | what is the assisted when the solo is 6 and sack is less than 5? | CREATE TABLE table_name_79 (assisted VARCHAR, solo VARCHAR, sack VARCHAR) |
SELECT pregame_host FROM table_17628022_2 WHERE sideline_reporters = "Steve Armitage and Brenda Irving" | Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving? | CREATE TABLE table_17628022_2 (pregame_host VARCHAR, sideline_reporters VARCHAR) |
SELECT player FROM table_name_71 WHERE to_par = "+1" | Who is the player with a to par of +1? | CREATE TABLE table_name_71 (
player VARCHAR,
to_par VARCHAR
) |
SELECT COUNT(losses) FROM table_name_61 WHERE played > 34 | How many losses had a played number that was more than 34? | CREATE TABLE table_name_61 (losses VARCHAR, played INTEGER) |
SELECT pregame_analysts FROM table_17628022_2 WHERE year = 2002 | Who did pregame analysis in 2002? | CREATE TABLE table_17628022_2 (pregame_analysts VARCHAR, year VARCHAR) |
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC | For those records from the products and each product's manufacturer, give me the comparison about the average of code over the founder , and group by attribute founder by a bar chart, and rank Founder in descending order please. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) |
SELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53 | Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53? | CREATE TABLE table_name_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR) |
SELECT state FROM table_1762887_1 WHERE county = "Lake county" | Name the state for lake county | CREATE TABLE table_1762887_1 (state VARCHAR, county VARCHAR) |
SELECT AVG(played) FROM table_name_62 WHERE conceded < 7 | Mean of played with smaller than 7 conceded? | CREATE TABLE table_name_62 (
played INTEGER,
conceded INTEGER
) |
SELECT AVG(losses) FROM table_name_58 WHERE played > 34 | Which mean number of losses had a played number that was bigger than 34? | CREATE TABLE table_name_58 (losses INTEGER, played INTEGER) |
SELECT MIN(season) FROM table_17632217_1 | What is the lowest season? | CREATE TABLE table_17632217_1 (season INTEGER) |
SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = "valverde" AND area > 823 | What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823? | CREATE TABLE table_name_68 (
rank INTEGER,
area VARCHAR,
density VARCHAR,
province VARCHAR
) |
SELECT MIN(goals_for) FROM table_name_95 WHERE played < 34 | Which lowest goals for number had a played number of less than 34? | CREATE TABLE table_name_95 (goals_for INTEGER, played INTEGER) |
SELECT COUNT(number_of_clubs) FROM table_17632217_1 WHERE runners_up = "Shandong" | How many values for number of clubs have Shandong as the runner-up? | CREATE TABLE table_17632217_1 (number_of_clubs VARCHAR, runners_up VARCHAR) |
SELECT "attendance" FROM table_204_168 WHERE "date" = '11/09/2013' | what is the total attendance on 11/09/2013 ? | CREATE TABLE table_204_168 (
id number,
"date" text,
"time" text,
"opponent" text,
"site" text,
"tv" text,
"result" text,
"attendance" number,
"record" text
) |
SELECT COUNT(played) FROM table_name_29 WHERE goal_difference > 0 AND club = "valencia cf" | Which Played number had a goal difference of more than 0 when the club was Valencia CF? | CREATE TABLE table_name_29 (played VARCHAR, goal_difference VARCHAR, club VARCHAR) |
SELECT COUNT(total_wins) FROM table_17632217_1 WHERE runners_up = "Shanghai" | How many total wins with Shanghai as runner-up? | CREATE TABLE table_17632217_1 (total_wins VARCHAR, runners_up VARCHAR) |
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '002-59265' | whats the sex of patient 002-59265? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... |
SELECT player FROM table_name_97 WHERE college = "san sebastian" | What player has a college named san sebastian? | CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR) |
SELECT club FROM table_17625749_1 WHERE tries_for = "32" | Name the club for when tries for is 32 | CREATE TABLE table_17625749_1 (club VARCHAR, tries_for VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dob_year < "2065" | what is the number of patients whose year of birth is less than 2065? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... |
SELECT college FROM table_name_33 WHERE pick = 45 | What college has pick 45 | CREATE TABLE table_name_33 (college VARCHAR, pick VARCHAR) |
SELECT COUNT(lost) FROM table_17625749_1 WHERE tries_for = "109" | Name the number of lost where tries for is 109 | CREATE TABLE table_17625749_1 (lost VARCHAR, tries_for VARCHAR) |
SELECT share__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "9.28" | When there are 9.28 million viewers what is the share (18-49)? | CREATE TABLE table_28980706_4 (
share__18_49_ VARCHAR,
viewers__millions_ VARCHAR
) |
SELECT original_air_date FROM table_name_88 WHERE season__number < 14 AND production_code > 709 AND series__number < 183 | Name the air date for the seasons before 14 and series less than 183 with production code more than 709 | CREATE TABLE table_name_88 (original_air_date VARCHAR, series__number VARCHAR, season__number VARCHAR, production_code VARCHAR) |
SELECT won FROM table_17625749_1 WHERE tries_against = "72" | Name the won when tries against is 72 | CREATE TABLE table_17625749_1 (won VARCHAR, tries_against VARCHAR) |
SELECT origin, COUNT(*) FROM flight GROUP BY origin | Show all origins and the number of flights from each origin. | CREATE TABLE aircraft (
aid number,
name text,
distance number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
... |
SELECT title FROM table_name_78 WHERE series__number > 175 AND production_code < 706 | Tell me the title for the production code less than 706 with series number more than 175 | CREATE TABLE table_name_78 (title VARCHAR, series__number VARCHAR, production_code VARCHAR) |
SELECT points_against FROM table_17625749_1 WHERE drawn = "1" AND points = "51" | Name the points aginst when drawn is 1 and points is 51 | CREATE TABLE table_17625749_1 (points_against VARCHAR, drawn VARCHAR, points VARCHAR) |
SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "53550" | provide the diagnosis short title of diagnosis icd9 code 53550. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... |
SELECT MIN(series__number) FROM table_name_41 WHERE production_code = 717 AND season__number < 17 | Name the least series number with production code of 717 and season number less than 17 | CREATE TABLE table_name_41 (series__number INTEGER, production_code VARCHAR, season__number VARCHAR) |
SELECT original_air_date FROM table_17625876_1 WHERE no_in_season = 1 | Name the original air date for number in season being 1 | CREATE TABLE table_17625876_1 (original_air_date VARCHAR, no_in_season VARCHAR) |
SELECT DISTINCT COUNT(DISTINCT paper.paperid), writes.authorid FROM paper, venue, writes WHERE venue.venueid = paper.venueid AND venue.venuename = 'NSDI' AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY COUNT(DISTINCT paper.paperid) DESC | Who has published more papers in NSDI ? | CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE dataset (
datasetid int,
datasetname va... |
SELECT can_yayınları FROM table_name_39 WHERE güzelçamlı’nin_kayıp_panteri = "çevreci peri" | Which Can Yayınları has a Güzelçamlı’nin Kayıp Panteri of çevreci peri? | CREATE TABLE table_name_39 (can_yayınları VARCHAR, güzelçamlı’nin_kayıp_panteri VARCHAR) |
SELECT won FROM table_17625749_3 WHERE lost = "5" | How many were won when 5 were lost? | CREATE TABLE table_17625749_3 (won VARCHAR, lost VARCHAR) |
SELECT eid, salary FROM employee WHERE name = 'Mark Young' | Show the id and salary of Mark Young. | CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
salary number
)
CREATE TABLE aircraft (
aid number,
name text,
di... |
SELECT 2005 FROM table_name_76 WHERE güzelçamlı’s_lost_panther = "green fairy" | Which 2005 has a Güzelçamlı’s Lost Panther of green fairy? | CREATE TABLE table_name_76 (güzelçamlı’s_lost_panther VARCHAR) |
SELECT drawn FROM table_17625749_3 WHERE lost = "13" | How many were drawn when 13 were lost? | CREATE TABLE table_17625749_3 (drawn VARCHAR, lost VARCHAR) |
SELECT 2012 FROM table_name_55 WHERE tournament = "french open" | What is 2012, when Tournament is 'French Open'? | CREATE TABLE table_name_55 (
tournament VARCHAR
) |
SELECT MAX(2005) FROM table_name_38 WHERE güzelçamlı’s_lost_panther = "the muse" | Which 2005 has a Güzelçamlı’s Lost Panther of the muse? | CREATE TABLE table_name_38 (güzelçamlı’s_lost_panther VARCHAR) |
SELECT points_for FROM table_17625749_3 WHERE tries_against = "63" | How many points are there for 63 tries against? | CREATE TABLE table_17625749_3 (points_for VARCHAR, tries_against VARCHAR) |
SELECT COUNT(*) FROM rooms WHERE bedtype = "King" | How many rooms have a king bed? | CREATE TABLE rooms (
roomid text,
roomname text,
beds number,
bedtype text,
maxoccupancy number,
baseprice number,
decor text
)
CREATE TABLE reservations (
code number,
room text,
checkin text,
checkout text,
rate number,
lastname text,
firstname text,
adults... |
SELECT grid FROM table_name_11 WHERE driver = "pierre levegh" | what is the grid when the driver is pierre levegh? | CREATE TABLE table_name_11 (grid VARCHAR, driver VARCHAR) |
SELECT try_bonus FROM table_17625749_3 WHERE tries_against = "17" | What is the try bonus when the tries against are 17? | CREATE TABLE table_17625749_3 (try_bonus VARCHAR, tries_against VARCHAR) |
SELECT "Team" FROM table_18874 WHERE "Record" = '15-63' | Which team was in a game with a record of 15-63? | CREATE TABLE table_18874 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) |
SELECT grid FROM table_name_21 WHERE laps = 2 | what is the grid when the laps is 2? | CREATE TABLE table_name_21 (grid VARCHAR, laps VARCHAR) |
SELECT tries_for FROM table_17625749_3 WHERE won = "11" | How many tries for are there when 11 were won? | CREATE TABLE table_17625749_3 (tries_for VARCHAR, won VARCHAR) |
SELECT "Player" FROM table_26245 WHERE "Year born" = '1983' AND "Position" = 'Forward' | Which players were born in 1983 and play as forward position? | CREATE TABLE table_26245 (
"No" real,
"Player" text,
"Height (m)" text,
"Height (f)" text,
"Position" text,
"Year born" real,
"Current Club" text
) |
SELECT time_retired FROM table_name_81 WHERE driver = "toulo de graffenried" | what is the time/retired when the driver is toulo de graffenried? | CREATE TABLE table_name_81 (time_retired VARCHAR, driver VARCHAR) |
SELECT COUNT(points) FROM table_17625749_3 WHERE losing_bonus = "2" AND points_for = "642" | How many points categories are there when the losing bonus is 2 and points for are 642? | CREATE TABLE table_17625749_3 (points VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) |
SELECT "Position" FROM table_40512 WHERE "Competition" = 'world athletics final' AND "Year" > '2008' | What position was played at the World Athletics Final Competition in a year more recent than 2008? | CREATE TABLE table_40512 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
) |
SELECT time_retired FROM table_name_36 WHERE grid < 13 AND constructor = "alfa romeo" AND laps > 12 | what is the time/retired when the grid is less than 13, the constructor is alfa romeo and the laps is more than 12? | CREATE TABLE table_name_36 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR) |
SELECT COUNT(written_by) FROM table_17641206_2 WHERE viewership = "6.34 million" | How many people wrote the episode that had 6.34 million viewers? | CREATE TABLE table_17641206_2 (written_by VARCHAR, viewership VARCHAR) |
SELECT wind FROM table_name_18 WHERE rank < 6 AND location = "new york city" | What was the wind at New York City when the rank was smaller than 6? | CREATE TABLE table_name_18 (
wind VARCHAR,
rank VARCHAR,
location VARCHAR
) |
SELECT SUM(grid) FROM table_name_94 WHERE laps > 20 | what is the grid when the laps is more than 20? | CREATE TABLE table_name_94 (grid INTEGER, laps INTEGER) |
SELECT original_title FROM table_17641206_4 WHERE viewership = "5.04 million" | What was the title of the episode with 5.04 million viewers? | CREATE TABLE table_17641206_4 (original_title VARCHAR, viewership VARCHAR) |
SELECT log_entry_description, COUNT(log_entry_description) FROM Problem_Log GROUP BY log_entry_description | List all the log entry descriptions and count them using a bar chart. | CREATE TABLE Problems (
problem_id INTEGER,
product_id INTEGER,
closure_authorised_by_staff_id INTEGER,
reported_by_staff_id INTEGER,
date_problem_reported DATETIME,
date_problem_closed DATETIME,
problem_description VARCHAR(255),
other_problem_details VARCHAR(255)
)
CREATE TABLE Problem... |
SELECT d_49_√ FROM table_name_37 WHERE d_47_√ = "d 67 +" | What is the D 49 √ when D 47 √ is d 67 +? | CREATE TABLE table_name_37 (d_49_√ VARCHAR, d_47_√ VARCHAR) |
SELECT original_airdate FROM table_17641206_4 WHERE viewership = "4.77 million" | What was the first airdate with a viewership of 4.77 million? | CREATE TABLE table_17641206_4 (original_airdate VARCHAR, viewership VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.