text
stringlengths
197
8.39k
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE table_name_67 ( inflation_index__2000 INTEGER, per_capita_income__as__percentage_of_usa_ VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.6...
### Context: CREATE TABLE table_62243 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Attendance" real, "League position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result F-A of the game on 6 march 1993...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_i...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_11964047_5 ( home VARCHAR, streak VARCHAR, leading_scorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the home team where streak is l3 and leading scorer is roy : 23 ### Query: SELECT home FROM table_11964047_5 ...
### Context: CREATE TABLE table_17644 ( "Branding" text, "Callsign" text, "Ch. #" text, "Power (kW)" text, "Station Type" text, "Coverage (Transmitter site)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coverage for relay tv-37? #...
### Context: CREATE TABLE table_204_34 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many silver medals were earned by egypt ? ### Qu...
### Context: CREATE TABLE table_name_88 ( played INTEGER, losses VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Played, when Losses is '13', and when Position is greater than 11? ### Query: SELECT SUM(played) FROM ta...
### Context: CREATE TABLE table_13890 ( "Date" text, "Name" text, "Nationality" text, "Tonnage (GRT)" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tonnage of the Eldena? ### Query: SELECT "Tonnage (GRT)" FROM table_13890 ...
### Context: CREATE TABLE table_35730 ( "Year" real, "Record" text, "Seed" text, "Region" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest Year with the Region of Southeast? ### Query: SELECT MAX("Year") FROM table_...
### Context: CREATE TABLE table_51591 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ICAO for Antalya Airport? ### Query: SELECT "ICAO" FROM table_51591 WHERE "Airport" ...
### Context: CREATE TABLE table_73187 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number picks were the players who went to Calgary? ### Query: SELECT "Pick #" FROM...
### Context: CREATE TABLE table_69552 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did helle nielsen marie r p...
### Context: 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_22771048_3 ( projected_opening INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least projected opening ### Query: SELECT MIN(projected_opening) FROM table_22771048_3
### Context: CREATE TABLE table_name_33 ( chassis VARCHAR, entrant VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis type does a scuderia ferrari with more than 1 point have? ### Query: SELECT chassis FROM table_name_33 WHERE e...
### Context: CREATE TABLE table_name_70 ( artist VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish? ### Query: S...
### Context: CREATE TABLE table_name_45 ( bronze VARCHAR, nation VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of bronze medals the U.S. Virgin Islands, which has less than 0 golds, has? ### Query: SELECT COUNT(br...
### Context: CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gende...
### Context: CREATE TABLE table_24912693_4 ( player VARCHAR, blocks VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has 17 blocks? ### Query: SELECT player FROM table_24912693_4 WHERE blocks = 17
### Context: CREATE TABLE table_55285 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player from NGA? ### Query: SELE...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_203_9 ( id number, "state" text, "last execution date" text, "name" text, "crime" text, "method" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many states have never used capital punishment ? ### Query: SELE...
### Context: CREATE TABLE table_46879 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Total, when Year(s) Won is '1948 , 1950 , 1951 , 1...
### Context: CREATE TABLE table_21545 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, ...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, min...
### Context: CREATE TABLE table_45471 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? ### Query: SELECT "To par" FROM t...
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Has_amenity...
### Context: CREATE TABLE table_1408397_3 ( telugu_తెలుగు VARCHAR, mongolian VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Telugu word for in Mongolian? ### Query: SELECT telugu_తెలుగు FROM table_1408397_3 WHERE mongolian = "Хонгорцог"
### Context: CREATE TABLE table_2603017_2 ( b___bishop VARCHAR, ab___angry_boar VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is b - bishop where ab - angry boar is vw - vertical wolf? ### Query: SELECT b___bishop FROM table_2603017_2 WHERE ab___angry...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount numbe...
### Context: CREATE TABLE table_31869 ( "Year" real, "Tournaments played" real, "Cuts made*" real, "Wins" real, "Top 10s" real, "Best finish" text, "Earnings ($)" real, "Money list rank" text, "Scoring average" real, "Scoring rank" text ) -- Using valid SQLite, answer the follo...
### Context: CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) ) CREATE TABLE Transactions ( transaction_id INTEGER, investor_id INTEGER, transaction_type_code VARCHAR(10), date_of_transaction DATETIME, amount_of_transaction DECIMAL(19,4), share_count VARCHAR...
### Context: CREATE TABLE table_name_15 ( tournament VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament has a Winning score of e (72-69-71-68=280)? ### Query: SELECT tournament FROM table_name_15 WHERE winning_score = E(7...
### Context: CREATE TABLE table_name_28 ( pick INTEGER, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average pick of Florida State? ### Query: SELECT AVG(pick) FROM table_name_28 WHERE college = "florida state"
### Context: CREATE TABLE table_51859 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the transfer fee for transfer status for fra ### Qu...
### Context: CREATE TABLE table_18249 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what district would you find the candidates listed as ji...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ...
### Context: CREATE TABLE table_64420 ( "School" text, "Location" text, "Mascot" text, "Size" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a mascot of the Pan...
### Context: CREATE TABLE table_42406 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Team" text, "Primary Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What public team was founded prior ...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_21 ( crowd INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? ### Query: SELECT MIN(crowd) FROM table_name_21 WHERE away_team = "co...
### Context: 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_62423 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the republican Incumbent for Pennsylvania 9? ### Query: SELECT "Incumbent...
### Context: CREATE TABLE table_name_67 ( week VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the total number of week for w 35 7 ### Query: SELECT COUNT(week) FROM table_name_67 WHERE result = "w 35–7"
### Context: CREATE TABLE table_73901 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in 1833, how many institutions were created...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, ...
### Context: CREATE TABLE table_name_98 ( rank INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest rank a country with less than 3 gold, more than 2 silver, and less than 5 total medals has?...
### Context: CREATE TABLE Addresses ( address_id INTEGER, address_details VARCHAR(255) ) CREATE TABLE Supplier_Addresses ( supplier_id INTEGER, address_id INTEGER, date_from DATETIME, date_to DATETIME ) CREATE TABLE Customers ( customer_id INTEGER, payment_method_code VARCHAR(10), ...
### Context: CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Return a bar c...
### Context: CREATE TABLE table_204_68 ( id number, "name" text, "profession" text, "hometown" text, "term expires" number, "office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of the current state regents will be in office until at ...
### Context: CREATE TABLE table_27401 ( "Language" text, "Sorata Municipality" text, "Guanay Municipality" text, "Tacacoma Municipality" text, "Quiabaya Municipality" text, "Combaya Municipality" text, "Tipuani Municipality" text, "Mapiri Municipality" text, "Teoponte Municipality" t...
### Context: CREATE TABLE Invoice_Items ( Invoice_Item_ID INTEGER, Invoice_ID INTEGER, Order_ID INTEGER, Order_Item_ID INTEGER, Product_ID INTEGER, Order_Quantity INTEGER, Other_Item_Details VARCHAR(255) ) CREATE TABLE Addresses ( Address_ID VARCHAR(100), Line_1 VARCHAR(255), Li...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_27 ( tyre VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Tyre for the German Grand Prix? ### Query: SELECT tyre FROM table_name_27 WHERE race = "german grand prix"
### Context: CREATE TABLE table_32604 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest crowd at corio o...
### Context: CREATE TABLE table_74449 ( "Rank" real, "Rider" text, "Sat 20 Aug" text, "Mon 22 Aug" text, "Tues 23 Aug" text, "Wed 24 Aug" text, "Thurs 25 Aug" text, "Fri 26 Aug" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is ever...
### Context: CREATE TABLE table_53499 ( "Year" real, "Ceremony" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was there a category of Best Supporting Actress? ### Query: SELECT SUM("Year") ...
### Context: CREATE TABLE table_66179 ( "Title" text, "Series" text, "Director" text, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the release date of Rabbit Romeo? ### Query: SELECT "Release date" FROM ta...
### Context: CREATE TABLE table_name_22 ( date VARCHAR, home VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Home of pittsburgh, and a Record of 3 6 5? ### Query: SELECT date FROM table_name_22 WHERE home = "pittsburgh" A...
### Context: CREATE TABLE table_name_6 ( coach VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the coach of the team from Port Pirie? ### Query: SELECT coach FROM table_name_6 WHERE location = "port pirie"
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE zzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_35108 ( "Callsign" text, "Area served" text, "Frequency" text, "Band" text, "Freq currently" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which band has a current freq of 8tab (hpon)? ### Query:...
### Context: CREATE TABLE table_38317 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent did they play against on April 16? ### Query: SELECT "Opponent" FROM table_38317...
### Context: CREATE TABLE table_name_87 ( instrumental VARCHAR, adverbial VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What instrumental has chven-s as the adverbial? ### Query: SELECT instrumental FROM table_name_87 WHERE adverbial = "chven-s"
### Context: CREATE TABLE movie ( mid int, title text, release_year int, title_aka text, budget text ) CREATE TABLE actor ( aid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE made_by ( id int, msid int, pid int ) C...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Votes...
### Context: 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, reli...
### Context: CREATE TABLE table_15919 ( "Country ( exonym )" text, "Capital ( exonym )" text, "Country ( endonym )" text, "Capital ( endonym )" text, "Official or native language(s) (alphabet/script)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- H...
### Context: CREATE TABLE table_test_23 ( "id" int, "previous_mi" bool, "anemia" bool, "left_ventricular_ejection_fraction_lvef" int, "tolerate_gadolinium_contrast_media" bool, "renal_disease" bool, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "to...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnsw...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE transfers...
### Context: CREATE TABLE table_name_44 ( game INTEGER, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Record of 20 4 involved what highest game? ### Query: SELECT MAX(game) FROM table_name_44 WHERE record = "20–4"
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar )...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Comments ( Id number, PostId number, ...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosi...
### Context: CREATE TABLE table_name_78 ( built VARCHAR, location VARCHAR, county VARCHAR, listed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which year did Blount County build a bridge in Cleveland that was listed on 1981-08-20? ### Query: SE...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_70694 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has the format of cd? ### Query: SELECT "Date" FROM table_70694 WHERE "Format" = 'cd...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_33 ( gross VARCHAR, territory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the gross in the United Kingdom? ### Query: SELECT gross FROM table_name_33 WHERE territory = "united kingdom"
### Context: CREATE TABLE table_8657 ( "Name" text, "Pre-Season" real, "A-League" text, "Finals" real, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pre-Season has a A-League of 0 1, and a Finals larger than 0? ### Query: SELECT MIN(...
### Context: CREATE TABLE table_name_51 ( surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what surface was the game played that had a score of 4 6, 6 4, [8 10]? ### Query: SELECT surface FROM table_name_51 WHERE score = "4–6, 6–4, [...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate tim...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE T...
### Context: CREATE TABLE table_62124 ( "Team" text, "1983" text, "1984" text, "1985-1986" real, "Total points" real, "Seasons" real, "Points average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest total for 1985-1986 when...
### Context: CREATE TABLE table_204_429 ( id number, "battle" text, "location" text, "date(s)" text, "engagement remarks" text, "victor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of texan victories ? ### Query: SEL...
### Context: CREATE TABLE table_39102 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest Attendance for a Week of 2? ### Query: SELECT MIN(...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId n...
### Context: CREATE TABLE table_51898 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a Hometown of phoenix, az? ### Query: SELECT "Scho...
### Context: CREATE TABLE table_13050003_2 ( rebounds VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rebounds were there in 2008? ### Query: SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 2008
### Context: CREATE TABLE table_20275 ( "Name" text, "Overs Bowled" text, "Maidens" real, "Runs Conceded" real, "Wickets" real, "Extras" real, "E.R." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the wickets when overs bowled is 9 ###...
### Context: CREATE TABLE table_45830 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date had an attendance of 76,518? ### Query: SELECT "Date" FROM table_45830 WHERE "A...