text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_62 ( runner_up VARCHAR, name VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was runner-up in the 2006 Pacific Life Open? ### Query: SELECT runner_up FROM table_name_62 WHERE name = "pacific life ope...
### 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_name_25 ( points_for INTEGER, record VARCHAR, points_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Points when the record was 12 2, and the Points Against are larger than 6? ### Query: SELECT ...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number...
### Context: CREATE TABLE genre ( g_name varchar2(20), rating varchar2(10), most_popular_in varchar2(50) ) CREATE TABLE artist ( artist_name varchar2(50), country varchar2(20), gender varchar2(20), preferred_genre varchar2(50) ) CREATE TABLE song ( song_name varchar2(50), artist_na...
### Context: CREATE TABLE table_17347 ( "#" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the sco...
### Context: CREATE TABLE table_name_51 ( loss VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that put the team at 27-32? ### Query: SELECT loss FROM table_name_51 WHERE record = "27-32"
### Context: CREATE TABLE table_name_37 ( to_par VARCHAR, place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the To par for bill britton when he placed t7? ### Query: SELECT to_par FROM table_name_37 WHERE place = "t7" AND pla...
### 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_64 ( record VARCHAR, time VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00? ### Query: SELECT record FROM table_name_64...
### Context: CREATE TABLE table_name_35 ( status VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the status on 16/12/1995? ### Query: SELECT status FROM table_name_35 WHERE date = "16/12/1995"
### Context: CREATE TABLE table_56036 ( "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 when the vi...
### Context: CREATE TABLE table_name_77 ( frequency_mhz INTEGER, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest frequency mhz with the call sign w292cu? ### Query: SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = ...
### 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 lab ( ...
### Context: CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation ...
### Context: CREATE TABLE table_name_14 ( production_code INTEGER, series__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest production code value in series #10? ### Query: SELECT MIN(production_code) FROM table_name_14 WHERE series_...
### Context: CREATE TABLE table_56683 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of attendance with a Record of 5-9-...
### Context: CREATE TABLE table_78184 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the low lap total for a grid larger than 16 and has a Time/Retired of + 3:27.3...
### Context: CREATE TABLE table_203_778 ( id number, "representative" text, "title" text, "presentation\nof credentials" text, "termination\nof mission" text, "appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which reps were only app...
### Context: CREATE TABLE table_52977 ( "Season" text, "UEFA Season" text, "Coeff" text, "Ranking" real, "Champions" text, "Runner-up" text, "3rd place" text, "Cup winner" text, "Cup runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### 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_62868 ( "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 2nd leg in match with team 2 of Teram? ### Query: SELECT "2nd leg" FROM table_62...
### Context: CREATE TABLE table_name_41 ( points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in ...
### Context: CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Participants ( P...
### 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 table_3247 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date(s) was the winning ...
### 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_203_572 ( id number, "judge" text, "court" text, "began active\nservice" text, "ended active\nservice" text, "ended senior\nstatus" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which judge began active service f...
### Context: CREATE TABLE table_name_73 ( down__up_to_kbit_s_ INTEGER, provider VARCHAR, up__up_to_kbit_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more t...
### 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 table_name_40 ( date VARCHAR, competition VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? ...
### Context: CREATE TABLE table_name_90 ( track VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the 350cc at Sachsenring? ### Query: SELECT 350 AS _cc FROM table_name_90 WHERE track = "sachsenring"
### Context: CREATE TABLE table_40323 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the tournament with 11 or more ...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35),...
### Context: 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, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### 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 workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) -- Using valid SQLite...
### Context: 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, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_58322 ( "Mid Gippsland FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest amount of wins of someone who has an against sco...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varc...
### 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 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_50783 ( "Tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, ...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, ...
### Context: CREATE TABLE table_203_653 ( 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. -- what countries have the same amount of bronze medals...
### Context: CREATE TABLE table_train_64 ( "id" int, "hiv_infection" bool, "receiving_parenteral_nutrition" bool, "hypertriglyceridemia" bool, "enteral_feeding" bool, "body_mass_index_bmi" float, "diarrhea" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for...
### Context: CREATE TABLE table_44284 ( "College code" text, "Faculty name" text, "Designation" text, "Qualification" text, "Department" text, "Experience" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What department has an m.phil (physics) qu...
### Context: CREATE TABLE table_name_21 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the home team for vfl park venue ### Query: SELECT home_team FROM table_name_21 WHERE venue = "vfl park"
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName tex...
### Context: CREATE TABLE table_37927 ( "Date" text, "Time" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what time was the game when they played the White Sox and had a record of 63...
### Context: CREATE TABLE table_57431 ( "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 team played South Melbourne at...
### Context: CREATE TABLE table_61332 ( "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. -- Which Res has a Time of 11:58? ### Qu...
### Context: CREATE TABLE table_name_75 ( matches INTEGER, loses VARCHAR, pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Loses of 2, and a Pos. smaller than 2 had how many highest matches? ### Query: SELECT MAX(matches) FROM table_name_75 WHERE lose...
### Context: CREATE TABLE table_name_12 ( rank INTEGER, nation VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where does Iceland rank with under 19 silvers? ### Query: SELECT MAX(rank) FROM table_name_12 WHERE nation = "iceland" AND silv...
### Context: CREATE TABLE table_name_98 ( song VARCHAR, language VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song was in french? ### Query: SELECT song FROM table_name_98 WHERE language = "french"
### Context: CREATE TABLE table_53393 ( "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 did the home team score at Pri...
### Context: CREATE TABLE table_name_61 ( name VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the building at the Jewellery quarter? ### Query: SELECT name FROM table_name_61 WHERE location = "jewellery quarter"
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Sc...
### Context: CREATE TABLE table_name_32 ( head_of_household VARCHAR, married_filing_jointly_or_qualified_widow_er_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the head of household for married filing jointly or qualified widow(er) being $137,051 $208...
### Context: CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) -- Using valid SQLite, answer the following questions fo...
### 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 PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLi...
### Context: CREATE TABLE table_name_63 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on 12 march 2008? ### Query: SELECT record FROM table_name_63 WHERE date = "12 march 2008"
### Context: CREATE TABLE table_name_75 ( last_update VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- for the name of joe surratt what is the last update? ### Query: SELECT last_update FROM table_name_75 WHERE name = "joe surratt"
### Context: CREATE TABLE table_name_57 ( total INTEGER, bronze VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Bronze larger than 1, and a Gold larger than 0? ### Query: SELECT MAX(total) FROM table_name_57 WHERE bronze >...
### Context: CREATE TABLE table_70866 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result where Goal is 9? ### Query: SELECT "Result" FROM table_...
### Context: CREATE TABLE table_44146 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opponents for the event in Milan,...
### Context: CREATE TABLE table_36169 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the game with a result of w 14 6? ### Query: SEL...
### Context: CREATE TABLE table_57473 ( "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 venue of North Melbourn...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE Sugge...
### Context: CREATE TABLE table_77021 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nation, when Rank is greater than 2, when Total is greater than 1, and ...
### 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 table_12564633_1 ( series__number INTEGER, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first series in this list that Jack Orman wrote? ### Query: SELECT MIN(series__number) FROM table_12564633_1 WHERE wr...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_34089 ( "Driver" text, "Points" real, "Season" real, "Races" real, "Percentage of possible points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which races have points greater than 123, fernando alonso as the driver...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE zyb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### 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_60 ( home_team VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team when the Tie no was 7? ### Query: SELECT home_team FROM table_name_60 WHERE tie_no = "7"
### Context: CREATE TABLE table_24426 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the originally artist when Jasmine Murray was select...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_...
### Context: CREATE TABLE table_name_24 ( opponent VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has tomko (1-1) as a loss? ### Query: SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
### Context: CREATE TABLE table_19826 ( "North Carolina" text, "273.7%" text, "South Carolina" text, "132.1%" text, "Mississippi" text, "95.8%" text, "Wisconsin" text, "59.4%" text, "Vermont" text, "32.5%" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_name_48 ( episode INTEGER, performer_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest episode number where john bird was the 4th performer? ### Query: SELECT MIN(episode) FROM table_name_48 WHERE performer_...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Tags ( Id number, TagName tex...
### 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_20882 ( "Parameter" text, "1st stage" text, "2nd stage" text, "3rd stage" text, "4th stage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the parameter for 2.67 m ### Query: SELECT "Parameter" FROM table_20882 ...
### Context: 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER va...
### Context: CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_icd_diagnoses ( row_id number, ...
### Context: CREATE TABLE table_name_97 ( school_club_team VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mck...
### Context: CREATE TABLE table_18987377_1 ( original_title VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original title for the last metro ### Query: SELECT original_title FROM table_18987377_1 WHERE film_ti...
### 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 event ( ID int, Name text, Stadium_ID int, Year t...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE STUDENT ( Fname VARCHAR, city_code VARCHAR ) CREATE TABLE VOTING_RECORD ( VICE_PRESIDENT_Vote VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the distinct first names of all the students who have vice president votes and wh...
### Context: CREATE TABLE table_31682 ( "Flight" text, "Launch date/time (UTC)" text, "Variant" text, "Launch Pad" text, "Payload" text, "Payload Mass" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the launch pad for 25 december 2010 10...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender tex...
### 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...