text
stringlengths
197
8.39k
### Context: CREATE TABLE county_public_safety ( Crime_rate VARCHAR, Police_officers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the crime rates of counties in ascending order of number of police officers. ### Query: SELECT Crime_rate FROM county_pu...
### Context: CREATE TABLE table_1532779_1 ( muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the muslim percentage of the 49634 population of england and wales 000? ...
### Context: 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_d...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, ...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, ...
### Context: CREATE TABLE table_75218 ( "Home Run" real, "Game" real, "Date" text, "Inning" text, "Location" text, "Opposing Pitcher" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On June 17 in Tiger stadium, what was the avera...
### Context: CREATE TABLE table_27733909_10 ( high_assists VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the highest assists in game 75? ### Query: SELECT high_assists FROM table_27733909_10 WHERE game = 75
### Context: CREATE TABLE table_37286 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of points...
### Context: CREATE TABLE Products ( product_id INTEGER, product_type_code VARCHAR(10), product_name VARCHAR(80), product_price DECIMAL(19,4) ) CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_status_code VARCHAR(10), order_date DATETIME ) CREATE TABLE Produc...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wa...
### Context: CREATE TABLE table_name_52 ( ship VARCHAR, captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the ship for lieutenant montagu verling ### Query: SELECT ship FROM table_name_52 WHERE captain = "lieutenant montagu verling"
### Context: CREATE TABLE table_name_85 ( draw VARCHAR, span VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What draw has a Span of 1987-1999? ### Query: SELECT draw FROM table_name_85 WHERE span = "1987-1999"
### Context: CREATE TABLE table_name_96 ( opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponents in Final, when Partner is 'Jill Hetherington', and when Year is after 1988? ### Query: SELECT op...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outti...
### 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 patient ...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE table_name_5 ( away_team VARCHAR, crowd INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the crowd was greater than 19,498 who was the away team? ### Query: SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498
### Context: CREATE TABLE table_name_39 ( lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the lens zoom for aperture of model s2600 ### Query: SELECT lens_35mmequiv__zoom, _aperture FROM tabl...
### Context: CREATE TABLE table_76525 ( "Season" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Skip has a Season of 2002 03? ### Query: SELECT "Skip" FROM table_76525 WHERE "Season" = '2...
### Context: CREATE TABLE table_name_57 ( district VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the district of wallasey ### Query: SELECT district FROM table_name_57 WHERE name = "wallasey"
### Context: 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, admissi...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_56283 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode with a produc...
### Context: CREATE TABLE table_203_758 ( id number, "no." number, "dub no." number, "english dubbed title / english subbed title\noriginal japanese title" text, "original air date" text, "english air date" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_33435 ( "Round" real, "Pick" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the player picked for the linebacker position play in college? ### Query: SELECT "...
### Context: CREATE TABLE table_62084 ( "Country" text, "Season" text, "Victories" real, "Downhill" text, "Super G" text, "Giant Slalom" real, "Slalom" text, "Combined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Slalom was Switz...
### Context: CREATE TABLE table_6096 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series score when st. louis was away on a...
### Context: CREATE TABLE table_29665 ( "Episode Air Date" text, "Audition City" text, "Audition Date" text, "Audition Venue" text, "Guest Fourth Judge" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episode air dates are there for audition...
### Context: CREATE TABLE table_29166 ( "Chambering" text, "P1 diameter (mm)" text, "A external (cm 2 )" text, "P max ( bar )" real, "F bolt ( kgf )" real, "F bolt" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the p max (bar) in the pi...
### Context: 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_d...
### Context: CREATE TABLE table_65305 ( "World record" text, "Snatch" text, "Chen Yanqing ( CHN )" text, "111kg" text, "Doha , Qatar" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Doha, Qatar when the snatch is total? ### Query: SELECT...
### Context: CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE certificate ( eid number, a...
### Context: CREATE TABLE table_197638_6 ( player VARCHAR, french_open VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the French Open in 1999? ### Query: SELECT player FROM table_197638_6 WHERE french_open = 1999
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, ...
### Context: CREATE TABLE table_204_780 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of times he placed 4th . ### Query: SELECT COUNT(*)...
### Context: CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE re...
### Context: CREATE TABLE table_53780 ( "Season" real, "Premier" text, "Runner Up" text, "Score" text, "Venue" text, "Attendance" real, "Margin" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the earliest season at waverley park, a S...
### Context: CREATE TABLE table_17420 ( "Year" text, "Communications and Corporate Affairs" text, "Human Resources & Operations" text, "Local Affairs" text, "Academic & University Affairs" text, "External Affairs" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: 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, admissi...
### 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_38037 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game with 96 points? ### Query: SELECT "Score" FR...
### Context: CREATE TABLE table_14330096_4 ( title VARCHAR, director VARCHAR, writer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer? ### Query: SELECT title FROM table_143...
### Context: CREATE TABLE table_60908 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the shooter with a total of 25? ### Query: SELECT "Shooter" FROM table_60908...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_83 ( ground VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which ground did the team play Aston Villa? ### Query: SELECT ground FROM table_name_83 WHERE opponent = "aston villa"
### Context: CREATE TABLE table_26131768_4 ( district VARCHAR, residence VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which district is the residence Dublin? ### Query: SELECT district FROM table_26131768_4 WHERE residence = "Dublin"
### Context: CREATE TABLE table_71863 ( "First game" real, "Played" real, "Drawn" real, "Lost" real, "Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games were played by a team that won 0.00% of their games and 0 draws? ### Que...
### Context: CREATE TABLE table_54959 ( "Game" text, "Date" text, "Opponent" text, "Result" text, "Rams points" real, "Opponents" real, "Record" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what ...
### Context: CREATE TABLE table_24491017_1 ( team VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was he on when he finished in 11th position? ### Query: SELECT team FROM table_24491017_1 WHERE position = "11th"
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_34047 ( "Callsign" text, "Area served" text, "Frequency" text, "Band" text, "On-air ID" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Callsign with an Area of tamworth and frequency of...
### Context: CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE...
### Context: CREATE TABLE table_name_74 ( time VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time of the match with a win result, more than 2 rounds, and Makoto Ishikawa as the opponent? ###...
### Context: CREATE TABLE table_name_75 ( player VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player was drafted number 10? ### Query: SELECT player FROM table_name_75 WHERE pick = 10
### Context: CREATE TABLE table_name_14 ( finalist VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the finalist for the tournament in berlin? ### Query: SELECT finalist FROM table_name_14 WHERE tournament = "berlin"
### Context: CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_of_measure text ) CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text ) CREATE TABLE ref_colors ( color_c...
### Context: CREATE TABLE table_175980_2 ( premiere VARCHAR, finale VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What premieres had a finale on May 25, 2004? ### Query: SELECT premiere FROM table_175980_2 WHERE finale = "May 25, 2004"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDat...
### Context: CREATE TABLE table_22073745_1 ( languages VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many languages is refractaire as the film title used in nomination? ### Query: SELECT COUNT(languages) FROM tabl...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_75813 ( "Chord" text, "Root" text, "Major third" text, "Perfect fifth" text, "Minor seventh" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Chord with a Major that is third of e? ### Query: SELECT "Chord"...
### Context: CREATE TABLE table_203_377 ( 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. -- total number of bronze medals nigeria earned ? ### ...
### Context: CREATE TABLE table_59202 ( "Year" real, "Lok Sabha" text, "Members of Parliament" text, "Party Won" text, "Winner's % votes" text, "Trailing Party" text, "Trailing Party % votes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: 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, admissi...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE ReviewTaskResults ( Id numbe...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respi...
### Context: CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE club_rank ( Rank real, Club_ID int, Gold real, Silver real, Bronze real, Total real ) CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 ...
### Context: CREATE TABLE table_1233 ( "Element" text, "Nuclide" text, "Z ( p )" real, "N ( n )" real, "isotopic mass ( u )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mass of the element with a nuclide that is 169 tm? ### Query: SE...
### 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_8474 ( "South or west terminus" text, "North or east terminus" text, "First year" real, "Final year" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average First year that has a Notes of repl...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careu...
### Context: CREATE TABLE table_name_88 ( opponent_in_the_final VARCHAR, partnering VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent in the final has a Partnering of graydon oliver? ### Query: SELECT opponent_in_the_final FROM table_name_88 WHE...
### 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_name_48 ( finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest finishes when the points is less than 337, the stage wins is 2 and the wins is mor...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### 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 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 table_3095 ( "Season" text, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Na...
### Context: CREATE TABLE gwyjzb ( 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_16013 ( "Nomination" text, "Actors Name" text, "Film Name" text, "Director" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the actor's name for best debut? ### Query: SELECT "Actors Name" FRO...
### Context: CREATE TABLE table_24837750_1 ( turbine_manufacturer VARCHAR, installed_capacity__mw_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many turbine manufacturers installed a capacity of 189 MW? ### Query: SELECT COUNT(turbine_manufacturer) FR...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startda...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ...
### 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 gas_station ( station_id number, open_year number, location text, manager_name text, vice_manager_name text, representative_name text ) CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, s...
### Context: CREATE TABLE table_name_31 ( host_team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the host team on October 4? ### Query: SELECT host_team FROM table_name_31 WHERE date = "october 4"
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0...
### Context: CREATE TABLE table_28562675_3 ( austria VARCHAR, netherlands VARCHAR, belgium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Wa...
### Context: CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE...
### Context: CREATE TABLE table_14700336_1 ( revenue__millions_ VARCHAR, revenue_per_capita VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers were recorded under revenue when revenue per capita was $6,126? ### Query: SELECT COUNT(revenue__mill...
### 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 table_20418 ( "Episode Number" real, "Air Date" text, "Guest Host" text, "Musical Guest (Song performed)" text, "Who knows the most about the guest host? panelists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the mo...
### Context: CREATE TABLE prereq ( course_id text, prereq_id text ) CREATE TABLE instructor ( id text, name text, dept_name text, salary number ) CREATE TABLE takes ( id text, course_id text, sec_id text, semester text, year number, grade text ) CREATE TABLE time_slot ...