text
stringlengths
197
8.39k
### Context: CREATE TABLE table_24520 ( "Period" real, "Civilians" text, "Security forces" text, "Insurgents" text, "Total per period" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are named for security forces in 1998? ### Query:...
### Context: CREATE TABLE table_16799784_8 ( diameter__km_ VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the diameter in km of the feature named Colette Patera? ### Query: SELECT diameter__km_ FROM table_16799784_8 WHERE name = "Colet...
### Context: CREATE TABLE table_4802 ( "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 was the crowd size at the match...
### Context: CREATE TABLE table_37807 ( "Tournament" text, "2006" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2008 for 2012 of sf ### Query: SELEC...
### Context: CREATE TABLE table_12344 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which report had a circuit of Cagliari? ### Query: SELE...
### Context: CREATE TABLE table_name_18 ( track VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the track for 1982? ### Query: SELECT track FROM table_name_18 WHERE year = 1982
### Context: CREATE TABLE table_31424 ( "Prefix class" text, "Type and usage" text, "Example" text, "Equivalent" text, "Reference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every reference for the example of AF117? ### Query: SELECT "R...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, ...
### Context: CREATE TABLE table_54797 ( "Year" text, "Winner and nominees" text, "Original title" text, "Country" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original title for the winner and nominees 'Secrets & Lies'...
### Context: CREATE TABLE table_name_92 ( pick__number VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick# for the California Golden Seals? ### Query: SELECT pick__number FROM table_name_92 WHERE nhl_team = "california golden ...
### Context: CREATE TABLE table_name_26 ( round INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is recorded as the lowest Round for the Player Jim Thompson? ### Query: SELECT MIN(round) FROM table_name_26 WHERE player = "jim thompson"
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_name_60 ( pick__number INTEGER, position VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Pick that is wide receiver with overall of 29? ### Query: SELECT MAX(pick__number) FROM table_na...
### Context: CREATE TABLE addresses ( address_id number, address_content text, city text, zip_postcode text, state_province_county text, country text, other_address_details text ) CREATE TABLE customer_contact_channels ( customer_id number, channel_code text, active_from_date ti...
### Context: CREATE TABLE table_30115 ( "Player" text, "Matches" real, "Innings" real, "Wickets" real, "Average" text, "BBI" text, "BBM" text, "5wi" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many innings for the player with an a...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE student_record ( student_id int, course_id int, ...
### Context: CREATE TABLE table_name_72 ( rider VARCHAR, manufacturer VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the rider for Honda with a grid of 25? ### Query: SELECT rider FROM table_name_72 WHERE manufacturer = "honda" AND ...
### Context: CREATE TABLE table_33104 ( "Position" real, "Club" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Points" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables pr...
### 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 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 table_7984 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which frequency belongs to the cihr-fm call sign? ### Query: SELECT "Frequency" FROM t...
### Context: CREATE TABLE table_21576644_2 ( mens_2nd_xi VARCHAR, mens_1st_xi VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi? ### Query: SELECT mens_2nd_xi FROM table_21576644_2 WHERE men...
### 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 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 Bookings_Services ( Order_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Invoices ( Invoice_ID INTEGER, Order_ID INTEGER, payment_method_code CHAR(15), Product_ID INTEGER, Order_Quantity VARCHAR(288), Other_Item_Details VARCHAR(255), Order_Item_ID INTEGER ) ...
### Context: CREATE TABLE table_203_224 ( id number, "title" text, "year" number, "channel" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what television title did she perform in directly after loose women ? ### Quer...
### Context: CREATE TABLE table_name_85 ( part_number_s_ VARCHAR, turbo VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the part number that has a turbo of low power? ### Query: SELECT part_number_s_ FROM table_name_85 WHERE turbo = "low power"
### Context: CREATE TABLE table_9407 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Label has a Format of cd, a Country of Japan and a Catalog of vjcp-68403? ### Query: SEL...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gende...
### 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 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 table_27539272_5 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the record that had a score of 5-3? ### Query: SELECT record FROM table_27539272_5 WHERE score = "5-3"
### Context: CREATE TABLE table_105344_2 ( aircraft_kilometers INTEGER, departures VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown? ### Query: SELECT MAX...
### Context: CREATE TABLE gradeconversion ( lettergrade text, gradepoint number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE minor_in ( stuid number, dno number ) CREATE...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int...
### 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 mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE outputevents ( row_id number, subject_id...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_name_36 ( first_elected INTEGER, results VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is re-elected Incumbent Jerry Costello's First elected date? ### Query: SELECT MIN(first_elected) FROM table_...
### Context: CREATE TABLE table_14940519_1 ( week INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least week for september 25, 1983 ### Query: SELECT MAX(week) FROM table_14940519_1 WHERE date = "September 25, 1983"
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_items ( row_i...
### Context: CREATE TABLE table_name_43 ( province VARCHAR, _community VARCHAR, contestant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the province with a contestant of tatiana vargas rosales? ### Query: SELECT province, _community FROM table...
### Context: CREATE TABLE table_name_38 ( date VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Round is '2'? ### Query: SELECT date FROM table_name_38 WHERE round = 2
### Context: CREATE TABLE table_61560 ( "Draw" real, "Artist" text, "Song" text, "Results" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the song 'ride'? ### Query: SELECT "Results" FROM table_61560 WHERE "Song"...
### Context: CREATE TABLE table_8491 ( "Name" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did grid 8 finish? ### Query: SELECT "Time/Retired" FROM table_8491 WHE...
### 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_40657 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance for the New York Jets? ### Query: SELECT AVG("Attendance") ...
### Context: CREATE TABLE table_204_256 ( id number, "position" number, "club" text, "played" number, "points" number, "wins" number, "draws" number, "losses" number, "goals for" number, "goals against" number, "goal difference" number ) -- Using valid SQLite, answer the fo...
### Context: CREATE TABLE table_1705429_1 ( no INTEGER, constituency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most number of leitrim ### Query: SELECT MAX(no) FROM table_1705429_1 WHERE constituency = "Leitrim"
### Context: CREATE TABLE table_201_25 ( id number, "party" text, "leader" text, "from" text, "to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which party had only one leader and only a three year office term ? ### Query: SELECT "party" FROM tab...
### Context: CREATE TABLE Rooms ( decor VARCHAR, RoomId VARCHAR ) CREATE TABLE Reservations ( Room VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of decor has the least number of reservations? ### Query: SELECT T2.decor FROM Reservations AS T...
### Context: CREATE TABLE table_name_54 ( date_of_vacancy VARCHAR, date_of_appointment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date of vacancy when the date of appointment is 1 january 2009? ### Query: SELECT date_of_vacancy FROM table_na...
### Context: CREATE TABLE table_name_32 ( game INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average game that has December 17 as the date? ### Query: SELECT AVG(game) FROM table_name_32 WHERE date = "december 17"
### Context: CREATE TABLE Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Customers_Cards ( card_...
### 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_61291 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is week 3 if week 2 is Nikki Fiction? ### Query: SELECT "Week 3" FROM table_61291 WHERE ...
### Context: CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int, year int, month varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, ...
### Context: CREATE TABLE table_name_55 ( chassis VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which chassis scored 52 points? ### Query: SELECT chassis FROM table_name_55 WHERE points = 52
### Context: CREATE TABLE table_66108 ( "Japanese Title" text, "Romaji Title" text, "TV Station" text, "Episodes" real, "Average Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Romanji title for around40 on TBS? ### Query: SELEC...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_name_32 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the tournament for 2012 grand slam tournaments ### Query: SELECT tournament FROM table_name_32 WHERE 2012 = "grand slam tournaments"
### Context: CREATE TABLE table_12261714_2 ( general_classification VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's leading in the general classification in stage 1a? ### Query: SELECT general_classification FROM table_12261714_2 WHERE s...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ...
### 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 ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE Posts ( Id number, PostTypeId number, A...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZB...
### Context: CREATE TABLE table_27756164_2 ( game VARCHAR, high_rebounds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many different games did Roy Hibbert (16) did the most high rebounds? ### Query: SELECT COUNT(game) FROM table_27756164_2 WHERE hi...
### Context: CREATE TABLE table_44953 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest round with a time...
### Context: CREATE TABLE table_15876 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which positions were in Toronto in 2004? ### Quer...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTME...
### Context: CREATE TABLE table_21196 ( "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 Songs ( SongId VARCHAR ) CREATE TABLE Band ( firstname VARCHAR, id VARCHAR ) CREATE TABLE Performance ( bandmate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the first name of the band mate that has performed in mos...
### 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration n...
### 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_27112 ( "Afghan" text, "Albanian" text, "Arabic" text, "Bangladeshi" text, "Bosnian" text, "Chinese" text, "Colombian" text, "Cook Islands" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many bosnian i...
### Context: CREATE TABLE table_27902171_4 ( high_assists VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the high assist total when the team was 0-1? ### Query: SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"
### Context: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int ) -- Using valid SQLit...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, ch...
### Context: CREATE TABLE table_22367 ( "Voting order" real, "Country" text, "Spokespersons" text, "Commentator" text, "Broadcaster" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wich spokesperson talked on luxembourg ### Query: SELECT "Spokespers...
### Context: CREATE TABLE table_name_63 ( round INTEGER, pick VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round was jerry corcoran drafted in as pick number 114? ### Query: SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AN...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_52283 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rep...
### Context: CREATE TABLE table_204_363 ( id number, "res." text, "record" text, "opponent" text, "method" text, "event" text, "date" text, "round" number, "time" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_name_4 ( venue VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue is rank 3? ### Query: SELECT venue FROM table_name_4 WHERE rank = "3"
### Context: CREATE TABLE table_204_477 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which driver fin...
### 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_name_99 ( overall INTEGER, college VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of overall figures when duke was the college and the round was higher than 7? ### Query: SELECT SUM...
### Context: CREATE TABLE table_15628 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game after week 6 with the New York Jets as the opponent? ### Que...
### Context: CREATE TABLE table_43192 ( "Position" text, "Jersey #" real, "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "1980\u20131981 Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
### Context: CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_t...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDa...
### 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 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 jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...