text
stringlengths
197
8.39k
### Context: CREATE TABLE table_dev_3 ( "id" int, "bleeding" int, "hemoglobin_a1c_hba1c" float, "trauma" bool, "diabetic" string, "creatinine_clearance_cl" float, "surgery" bool, "autonomic_dysfunction" bool, "urine_protein" int, "proteinuria" int, "body_mass_index_bmi" float...
### Context: CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHA...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, Mark...
### Context: CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE table_name_97 ( wins VARCHAR, defeated_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins were held before being defeated by toda? ### Query: SELECT COUNT(wins) FROM table_name_97 WHERE defeated_by = "toda"
### Context: CREATE TABLE table_6867 ( "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 lowest Top-10 when the Top-25 is 6, and ...
### Context: CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE keyphrase ( keyphraseid int, ...
### Context: CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slo...
### Context: CREATE TABLE table_39496 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the smallest amount of earnings when there are more than 18 wins and the rank is ...
### Context: CREATE TABLE table_43272 ( "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 the Rank of the Nation with 0 Silver and more than 1 Bronze? ### Query...
### Context: CREATE TABLE table_27218002_2 ( originalairdate VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the episode that was written by Fintan Ryan originally air? ### Query: SELECT originalairdate FROM table_27218002_2...
### Context: CREATE TABLE table_name_26 ( goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average goals conceded with draw bigger than 7 and goals scored more than 24 ### Query: SELECT AVG(goals...
### Context: CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT...
### Context: CREATE TABLE table_10706879_3 ( winning_team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The winning team of the race, los angeles times 500 is who? ### Query: SELECT winning_team FROM table_10706879_3 WHERE name = "Los Angeles...
### 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 table_name_7 ( round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater t...
### Context: CREATE TABLE table_name_80 ( parish__prestegjeld_ VARCHAR, church_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which Parish (Prestegjeld) is the church called Stavang Kyrkje? ### Query: SELECT parish__prestegjeld_ FROM table_name_80 W...
### Context: CREATE TABLE table_2865 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest attendance for...
### 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 perpetrator ( Name VARCHAR, People_ID VARCHAR ) CREATE TABLE people ( Name VARCHAR, People_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of people that are not perpetrators. ### Query: SELECT Name FROM p...
### Context: CREATE TABLE table_45467 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the diameter of kaiwan fluctus? ### Query: SELECT "Diameter (km)" FROM ...
### Context: CREATE TABLE table_name_67 ( athlete VARCHAR, run_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a run 2 of 50.67? ### Query: SELECT athlete FROM table_name_67 WHERE run_2 = 50.67
### Context: CREATE TABLE table_21436373_6 ( attendance VARCHAR, type_of_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of attendance with the pre-season game as the type of record? ### Query: SELECT COUNT(attendance) FROM table_21...
### Context: CREATE TABLE table_40890 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of points for the song that was ranked 6th and had a draw number smalle...
### Context: CREATE TABLE table_train_108 ( "id" int, "mini_mental_state_examination_mmse" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "deficiency_to_iga" bool, "diastolic_blood_pressure_dbp" int, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQL...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId nu...
### Context: CREATE TABLE table_33446 ( "Name" text, "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winning driver of the Kraco Car Stereo 150? ### Query: SELECT ...
### Context: CREATE TABLE table_26708105_5 ( common_name VARCHAR, accession_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the accession number xp_001843282? ### Query: SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, T...
### Context: CREATE TABLE table_63379 ( "Model" text, "Years" text, "Engine code" text, "Power" text, "Torque" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the power for the model xdrive28i sdrive28i? ### Query: SELECT "Power" FROM table_...
### Context: CREATE TABLE College ( cName varchar(20), state varchar(2), enr numeric(5,0) ) CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS numeric(5,0) ) CREATE TABLE Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision va...
### Context: CREATE TABLE table_name_5 ( edition_publisher VARCHAR, language VARCHAR, page_size VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)? ### Query: SELECT edition_pu...
### Context: CREATE TABLE table_47610 ( "Race" text, "Date" text, "Venue" text, "Winner" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner for the world championship formula 1 at the venue, circuit de monaco? ### Query...
### Context: CREATE TABLE table_204_837 ( id number, "match" text, "team" text, "result points" number, "match status" number, "opposition strength" number, "regional strength" number, "ranking points" number ) -- Using valid SQLite, answer the following questions for the tables provid...
### Context: CREATE TABLE ftxmzjzjlb ( 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 tex...
### 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_2 ( circuit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 125cc winner with circuit of estoril ### Query: SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, charget...
### Context: CREATE TABLE table_55152 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine \u2020" text, "Tyre" text, "Driver" text, "Rounds" text, "Free Practice driver(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is...
### Context: CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy V...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_first_nam...
### Context: CREATE TABLE table_50771 ( "Episode" text, "Air Date" text, "Timeslot" text, "18-49" text, "Viewers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode had 6.71 viewers? ### Query: SELECT "Episode" FROM table_50771 WHERE "View...
### Context: CREATE TABLE table_58353 ( "Position" text, "Game 1" text, "Game 2" text, "Game 3" text, "Game 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For which Game 4 did Michael O'Connor play wing position? ### Query: SELECT "Game 4" FROM ...
### Context: CREATE TABLE table_4278 ( "Season" real, "Date" text, "Location" text, "Discipline" text, "Position" real, "FIS points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for 2011 and position larger than 2.0 ### Query: S...
### Context: CREATE TABLE table_1255 ( "Elected" real, "Assembled" text, "Dissolved" text, "First member" text, "Second member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different second members were there when John rudhale was first m...
### Context: CREATE TABLE table_name_22 ( attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Attendance has a Date of november 18, 1951? ### Query: SELECT attendance FROM table_name_22 WHERE date = "november 18, 1951"
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thu...
### Context: CREATE TABLE museums ( museum_id number, museum_details text ) CREATE TABLE locations ( location_id number, location_name text, address text, other_details text ) CREATE TABLE shops ( shop_id number, shop_details text ) CREATE TABLE royal_family ( royal_family_id numb...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number,...
### Context: CREATE TABLE table_26140 ( "Year" real, "Driver" text, "Constructor" text, "Location" text, "Formula" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of formula did Stirling Moss drive? ### Query: SELECT "Fo...
### 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_33387 ( "General election" real, "# of candidates" real, "# of seats won" real, "% of popular vote" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the # of candidates of liberal majority with 51...
### Context: CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int...
### Context: CREATE TABLE table_name_87 ( field_goals INTEGER, touchdowns VARCHAR, player VARCHAR, points VARCHAR, extra_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Herb Graver played, how many field goals were made when there were...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes numb...
### 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 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 table_76631 ( "Name" text, "Gain" real, "Loss" real, "Long" real, "Avg/g" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Loss, when Long is less than 0? ### Query: SELECT MIN("Loss") FROM table_76631 WHE...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_fl...
### Context: CREATE TABLE table_46835 ( "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 table_74737 ( "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 sum of all crowds prese...
### Context: CREATE TABLE table_17356205_1 ( season__number VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season episode is directed by Skipp Sudduth? ### Query: SELECT season__number FROM table_17356205_1 WHERE directed_by = "Ski...
### 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 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 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 train_station ( Train_ID int, Station_ID int ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train ( ...
### Context: CREATE TABLE table_204_741 ( id number, "rank" number, "name" text, "nationality" text, "1,62" text, "1,67" text, "1,72" text, "1,75" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- does ranking 7 or 3 have ...
### Context: CREATE TABLE table_24099476_8 ( date VARCHAR, win_lose VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the win/lose lose and the round a play-off? ### Query: SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" A...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 job_history (...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_name_33 ( tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Tournament venue has a Tournament Champion of duke and a Record of 15 1? ### Query: SELECT tourn...
### 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 Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, pr...
### Context: CREATE TABLE table_84 ( "Total tenure rank" real, "Uninterrupted rank" real, "Name" text, "State represented" text, "Dates of service" text, "Total tenure time" text, "Uninterrupted time" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_name_56 ( loss VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss of the game when the record was 3 2? ### Query: SELECT loss FROM table_name_56 WHERE record = "3–2"
### Context: CREATE TABLE table_17917 ( "Team" text, "Location" text, "Stadium" text, "Founded" real, "Joined" real, "Head Coach" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is Westpac Stadium located? ### Query: SE...
### Context: CREATE TABLE table_79464 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is galway county's total? ### Query: SELECT SUM("Total") FROM table_...
### 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 zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_31 ( venue VARCHAR, report VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue has a EAFF report on June 24, 2007? ### Query: SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_37794 ( "County" text, "Irish name" text, "County town" text, "Most populous city/town" text, "Province" text, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- County town of castlebar has the most populous...
### Context: CREATE TABLE table_name_51 ( character VARCHAR, episodes VARCHAR, actor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What character is played by dani harmer for under 23 episodes? ### Query: SELECT character FROM table_name_51 WHERE episo...
### Context: CREATE TABLE player_award ( player_id text, award_id text, year number, league_id text, tie text, notes text ) CREATE TABLE hall_of_fame ( player_id text, yearid number, votedby text, ballots text, needed text, votes text, inducted text, category tex...
### 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_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 table_80092 ( "Index" text, "Name" text, "Talent Segment" text, "Acting Segment" text, "Overall Ranking" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the event with index f9, what's the talent segme...
### Context: CREATE TABLE table_76544 ( "Year" real, "Date" text, "Race name" text, "Winner" text, "Engine" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Ted Horn win Lakewood Race 2? ### Query: SELECT "Date" FROM table_76544 WHERE "...
### Context: CREATE TABLE table_21321935_2 ( date VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Oliver Jarvis have pole position? ### Query: SELECT date FROM table_21321935_2 WHERE pole_position = "Oliver Jarvis"
### 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_name_31 ( rank VARCHAR, laps VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the rank for laps less than 130 and year of 1951 ### Query: SELECT rank FROM table_name_31 WHERE laps < 130 AND year = "1951"
### 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 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_CLINIC_ID text, ME...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_i...
### Context: CREATE TABLE table_204_920 ( id number, "goal" number, "date" text, "location" text, "opponent" text, "lineup" text, "min" number, "assist/pass" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE table_34608 ( "Coefficient" text, "Parts-per example" text, "Uno equiv." text, "Symbol form" text, "Value of quantity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Coefficient of 2 ppt? ### Query: SELECT "Coe...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number,...
### Context: CREATE TABLE table_name_22 ( ship VARCHAR, launched VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the ship launched 29 may 1934 ### Query: SELECT ship FROM table_name_22 WHERE launched = "29 may 1934"