answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT time_retired FROM table_name_30 WHERE laps < 75 AND grid < 15 AND driver = "ronnie peterson" | What is the time/retired for ronnie peterson with under 75 laps and a grid under 15? | CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT contestant FROM table_21346767_3 WHERE hometown = "Villa Hermosa" | Name the contestant for villa hermosa | CREATE TABLE table_21346767_3 (contestant VARCHAR, hometown VARCHAR) |
SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9" | Which club has a try bonus of 9 and 43 tries against? | CREATE TABLE table_name_38 (
club VARCHAR,
tries_against VARCHAR,
try_bonus VARCHAR
) |
SELECT location FROM table_name_74 WHERE owgr_points > 6 AND winner = "ryu hyun-woo" | What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as the winner? | CREATE TABLE table_name_74 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR) |
SELECT MIN(age) FROM table_21346767_3 WHERE geographical_regions = "Cibao Central" AND hometown = "Santo Domingo" | Name the least age for cibao central and santo domingo | CREATE TABLE table_21346767_3 (age INTEGER, geographical_regions VARCHAR, hometown VARCHAR) |
SELECT DISTINCT COUNT(paper.paperid) FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'question answering' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2016 | How many papers were written on question answering in the past year ? | CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE writes (
paperid i... |
SELECT away_team FROM table_name_24 WHERE venue = "arden street oval" | Who was the away team at Arden Street Oval? | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) |
SELECT COUNT(pop__2001_) FROM table_2134521_1 WHERE pop__1996_ = 880859 | How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859? | CREATE TABLE table_2134521_1 (pop__2001_ VARCHAR, pop__1996_ VARCHAR) |
SELECT location FROM table_name_30 WHERE competition = "gold medal match" | What is the location of the gold medal match? | CREATE TABLE table_name_30 (
location VARCHAR,
competition VARCHAR
) |
SELECT team FROM table_name_10 WHERE assists > 118 AND rank < 2 | I want the team with assists greater than 118 and rank less than 2 | CREATE TABLE table_name_10 (team VARCHAR, assists VARCHAR, rank VARCHAR) |
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "15767.99" | How many people lived in the census division with an area of 15767.99 km2 in 1996? | CREATE TABLE table_2134521_1 (pop__1996_ VARCHAR, area__km²_ VARCHAR) |
SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july" | Name the winner for rest day for 13 july | CREATE TABLE table_name_98 (
winner VARCHAR,
course VARCHAR,
date VARCHAR
) |
SELECT region FROM table_name_25 WHERE rank = 5 | What region has a 5 rank? | CREATE TABLE table_name_25 (region VARCHAR, rank VARCHAR) |
SELECT MAX(pop__2006_) FROM table_2134521_1 | What is the largest population count in any of the census divisions in 2006? | CREATE TABLE table_2134521_1 (pop__2006_ INTEGER) |
SELECT * FROM Users WHERE DisplayName LIKE 'irc' | Get users that have in username ' '. | CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text... |
SELECT mountain_peak FROM table_name_29 WHERE mountain_range = "spanish peaks" | Which mountain peak has spanish peaks? | CREATE TABLE table_name_29 (mountain_peak VARCHAR, mountain_range VARCHAR) |
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "9909.31" | How many people lived in the census division spread out on 9909.31 km2 in 1996? | CREATE TABLE table_2134521_1 (pop__1996_ VARCHAR, area__km²_ VARCHAR) |
SELECT COUNT("State") FROM table_21836 WHERE "July 1, 2010 density (/mi\u00b2)" = '1209' | Name the total number of states for july 1 2010 density is 1209 | CREATE TABLE table_21836 (
"Rank" real,
"County" text,
"State" text,
"Land area (km\u00b2)" text,
"Land area (mi\u00b2)" text,
"April 1, 2010 census" real,
"April 1, 2010 density (/km\u00b2)" real,
"April 1, 2010 density (/mi\u00b2)" real,
"July 1, 2010 official estimate" real,
"... |
SELECT date FROM table_name_83 WHERE home_team = "essendon" | What date did Essendon play as the home team? | CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) |
SELECT result FROM table_21350934_2 WHERE round = "QF" | What is the result of the qf round? | CREATE TABLE table_21350934_2 (result VARCHAR, round VARCHAR) |
SELECT rider FROM table_name_79 WHERE speed = "120.953 mph" | Who was the rider with 120.953 mph speed? | CREATE TABLE table_name_79 (
rider VARCHAR,
speed VARCHAR
) |
SELECT MAX(crowd) FROM table_name_27 WHERE venue = "windy hill" | What was the attendance at Windy Hill? | CREATE TABLE table_name_27 (crowd INTEGER, venue VARCHAR) |
SELECT venue FROM table_21350934_2 WHERE opponent = "Bradford Bulls" AND date = "06/09/2009" | Which venue has bradford bulls as the opponent on the date of 06/09/2009? | CREATE TABLE table_21350934_2 (venue VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT "Team" FROM table_46440 WHERE "Year" = '1976' | What is the team for 1976? | CREATE TABLE table_46440 (
"Year" text,
"Player" text,
"Team" text,
"League" text,
"Position" text
) |
SELECT MIN(crowd) FROM table_name_83 WHERE venue = "vfl park" | What was the smallest crowd of vfl park? | CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR) |
SELECT opponent FROM table_21350934_2 WHERE attendance = "N/A" | Who is the opponent when the attendance is n/a? | CREATE TABLE table_21350934_2 (opponent VARCHAR, attendance VARCHAR) |
SELECT title, director FROM movie WHERE year <= 2000 ORDER BY gross_worldwide DESC LIMIT 1 | Return the title and director of the movie released in the year 2000 or earlier that had the highest worldwide gross. | CREATE TABLE movie (
movie_id number,
title text,
year number,
director text,
budget_million number,
gross_worldwide number
)
CREATE TABLE book_club (
book_club_id number,
year number,
author_or_editor text,
book_title text,
publisher text,
category text,
result text... |
SELECT away_team AS score FROM table_name_40 WHERE venue = "kardinia park" | What was the away team score at kardinia park? | CREATE TABLE table_name_40 (away_team VARCHAR, venue VARCHAR) |
SELECT venue FROM table_21350934_2 WHERE score = "34-18" | What is the venue that has 34-18 as the score? | CREATE TABLE table_21350934_2 (venue VARCHAR, score VARCHAR) |
SELECT runner_s__up FROM table_name_87 WHERE margin_of_victory = "6 strokes" | What is Runner(s)-Up when Margin of Victory is 6 Strokes? | CREATE TABLE table_name_87 (
runner_s__up VARCHAR,
margin_of_victory VARCHAR
) |
SELECT away_team FROM table_name_63 WHERE home_team = "north melbourne" | Who was the away team at the home game of north melbourne? | CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR) |
SELECT COUNT(result) FROM table_21350934_2 WHERE attendance = "14,381" | How many results have 14,381 as the attendance? | CREATE TABLE table_21350934_2 (result VARCHAR, attendance VARCHAR) |
SELECT T1.flno FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid WHERE T2.name = "Airbus A340-300" | Show all flight numbers with aircraft Airbus A340-300. | CREATE TABLE aircraft (
aid number,
name text,
distance number
)
CREATE TABLE certificate (
eid number,
aid number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)... |
SELECT AVG(yards__red_tees_) FROM table_name_27 WHERE hole = "1" AND par__white_tees_ > 4 | What is the average number of yards on a red tee that has a hole of 1 and a par above 4? | CREATE TABLE table_name_27 (yards__red_tees_ INTEGER, hole VARCHAR, par__white_tees_ VARCHAR) |
SELECT round FROM table_21350934_2 WHERE attendance = "6,150" | How many rounds have 6,150 as attendance? | CREATE TABLE table_21350934_2 (round VARCHAR, attendance VARCHAR) |
SELECT injunctive FROM table_16337329_5 WHERE past_habitual = "गर्यो garyo 'he did'" | Name the injunctive for garyo 'he did | CREATE TABLE table_16337329_5 (
injunctive VARCHAR,
past_habitual VARCHAR
) |
SELECT bronze FROM table_name_9 WHERE nation = "netherlands" | How many bronzes did netherlands win? | CREATE TABLE table_name_9 (bronze VARCHAR, nation VARCHAR) |
SELECT COUNT(opponent) FROM table_21378160_2 WHERE date = "17/05/2009" | How many opponents did they play on 17/05/2009? | CREATE TABLE table_21378160_2 (opponent VARCHAR, date VARCHAR) |
SELECT Title FROM Posts WHERE Title LIKE '%Pareto%' | how to draw a line with a bar in the same time in a pareto chart. | CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
... |
SELECT nation FROM table_name_13 WHERE total = 6 | What is the nation for 6 total? | CREATE TABLE table_name_13 (nation VARCHAR, total VARCHAR) |
SELECT score FROM table_21378160_2 WHERE round = "3" | What was the score of round 3? | CREATE TABLE table_21378160_2 (score VARCHAR, round VARCHAR) |
SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name ORDER BY Document_Date | How many documents are created in each day? Bin the document date by year interval and group by document type with a group line chart, and I want to sort Document_Date in asc order. | CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Document_Date DATE... |
SELECT bronze FROM table_name_50 WHERE total > 2 AND gold = "1" AND silver = "4" | What is the bronze when silver is 4 and gold is 1 and the total is more than 2 | CREATE TABLE table_name_50 (bronze VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR) |
SELECT COUNT(artist) FROM table_21378339_5 WHERE televote_points = 7 | Name the artist for 7 points | CREATE TABLE table_21378339_5 (artist VARCHAR, televote_points VARCHAR) |
SELECT player FROM table_20649850_1 WHERE position = "OL" | Name the player for ol | CREATE TABLE table_20649850_1 (
player VARCHAR,
position VARCHAR
) |
SELECT gold FROM table_name_20 WHERE nation = "netherlands" | Tell me the gold for netherlands | CREATE TABLE table_name_20 (gold VARCHAR, nation VARCHAR) |
SELECT COUNT(artist) FROM table_21378339_5 WHERE panel_points = 5 | Name the number of artists for panel points being 5 | CREATE TABLE table_21378339_5 (artist VARCHAR, panel_points VARCHAR) |
SELECT MIN(year) FROM table_name_52 WHERE tournament = "hypo-meeting" AND points = "8002" | What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points? | CREATE TABLE table_name_52 (
year INTEGER,
tournament VARCHAR,
points VARCHAR
) |
SELECT away_team AS score FROM table_name_58 WHERE home_team = "richmond" | Which Away team score has a Home team of richmond? | CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR) |
SELECT COUNT(televote_points) FROM table_21378339_5 WHERE song = "Cry on my shoulders" | Name the total number of televote points for cry on my shoulders | CREATE TABLE table_21378339_5 (televote_points VARCHAR, song VARCHAR) |
SELECT "Area( acres )" FROM table_31492 WHERE "Civil parish" = 'Kilworth' AND "Townland" = 'Monadrishane' | What is the area of the civil parish kilworth and townland monadrishane? | CREATE TABLE table_31492 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
) |
SELECT home_team AS score FROM table_name_72 WHERE away_team = "carlton" | Which Home team score has an Away team of carlton? | CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR) |
SELECT score FROM table_21378339_5 WHERE artist = "Rebeka Dremelj" | Name the score for rebeka dremelj | CREATE TABLE table_21378339_5 (score VARCHAR, artist VARCHAR) |
SELECT tries_for FROM table_name_76 WHERE losing_bonus = "6" | If the losing bonus was 6, what is the tries for? | CREATE TABLE table_name_76 (
tries_for VARCHAR,
losing_bonus VARCHAR
) |
SELECT SUM(no_in_series) FROM table_name_38 WHERE director = "jefferson kibbee" AND production_code = "2398191" | What is the total series numbers that is directed by Jefferson Kibbee and has a production code of 2398191? | CREATE TABLE table_name_38 (no_in_series INTEGER, director VARCHAR, production_code VARCHAR) |
SELECT artist FROM table_21378339_5 WHERE televotes = 1595 | Name the artist for 1595 televotes | CREATE TABLE table_21378339_5 (artist VARCHAR, televotes VARCHAR) |
SELECT "Opponent" FROM table_1134 WHERE "Date" = 'October 2, 1983' | Name the opponent for october 2, 1983 | CREATE TABLE table_1134 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
) |
SELECT 1 AS st_edition FROM table_name_77 WHERE episode = "4" | What is the 1st Edition for the Episode 4? | CREATE TABLE table_name_77 (episode VARCHAR) |
SELECT outcome FROM table_2139023_2 WHERE surface = "Grass" AND year = 1955 | What was the result of the match on grass in 1955? | CREATE TABLE table_2139023_2 (outcome VARCHAR, surface VARCHAR, year VARCHAR) |
SELECT "Set 2" FROM table_61477 WHERE "Total" = '52:44' | What is Set 2, when Total is '52:44'? | CREATE TABLE table_61477 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Total" text
) |
SELECT 1 AS st_edition FROM table_name_16 WHERE episode = "11" | What is the 1st Edition for Episode 11? | CREATE TABLE table_name_16 (episode VARCHAR) |
SELECT outcome FROM table_2139023_2 WHERE championship = "Australian championships" | What was the result of the Australian Championships? | CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR) |
SELECT 'Aviation SE User Count', COUNT(*) FROM "stackexchange.aviation".Users AS fu UNION ALL SELECT 'Users of both SO and AviationSE', COUNT(*) FROM "stackexchange.aviation".Users AS fu JOIN Users AS u ON fu.AccountId = u.AccountId | Site users overlap with SO. Original inspiration: http://data.stackexchange.com/stackoverflow/query/168043/accountid-comparison | CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationD... |
SELECT 3 AS rd_edition FROM table_name_90 WHERE episode = "4" | What is the 3rd Edition for Episode 4? | CREATE TABLE table_name_90 (episode VARCHAR) |
SELECT COUNT(external_link) FROM table_2140071_13 WHERE coach = "Katie Kansas" | What is the number of external links with a coach named Katie Kansas? | CREATE TABLE table_2140071_13 (external_link VARCHAR, coach VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.dob_year < "2043" | How many of the patients on elective admission were born before 2043? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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
)
C... |
SELECT home_team FROM table_name_25 WHERE crowd > 4 OFFSET 000 | Which home teams had crowds larger than 4,000? | CREATE TABLE table_name_25 (home_team VARCHAR, crowd INTEGER) |
SELECT MIN(season) FROM table_2140071_13 | What is the minimum number of seasons? | CREATE TABLE table_2140071_13 (season INTEGER) |
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-190775')) AND STRFTIME('%y-%m', lab.labresulttime) <= '2105-11' ORDER BY lab.la... | when patient 021-190775 received the last laboratory test until 11/2105? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wa... |
SELECT date FROM table_name_31 WHERE venue = "western oval" | I want to know the date for western oval venue | CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR) |
SELECT episode AS Summary FROM table_2140071_13 WHERE episode = 5 | What is the episode summary for episode 5? | CREATE TABLE table_2140071_13 (episode VARCHAR) |
SELECT "Team Classification" FROM table_45371 WHERE "Mountains Classification" = 'christophe moreau' AND "Stage" = 'final' | In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification? | CREATE TABLE table_45371 (
"Stage" text,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Points Classification" text,
"Sprints classification" text,
"Team Classification" text
) |
SELECT declination___j2000__ FROM table_name_34 WHERE right_ascension___j2000__ = "11h53m41.9s" | What is the declination with a right ascension of 11h53m41.9s? | CREATE TABLE table_name_34 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR) |
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star" | What is the summary for the episode with a coach named Rebecca Star? | CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR) |
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the sum of salary bin hire_date by weekday in a bar chart. | CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMENT_ID decimal(... |
SELECT 1 AS st_leg FROM table_name_58 WHERE team_1 = "chelsea" | What is the 1st leg when team 1 is Chelsea? | CREATE TABLE table_name_58 (team_1 VARCHAR) |
SELECT episode FROM table_2140071_10 WHERE coach = "Maritza Reveron" | Name the episode with maritza reveron | CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR) |
SELECT "Torque" FROM table_36679 WHERE "Name" = '1.2 petrol' | What is the torque of 1.2 petrol? | CREATE TABLE table_36679 (
"Name" text,
"Capacity" text,
"Power" text,
"Type" text,
"Torque" text
) |
SELECT away_team AS score FROM table_name_32 WHERE away_team = "fitzroy" | What was the away team score, when the away team was Fitzroy? | CREATE TABLE table_name_32 (away_team VARCHAR) |
SELECT season FROM table_2140071_10 WHERE premier_date = "August 16, 2010" | Name the season for august 16, 2010 | CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CATHOLIC" AND lab.label = "Protein, Total" | Get the number of catholic religious background patients who had a total protein lab test. | 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 diagnoses (
... |
SELECT home_team FROM table_name_70 WHERE away_team = "melbourne" | What is the name of the home team when the away team was Melbourne? | CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR) |
SELECT COUNT(episode) AS Summary FROM table_2140071_10 WHERE coach = "Jesse Csincsak" | Name the number of episode summary for jesse csincsak | CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR) |
SELECT "Date" FROM table_63152 WHERE "Record" = '5-3' | What is the Date of the game with a Record of 5-3? | CREATE TABLE table_63152 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text
) |
SELECT home_team FROM table_name_50 WHERE venue = "emcg" | What is the name of the home team that has a venue called EMCG? | CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR) |
SELECT coach FROM table_2140071_10 WHERE premier_date = "May 20, 2010" | Name the coach for may 20, 2010 | CREATE TABLE table_2140071_10 (coach VARCHAR, premier_date VARCHAR) |
SELECT score FROM table_name_33 WHERE player = "tom gillis" | What is Tom Gillis' score? | CREATE TABLE table_name_33 (
score VARCHAR,
player VARCHAR
) |
SELECT venue FROM table_name_5 WHERE away_team = "melbourne" | What is the name of the venue where the game played had an away team of Melbourne? | CREATE TABLE table_name_5 (venue VARCHAR, away_team VARCHAR) |
SELECT team FROM table_2139390_2 WHERE date = "June 20" | Name the team for june 20 | CREATE TABLE table_2139390_2 (team VARCHAR, date VARCHAR) |
SELECT current_club FROM table_name_9 WHERE player = "sam magri" | What is the club for Sam Magri? | CREATE TABLE table_name_9 (
current_club VARCHAR,
player VARCHAR
) |
SELECT AVG(lost) FROM table_name_33 WHERE diff > -16 AND points = 19 AND against > 24 | What is the average number lost with a difference of -16, 19 points, and more than 24 against? | CREATE TABLE table_name_33 (lost INTEGER, against VARCHAR, diff VARCHAR, points VARCHAR) |
SELECT race_time FROM table_2139390_2 WHERE year = 2002 | Name the race time for 2002 | CREATE TABLE table_2139390_2 (race_time VARCHAR, year VARCHAR) |
SELECT score FROM table_name_33 WHERE set_1 = "23–25" | What was the overall score when set 1 was 23 25? | CREATE TABLE table_name_33 (
score VARCHAR,
set_1 VARCHAR
) |
SELECT MAX(lost) FROM table_name_79 WHERE points = 25 | What is the highest number of losses with 25 points? | CREATE TABLE table_name_79 (lost INTEGER, points VARCHAR) |
SELECT COUNT(season) FROM table_2140071_5 WHERE premier_date = "January 6, 2005" | How many seasons have a premier date of January 6, 2005? | CREATE TABLE table_2140071_5 (season VARCHAR, premier_date VARCHAR) |
SELECT gold FROM table_name_65 WHERE year > 1970 AND place = "milan" | What gold has a year after 1970, with milan as the place? | CREATE TABLE table_name_65 (
gold VARCHAR,
year VARCHAR,
place VARCHAR
) |
SELECT SUM(diff) FROM table_name_48 WHERE drawn = 9 AND played > 18 | What is the sum of the difference for 9 draws and over 18 played? | CREATE TABLE table_name_48 (diff INTEGER, drawn VARCHAR, played VARCHAR) |
SELECT MAX(season) FROM table_2140071_5 | What is the last season? | CREATE TABLE table_2140071_5 (season INTEGER) |
SELECT "Name" FROM table_52812 WHERE "Ties" = '5' | Who has ties of 5? | CREATE TABLE table_52812 (
"Name" text,
"TKM career" text,
"Ties" real,
"Dou W/L" text,
"Sin W/L" text
) |
SELECT MIN(drawn) FROM table_name_36 WHERE lost < 2 | What is the lowest number drawn with less than 2 lost? | CREATE TABLE table_name_36 (drawn INTEGER, lost INTEGER) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.