text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_38 ( year INTEGER, points INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year when the points were more than 0? ### Query: SELECT MIN(year) FROM table_name_38 WHERE points > 0
### 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 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 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 SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostNotices ( Id number, PostId number...
### 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 ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varcha...
### Context: CREATE TABLE table_43181 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is phil mickelson from? ### Query: SELECT "Country" FROM table_43181 WHERE "Play...
### Context: CREATE TABLE table_name_76 ( event VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Event goes with Notes 53.76? ### Query: SELECT event FROM table_name_76 WHERE notes = "53.76"
### Context: CREATE TABLE table_2645 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series numbers belong to the episode...
### Context: CREATE TABLE table_name_39 ( athlete VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a time of 7:14.64? ### Query: SELECT athlete FROM table_name_39 WHERE time = "7:14.64"
### Context: CREATE TABLE table_name_37 ( english VARCHAR, dutch VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which English has Dutch of maken? ### Query: SELECT english FROM table_name_37 WHERE dutch = "maken"
### 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_19824 ( "States" text, "Fall 05" real, "Fall 06" real, "Fall 07" real, "Fall 08" real, "Fall 09" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest number of students in Fall 09 in the state that ...
### Context: CREATE TABLE table_name_40 ( outcome VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the outcome when the date is 10 october 1994? ### Query: SELECT outcome FROM table_name_40 WHERE date = "10 october 1994"
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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 t...
### Context: CREATE TABLE table_204_874 ( id number, "year" number, "winner" text, "runner-up" text, "final score" text, "third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team has the most wins ? ### Query: SELECT "winner" FROM table...
### Context: CREATE TABLE table_55316 ( "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. -- Which Home team plays at the arden ...
### Context: CREATE TABLE table_name_39 ( album VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Album has a Year that's larger than 2001? ### Query: SELECT album FROM table_name_39 WHERE year > 2001
### 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_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_28 ( eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels? ### Query: SELECT elimi...
### Context: CREATE TABLE table_26669939_1 ( year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the most recent year? ### Query: SELECT MAX(year) FROM table_26669939_1
### 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 dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_a...
### Context: CREATE TABLE table_60767 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was a friendly match played that ended in a 3-0 score? ### Query: SELECT "Date" F...
### Context: CREATE TABLE table_41508 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Year won for the player with a larger than 4 To par and less the 157 Total? ##...
### Context: CREATE TABLE table_name_4 ( writer_s_ VARCHAR, recipient VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the writer for Red Rose Chain LTD? ### Query: SELECT writer_s_ FROM table_name_4 WHERE recipient = "red rose chain ltd"
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime ...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) 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, ...
### Context: CREATE TABLE table_name_54 ( wins INTEGER, year VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wins have a Year of 1963, and a Class of 50cc? ### Query: SELECT AVG(wins) FROM table_name_54 WHERE year = 1963 AND class = ...
### Context: CREATE TABLE table_21821014_1 ( chapter VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the chapter for Illinois Wesleyan? ### Query: SELECT chapter FROM table_21821014_1 WHERE institution = "Illinois Wesleyan"
### Context: CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active te...
### Context: CREATE TABLE table_69239 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the agg with a second leg of 0-1? ### Query: SELECT "Agg." FROM table_69239 WHERE "2...
### Context: CREATE TABLE table_34932 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score had an Opponent of chris evert-lloyd? ### Query: SELECT ...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE instructor ( ...
### Context: CREATE TABLE table_21839208_4 ( record VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was their record in week 11? ### Query: SELECT record FROM table_21839208_4 WHERE week = 11
### Context: CREATE TABLE table_6830 ( "Time" text, "00:00 AM" text, "01:00 AM" text, "02:00 AM" text, "05:00 AM" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the show on Thursday when the time is 02:00 AM? ### Query: SELECT "02:00 AM" FR...
### Context: CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) -- Using valid SQLite, answer the following quest...
### Context: CREATE TABLE table_27734286_7 ( high_assists VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the high assists for game number 38? ### Query: SELECT high_assists FROM table_27734286_7 WHERE game = 38
### Context: CREATE TABLE table_name_51 ( wins INTEGER, losses INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the teams that had less than 1 loss, what was the average number of Wins? ### Query: SELECT AVG(wins) FROM table_name_51 WHERE losses < 1
### Context: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Return a bar c...
### Context: CREATE TABLE table_name_5 ( time VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time when his opponent was Rudy Martin? ### Query: SELECT time FROM table_name_5 WHERE opponent = "rudy martin"
### 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_5440 ( "Driver" text, "Seasons" text, "Entries" real, "3rd places" real, "Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of entries that has 9.31% as a percentage with a 3rd place ...
### Context: CREATE TABLE Customer_Payments ( customer_id INTEGER, datetime_payment DATETIME, payment_method_code VARCHAR(10), amount_payment DOUBLE ) CREATE TABLE Staff ( staff_id INTEGER, staff_address_id INTEGER, nickname VARCHAR(80), first_name VARCHAR(80), middle_name VARCHAR(8...
### Context: CREATE TABLE table_name_93 ( location VARCHAR, previous_champion_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location had previous champions of Mike Webb and Nick Fahrenheit? ### Query: SELECT location FROM table_name_93 WHERE previ...
### Context: CREATE TABLE table_24658 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was their record in week 11? ### Query: ...
### Context: CREATE TABLE table_204_836 ( id number, "#" number, "date" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- of the ten games in which rowaihi scored goals for the s...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime...
### Context: CREATE TABLE table_50380 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Phil Mickelson's score to par? ### Query: SELECT "To par" FROM table_50380 WHERE "Pl...
### Context: CREATE TABLE table_name_10 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5? ### Query: SELECT MAX(2009) FROM table_name_10 WHERE...
### Context: CREATE TABLE table_204_184 ( id number, "#" number, "title" text, "producer(s)" text, "featured guest(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the only track under two minutes ? ### Query: SELECT "...
### Context: CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text ) CREATE TABLE train ( Train_ID int, Train_Num text, Name text, From text, Arrival text, Railway_ID int ) CREATE TABLE manager ( Manager_ID int, Name text, Country text, Workin...
### Context: CREATE TABLE table_13312864_1 ( player VARCHAR, weight VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players weight 95? ### Query: SELECT COUNT(player) FROM table_13312864_1 WHERE weight = 95
### Context: CREATE TABLE procedures ( 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 bdmzjzjlb ( 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 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 PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name te...
### Context: CREATE TABLE table_41883 ( "Episode number" real, "Title" text, "Original airing on Channel 4" text, "Time of airing on Channel 4" text, "Original airing on E4" text, "Time of airing on E4" text, "Position in Channel 4 and Channel 4+1's ratings" text, "Position in E4 and E4+...
### Context: CREATE TABLE procedures_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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text,...
### Context: CREATE TABLE table_7420 ( "Home team" text, "Away team" text, "Match score" text, "\"Pick The Winners\" score" text, "FootyTAB winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team when the away team was Manly? #...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Eve...
### 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_54343 ( "Dismissals" text, "Player" text, "Versus" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Versus with a Player with ko otieno, with Venue with bloemfontein? ### Query: S...
### Context: CREATE TABLE table_69459 ( "Rider" text, "Year" real, "Final Position - Giro" real, "Final Position - Tour" real, "Final Position - Vuelta" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year of Valdimir Poelnikov, ...
### Context: CREATE TABLE table_77807 ( "Rank" real, "Constituency" text, "Winning party 2007" text, "Swing to gain" real, "LD's place 2007" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is the constituency edinbur...
### 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_27789 ( "Stage" real, "Winner" text, "General Classification" text, "Mountains Classification" text, "Sprint Classification" text, "Young Rider Classification" text, "Team Classification" text, "Aggressive Rider" text ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE table_62540 ( "Year" text, "Arizona" text, "California" text, "Colorado" text, "Nevada" text, "New Mexico" text, "Oklahoma" text, "Texas" text, "Utah" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's th...
### Context: CREATE TABLE customers ( customer_id VARCHAR, customer_name VARCHAR ) CREATE TABLE available_policies ( policy_type_code VARCHAR, policy_id VARCHAR ) CREATE TABLE customers_policies ( customer_id VARCHAR, policy_id VARCHAR ) -- Using valid SQLite, answer the following questions ...
### 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_name_38 ( record VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The match that lasted 2:43 has what record? ### Query: SELECT record FROM table_name_38 WHERE time = "2:43"
### Context: CREATE TABLE table_58547 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is Dyer from? ### Query: SELECT "Country" FROM table_58547 WHERE "N...
### Context: CREATE TABLE table_57335 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the manner of dep...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE VoteTypes ( Id number, Name t...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time...
### Context: CREATE TABLE settlements ( settlement_id number, claim_id number, effective_date time, settlement_amount number ) CREATE TABLE first_notification_of_loss ( fnol_id number, customer_id number, policy_id number, service_id number ) CREATE TABLE customers ( customer_id nu...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE labevents ( row_id number, subject_id...
### Context: CREATE TABLE table_42608 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Platelet count has a Partial thrombopl...
### 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_name_10 ( game INTEGER, march VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a March smaller than 12, and a Score of 10 1? ### Query: SELECT MIN(game) FROM table_name_10 WHERE march < 12 AND ...
### Context: CREATE TABLE table_name_35 ( name VARCHAR, total_points VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is at rank 13 with 23 total points? ### Query: SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### 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_23916272_6 ( written_by VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the writer for the episode originally airing on March 1, 2004? ### Query: SELECT written_by FROM table_23916272_6 WHERE...
### Context: CREATE TABLE table_43031 ( "Maximum Ceiling Temperature" text, "Temperature Rating" text, "Temperature Classification" text, "Color Code (with Fusible Link)" text, "Glass Bulb Color" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What i...
### Context: CREATE TABLE table_54482 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Utah Jazz player played Center? ### Query: SELECT "Player" FRO...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop...
### 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_87 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2003 value for the 2008 grand slam tournaments? ### Query: SELECT 2003 FROM table_name_87 WHERE 2008 = "grand slam tournaments"
### Context: CREATE TABLE table_65542 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the rank if the time was 5:54.57 and FB in notes? ### Query: SELECT "Rank" FROM table_655...
### Context: CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, int...
### Context: CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE table_29071 ( "Date" text, "Time" text, "Visiting team" text, "Home team" text, "Site" text, "Broadcast" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was the si...
### Context: CREATE TABLE table_11677691_12 ( player VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who are all the players for st. thomas aquinas high school ### Query: SELECT player FROM table_11677691_12 WHERE school = "St. Thomas Aquinas...
### Context: CREATE TABLE table_60745 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total To Par for the winner in 1995? ### Query: SELECT COUNT("To par") FRO...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE table_79445 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the score when the tie number was replay? ### Query: SELECT "Score" FROM table_794...
### Context: CREATE TABLE table_23728 ( "Date" text, "Presenter" text, "Guest 1" text, "Guest 2" text, "Guest 3" text, "Guest 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the episode in which the presenter is Johnny Vaug...