text
stringlengths
197
8.39k
### Context: CREATE TABLE table_13550 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_28155 ( "Graphics" text, "Launch" real, "Market" text, "CPU" text, "Code name" text, "Device ID" real, "Core clock ( MHz )" text, "Execution units" real, "Shader model" text, "DirectX" text, "OpenGL" text, "OpenCL" text, "Memory bandwid...
### Context: CREATE TABLE procedures ( 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_...
### Context: CREATE TABLE table_73053 ( "Name" text, "Nickname" text, "First season" text, "Location" text, "Home ground(s)" text, "Coach" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the dates where Hillcrest Reser...
### Context: CREATE TABLE table_45717 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Attendance has a Result of w 23-21, and a Week smaller than 5? ### Query: SELECT AVG...
### 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_39768 ( "Time" text, "12:00 PM" text, "01:00 PM" text, "02:00 PM" text, "03:00 PM" text, "04:00 PM" text, "05:00 PM" text, "05:55 PM" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who preforms at 2:00PM o...
### Context: CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, P...
### Context: CREATE TABLE table_75780 ( "Capital/Region" text, "1997" real, "1998" real, "1999" real, "2000" real, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real ) -- Using valid SQLite, answer the following questions for the t...
### 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 flight_leg ( flight_id int, leg_number int, leg_flight 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 table_72915 ( "State" text, "Preliminary" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the swuinsuit for oregon ### Query: SELECT "Swimsuit...
### Context: 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, long_title text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, ...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_68334 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date which has type of plain stage ### Query: SELECT "Date" FROM table_68334 WHERE "T...
### Context: CREATE TABLE table_dev_58 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "intra_aortic_balloon_pump_iabp" bool, "systemic_arterial_po2" int, "creatinine_clearance_cl" float, "supplemental_oxygen" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, an...
### Context: CREATE TABLE table_80109 ( "Hits" real, "Player" text, "Team" text, "Year" real, "Years Record Stood" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player with 238 hits and years after 1885 ### Query: SELECT "Player" FROM tab...
### Context: CREATE TABLE table_18026 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the game that resulted ...
### Context: CREATE TABLE table_name_4 ( draw INTEGER, points VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number for draw when the points are less than 17, and the lost is 13? ### Query: SELECT MIN(draw) FROM table_na...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, ...
### Context: CREATE TABLE table_name_46 ( loss VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Loss when the Record was 50-54? ### Query: SELECT loss FROM table_name_46 WHERE record = "50-54"
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE 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_204_320 ( 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. -- which country has the most gold medals ? ### Query:...
### Context: CREATE TABLE table_6318 ( "Competition" text, "Played" real, "Blackpool" real, "Draw" real, "Preston North End" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Played is the lowest one that has a Blackpool smaller than 0? ### Quer...
### Context: CREATE TABLE sampledata15 ( sample_pk number, state text, year text, month text, day text, site text, commod text, source_id text, variety text, origin text, country text, disttype text, commtype text, claim text, quantity number, growst text,...
### Context: CREATE TABLE table_name_68 ( nationality VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the Washington Capitals? ### Query: SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals...
### Context: CREATE TABLE table_name_45 ( assists INTEGER, games INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Assists for the Player with more than 25 Games? ### Query: SELECT SUM(assists) FROM table_name_45 WHERE games > 25
### Context: CREATE TABLE table_204_913 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the top listed venue in the ta...
### Context: CREATE TABLE table_3524 ( "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. -- What song was used resulting in the bottom 3? ### Query: SEL...
### Context: CREATE TABLE table_name_51 ( votes VARCHAR, notes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many votes were cast when the notes reported lost to incumbent vic gilliam? ### Query: SELECT votes FROM table_name_51 WHERE notes = "lost to i...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_14650162_1 ( college VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the defensive back attend? ### Query: SELECT college FROM table_14650162_1 WHERE position = "Defensive Back"
### Context: CREATE TABLE table_name_92 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did woking compete? ### Query: SELECT date FROM table_name_92 WHERE opponent = "woking"
### Context: CREATE TABLE table_12500 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the Player with a To par of +1 and a Score of 74-70-70=214? ### Query:...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_65325 ( "Year" real, "Artist" text, "Song" text, "UK Chart" text, "At Eurovision" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Scott Fitzgerald rank on the UK charts? ### Query: SELECT "UK Chart" FROM tab...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_name_38 ( draws VARCHAR, losses VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many draws occured with a record of 10 losses, and 6 wins? ### Query: SELECT COUNT(draws) FROM table_name_38 WHERE losses = ...
### Context: CREATE TABLE table_60275 ( "Model" text, "Year" text, "Type" text, "Engine" text, "Displacement cc" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of car has the model 6cm? ### Query: SELECT "Type" FROM table_60275 WHERE "Mod...
### 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25)...
### Context: CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text ) CREAT...
### Context: CREATE TABLE table_10798928_1 ( director VARCHAR, original_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed Dulcinea? ### Query: SELECT director FROM table_10798928_1 WHERE original_title = "Dulcinea"
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, ...
### Context: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_name_90 ( rank__number VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank were the Buckeyes when there were 68,586 in attendance? ### Query: SELECT rank__number FROM table_name_90 WHERE attendance = ...
### Context: CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE weather (...
### Context: CREATE TABLE table_38365 ( "State" text, "Revenue (millions)" text, "Population" real, "Revenue per capita" text, "Spending (millions)" text, "Spending per capita" text, "Net contribution per capita" text ) -- Using valid SQLite, answer the following questions for the tables 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 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_74 ( year VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have a Record of 73-65? ### Query: SELECT COUNT(year) FROM table_name_74 WHERE record = "73-65"
### Context: CREATE TABLE table_name_14 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which visitor visited on February 21? ### Query: SELECT visitor FROM table_name_14 WHERE date = "february 21"
### Context: CREATE TABLE table_55036 ( "Outcome" text, "Date" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which surface has an Opponent of fernando verdasco? ### Query: SELECT "Surface" FROM table_...
### Context: CREATE TABLE table_30303 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the mens doubles when wang hao won the mens single...
### Context: CREATE TABLE table_41692 ( "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. -- Which 2nd leg has pamesa valencia for team #2? ### Query: SELECT "2nd leg" FROM table_4169...
### Context: CREATE TABLE table_13501 ( "Rank" text, "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 average gold when rank is total and silver is more than 20? ### Qu...
### Context: CREATE TABLE table_56113 ( "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 scored 12.11 (83)? ...
### Context: CREATE TABLE table_204_214 ( id number, "pos" text, "no." number, "rider" text, "manufacturer" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which ride...
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_name_32 ( attendance INTEGER, opponent VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance for the game against the Kansas City Chiefs earlier than week 13? ### Query: SELECT AVG(attendance...
### Context: CREATE TABLE table_name_95 ( place VARCHAR, to_par VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a To par of 5, what is Nick Faldo's Place? ### Query: SELECT place FROM table_name_95 WHERE to_par = "–5" AND player = "n...
### Context: CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text ) CREATE TABLE manager ( Manager_ID int, Name text, Country text, Working_year_starts text, Age int, Level int ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, ...
### Context: CREATE TABLE table_43140 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game with the Broadview Hawks as the home team? ### Quer...
### Context: CREATE TABLE table_204_928 ( id number, "year" number, "album" text, "territory" text, "label" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total albums did this group have under capitol records ? ### Query...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, in...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_71400 ( "Date" text, "Tournament" text, "Surface" text, "Tier" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has opponents, Akgul Amanmu...
### Context: CREATE TABLE table_34593 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest played number ...
### Context: CREATE TABLE table_203_163 ( id number, "year" number, "total" number, "serbs" text, "hungarians" text, "germans" text, "romanians" text, "slovaks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first year that ...
### 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 table_name_72 ( power__kw_ VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Power (kW) for the station with a frequency of 95.1mhz? ### Query: SELECT power__kw_ FROM table_name_72 WHERE frequency = "95....
### Context: CREATE TABLE table_69060 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Frequency MHz with a Class of b1? ...
### Context: CREATE TABLE table_50221 ( "Date" text, "Opponent#" text, "Rank #" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent when the result was w24-7? ### Query: SELECT "Opp...
### Context: CREATE TABLE table_64829 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronzes have west germany as the nation? ### Query: SELECT SUM("Bronz...
### Context: CREATE TABLE table_20374 ( "N\u00b0" real, "Television service" text, "Country" text, "Language" text, "Content" text, "DAR" text, "HDTV" text, "PPV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE authorship ( authid number, instid number, paperid number, authorder number ) CREATE TABLE papers ( paperid number, title text ) CREATE TABLE inst ( instid number, name text, country text ) CREATE TABLE authors ( authid number, lname text, fna...
### Context: CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE weather (...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE procedure...
### Context: CREATE TABLE stadium ( id number, name text, capacity number, city text, country text, opening_year number ) CREATE TABLE swimmer ( id number, name text, nationality text, meter_100 number, meter_200 text, meter_300 text, meter_400 text, meter_500 te...
### Context: CREATE TABLE table_name_83 ( scored VARCHAR, points VARCHAR, draws VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points are in the scored category for the team that has less than 5 draws, 8 total wins, and total o...
### 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 table_41533 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number played ...
### Context: CREATE TABLE table_64076 ( "School" text, "Location" text, "Mascot" text, "County" text, "Year Joined" text, "Previous Conference" text, "Year Left" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the mascot when the scho...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_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, charttime time, ...
### Context: CREATE TABLE table_26580 ( "Processor" text, "Brand name" text, "Model (list)" text, "Cores" real, "L2 Cache" text, "Socket" text, "TDP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the model of the processor with a 5.5...
### Context: CREATE TABLE table_19818 ( "Ido" text, "English" text, "Italian" text, "French" text, "German" text, "Russian" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the french word for the Russian word filtrovat...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResults ( ...
### Context: CREATE TABLE table_11214772_1 ( score VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the score where year is 2007 ### Query: SELECT score FROM table_11214772_1 WHERE year = "2007"
### Context: CREATE TABLE table_33623 ( "Year" text, "1st Position" text, "2nd Position" text, "9th Position" text, "10th Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is in the ninth position where the tenth position is rabat ajax? ...
### Context: CREATE TABLE table_69835 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest round for Southern College? ### Query: SELECT MIN("Ro...
### Context: CREATE TABLE table_54881 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team score of a Melbourne team that ...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### 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_18772 ( "Serial & Branch" real, "Seaman" text, "Mechanical" text, "Secretariat" text, "Supply" text, "Electrical" text, "Radio Electrical" text, "Regulating" text, "Medical" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subj...
### Context: CREATE TABLE table_name_56 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game that tied at 3? ### Query: SELECT date FROM table_name_56 WHERE tie_no = "3"
### 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...