text
stringlengths
197
8.39k
### Context: CREATE TABLE people ( People_ID int, Name text, Age real, Height real, Hometown text ) CREATE TABLE gymnast ( Gymnast_ID int, Floor_Exercise_Points real, Pommel_Horse_Points real, Rings_Points real, Vault_Points real, Parallel_Bars_Points real, Horizontal_Ba...
### 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 table_18287 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the incumbent of the Louisiana 1 district? ### Query...
### Context: CREATE TABLE table_54063 ( "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. -- When was the game when North Melbou...
### Context: CREATE TABLE table_204_843 ( id number, "volume" number, "year" text, "names" text, "articles" number, "pages" number, "images" number, "maps" number, "number of copies" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- w...
### 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_1682026_2 ( company VARCHAR, profits__billion_$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which company had profits of 26.9? ### Query: SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9"
### Context: CREATE TABLE table_name_60 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has 1 as the tie no.? ### Query: SELECT date FROM table_name_60 WHERE tie_no = "1"
### Context: CREATE TABLE table_49541 ( "Date" text, "H/A/N" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game against the Baltimore Bullets when the H/A/N was H? ### Query: S...
### Context: CREATE TABLE table_16493961_1 ( driver VARCHAR, race_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the driver for race time being 2:34:21 ### Query: SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21"
### Context: CREATE TABLE table_27848 ( "Urban settlement" text, "Cyrillic Name" text, "City / municipality" text, "District" text, "Population (1991)" real, "Population (2002)" real, "Population (2011)" real ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE table_56109 ( "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. -- Who was the home team at Victoria P...
### Context: CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE plays_games ( stuid number, gameid number, ...
### 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_61118 ( "Central Murray" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many against when losses are 11 and wins are fewer than 5? ### Qu...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_locati...
### 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 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_72893 ( "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 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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_procedures ( row_id num...
### Context: CREATE TABLE table_name_27 ( name VARCHAR, decile VARCHAR, roll VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a decile of 8 and a roll of 705? ### Query: SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705
### 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 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_41997 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Accolade had a publication of Under the Radar? ### Query: SELECT "Accolade" FROM t...
### Context: CREATE TABLE table_name_93 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Sue Bird's position? ### Query: SELECT position FROM table_name_93 WHERE player = "sue bird"
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_histor...
### Context: CREATE TABLE table_26166836_3 ( month_held VARCHAR, road_race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times a year is the Paris 20k road race held? ### Query: SELECT COUNT(month_held) FROM table_26166836_3 WHERE road_race = "Par...
### Context: CREATE TABLE table_name_59 ( cuts_made INTEGER, events VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of cuts made for events with under 4 entries and more than 0 wins? ### Query: SELECT AVG(cuts_mad...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE diagnoses_icd ( ro...
### 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 zyjzjlb ( CYBQDM 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_79893 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country was the prix uip ghent nominating festival? ### Query: SELEC...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### 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 labevents ( row_id number, subject_id...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE 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 month ( month_number int, month_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE state ( state_code text, state_name text, country_...
### Context: CREATE TABLE table_name_73 ( winning_driver VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHo is Winning driver that is in st. petersburg - moscow? ### Query: SELECT winning_driver FROM table_name_73 WHERE name = "st. petersburg ...
### 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_203_537 ( 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. -- how many euro 2000 qualifying competit...
### 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 table_27888 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha...
### Context: CREATE TABLE table_name_87 ( round INTEGER, event VARCHAR, location VARCHAR, method VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Round with the Location, Las Vegas, Nevada, the Method, Decision (unanimous), and the E...
### Context: CREATE TABLE table_36819 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what tornament had the scores 6 7, 6 2, 6 ...
### Context: CREATE TABLE table_name_71 ( year INTEGER, venue VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the earliest year for the 400 M Hurdles in Santiago, Chile? ### Query: SELECT MIN(year) FROM table_name_71 WHERE venue =...
### Context: CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_77918 ( "Year" real, "Organisation" text, "Ceremony" text, "Award" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the award for #100? ### Query: SELECT "Award" FROM table_77918 WHERE "Result" = ...
### Context: CREATE TABLE table_32535 ( "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 home team score for th...
### Context: CREATE TABLE table_41880 ( "Aces" real, "Player" text, "Opponent" text, "Event" text, "Sets" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player in 2005 Wimbledon had less than 5 Sets? ### Query: SELECT "Player" FROM table_41880...
### Context: CREATE TABLE table_2547 ( "High School" text, "Type" text, "Established" real, "Enrollment" real, "Mascot" text, "WIAA Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many high schools have storm mascots? ### Que...
### Context: CREATE TABLE table_18391 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party does incumbent edwin reinecke represent? ### Qu...
### Context: CREATE TABLE table_name_41 ( crowd INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the size of the largest crowd that Essendon played in front of as the away team? ### Query: SELECT MAX(crowd) FROM table_name_41 WHERE...
### Context: CREATE TABLE table_54956 ( "Rank" real, "Player" text, "Country" text, "Earnings( $ )" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins do the players that earned more than 720,134 have? ### Query: SELECT SUM("...
### Context: CREATE TABLE table_45757 ( "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 is Replaced By, when ...
### Context: CREATE TABLE table_name_55 ( home_captain VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the home captain when the result was Aus by 32 runs? ### Query: SELECT home_captain FROM table_name_55 WHERE result = "...
### Context: CREATE TABLE Detention ( detention_id INTEGER, detention_type_code VARCHAR(10), teacher_id INTEGER, datetime_detention_start DATETIME, datetime_detention_end DATETIME, detention_summary VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Addresses ( address_id INTEGER, ...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE table_8489 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Date" text, "Crowd" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the crowd size with an away ...
### Context: CREATE TABLE table_47768 ( "Name" text, "Location" text, "Elevation + Height" text, "Delivery" text, "Purpose" text, "Yield" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the purpose of Long Shot? ### Query: SELECT "Purpos...
### Context: CREATE TABLE table_name_49 ( points INTEGER, year VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the highest points that have a year less than 1992, with wins less than 0? ### Query: SELECT MAX(points) FROM table_name...
### Context: CREATE TABLE table_38859 ( "Year" text, "Theme" text, "Host city" text, "Venue" text, "Hosts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the host city that has Alicia Keys listed as a host? ### Query: SELECT "Host city" FRO...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, ...
### 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 Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE cost...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, l...
### Context: CREATE TABLE table_name_79 ( college VARCHAR, hometown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the player from Fort Lauderdale, FL attend? ### Query: SELECT college FROM table_name_79 WHERE hometown = "fort lauderdale, f...
### Context: CREATE TABLE STUDENT ( Age INTEGER, StuID VARCHAR, Sex VARCHAR ) CREATE TABLE VOTING_RECORD ( Election_Cycle VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the average age of female (sex is F) students who have secretary votes in t...
### Context: CREATE TABLE table_name_16 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on september 27, 1998? ### Query: SELECT opponent FROM table_name_16 WHERE date = "september 27, 1998"
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### 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 professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname text, emp_initial text, emp_jobcode text, emp_hiredate time, emp_dob tim...
### Context: CREATE TABLE table_name_96 ( event VARCHAR, year VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which event before 2001 did the athlete place 16th? ### Query: SELECT event FROM table_name_96 WHERE year < 2001 AND result =...
### Context: CREATE TABLE table_7847 ( "Species" text, "Species common name" text, "NCBI Accession Number (mRNA/Protein)" text, "Length (bp/aa)" text, "Protein Identity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the NCBI Accession Numbe...
### Context: CREATE TABLE table_name_51 ( district VARCHAR, party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which was the district that had first elected greater than 2006 and is democratic? ### Query: SELECT district FROM ta...
### Context: CREATE TABLE table_name_36 ( home_team VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team of tie no 2? ### Query: SELECT home_team FROM table_name_36 WHERE tie_no = "2"
### Context: CREATE TABLE table_237757_9 ( nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years of nasl years did the accolades read 'captained england to victory at the 1966 world cup'? ### Query: SELECT CO...
### 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 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 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 table_79208 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank of the time of 6:30.53? ### Query: SELECT COUNT("Rank") FROM table_79208 WHERE ...
### Context: CREATE TABLE table_name_13 ( outgoing_manager VARCHAR, date_of_vacancy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the outgoing manager for 22 november date of vacancy ### Query: SELECT outgoing_manager FROM table_name_13 WHERE date_...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medica...
### Context: CREATE TABLE table_2246 ( "Rank" real, "Runs" real, "Player" text, "Matches" real, "Innings" real, "Not Out" real, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many no outs are there for an average of 43.70? ###...
### Context: CREATE TABLE table_name_99 ( round VARCHAR, pick__number VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Richard Crump picked after the 114 pick was drafted in what round? ### Query: SELECT round FROM table_name_99 WHERE pick...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE transfers ( row_id number, subject_id numb...
### Context: CREATE TABLE gyb ( 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_70 ( silver INTEGER, gold INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest amount of silver when the gold is less than 0? ### Query: SELECT MIN(silver) FROM table_name_70 WHERE gold < 0
### Context: CREATE TABLE table_203_636 ( id number, "#" number, "date" text, "winner" text, "score" text, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the difference in the score in the 1976 game ? ### Q...
### Context: CREATE TABLE table_56993 ( "Name" text, "Latitude" real, "Longitude" real, "Diameter (km)" real, "Named after" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the named for latitude of 6.4 ### Query: SELECT "Named after" FROM ta...
### Context: CREATE TABLE table_name_60 ( rank INTEGER, name VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20? ### Query: SELECT MIN(rank) FROM table_name...
### Context: CREATE TABLE table_1342233_32 ( candidates VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the candidates for new york 35? ### Query: SELECT candidates FROM table_1342233_32 WHERE district = "New York 35"
### 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 table_name_88 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score on 22 january 2008? ### Query: SELECT score FROM table_name_88 WHERE date = "22 january 2008"
### 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 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 weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_...