answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT "Time/Retired" FROM table_10474 WHERE "Grid" = '12' | What is Time/Retired with a Grid of 12? | CREATE TABLE table_10474 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) |
SELECT catalog FROM table_name_1 WHERE label = "columbia" AND date = "december 11, 2007" AND region = "canada" | What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada? | CREATE TABLE table_name_1 (catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR) |
SELECT location_s_ FROM table_19897294_9 WHERE family_families = "The Abbas Family and The Pickering Family" | where was the abbas family and the pickering family located | CREATE TABLE table_19897294_9 (location_s_ VARCHAR, family_families VARCHAR) |
SELECT "Grid" FROM table_32743 WHERE "Laps" = '23' AND "Rider" = 'josh brookes' | What grid has 23 laps done by Josh Brookes? | CREATE TABLE table_32743 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
) |
SELECT SUM(crowd) FROM table_name_84 WHERE venue = "princes park" | What is the average crowd size at Princes Park? | CREATE TABLE table_name_84 (crowd INTEGER, venue VARCHAR) |
SELECT class FROM table_19897896_7 WHERE position = "Forward" | in which class is the position forward | CREATE TABLE table_19897896_7 (class VARCHAR, position VARCHAR) |
SELECT MIN(labour_party) FROM table_name_16 WHERE fianna_fáil > 5 | What is the lowest number in the Labour Party for the Fianna Fail higher than 5? | CREATE TABLE table_name_16 (
labour_party INTEGER,
fianna_fáil INTEGER
) |
SELECT constructor FROM table_name_42 WHERE free_practice_driver_s_ = "n/a" AND chassis = "005" AND driver = "takuma sato" | who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato? | CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, free_practice_driver_s_ VARCHAR, chassis VARCHAR) |
SELECT season FROM table_19897896_7 WHERE position = "Center" | in which season the position was center | CREATE TABLE table_19897896_7 (season VARCHAR, position VARCHAR) |
SELECT score FROM table_name_58 WHERE opponent = "melanie south" | Which Score has an Opponent of melanie south? | CREATE TABLE table_name_58 (
score VARCHAR,
opponent VARCHAR
) |
SELECT rounds FROM table_name_57 WHERE entrant = "scuderia ferrari marlboro" | what is the rounds when the entrant is scuderia ferrari marlboro? | CREATE TABLE table_name_57 (rounds VARCHAR, entrant VARCHAR) |
SELECT class FROM table_19897896_7 WHERE university = "Ohio state" | in which class was the ohio state university | CREATE TABLE table_19897896_7 (class VARCHAR, university VARCHAR) |
SELECT "Winner" FROM table_34945 WHERE "Venue" = 'campbelltown sports stadium' | Who was the Winner at Campbelltown Sports Stadium? | CREATE TABLE table_34945 (
"Winner" text,
"Score" text,
"Date" text,
"Venue" text,
"Crowd" real
) |
SELECT chassis FROM table_name_3 WHERE entrant = "mild seven renault f1 team" AND driver = "jarno trulli" | what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli? | CREATE TABLE table_name_3 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR) |
SELECT COUNT(family_families) FROM table_19897294_8 WHERE no_overall = "UK30" | Name the number of families for uk30 | CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR) |
SELECT "City/Country" FROM table_57556 WHERE "Venue" = 'adelaide oval' | Name the place where adelaide oval is | CREATE TABLE table_57556 (
"Runs" text,
"Against" text,
"City/Country" text,
"Venue" text,
"Result" text,
"Year" text
) |
SELECT engine_† FROM table_name_34 WHERE tyre = "m" AND driver = "fernando alonso" | what is the engine when the tyre is m and the driver is fernando alonso? | CREATE TABLE table_name_34 (engine_† VARCHAR, tyre VARCHAR, driver VARCHAR) |
SELECT MAX(no_in_series) FROM table_19897294_8 WHERE family_families = "The Ward Family and The Wren Family" | Name the number in series for in the ward family and the wren family | CREATE TABLE table_19897294_8 (no_in_series INTEGER, family_families VARCHAR) |
SELECT home_team FROM table_name_56 WHERE venue = "arden street oval" | Which team's home is the Arden Street Oval? | CREATE TABLE table_name_56 (
home_team VARCHAR,
venue VARCHAR
) |
SELECT constructor FROM table_name_41 WHERE driver = "juan pablo montoya" | who is the constructor when the driver is juan pablo montoya? | CREATE TABLE table_name_41 (constructor VARCHAR, driver VARCHAR) |
SELECT family_families FROM table_19897294_8 WHERE no_overall = "UK31" | Name the family for uk31 | CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR) |
SELECT SUM("Saves") FROM table_15145 WHERE "Save %" = '92.3%' AND "Goals against" > '217' | How many saves did the player with a 92.3% save rate and 217 goals have? | CREATE TABLE table_15145 (
"Player" text,
"Years" text,
"Goals against" real,
"Saves" real,
"Save %" text
) |
SELECT COUNT(attendance) FROM table_name_39 WHERE record = "86-56" | How many people attended the game with a record of 86-56 | CREATE TABLE table_name_39 (attendance VARCHAR, record VARCHAR) |
SELECT MIN(no_in_series) FROM table_19897294_8 | Name the least number in series | CREATE TABLE table_19897294_8 (no_in_series INTEGER) |
SELECT stadium FROM table_name_60 WHERE final_score = "31-28" | At what stadium was the final score 31-28? | CREATE TABLE table_name_60 (
stadium VARCHAR,
final_score VARCHAR
) |
SELECT date FROM table_name_31 WHERE record = "90-60" | Name the date that had a record of 90-60 | CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR) |
SELECT COUNT(location_s_) FROM table_19897294_8 WHERE no_overall = "UK32" | Name the number of locations for uk32 | CREATE TABLE table_19897294_8 (location_s_ VARCHAR, no_overall VARCHAR) |
SELECT SUM("Against") FROM table_59223 WHERE "Opposing Teams" = 'south africa' AND "Status" = 'first test' | What is the sum of Against, when Opposing Teams is 'South Africa', and when Status is 'First Test'? | CREATE TABLE table_59223 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) |
SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217 | What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217? | CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR) |
SELECT original_air_date FROM table_19897294_5 WHERE no_overall = "UK17" | Name the air date for uk17 | CREATE TABLE table_19897294_5 (original_air_date VARCHAR, no_overall VARCHAR) |
SELECT award FROM table_name_84 WHERE result = "#100" | What's the award for #100? | CREATE TABLE table_name_84 (
award VARCHAR,
result VARCHAR
) |
SELECT venue FROM table_name_95 WHERE away_team = "collingwood" | What is the name of the venue that they away team Collingwood played at? | CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) |
SELECT family_families FROM table_19897294_5 WHERE no_overall = "UK17" | Name the family/families uk17 | CREATE TABLE table_19897294_5 (family_families VARCHAR, no_overall VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADE... | list all flights from DENVER to PHILADELPHIA | CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,... |
SELECT date FROM table_name_54 WHERE away_team = "carlton" | What date did Carlton play as the away team? | CREATE TABLE table_name_54 (date VARCHAR, away_team VARCHAR) |
SELECT MAX(_number) FROM table_19908313_2 WHERE crew_chief = "Billy Wilburn" | What is the number of the truck that has the crew chief Billy Wilburn? | CREATE TABLE table_19908313_2 (_number INTEGER, crew_chief VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Joint replaced hip" AND prescriptions.route = "SC" | count the number of patients whose diagnoses short title is joint replaced hip and drug route is sc? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... |
SELECT home_team AS score FROM table_name_76 WHERE venue = "windy hill" | What was the home team's score at Windy Hill? | CREATE TABLE table_name_76 (home_team VARCHAR, venue VARCHAR) |
SELECT _number FROM table_19908313_2 WHERE listed_owner_s_ = "Stephen Germain" | What number truck is owned by Stephen Germain? | CREATE TABLE table_19908313_2 (_number VARCHAR, listed_owner_s_ VARCHAR) |
SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id HAVING COUNT(*) >= 2 | What are the names of parties with at least 2 events? | CREATE TABLE party (
party_name VARCHAR,
party_id VARCHAR
)
CREATE TABLE party_events (
party_id VARCHAR
) |
SELECT MIN(grid) FROM table_name_48 WHERE laps < 17 AND constructor = "sauber - petronas" | What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas? | CREATE TABLE table_name_48 (grid INTEGER, laps VARCHAR, constructor VARCHAR) |
SELECT team FROM table_19908313_2 WHERE primary_sponsor_s_ = "D3 Outdoors" | What team is sponsored by d3 Outdoors? | CREATE TABLE table_19908313_2 (team VARCHAR, primary_sponsor_s_ VARCHAR) |
SELECT "driver" FROM table_203_364 WHERE "driver" IN ('nigel mansell', 'al unser, jr', 'michael schumacher', 'jeff gordon') GROUP BY "driver" HAVING COUNT(*) = 1 | out of these drivers : nigel mansell , al unser , jr. , michael schumacher , and jeff gordon , all but one has more than one espy award . who only has one espy award ? | CREATE TABLE table_203_364 (
id number,
"year" number,
"driver" text,
"nation of citizenship" text,
"racing series" text,
"type of vehicle" text
) |
SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta" | Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta? | CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) |
SELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = "Jeff Wyler" | How many teams does Jeff Wyler own? | CREATE TABLE table_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR) |
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 = '006-224208' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospital... | when was the last laboratory test during their first hospital visit for patient 006-224208? | CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperio... |
SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 24 | How many ties did the Montreal Victorias have with a GA of less than 24? | CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR) |
SELECT primary_sponsor_s_ FROM table_19908313_2 WHERE crew_chief = "Rick Ren" | Who is the primary sponsor for crew cheif Rick Ren's team? | CREATE TABLE table_19908313_2 (primary_sponsor_s_ VARCHAR, crew_chief VARCHAR) |
SELECT name FROM people WHERE NOT people_id IN (SELECT people_id FROM candidate) | Give the names of people who did not participate in the candidate election. | CREATE TABLE candidate (
candidate_id number,
people_id number,
poll_source text,
date text,
support_rate number,
consider_rate number,
oppose_rate number,
unsure_rate number
)
CREATE TABLE people (
people_id number,
sex text,
name text,
date_of_birth text,
height nu... |
SELECT COUNT(year) FROM table_name_28 WHERE record = "3:40.8" | How many years was the record 3:40.8? | CREATE TABLE table_name_28 (year VARCHAR, record VARCHAR) |
SELECT primary_sponsor_s_ FROM table_19908313_2 WHERE listed_owner_s_ = "Bobby Dotter" | Who sponsors owner Bobby Dotter's team? | CREATE TABLE table_19908313_2 (primary_sponsor_s_ VARCHAR, listed_owner_s_ VARCHAR) |
SELECT All_Games, Team_ID FROM basketball_match | Draw a pie chart about the proportion of All_Games and Team_ID. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... |
SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen" | What event is before 1964 and has an athlete of lászló tábori gunnar nielsen? | CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR) |
SELECT price FROM table_19905183_1 WHERE captain = "Sanath Jayasuriya" | What's the price of the team whose captain is Sanath Jayasuriya? | CREATE TABLE table_19905183_1 (price VARCHAR, captain VARCHAR) |
SELECT COUNT(*) FROM Users WHERE Reputation >= 125 | How many are eligible to DV?. | CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
... |
SELECT leading_scorer FROM table_name_27 WHERE home = "kings" | Who is the leading scorer of the game where the Kings is the home team? | CREATE TABLE table_name_27 (leading_scorer VARCHAR, home VARCHAR) |
SELECT team FROM table_19905183_1 WHERE province = "Eastern" | What team is from the Eastern province? | CREATE TABLE table_19905183_1 (team VARCHAR, province VARCHAR) |
SELECT COUNT(*) FROM nuclear_power_plants WHERE country = "Japan" AND status = "Under Construction" | How many nuclear power plants are in preparation to be used in Japan? | CREATE TABLE nuclear_power_plants (
id text,
name text,
latitude text,
longitude text,
country text,
status text,
reactortype text,
reactormodel text,
constructionstartat text,
operationalfrom text,
operationalto text,
capacity text,
lastupdatedat text,
source tex... |
SELECT visitor FROM table_name_19 WHERE date = "march 2, 2008" | Who is the visitor team of the game on March 2, 2008? | CREATE TABLE table_name_19 (visitor VARCHAR, date VARCHAR) |
SELECT head_coach FROM table_19905183_1 WHERE price = "$3.22 million" | Who's the head coach of the team with a price of $3.22 million? | CREATE TABLE table_19905183_1 (head_coach VARCHAR, price VARCHAR) |
SELECT AVG("Year") FROM table_15804 WHERE "Pts." > '0' AND "Entrant" = 'ecurie bleue' | What year did Ecurie Bleue score more than 0 points? | CREATE TABLE table_15804 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." real
) |
SELECT COUNT(attendance) FROM table_name_67 WHERE home = "lakers" | What is the attendance total of the game with the Lakers as the home team? | CREATE TABLE table_name_67 (attendance VARCHAR, home VARCHAR) |
SELECT COUNT(team) FROM table_19905183_1 WHERE head_coach = "Waqar Younis" | In how many teams is Waqar Younis the head coach? | CREATE TABLE table_19905183_1 (team VARCHAR, head_coach VARCHAR) |
SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.discharge_location = "HOME HEALTH CARE" | what is minimum age of patients whose admission location is trsf within this facility and discharge location is home health care? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... |
SELECT week FROM table_name_89 WHERE attendance = "39,056" | Which week had 39,056 people in attendance? | CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR) |
SELECT province FROM table_19905183_1 WHERE team = "Ruhuna Royals" | What province does the Ruhuna Royals team come from? | CREATE TABLE table_19905183_1 (province VARCHAR, team VARCHAR) |
SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'sepsis' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2103') AS t1) - (SELECT COUNT(DISTINCT t2.un... | how many patients were diagnosed with sepsis in hospital and didn't come back to the hospital in the same month until 2103? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
a... |
SELECT kickoff_[a_] FROM table_name_25 WHERE week = "3" | What is the kickoff time for week 3? | CREATE TABLE table_name_25 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR) |
SELECT birth_date FROM table_19900792_1 WHERE player = "Alexey Kuleshov" | When was Alexey Kuleshov born? | CREATE TABLE table_19900792_1 (birth_date VARCHAR, player VARCHAR) |
SELECT "Home team" FROM table_33168 WHERE "Away team score" = '8.9 (57)' | What Home team has an Away team score of 8.9 (57)? | CREATE TABLE table_33168 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome" | What is the kickoff time for the Hubert H. Humphrey Metrodome? | CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR) |
SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602" | What is the trigger pack on the Colt 602 with the a1 rear sight type? | CREATE TABLE table_19901_1 (trigger_pack VARCHAR, rear_sight_type VARCHAR, colt_model_no VARCHAR) |
SELECT AVG(kerry_number) FROM table_name_46 WHERE bush_number = 189 OFFSET 605 | How many votes did Kerry get in the county that gave Bush 189,605 votes? | CREATE TABLE table_name_46 (
kerry_number INTEGER,
bush_number VARCHAR
) |
SELECT opponent FROM table_name_10 WHERE date = "september 13, 1992" | Who was the opponent on September 13, 1992? | CREATE TABLE table_name_10 (opponent VARCHAR, date VARCHAR) |
SELECT rear_sight_type FROM table_19901_1 WHERE muzzle_device = "ACR muzzle brake" | What is the rear sight type on the model with the acr muzzle brake device? | CREATE TABLE table_19901_1 (rear_sight_type VARCHAR, muzzle_device VARCHAR) |
SELECT event FROM table_name_79 WHERE competition = "chicago marathon" AND year > 2004 | Which Event has a Competition of chicago marathon, and a Year larger than 2004? | CREATE TABLE table_name_79 (
event VARCHAR,
competition VARCHAR,
year VARCHAR
) |
SELECT result FROM table_name_53 WHERE date = "november 1, 1992" | What is the result on November 1, 1992? | CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR) |
SELECT muzzle_device FROM table_19901_1 WHERE colt_model_no = "603" | Which muzzle devices are on the Colt 603? | CREATE TABLE table_19901_1 (muzzle_device VARCHAR, colt_model_no VARCHAR) |
SELECT high_points FROM table_11963601_11 WHERE date = "May 3" | Who was the high scorer and how much did they score in the game on May 3? | CREATE TABLE table_11963601_11 (
high_points VARCHAR,
date VARCHAR
) |
SELECT away_team AS score FROM table_name_84 WHERE home_team = "melbourne" | What was the away score when the home team was Melbourne? | CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR) |
SELECT us_viewers__millions_ FROM table_19925114_1 WHERE no_in_season = 8 | How many millions of people in the US watched the episode with season number 8? | CREATE TABLE table_19925114_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) |
SELECT "Weight" FROM table_78902 WHERE "Date of Birth" = '1981-11-21' | What is the weight of the entry that has a date of birth of 1981-11-21? | CREATE TABLE table_78902 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
) |
SELECT away_team FROM table_name_72 WHERE home_team = "collingwood" | Who played Collingwood? | CREATE TABLE table_name_72 (away_team VARCHAR, home_team VARCHAR) |
SELECT COUNT(directed_by) FROM table_19925114_1 WHERE no_in_series = 38 | How many episodes had the series number of 38? | CREATE TABLE table_19925114_1 (directed_by VARCHAR, no_in_series VARCHAR) |
SELECT title FROM table_2866514_1 WHERE us_viewers__million_ = "5.66" | What are the titles of episodes with 5.66 million US viewers? | CREATE TABLE table_2866514_1 (
title VARCHAR,
us_viewers__million_ VARCHAR
) |
SELECT SUM(crowd) FROM table_name_78 WHERE home_team = "essendon" | How big was the crowd for Essendon? | CREATE TABLE table_name_78 (crowd INTEGER, home_team VARCHAR) |
SELECT COUNT(us_viewers__millions_) FROM table_19925114_1 WHERE no_in_season = 8 | How many different numbers of people in the US who'd seen the episode with a season number 8 are there? | CREATE TABLE table_19925114_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) |
SELECT "Event" FROM table_64167 WHERE "Medal" = 'gold' AND "Name" = 'duncan white' | Name Event of Medal of gold and a Name of duncan white? | CREATE TABLE table_64167 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
) |
SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne" | Which team played against North Melbourne as the home team? | CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR) |
SELECT COUNT(rufus_guest) FROM table_19930660_1 WHERE first_broadcast = "15 December 2008" | Name the rufus guest for 15 december 2008 | CREATE TABLE table_19930660_1 (rufus_guest VARCHAR, first_broadcast VARCHAR) |
SELECT "Away team" FROM table_10767 WHERE "Home team" = 'essendon' | Who played as the away team when Essendon was the home team? | CREATE TABLE table_10767 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT home_team FROM table_name_40 WHERE venue = "punt road oval" | Which home team plays at Punt Road Oval? | CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR) |
SELECT winner FROM table_19930660_1 WHERE marcus_guest = "Jason Byrne" | Name the winner for jason byrne | CREATE TABLE table_19930660_1 (winner VARCHAR, marcus_guest VARCHAR) |
SELECT "Institution" FROM table_10083 WHERE "Location" = 'akron, oh' | what is the institution at akron, oh? | CREATE TABLE table_10083 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Joined TSCHL" real,
"Home Arena" text,
"Capacity" real,
"Team Website" text
) |
SELECT home_team FROM table_name_75 WHERE venue = "punt road oval" | Which team plays at Punt Road Oval? | CREATE TABLE table_name_75 (home_team VARCHAR, venue VARCHAR) |
SELECT rufus_guest FROM table_19930660_1 WHERE episode = "1x07" | Name the rufus guest for episode 1x07 | CREATE TABLE table_19930660_1 (rufus_guest VARCHAR, episode VARCHAR) |
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'crushing injury foot') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 60136 AND admissions.dischtime I... | did patient 60136 have crushing injury foot diagnosed in this hospital encounter? | CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE patients (... |
SELECT away_team AS score FROM table_name_58 WHERE venue = "corio oval" | What did the away team score at corio oval? | CREATE TABLE table_name_58 (away_team VARCHAR, venue VARCHAR) |
SELECT winner FROM table_19930660_1 WHERE first_broadcast = "26 January 2009" | Name the winner for 26 january 2009 | CREATE TABLE table_19930660_1 (winner VARCHAR, first_broadcast VARCHAR) |
SELECT engine FROM table_name_27 WHERE points = "47" AND tyres = "f" AND entrant = "rob walker racing team" | Which engine of Rob Walker Racing Team has 47 points and F tyres? | CREATE TABLE table_name_27 (
engine VARCHAR,
entrant VARCHAR,
points VARCHAR,
tyres VARCHAR
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.