Unnamed: 0
int64
0
3k
text
stringlengths
74
2.32k
2,000
###HUMAN: What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956?, ###ASSISTANT: SELECT MIN(points) FROM table_name_41 WHERE entrant = "goulds' garage (bristol)" AND engine = "maserati straight-6" AND year < 1956
2,001
###HUMAN: How many events have each participants attended? Show their total number by each participant type code using a bar chart, rank in asc by the total number of count(*)., ###ASSISTANT: SELECT T1.Participant_Type_Code, SUM(COUNT(*)) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_Type_Code ORDER BY SUM(COUNT(*))
2,002
###HUMAN: how many hours have elapsed since the last time patient 005-87465 had an intake of norepinephrine on the current icu visit?, ###ASSISTANT: SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-87465') AND patient.unitdischargetime IS NULL) AND intakeoutput.celllabel = 'norepinephrine' AND intakeoutput.cellpath LIKE '%intake%' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
2,003
###HUMAN: On what date(s) was the winning team Prema Powerteam?, ###ASSISTANT: SELECT "Date" FROM table_3247 WHERE "Winning Team" = 'Prema Powerteam'
2,004
###HUMAN: which judge began active service first , wayne edward alley or james henry alesia ?, ###ASSISTANT: SELECT "judge" FROM table_203_572 WHERE "judge" IN ('wayne edward alley', 'james henry alesia') ORDER BY "began active\nservice" LIMIT 1
2,005
###HUMAN: What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more than 1984?, ###ASSISTANT: SELECT AVG(down__up_to_kbit_s_) FROM table_name_73 WHERE provider = "willy.tel" AND up__up_to_kbit_s_ > 1984
2,006
###HUMAN: how many times does patient 010-1155 have a po liqs intake on the first icu visit?, ###ASSISTANT: SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-1155') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'po liqs'
2,007
###HUMAN: What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue?, ###ASSISTANT: SELECT date FROM table_name_40 WHERE competition = "2006 fifa world cup qualification" AND venue = "alamodome, san antonio, united states"
2,008
###HUMAN: Who won the 350cc at Sachsenring?, ###ASSISTANT: SELECT 350 AS _cc FROM table_name_90 WHERE track = "sachsenring"
2,009
###HUMAN: What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2?, ###ASSISTANT: SELECT "Tournament" FROM table_40323 WHERE "Events" > '11' AND "Top-5" = '0' AND "Top-25" = '2'
2,010
###HUMAN: Line chart, let hire data as X and salary as Y, and filter for employees without the letter M in their first name, display by the x axis in ascending., ###ASSISTANT: SELECT HIRE_DATE, SALARY FROM employees WHERE NOT FIRST_NAME LIKE '%M%' ORDER BY HIRE_DATE
2,011
###HUMAN: Show the number of venue from each venue, ###ASSISTANT: SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue
2,012
###HUMAN: What is the largest amount of wins of someone who has an against score greater than 1249 and a number of losses less than 17?, ###ASSISTANT: SELECT MAX("Wins") FROM table_58322 WHERE "Against" > '1249' AND "Losses" < '17'
2,013
###HUMAN: For those employees who do not work in departments with managers that have ids between 100 and 200, find last_name and salary , and visualize them by a bar chart., ###ASSISTANT: SELECT LAST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
2,014
###HUMAN: what did patient 033-3992's age be during this hospital encounter?, ###ASSISTANT: SELECT patient.age FROM patient WHERE patient.uniquepid = '033-3992' AND patient.hospitaldischargetime IS NULL
2,015
###HUMAN: What shows for 2006 when 2000 is 1r, 1996 is A, and Tournament is Cincinnati Masters?, ###ASSISTANT: SELECT "2006" FROM table_50783 WHERE "2000" = '1r' AND "1996" = 'a' AND "Tournament" = 'cincinnati masters'
2,016
###HUMAN: Stacked bar chart of team_id for with each ACC_Home in each acc road, ###ASSISTANT: SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY ACC_Home, ACC_Road
2,017
###HUMAN: how many patients were prescribed sodium chloride 0.9% 500 ml lvp within 2 months after the diagnosis of sepsis, since 2103?, ###ASSISTANT: 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 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'sodium chloride 0.9% 500 ml lvp' AND STRFTIME('%y', medication.drugstarttime) >= '2103') AS t2 WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t2.drugstarttime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month')
2,018
###HUMAN: what countries have the same amount of bronze medals as germany ?, ###ASSISTANT: SELECT COUNT("nation") FROM table_203_653 WHERE "nation" <> 'germany' AND "bronze" = (SELECT "bronze" FROM table_203_653 WHERE "nation" = 'germany')
2,019
###HUMAN: patients with no indication for enteral feeding or in the imminence of receiving parenteral nutrition, ###ASSISTANT: SELECT * FROM table_train_64 WHERE enteral_feeding = 0 OR receiving_parenteral_nutrition = 1
2,020
###HUMAN: What department has an m.phil (physics) qualification?, ###ASSISTANT: SELECT "Department" FROM table_44284 WHERE "Qualification" = 'm.phil (physics)'
2,021
###HUMAN: Tell me the home team for vfl park venue, ###ASSISTANT: SELECT home_team FROM table_name_21 WHERE venue = "vfl park"
2,022
###HUMAN: Answers containing search term for questions that don't., ###ASSISTANT: SELECT answers.Id AS "post_link" FROM Posts AS questions INNER JOIN Posts AS answers ON answers.ParentId = questions.Id WHERE NOT (questions.Body LIKE '%shaken%') AND answers.Body LIKE '%shaken%'
2,023
###HUMAN: At what time was the game when they played the White Sox and had a record of 63-70?, ###ASSISTANT: SELECT "Time" FROM table_37927 WHERE "Opponent" = 'white sox' AND "Record" = '63-70'
2,024
###HUMAN: What team played South Melbourne at their home game?, ###ASSISTANT: SELECT "Away team" FROM table_57431 WHERE "Home team" = 'south melbourne'
2,025
###HUMAN: Which Res has a Time of 11:58?, ###ASSISTANT: SELECT "Res." FROM table_61332 WHERE "Time" = '11:58'
2,026
###HUMAN: Loses of 2, and a Pos. smaller than 2 had how many highest matches?, ###ASSISTANT: SELECT MAX(matches) FROM table_name_75 WHERE loses = 2 AND pos < 2
2,027
###HUMAN: Where does Iceland rank with under 19 silvers?, ###ASSISTANT: SELECT MAX(rank) FROM table_name_12 WHERE nation = "iceland" AND silver < 19
2,028
###HUMAN: What song was in french?, ###ASSISTANT: SELECT song FROM table_name_98 WHERE language = "french"
2,029
###HUMAN: What did the home team score at Princes Park?, ###ASSISTANT: SELECT "Home team score" FROM table_53393 WHERE "Venue" = 'princes park'
2,030
###HUMAN: What is the name of the building at the Jewellery quarter?, ###ASSISTANT: SELECT name FROM table_name_61 WHERE location = "jewellery quarter"
2,031
###HUMAN: Catalogue of Comments Including <idownvotedbecau.se> Links., ###ASSISTANT: SELECT Id AS "comment_link" FROM Comments LIMIT 100
2,032
###HUMAN: Name the head of household for married filing jointly or qualified widow(er) being $137,051 $208,850, ###ASSISTANT: SELECT head_of_household FROM table_name_32 WHERE married_filing_jointly_or_qualified_widow_er_ = "$137,051–$208,850"
2,033
###HUMAN: List all information about college sorted by enrollment number in the ascending order., ###ASSISTANT: SELECT * FROM college ORDER BY enr
2,034
###HUMAN: tell me what was the top three most common diagnosis since 4 years ago?, ###ASSISTANT: SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 3
2,035
###HUMAN: most popular new tags by votes., ###ASSISTANT: SELECT ROW_NUMBER() OVER (ORDER BY Votes.Votes DESC) AS VoteRank, Votes.TagName AS Tag, Votes.Votes AS "Votes " FROM (SELECT Tags.TagName, COUNT(DISTINCT Votes.Id) AS Votes FROM Tags, PostTags, Posts, Votes WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostTags.PostId AND Votes.PostId = Posts.Id AND Votes.CreationDate > '2014-01-01' GROUP BY Tags.TagName HAVING COUNT(DISTINCT Votes.Id) > 100) AS votes ORDER BY Votes.votes DESC
2,036
###HUMAN: What was the record on 12 march 2008?, ###ASSISTANT: SELECT record FROM table_name_63 WHERE date = "12 march 2008"
2,037
###HUMAN: for the name of joe surratt what is the last update?, ###ASSISTANT: SELECT last_update FROM table_name_75 WHERE name = "joe surratt"
2,038
###HUMAN: Which Total has a Bronze larger than 1, and a Gold larger than 0?, ###ASSISTANT: SELECT MAX(total) FROM table_name_57 WHERE bronze > 1 AND gold > 0
2,039
###HUMAN: What is the Result where Goal is 9?, ###ASSISTANT: SELECT "Result" FROM table_70866 WHERE "Goal" = '9'
2,040
###HUMAN: Who were the opponents for the event in Milan, Italy?, ###ASSISTANT: SELECT "Opponent" FROM table_44146 WHERE "Tournament" = 'milan, italy'
2,041
###HUMAN: Who was the opponent at the game with a result of w 14 6?, ###ASSISTANT: SELECT "Opponent" FROM table_36169 WHERE "Result" = 'w 14–6'
2,042
###HUMAN: What is the venue of North Melbourne?, ###ASSISTANT: SELECT "Venue" FROM table_57473 WHERE "Home team" = 'north melbourne'
2,043
###HUMAN: Questions with a single-use tag that has no tag wiki. These single-use tags are candidates for being deleted by the cleanup script, unless a wiki excerpt is written. Some of these questions might become untagged if the single-use tag deletion script is turned back on., ###ASSISTANT: SELECT TagName, PostId AS "post_link", p.Tags, p.CreationDate FROM Tags AS t LEFT JOIN Posts AS pe ON pe.Id = t.ExcerptPostId LEFT JOIN Posts AS pw ON pw.Id = t.WikiPostId LEFT JOIN PostTags AS pt ON TagId = t.Id LEFT JOIN Posts AS p ON p.Id = PostId WHERE Count = 1 AND (WikiPostId IS NULL OR (LENGTH(pe.Body) < 1 AND LENGTH(pw.Body) < 1)) ORDER BY t.TagName
2,044
###HUMAN: What is Nation, when Rank is greater than 2, when Total is greater than 1, and when Bronze is less than 3?, ###ASSISTANT: SELECT "Nation" FROM table_77021 WHERE "Rank" > '2' AND "Total" > '1' AND "Bronze" < '3'
2,045
###HUMAN: calculate the maximum age of english speaking patients who have sepsis primary disease., ###ASSISTANT: SELECT MAX(demographic.age) FROM demographic WHERE demographic.language = "ENGL" AND demographic.diagnosis = "SEPSIS"
2,046
###HUMAN: What was the first series in this list that Jack Orman wrote?, ###ASSISTANT: SELECT MIN(series__number) FROM table_12564633_1 WHERE written_by = "Jack Orman"
2,047
###HUMAN: give me the number of patients whose drug name is propofol?, ###ASSISTANT: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Propofol"
2,048
###HUMAN: Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%?, ###ASSISTANT: SELECT "Races" FROM table_34089 WHERE "Points" > '123' AND "Driver" = 'fernando alonso' AND "Percentage of possible points" = '74.44%'
2,049
###HUMAN: has patient 009-13409 received a procedure until 4 years ago., ###ASSISTANT: SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-13409')) AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-4 year')
2,050
###HUMAN: when was the first time that patient 015-91239 had the maximum value of respiration on the current icu visit?, ###ASSISTANT: SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-91239') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.respiration IS NULL ORDER BY vitalperiodic.respiration DESC, vitalperiodic.observationtime LIMIT 1
2,051
###HUMAN: Who was the home team when the Tie no was 7?, ###ASSISTANT: SELECT home_team FROM table_name_60 WHERE tie_no = "7"
2,052
###HUMAN: Who was the originally artist when Jasmine Murray was selected?, ###ASSISTANT: SELECT "Original artist" FROM table_24426 WHERE "Result" = 'Selected'
2,053
###HUMAN: For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of hire_date and the average of department_id bin hire_date by time., ###ASSISTANT: SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
2,054
###HUMAN: What opponent has tomko (1-1) as a loss?, ###ASSISTANT: SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
2,055
###HUMAN: Name the 132.1% for where north carolina is colorado, ###ASSISTANT: SELECT "132.1%" FROM table_19826 WHERE "North Carolina" = 'Colorado'
2,056
###HUMAN: What is the lowest episode number where john bird was the 4th performer?, ###ASSISTANT: SELECT MIN(episode) FROM table_name_48 WHERE performer_4 = "john bird"
2,057
###HUMAN: Unanswered questions by deleted users., ###ASSISTANT: SELECT CreationDate, Id AS "post_link" FROM Posts WHERE OwnerUserId IS NULL AND ClosedDate IS NULL AND PostTypeId = 1 AND COALESCE(AnswerCount, 0) = 0 ORDER BY CreationDate
2,058
###HUMAN: what are the percentile of 6.7 in a total protein lab test given the same age of patient 030-52327 during their current hospital encounter?, ###ASSISTANT: SELECT DISTINCT t1.c1 FROM (SELECT lab.labresult, PERCENT_RANK() OVER (ORDER BY lab.labresult) AS c1 FROM lab WHERE lab.labname = 'total protein' AND lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age = (SELECT patient.age FROM patient WHERE patient.uniquepid = '030-52327' AND patient.hospitaldischargetime IS NULL))) AS t1 WHERE t1.labresult = 6.7
2,059
###HUMAN: Name the parameter for 2.67 m, ###ASSISTANT: SELECT "Parameter" FROM table_20882 WHERE "1st stage" = '2.67 m'
2,060
###HUMAN: For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of job_id and manager_id in a bar chart, and list by the X from low to high., ###ASSISTANT: SELECT JOB_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID
2,061
###HUMAN: What is the name of school that has the smallest enrollment in each state?, ###ASSISTANT: SELECT cname, state, MIN(enr) FROM college GROUP BY state
2,062
###HUMAN: what were the five most frequent lab tests ordered since 2104 for patients in the age of 60 or above?, ###ASSISTANT: SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >= 60) AND STRFTIME('%y', labevents.charttime) >= '2104' GROUP BY labevents.itemid) AS t1 WHERE t1.c1 <= 5)
2,063
###HUMAN: Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie?, ###ASSISTANT: SELECT school_club_team FROM table_name_97 WHERE round < 5 AND pick > 1 AND player = "reggie mckenzie"
2,064
###HUMAN: Name the original title for the last metro, ###ASSISTANT: SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro"
2,065
###HUMAN: Create a bar chart showing meter_100 across meter 600, and could you order from low to high by the Y-axis?, ###ASSISTANT: SELECT meter_600, meter_100 FROM swimmer ORDER BY meter_100
2,066
###HUMAN: Find the distinct first names of all the students who have vice president votes and whose city code is not PIT., ###ASSISTANT: SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_PRESIDENT_Vote EXCEPT SELECT DISTINCT Fname FROM STUDENT WHERE city_code = "PIT"
2,067
###HUMAN: Tell me the launch pad for 25 december 2010 10:34, ###ASSISTANT: SELECT "Launch Pad" FROM table_31682 WHERE "Launch date/time (UTC)" = '25 december 2010 10:34'
2,068
###HUMAN: what are the four most frequent drugs that were prescribed to coronary artery disease female patients 20s within 2 months after they were diagnosed with coronary artery disease in this year?, ###ASSISTANT: SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'coronary artery disease' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.gender = 'female' AND patient.age BETWEEN 20 AND 29 AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t2.drugstarttime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month') GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 4
2,069
###HUMAN: what is the diagnosis icd9 and diagnosis long title of subject id 92796?, ###ASSISTANT: SELECT diagnoses.icd9_code, diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "92796"
2,070
###HUMAN: how much does the weight of patient 006-161415 vary last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?, ###ASSISTANT: SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-161415' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) - (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-161415' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 OFFSET 1)
2,071
###HUMAN: provide the number of patients whose year of death is less than or equal to 2174 and drug code is osel75?, ###ASSISTANT: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2174.0" AND prescriptions.formulary_drug_cd = "OSEL75"
2,072
###HUMAN: What chassis has a year of 1951?, ###ASSISTANT: SELECT "Chassis" FROM table_67243 WHERE "Year" = '1951'
2,073
###HUMAN: patient 004-17866 has received a fio2 lab test in 2105?, ###ASSISTANT: SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-17866')) AND lab.labname = 'fio2' AND STRFTIME('%y', lab.labresulttime) = '2105'
2,074
###HUMAN: how many patients whose admission year is less than 2144 and diagnoses icd9 code is 28802?, ###ASSISTANT: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2144" AND diagnoses.icd9_code = "28802"
2,075
###HUMAN: What is the name of the institution with the mascot of blue devils?, ###ASSISTANT: SELECT institution FROM table_12434380_1 WHERE mascot = "Blue Devils"
2,076
###HUMAN: how many delegates represented allegany ?, ###ASSISTANT: SELECT COUNT("delegate") FROM table_203_247 WHERE "counties represented" = 'allegany'
2,077
###HUMAN: What CD has a catalog # of PCR 502?, ###ASSISTANT: SELECT title FROM table_name_12 WHERE catalog__number = "pcr 502"
2,078
###HUMAN: What was the 2nd Party that had the 2nd Member John Barneby, when the 1st Party was Conservative?, ###ASSISTANT: SELECT "2nd Party" FROM table_80170 WHERE "2nd Member" = 'john barneby' AND "1st Party" = 'conservative'
2,079
###HUMAN: what was the maximum monthly number of patients diagnosed with adv eff insulin/antidiab until 2104?, ###ASSISTANT: SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'adv eff insulin/antidiab') AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104' GROUP BY STRFTIME('%y-%m', diagnoses_icd.charttime)) AS t1
2,080
###HUMAN: On what date was the record 4 0 0?, ###ASSISTANT: SELECT "Date" FROM table_5620 WHERE "Record" = '4–0–0'
2,081
###HUMAN: What is the date when the city is San Antonio, Texas?, ###ASSISTANT: SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas"
2,082
###HUMAN: How many races had #99 gainsco/bob stallings racing in round 10?, ###ASSISTANT: SELECT COUNT(fastest_lap) FROM table_19751479_4 WHERE rnd = 10 AND pole_position = "#99 GAINSCO/Bob Stallings Racing"
2,083
###HUMAN: Which Cover Model was featured on 8-03?, ###ASSISTANT: SELECT cover_model FROM table_name_8 WHERE date = "8-03"
2,084
###HUMAN: How many starts for an average finish greater than 43?, ###ASSISTANT: SELECT SUM("Starts") FROM table_76600 WHERE "Avg. Finish" > '43'
2,085
###HUMAN: What is Time, when Round is less than 2, and when Opponent is 'Valentijn Overeem'?, ###ASSISTANT: SELECT "Time" FROM table_43630 WHERE "Round" < '2' AND "Opponent" = 'valentijn overeem'
2,086
###HUMAN: What is the Season with an Acquisition via of rookie draft, and the number is 15?, ###ASSISTANT: SELECT "Season" FROM table_43168 WHERE "Acquisition via" = 'rookie draft' AND "Number" = '15'
2,087
###HUMAN: Which Constructor won the Roussillon Grand Prix?, ###ASSISTANT: SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix"
2,088
###HUMAN: When the Score was 4-10, what was the Attendance?, ###ASSISTANT: SELECT "Attendance" FROM table_54492 WHERE "Score" = '4-10'
2,089
###HUMAN: What was the To par for the player whose final score was 67-71=138?, ###ASSISTANT: SELECT "To par" FROM table_50174 WHERE "Score" = '67-71=138'
2,090
###HUMAN: what is the pick # when the nhl team is montreal canadiens and the college/junior/club team is trois-rivi res draveurs (qmjhl)?, ###ASSISTANT: SELECT MIN(pick__number) FROM table_2679061_2 WHERE nhl_team = "Montreal Canadiens" AND college_junior_club_team = "Trois-Rivières Draveurs (QMJHL)"
2,091
###HUMAN: For a team with a goals against less than 58, a position of 10, and a points 2 more than 53, what is the average lost?, ###ASSISTANT: SELECT AVG("Lost") FROM table_46666 WHERE "Goals Against" < '58' AND "Position" = '10' AND "Points 2" > '53'
2,092
###HUMAN: have a serum creatinine greater than or equal to 1.5 milligrams / deciliter ( mg / dl ) ( male ) or greater than or equal to 1.4 mg / dl ( female ) , or a creatinine clearance less than 60 milliliters / minute ( ml / minute ), ###ASSISTANT: SELECT * FROM table_dev_38 WHERE (serum_creatinine >= 1.5 AND gender = 'male') OR (serum_creatinine >= 1.4 AND gender = 'female') OR creatinine_clearance_cl < 60
2,093
###HUMAN: What is the score of the home team that played Collingwood?, ###ASSISTANT: SELECT "Home team score" FROM table_51472 WHERE "Away team" = 'collingwood'
2,094
###HUMAN: the most players picked came from which nationality ?, ###ASSISTANT: SELECT "nationality" FROM table_203_824 GROUP BY "nationality" ORDER BY COUNT("player") DESC LIMIT 1
2,095
###HUMAN: Which films participated in the 30th Hawaii International Film Festival?, ###ASSISTANT: SELECT "Participants/Recipients" FROM table_31285 WHERE "Film Festival" = '30th Hawaii International Film Festival'
2,096
###HUMAN: How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3?, ###ASSISTANT: SELECT COUNT("Gold") FROM table_9299 WHERE "Silver" < '14' AND "Rank" > '8' AND "Bronze" = '3'
2,097
###HUMAN: What was the rating of the episode Wonder Drug?, ###ASSISTANT: SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE episode_no = "wonder drug"
2,098
###HUMAN: Tell me the eastern #2 for western #2 of oakland, ###ASSISTANT: SELECT "Eastern #2" FROM table_56898 WHERE "Western #2" = 'oakland'
2,099
###HUMAN: Who visited on march 26?, ###ASSISTANT: SELECT "Visitor" FROM table_44238 WHERE "Date" = 'march 26'