answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT hometown FROM table_name_83 WHERE college = "duke" | What is the hometown of the player who is headed to Duke? | CREATE TABLE table_name_83 (hometown VARCHAR, college VARCHAR) |
SELECT english_title FROM table_16425614_3 WHERE official__number = 22 | What is the English title for the official number 22 episode? | CREATE TABLE table_16425614_3 (english_title VARCHAR, official__number VARCHAR) |
SELECT "2002" FROM table_6271 WHERE "2001" = '1–0' AND "2000" = '3–0' | What is in 2002 has a 2001 score 1 0, and a 2000 of 3 0? | CREATE TABLE table_6271 (
"Tournament" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"Career Win-Loss" text
) |
SELECT louise FROM table_name_83 WHERE dainty_june = "tracy venner" | Who was Louise when Tracy Venner was Dainty June? | CREATE TABLE table_name_83 (louise VARCHAR, dainty_june VARCHAR) |
SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia" | Which CFL team did the player from British Columbia get drafted to | CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR) |
SELECT "Rounds" FROM table_10618 WHERE "Tyre" = 'd' AND "Chassis" = 'p15' | In what rounds did the P15 Chassis and tyre D participate? | CREATE TABLE table_10618 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
) |
SELECT dainty_june FROM table_name_5 WHERE louise = "tammy blanchard" | Who was Dainty June when Tammy Blanchard was Louise? | CREATE TABLE table_name_5 (dainty_june VARCHAR, louise VARCHAR) |
SELECT position FROM table_16441561_5 WHERE college = "Laval" | Which positions had players from Laval college | CREATE TABLE table_16441561_5 (position VARCHAR, college VARCHAR) |
SELECT "Driver" FROM table_10174 WHERE "Laps" = '58' | Tell me the driver for 58 laps | CREATE TABLE table_10174 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) |
SELECT dainty_june FROM table_name_27 WHERE herbie = "boyd gaines" | Who was Dainty June when Boyd Gaines was Herbie? | CREATE TABLE table_name_27 (dainty_june VARCHAR, herbie VARCHAR) |
SELECT position FROM table_16441561_5 WHERE player = "Gene Stahl" | What position did Gene Stahl play | CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.label = "Basophils" | provide the number of patients whose admission type is elective and lab test name is basophils? | CREATE TABLE diagnoses (
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 demographic (... |
SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham" | What production had Angela Lansbury as Rose and Barrie Ingham as Herbie? | CREATE TABLE table_name_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR) |
SELECT player FROM table_16441561_5 WHERE position = "DB" | Which player played DB | CREATE TABLE table_16441561_5 (player VARCHAR, position VARCHAR) |
SELECT constructor FROM table_name_89 WHERE year > 1935 AND driver = "hermann lang" | What was the constructor of the car that Hermann Lang drove after 1935? | CREATE TABLE table_name_89 (
constructor VARCHAR,
year VARCHAR,
driver VARCHAR
) |
SELECT rose FROM table_name_60 WHERE productions = "1975 broadway revival" | Who was rose in the 1975 Broadway Revival? | CREATE TABLE table_name_60 (rose VARCHAR, productions VARCHAR) |
SELECT MIN(pick__number) FROM table_16441561_5 WHERE position = "LB" | Who was the lowest picked LB | CREATE TABLE table_16441561_5 (pick__number INTEGER, position VARCHAR) |
SELECT DISTINCT p.Id AS "ID", p.CreationDate AS "Date", p.Tags AS "Tags" FROM Posts AS p WHERE p.CreationDate BETWEEN '2019-01-01' AND '2019-08-28' AND (p.Tags LIKE '%wordpress%' OR p.Tags LIKE 'yoast%' OR p.Tags LIKE '%woocommerce%' OR p.Tags LIKE 'buddypress%' OR p.Tags LIKE 'bbpress%' OR p.Tags LIKE 'contact-form-7%... | WordPress Related Questions - 8 Months. | CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PendingFlags (
Id nu... |
SELECT productions FROM table_name_96 WHERE herbie = "rex robbins" | Which production had Rex Robbins as Herbie? | CREATE TABLE table_name_96 (productions VARCHAR, herbie VARCHAR) |
SELECT COUNT(position) FROM table_16441561_5 WHERE player = "Jeff Brown" | How many players named Jeff Brown were drafted | CREATE TABLE table_16441561_5 (position VARCHAR, player VARCHAR) |
SELECT "Party" FROM table_18245 WHERE "First elected" = '1982' | Which party is associated with the person who was first elected in 1982? | CREATE TABLE table_18245 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) |
SELECT date FROM table_name_50 WHERE venue = "vfl park" | On what date was the venue VFL Park? | CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR) |
SELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ = 23500 | How many feet per second does a shell move where the height range is 23500? | CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.gender = "F" | provide the number of patients whose marital status is single and gender is f? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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... |
SELECT date FROM table_name_92 WHERE home_team = "footscray" | What date did Footscray play at home? | CREATE TABLE table_name_92 (date VARCHAR, home_team VARCHAR) |
SELECT shell__lb_ FROM table_16439764_1 WHERE gun = "QF 12 pdr 12 cwt" | If the gun used is the qf 12 pdr 12 cwt, what is the shell weight? | CREATE TABLE table_16439764_1 (shell__lb_ VARCHAR, gun VARCHAR) |
SELECT COUNT("Season") FROM table_72292 WHERE "Rank" = '16' | How many seasons had a rank of 16? | CREATE TABLE table_72292 (
"Season" text,
"League" text,
"Rank" real,
"Games" real,
"Points" real,
"GF" real,
"GA" real,
"Manager" text,
"Top Scorer" text,
"Goals" real
) |
SELECT home_team AS score FROM table_name_10 WHERE away_team = "geelong" | What did the home team score when they played the away team of Geelong? | CREATE TABLE table_name_10 (home_team VARCHAR, away_team VARCHAR) |
SELECT time_to_ft__m__at_25°__seconds_ FROM table_16439764_1 WHERE shell__lb_ = "12.5" AND max_height__ft_ > 20000.0 | Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees? | CREATE TABLE table_16439764_1 (time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) |
SELECT b.Text, b.CreationDate FROM Users AS a INNER JOIN Comments AS b ON a.Id = b.UserId WHERE a.DisplayName = 'Mat Mannion' ORDER BY b.CreationDate DESC | Write a query that will return the Website URL for the User called Mat Mannion.. | CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,... |
SELECT MIN(pick) FROM table_name_5 WHERE team = "boston celtics" | What was the lowest pick number for the Boston Celtics? | CREATE TABLE table_name_5 (pick INTEGER, team VARCHAR) |
SELECT gun FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "18.8" | What gun has a time to feet ratio of 18.8 at 55 degrees? | CREATE TABLE table_16439764_1 (gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.discharge_location = "HOME" | count the number of patients whose admission type was newborn and discharge location was home. | CREATE TABLE diagnoses (
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 demographic (... |
SELECT visitor FROM table_name_98 WHERE date = "23 november 2007" | Who is the visitor team on 23 November 2007? | CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR) |
SELECT MAX(m_v_ft_s) FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "22.1" | What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees? | CREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR) |
SELECT MAX("Crowd") FROM table_33685 WHERE "Home team" = 'north melbourne' | What was the largest crowd for North Melbourne | CREATE TABLE table_33685 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007" | Who is the leading scorer of the game on 20 November 2007? | CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR) |
SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2" | What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees? | CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR) |
SELECT COUNT(candidates) FROM table_1341640_11 WHERE first_elected = 1972 | How many candidates were first elected in 1972? | CREATE TABLE table_1341640_11 (
candidates VARCHAR,
first_elected VARCHAR
) |
SELECT overall FROM table_name_49 WHERE player = "petter ronnquist" | When was petter ronnquist picked? | CREATE TABLE table_name_49 (overall VARCHAR, player VARCHAR) |
SELECT skip FROM table_1644857_2 WHERE pf = 73 | Who was skip for the country whose points for (PF) was 73? | CREATE TABLE table_1644857_2 (skip VARCHAR, pf VARCHAR) |
SELECT year_opened FROM table_name_50 WHERE state = "north carolina" AND capacity < 21 OFFSET 500 | What was the year opened for North Carolina with a smaller than 21,500 capacity? | CREATE TABLE table_name_50 (
year_opened VARCHAR,
state VARCHAR,
capacity VARCHAR
) |
SELECT venue FROM table_name_96 WHERE result = "1–0" | Which venue has a Result of 1–0? | CREATE TABLE table_name_96 (venue VARCHAR, result VARCHAR) |
SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France | How many times is a score for stolen ends recorded for France? | CREATE TABLE table_1644857_2 (stolen_ends VARCHAR, country VARCHAR, France VARCHAR) |
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | the last year, what were the three most frequent medications prescribed within 2 months to the female patients with age 60 or above after being diagnosed with septic shock? | CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
... |
SELECT venue FROM table_name_98 WHERE result = "1–2" | Which venue has a Result of 1–2? | CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR) |
SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87 | How many ends were lost by the country whose points for (PF) was 87? | CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR) |
SELECT writer FROM table_name_8 WHERE actual_title = "mork & mindy" | What is the Writer with an Actual Title that is mork & mindy? | CREATE TABLE table_name_8 (
writer VARCHAR,
actual_title VARCHAR
) |
SELECT MAX(scored) FROM table_name_59 WHERE result = "1–1" AND date = "4 march 2001" | What is the highest score with a Result of 1–1 on 4 march 2001? | CREATE TABLE table_name_59 (scored INTEGER, result VARCHAR, date VARCHAR) |
SELECT COUNT(season) FROM table_16446652_1 WHERE treasurer = "Dave Reid" | How many seasons was Dave Reid treasurer? | CREATE TABLE table_16446652_1 (season VARCHAR, treasurer VARCHAR) |
SELECT AVG("Crowd") FROM table_33315 WHERE "Venue" = 'corio oval' | What was the average size of the crowd for matches held at Corio Oval? | CREATE TABLE table_33315 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT result FROM table_name_70 WHERE competition = "2003 eaff championship preliminary" AND date = "2 march 2003" | What is the result of 2003 eaff championship preliminary on 2 march 2003? | CREATE TABLE table_name_70 (result VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater" | When was Jonny Leadbeater President? | CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR) |
SELECT date FROM table_name_78 WHERE votes = "50,324" | On what date were there 50,324 votes? | CREATE TABLE table_name_78 (
date VARCHAR,
votes VARCHAR
) |
SELECT engine FROM table_name_44 WHERE driver = "luigi villoresi" | I want the engine for luigi villoresi | CREATE TABLE table_name_44 (engine VARCHAR, driver VARCHAR) |
SELECT skip FROM table_1644876_2 WHERE stolen_ends = 14 | Who was the skip with 14 stolen ends? | CREATE TABLE table_1644876_2 (skip VARCHAR, stolen_ends VARCHAR) |
SELECT "Reigns" FROM table_14995 WHERE "Days held" = '92' | Which Reigns has 92 days held? | CREATE TABLE table_14995 (
"Wrestler" text,
"Reigns" text,
"Days held" real,
"Location" text,
"Successful defenses" text,
"Event" text
) |
SELECT chassis FROM table_name_34 WHERE entrant = "ecurie lutetia" | I want the chassis for entrant of ecurie lutetia | CREATE TABLE table_name_34 (chassis VARCHAR, entrant VARCHAR) |
SELECT MIN(l) FROM table_1644876_2 | What is the fewest number of losses? | CREATE TABLE table_1644876_2 (l INTEGER) |
SELECT "Venue" FROM table_44799 WHERE "Opponents" = 'halmstad' AND "Score" = '1-1' | Which Venue has a Opponents of halmstad and a Score of 1-1? | CREATE TABLE table_44799 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Comp" text,
"Attendance" text
) |
SELECT date FROM table_name_8 WHERE venue = "princes park" | What date was the game played at princes park? | CREATE TABLE table_name_8 (date VARCHAR, venue VARCHAR) |
SELECT shot__percentage FROM table_1644876_2 WHERE locale = Switzerland | What are the shot percentages for teams that played in switzerland? | CREATE TABLE table_1644876_2 (shot__percentage VARCHAR, locale VARCHAR, Switzerland VARCHAR) |
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'acute respiratory failure - due to increased co2 production') | what is the cost of a diagnosis for an acute respiratory failure - due to increased co2 production? | 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 away_team AS score FROM table_name_83 WHERE venue = "vfl park" | What was the score of the away team when the game was played at vfl park? | CREATE TABLE table_name_83 (away_team VARCHAR, venue VARCHAR) |
SELECT MIN(60 AS _to_64) FROM table_16457934_4 | what is the minimum of 60 -64? | CREATE TABLE table_16457934_4 (Id VARCHAR) |
SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Keiron & Brianne" | How many ranks by average when Keiron & Brianne are the couple? | CREATE TABLE table_26375386_28 (
rank_by_average VARCHAR,
couple VARCHAR
) |
SELECT kaz_hayashi FROM table_name_43 WHERE block_a = "bushi" | Name the kaz hayashi for block A being bushi | CREATE TABLE table_name_43 (kaz_hayashi VARCHAR, block_a VARCHAR) |
SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "重庆" | What province has the Chinese translation 重庆? | CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR) |
SELECT "Away team" FROM table_55671 WHERE "Venue" = 'emcg' | When the game was played at the EMCG venue, who was the away team? | CREATE TABLE table_55671 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
) |
SELECT minoru FROM table_name_38 WHERE block_a = "koji kanemoto" | Name the minoru for block A being koji kanemoto | CREATE TABLE table_name_38 (minoru VARCHAR, block_a VARCHAR) |
SELECT COUNT(administrative_population__2010_) FROM table_16489766_2 WHERE city = "Shanghai" | What is the total administrative population of Shanghai? | CREATE TABLE table_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR) |
SELECT lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Kelly Gallardo" | what is the lab test name for the patient kelly gallardo? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescription... |
SELECT bushi FROM table_name_45 WHERE kenny_omega = "yang (7:27)" | Name the BUSHI when it has kenny omega of yang (7:27) | CREATE TABLE table_name_45 (bushi VARCHAR, kenny_omega VARCHAR) |
SELECT MAX(administrative_population__2010_) FROM table_16489766_2 WHERE chinese = "昆明" | What is the maximum administrative population of the city with Chinese translation 昆明? | CREATE TABLE table_16489766_2 (administrative_population__2010_ INTEGER, chinese VARCHAR) |
SELECT "Stations" FROM table_24014 WHERE "Parking" = 'Park & Ride Lot' | Which station has park & ride lot parking? | CREATE TABLE table_24014 (
"Stations" text,
"Connections" text,
"City/ Neighborhood" text,
"Parking" text,
"Date Opened" text
) |
SELECT bushi FROM table_name_50 WHERE kaz_hayashi = "kai (14:01)" | Name the BUSHI that has kaz hayashi of kai (14:01) | CREATE TABLE table_name_50 (bushi VARCHAR, kaz_hayashi VARCHAR) |
SELECT COUNT(urban_population__2010_) FROM table_16489766_2 WHERE pinyin = "Chángchūn" | What is the total urban population of the city with the pinyin translation chángchūn? | CREATE TABLE table_16489766_2 (urban_population__2010_ VARCHAR, pinyin VARCHAR) |
SELECT school FROM table_name_89 WHERE capacity > 730 AND ofsted < 106135 AND locality = "heaton mersey" | Which School has a Capacity larger than 730, and an Ofsted smaller than 106135, and a Locality of heaton mersey? | CREATE TABLE table_name_89 (
school VARCHAR,
locality VARCHAR,
capacity VARCHAR,
ofsted VARCHAR
) |
SELECT kaz_hayashi FROM table_name_49 WHERE bushi = "yang (9:43)" | Name the Kaz Hayashi which has BUSHI of yang (9:43) | CREATE TABLE table_name_49 (kaz_hayashi VARCHAR, bushi VARCHAR) |
SELECT player FROM table_16494599_1 WHERE years_for_grizzlies = "2009-2013" | What player was on the Grizzlies from 2009-2013? | CREATE TABLE table_16494599_1 (player VARCHAR, years_for_grizzlies VARCHAR) |
SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 | What is the fewest losses that had an against score of 2190 and more than 0 draws? | CREATE TABLE table_name_27 (
losses INTEGER,
against VARCHAR,
draws VARCHAR
) |
SELECT winning_driver FROM table_name_25 WHERE race = "dutch grand prix" | Who was the winning driver for the Dutch Grand Prix? | CREATE TABLE table_name_25 (winning_driver VARCHAR, race VARCHAR) |
SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida" | What nationality is the player who went to school at South Florida? | CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR) |
SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsInMay, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId GROUP BY TagName) AS rate INNER JOIN (SELECT COUNT(PostId)... | Most popular Stack Overflow tags. | CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Tags (
Id number,
TagName text,
Cou... |
SELECT song FROM table_name_23 WHERE year < 2013 AND music_director = "yuvan shankar raja" AND film = "billa ii" | Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii | CREATE TABLE table_name_23 (song VARCHAR, film VARCHAR, year VARCHAR, music_director VARCHAR) |
SELECT position FROM table_16494599_1 WHERE years_for_grizzlies = "1995-1996" | What position is the player who was on the Grizzlies from 1995-1996? | CREATE TABLE table_16494599_1 (position VARCHAR, years_for_grizzlies VARCHAR) |
SELECT ratio FROM table_name_2 WHERE in_×_in = "17 × 22" | Which Ratio has an in in of 17 22? | CREATE TABLE table_name_2 (
ratio VARCHAR,
in_×_in VARCHAR
) |
SELECT title FROM table_name_13 WHERE original_air_date = "march 19, 1998" | What title aired on March 19, 1998? | CREATE TABLE table_name_13 (title VARCHAR, original_air_date VARCHAR) |
SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002" | How may players played for the Grizzlies from 2000-2002? | CREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR) |
SELECT SUM(laps) FROM table_name_56 WHERE time = "+7.277" AND grid > 6 | What is the total number of laps for the time of +7.277 and the grid number of more than 6? | CREATE TABLE table_name_56 (
laps INTEGER,
time VARCHAR,
grid VARCHAR
) |
SELECT directed_by FROM table_name_1 WHERE production_code = "k2708" | Who directed the show with the production code k2708? | CREATE TABLE table_name_1 (directed_by VARCHAR, production_code VARCHAR) |
SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 7" | Name the miles for june 7 | CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR) |
SELECT "Kilgore (R)" FROM table_61996 WHERE "Potts (I)" = '1%' | What was Kilgore's (R) percentage when Potts (I) polled at 1%? | CREATE TABLE table_61996 (
"Source" text,
"Date" text,
"Kaine (D)" text,
"Kilgore (R)" text,
"Potts (I)" text
) |
SELECT season__number FROM table_name_52 WHERE series__number = 81 | What is the season for series 81? | CREATE TABLE table_name_52 (season__number VARCHAR, series__number VARCHAR) |
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21" | Name the driver for race time being 2:34:21 | CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR) |
SELECT high_points FROM table_17323092_8 WHERE game = 69 | Who earned high points in game 69? | CREATE TABLE table_17323092_8 (
high_points VARCHAR,
game VARCHAR
) |
SELECT date FROM table_name_4 WHERE venue = "lake oval" | On what date was a match played at Lake Oval? | CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR) |
SELECT driver FROM table_16493961_1 WHERE date = "June 23" AND team = "Penske Racing" | Name the driver for june 23 and team of penske racing | CREATE TABLE table_16493961_1 (driver VARCHAR, date VARCHAR, team VARCHAR) |
SELECT COUNT(points_for) FROM table_1676073_12 WHERE points_against = "632" | How many teams had 632 points against? | CREATE TABLE table_1676073_12 (
points_for VARCHAR,
points_against VARCHAR
) |
SELECT away_team AS score FROM table_name_62 WHERE home_team = "collingwood" | At the home game in Collingwood, how much did the away team score? | CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.