answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009 | What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009? | CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR) |
SELECT fleet__number FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISL" | What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL? | CREATE TABLE table_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR) |
SELECT SUM(points) FROM table_name_8 WHERE season = "1963" AND games > 30 | What's the sum of points for the 1963 season when there are more than 30 games? | CREATE TABLE table_name_8 (
points INTEGER,
season VARCHAR,
games VARCHAR
) |
SELECT date FROM table_name_67 WHERE away_team = "st kilda" | When st kilda played as the away team, what date was that? | CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR) |
SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM" | Which year had a transmission of Voith D863.4 and a Cummins ISM engine? | CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, engine VARCHAR) |
SELECT MAX(losses) FROM table_name_23 WHERE club = "cd toledo" AND points > 56 | What is the top losses that with Club of cd toledo and Points more than 56? | CREATE TABLE table_name_23 (
losses INTEGER,
club VARCHAR,
points VARCHAR
) |
SELECT date FROM table_name_74 WHERE home_team = "fitzroy" | On what date did Fitzroy play as the home team? | CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) |
SELECT college_junior_club_team FROM table_1965650_1 WHERE player = "Ian Turnbull" | Name the college/junior club team for ian turnbull | CREATE TABLE table_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR) |
SELECT MIN("Appearances") FROM table_42067 WHERE "Goals" = '4' AND "Nationality" = 'new zealand' | What is the least amount of appearances by new zealand when they scored 4 goals? | CREATE TABLE table_42067 (
"Name" text,
"Nationality" text,
"Position" text,
"Appearances" real,
"Goals" real
) |
SELECT antonio_thomas FROM table_name_24 WHERE hikaru_sato = "tanaka (8:09)" | Name the antonio thomas for Hikaru Sato of tanaka (8:09) | CREATE TABLE table_name_24 (antonio_thomas VARCHAR, hikaru_sato VARCHAR) |
SELECT position FROM table_1965650_3 WHERE nhl_team = "Los Angeles Kings" | Name the position for nhl team being los angeles kings | CREATE TABLE table_1965650_3 (position VARCHAR, nhl_team VARCHAR) |
SELECT COUNT("Points") FROM table_71422 WHERE "Engine" = 'ferrari v6' AND "Year" = '1962' | In 1962, what was the total number of points, when the Engine was Ferrari v6? | CREATE TABLE table_71422 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) |
SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)" | Tell me the block A for antonio thomas of kondo (13:24) | CREATE TABLE table_name_85 (block_a VARCHAR, antonio_thomas VARCHAR) |
SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques" | Name the nhl times for jeff jacques | CREATE TABLE table_1965650_3 (nhl_team VARCHAR, player VARCHAR) |
SELECT "coat_of_cash" AS _wearing_celebrity FROM table_name_92 WHERE episode_number > 1 AND musical_guest__song_performed_ = "amy macdonald ( mr rock & roll )" | WHich Coat of Cash' Wearing Celebrity has a Episode Number larger than 1 and with amy macdonald ( mr rock & roll )? | CREATE TABLE table_name_92 (
episode_number VARCHAR,
musical_guest__song_performed_ VARCHAR
) |
SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)" | Name the minoru that has a hikaru sato of x and super crazy of yang (8:36) | CREATE TABLE table_name_22 (minoru VARCHAR, hikaru_sato VARCHAR, super_crazy VARCHAR) |
SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell" | Name the college/junior club team for john campbell | CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR) |
SELECT "Title" FROM table_74173 WHERE "Series #" = '8' | What is the title of the series # 8? | CREATE TABLE table_74173 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (million)" text
) |
SELECT record FROM table_name_68 WHERE visitor = "atlanta" | Atlanta was a visitor on December 8, what was their record? | CREATE TABLE table_name_68 (record VARCHAR, visitor VARCHAR) |
SELECT MIN(pick__number) FROM table_1965650_3 WHERE player = "Doug Gibson" | Name the least pick # for doug gibson | CREATE TABLE table_1965650_3 (pick__number INTEGER, player VARCHAR) |
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'wound care')) AND DATETIME(cost.chargetime, ... | what is the maximum hospital cost that includes a procedure known as wound care during the last year? | CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
medicatio... |
SELECT team FROM table_name_43 WHERE matches = 13 | Tell me the team which has matches of 13 | CREATE TABLE table_name_43 (team VARCHAR, matches VARCHAR) |
SELECT COUNT(nationality) FROM table_1965650_4 WHERE player = "Tom Colley" | How many nationalities does Tom Colley have? | CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR) |
SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)" | What is High Rebounds, when High Assists is 'Rafer Alston , Rashard Lewis , Hedo T rko lu (3)'? | CREATE TABLE table_name_80 (
high_rebounds VARCHAR,
high_assists VARCHAR
) |
SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35 | Tell me the sum of win % for drawn being larger than 35 | CREATE TABLE table_name_55 (win__percentage INTEGER, drawn INTEGER) |
SELECT nhl_team FROM table_1965650_4 WHERE college_junior_club_team = "Sudbury Wolves (OHA)" | What's the NHL team that drafted the player from Sudbury Wolves (OHA)? | CREATE TABLE table_1965650_4 (nhl_team VARCHAR, college_junior_club_team VARCHAR) |
SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c" | Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )? | CREATE TABLE table_name_3 (
release_price___usd__ VARCHAR,
release_date VARCHAR,
part_number_s_ VARCHAR
) |
SELECT MAX(win__percentage) FROM table_name_91 WHERE drawn = 13 | Name the most win % for 13 drawn | CREATE TABLE table_name_91 (win__percentage INTEGER, drawn VARCHAR) |
SELECT COUNT(position) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars" | What's the number of positions of the player playing in Minnesota North Stars? | CREATE TABLE table_1965650_4 (position VARCHAR, nhl_team VARCHAR) |
SELECT * FROM table_train_140 WHERE allergy_to_quinidine = 1 OR allergy_to_dextromethorphan = 1 | known sensitivity to quinidine or dextromethorphan. | CREATE TABLE table_train_140 (
"id" int,
"gender" string,
"mini_mental_state_examination_mmse" int,
"allergy_to_quinidine" bool,
"systolic_blood_pressure_sbp" int,
"postural_syncope" bool,
"hypotension" bool,
"unexplained_syncope" bool,
"allergy_to_dextromethorphan" bool,
"allerg... |
SELECT AVG(lost) FROM table_name_53 WHERE matches = 6 | Name the average lost for matches of 6 | CREATE TABLE table_name_53 (lost INTEGER, matches VARCHAR) |
SELECT MIN(pick__number) FROM table_1965650_4 WHERE nhl_team = "Minnesota North Stars" | What's the smallest pick number of a player playing in Minnesota North Stars? | CREATE TABLE table_1965650_4 (pick__number INTEGER, nhl_team VARCHAR) |
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'glucagon (human ... | what are the three most commonly prescribed medications for patients that have been prescribed with glucagon (human recombinant) 1 mg inj recon soln previously during the same hospital visit in 2104? | CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellv... |
SELECT time_retired FROM table_name_89 WHERE grid = 18 | What was the time recorded for grid 18? | CREATE TABLE table_name_89 (time_retired VARCHAR, grid VARCHAR) |
SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)" | What's the nationality of the player coming from Edmonton Oil Kings (WCHL)? | CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR) |
SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation | Visualize a bar chart for what are the total enrollments of universities of each affiliation type? | 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 catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy" | What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy? | CREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR) |
SELECT nationality FROM table_1965650_4 WHERE player = "Steve Langdon" | What's Steve Langdon's naitionality? | CREATE TABLE table_1965650_4 (nationality VARCHAR, player VARCHAR) |
SELECT COUNT(silver) FROM table_name_43 WHERE gold > 2 AND bronze < 35 AND nation = "china" AND total > 26 | How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26? | CREATE TABLE table_name_43 (
silver VARCHAR,
total VARCHAR,
nation VARCHAR,
gold VARCHAR,
bronze VARCHAR
) |
SELECT MAX(track) FROM table_name_87 WHERE song_title = "rip it up" | What is the highest track for the song Rip it Up? | CREATE TABLE table_name_87 (track INTEGER, song_title VARCHAR) |
SELECT nationality FROM table_1965650_9 WHERE college_junior_club_team = "Michigan Technological University (NCAA)" | When michigan technological university (ncaa) is the college, junior, or club team what is the nationality? | CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR) |
SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706 | What was the penalty for the gymnast with average above 9.662 and total is more than 9.706? | CREATE TABLE table_name_13 (
penalty VARCHAR,
average VARCHAR,
total VARCHAR
) |
SELECT SUM(track) FROM table_name_12 WHERE catalogue = "epa 4054" AND time = "2:05" | What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length? | CREATE TABLE table_name_12 (track INTEGER, catalogue VARCHAR, time VARCHAR) |
SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" | When kitchener rangers (oha) is the college, junior, or club team team who is the player? | CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug_type = "MAIN" | how many patients whose drug type is main? | 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 catalogue FROM table_name_82 WHERE time = "2:10" | What catalogue has a length of 2:10? | CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR) |
SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)" | When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there? | CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR) |
SELECT "Frequency" FROM table_26827 WHERE "Power kW" = '5kW' | When the power kw is 5kw, what is the frequency? | CREATE TABLE table_26827 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power kW" text,
"Coverage" text
) |
SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31" | When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? | CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR) |
SELECT position FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" | When kitchener rangers (oha) is the college, junior, or club team what is the position? | CREATE TABLE table_1965650_9 (position VARCHAR, college_junior_club_team VARCHAR) |
SELECT "Shuttle Run (sec)" FROM table_78264 WHERE "Grade" = 'c' | Tell me the shuttle run with grade c | CREATE TABLE table_78264 (
"Grade" text,
"Points" real,
"Sit-up (reps)" text,
"Standing Broad Jump (cm)" text,
"Chin-up (reps)" text,
"Shuttle Run (sec)" text,
"2.4km Run (min:sec)" text
) |
SELECT release_date FROM table_name_31 WHERE catalogue = "epa 4054" AND recorded = "1/12/57" | When was the cataglogue EPA 4054 released with a 1/12/57 recorded? | CREATE TABLE table_name_31 (release_date VARCHAR, catalogue VARCHAR, recorded VARCHAR) |
SELECT COUNT(position) FROM table_1965650_6 WHERE player = "Denis Patry" | How many positions for denis patry? | CREATE TABLE table_1965650_6 (position VARCHAR, player VARCHAR) |
SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "7885" | what is the diagnosis of icd9 code 7885? | CREATE TABLE procedures (
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
)
... |
SELECT school FROM table_name_82 WHERE height = "6-9" | Tell me the school with a height of 6-9 | CREATE TABLE table_name_82 (school VARCHAR, height VARCHAR) |
SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack" | What nationality for neil korzack? | CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Ulcer of heel & midfoot" | How many female patients are diagnosed with ulcer of heel & mid foot? | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... |
SELECT school FROM table_name_65 WHERE height = "6-4" | Which school did the player have a height of 6-4? | CREATE TABLE table_name_65 (school VARCHAR, height VARCHAR) |
SELECT institution FROM table_1969577_1 WHERE enrollment = 10000 | Name the college that has 10000 enrolled | CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR) |
SELECT "year" FROM table_203_757 GROUP BY "year" ORDER BY COUNT(*) LIMIT 1 | in which year did she have the least amount of awards or nominations ? | CREATE TABLE table_203_757 (
id number,
"year" number,
"award ceremony" text,
"category" text,
"film/show" text,
"result" text
) |
SELECT college FROM table_name_32 WHERE player = "paul davis" | Tell me the college that paul davis went to | CREATE TABLE table_name_32 (college VARCHAR, player VARCHAR) |
SELECT MAX(joined) FROM table_1969577_1 WHERE institution = "Molloy College" | Name the most joined for molloy college | CREATE TABLE table_1969577_1 (joined INTEGER, institution VARCHAR) |
SELECT place FROM table_name_8 WHERE player = "peter jacobsen" | What is Peter Jacobsen's Place? | CREATE TABLE table_name_8 (
place VARCHAR,
player VARCHAR
) |
SELECT school FROM table_name_14 WHERE player = "jason fraser" | Tell me the school that jason fraser went to | CREATE TABLE table_name_14 (school VARCHAR, player VARCHAR) |
SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394 | how many times was total considered when hancock # was 1394 | CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR) |
SELECT "Lane" FROM table_79306 WHERE "React" > '0.209' AND "Rank" > '6' | What Lane has a 0.209 React entered with a Rank entry that is larger than 6? | CREATE TABLE table_79306 (
"Rank" real,
"Lane" real,
"Athlete" text,
"Nationality" text,
"Time" real,
"React" real
) |
SELECT result FROM table_name_98 WHERE attendance = "68,436" | What is the result of the game with 68,436 attending? | CREATE TABLE table_name_98 (result VARCHAR, attendance VARCHAR) |
SELECT COUNT(hancock__percentage) FROM table_19681738_1 WHERE starky__percentage = "20.96%" | how many times was hancock % considered when starky % was 20.96% | CREATE TABLE table_19681738_1 (hancock__percentage VARCHAR, starky__percentage VARCHAR) |
SELECT COUNT(date) FROM table_11964047_7 WHERE leading_scorer = "Gordon : 32" | what is the total number of dates where the scorer is gordon : 32 | CREATE TABLE table_11964047_7 (
date VARCHAR,
leading_scorer VARCHAR
) |
SELECT nba_draft FROM table_name_38 WHERE college = "lsu" | What is the NBA Draft status of the person who went to college at LSU? | CREATE TABLE table_name_38 (nba_draft VARCHAR, college VARCHAR) |
SELECT COUNT(county) FROM table_19681738_1 WHERE starky__percentage = "20.96%" | How many times was country considered when starky % was 20.96% | CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR) |
SELECT "Rank" FROM table_44261 WHERE "Silver" = '3' | What is the rank for the 3 silver medals? | CREATE TABLE table_44261 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT height FROM table_name_53 WHERE player = "kenny williams" | What is Player Kenny Williams' Height? | CREATE TABLE table_name_53 (height VARCHAR, player VARCHAR) |
SELECT county FROM table_19681738_1 WHERE starky__percentage = "17.41%" | which country did stary get 17.41% | CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR) |
SELECT "opponent" FROM table_203_775 WHERE "result" = 't' | who was the only opponent they played which resulted in a tie game ? | CREATE TABLE table_203_775 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"game site" text,
"attendance" number
) |
SELECT school FROM table_name_37 WHERE player = "billy owens" | What School did Player Billy Owens attend? | CREATE TABLE table_name_37 (school VARCHAR, player VARCHAR) |
SELECT MIN(total) FROM table_19681738_1 WHERE county = "Gila" | what is the least total in gila | CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR) |
SELECT "Decile" FROM table_71027 WHERE "Authority" = 'state' AND "Area" = 'raumati south' | What Decile has State Authority and Raumati South Area? | CREATE TABLE table_71027 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
) |
SELECT school FROM table_name_74 WHERE player = "alonzo mourning" | What School did Player Alonzo Mourning attend? | CREATE TABLE table_name_74 (school VARCHAR, player VARCHAR) |
SELECT county FROM table_19681738_1 WHERE hancock__percentage = "3.09%" | where did hancock get 3.09% | CREATE TABLE table_19681738_1 (county VARCHAR, hancock__percentage VARCHAR) |
SELECT SUM(bronze) FROM table_name_35 WHERE gold = 27 AND silver > 30 | Tell me the sum of bronze for gold being 27 and silver more than 30 | CREATE TABLE table_name_35 (
bronze INTEGER,
gold VARCHAR,
silver VARCHAR
) |
SELECT AVG(bronze) FROM table_name_16 WHERE total > 1 AND gold < 2 AND rank = 2 | How many bronze's on average for nations with over 1 total, less than 2 golds, ranked 2nd? | CREATE TABLE table_name_16 (bronze INTEGER, rank VARCHAR, total VARCHAR, gold VARCHAR) |
SELECT bbm FROM table_19662262_6 WHERE strike_rate = "42.2" | What is the BBM when the strike rate is 42.2? | CREATE TABLE table_19662262_6 (bbm VARCHAR, strike_rate VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "SINGLE" AND lab.itemid = "51265" | count the number of patients whose marital status is single and item id is 51265? | 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 AVG(silver) FROM table_name_89 WHERE total < 3 AND rank = 6 AND bronze > 1 | How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze? | CREATE TABLE table_name_89 (silver INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR) |
SELECT economy_rate FROM table_19662262_6 WHERE strike_rate = "54.0" | What is the economy when the strike rate is 54.0? | CREATE TABLE table_19662262_6 (economy_rate VARCHAR, strike_rate VARCHAR) |
SELECT "Order #" FROM table_41968 WHERE "Song choice" = ' you''re so vain ' | What is the Order # when the song choice was ' you're so vain '? | CREATE TABLE table_41968 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
) |
SELECT date FROM table_name_2 WHERE record = "1-0" | What is the date of the Cubs game when the Cubs had a record of 1-0? | CREATE TABLE table_name_2 (date VARCHAR, record VARCHAR) |
SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = "2.26" | How many averages are there when the economy rate is 2.26? | CREATE TABLE table_19662262_6 (average VARCHAR, economy_rate VARCHAR) |
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'protein c')) AND DATETIME(cost.chargetime) >= DATETIME(CURRENT_TIME(... | what is the maximum total hospital cost that includes the protein c since 4 years ago? | CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,... |
SELECT opponent FROM table_name_56 WHERE record = "4-4" | Who did the Cubs play when they had a record of 4-4? | CREATE TABLE table_name_56 (opponent VARCHAR, record VARCHAR) |
SELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = "54.0" | How many figures for wickets when the strike rate is 54.0? | CREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR) |
SELECT AVG(Reputation * 1.0), TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%m') FROM Users GROUP BY TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%m') ORDER BY TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%m') | User avg reputation by year and month. | CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TA... |
SELECT frequency FROM table_name_21 WHERE call_letters = "wmad" | What is the frequency of WMAD? | CREATE TABLE table_name_21 (frequency VARCHAR, call_letters VARCHAR) |
SELECT strike_rate FROM table_19662262_6 WHERE wickets = 17 | What is the strike rate when there are 17 wickets? | CREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR) |
SELECT team FROM table_name_73 WHERE points = "26" | Which team has 26 points? | CREATE TABLE table_name_73 (
team VARCHAR,
points VARCHAR
) |
SELECT ifop_5_11_09 FROM table_name_23 WHERE opinionway_5_11_09 = "2%" AND ipsos_3_14_09 = "2%" | Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/09 of 2% | CREATE TABLE table_name_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR) |
SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511 | How many areas (km 2) have 151511 as the census 2006 population? | CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR) |
SELECT MAX(shirt_no) FROM table_name_24 WHERE height < 190 AND player = "henry bell cisnero" | What is the Shirt No for Henry Bell Cisnero whose height is less than 190? | CREATE TABLE table_name_24 (
shirt_no INTEGER,
height VARCHAR,
player VARCHAR
) |
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front" | Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front | CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.