text
stringlengths
197
8.39k
### 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 table_71752 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 1st Member has an election in 1880 and a liberal 1st Party? ### Query:...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TAB...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_78599 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Event has a Position of 1st, a Year of 1983, and a Venue of budapest...
### Context: CREATE TABLE table_8984 ( "Number" real, "Name" text, "Type" text, "Builder" text, "Works number" text, "Date built" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Builder for the locomotive that has a works number of 32...
### Context: CREATE TABLE table_4455 ( "Shipyard" text, "Laid down" text, "Launched" text, "Commissioned" text, "Fleet" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of the fleet that was commissioned on July 2...
### Context: CREATE TABLE table_name_37 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of tie no. 34? ### Query: SELECT date FROM table_name_37 WHERE tie_no = "34"
### Context: CREATE TABLE table_17761 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Bens location" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed 'ho...
### Context: CREATE TABLE table_name_32 ( place VARCHAR, score VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Place, when Score is less than 67, and when Country is South Africa? ### Query: SELECT place FROM table_name_32 WHERE ...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_5 ( goals INTEGER, tries VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest goals with tries less than 1 and fullback position ### Query: SELECT MAX(goals) FROM table_name_5 WHERE tr...
### Context: CREATE TABLE table_12916 ( "Club" text, "City" text, "Founded" real, "Stadium" text, "Capacity" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many foundeds have stade tunisien as the club, with a capacity greater than 18,000? ### ...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, reli...
### Context: CREATE TABLE 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_44308 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 S...
### Context: CREATE TABLE features ( feature_id number, feature_details text ) CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE locations ( location_id number, location_name text, address text, other_details text ) CREATE TABLE ref_hotel_star_ratings ( ...
### 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 table_name_44 ( frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Frequency has a Website of , and a Webcast of in san antonio? ### Query: SELECT AVG(f...
### Context: CREATE TABLE table_67068 ( "Season" real, "Series" text, "Wins" text, "Podiums" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asi...
### Context: CREATE TABLE table_46698 ( "Class" text, "Leading bits" real, "Size of network number bit field" text, "Size of rest bit field" text, "Number of networks" text, "Addresses per network" text, "Start address" text, "End address" text ) -- Using valid SQLite, answer the follo...
### Context: CREATE TABLE table_name_44 ( result VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result when the attendance is 960? ### Query: SELECT result FROM table_name_44 WHERE attendance = 960
### Context: CREATE TABLE fires ( fire_year number, discovery_date number, discovery_doy number, discovery_time text, stat_cause_code number, stat_cause_descr text, cont_date text, cont_doy text, cont_time text, fire_size number, fire_size_class text, latitude number, ...
### Context: CREATE TABLE table_name_19 ( year INTEGER, actor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year that Idris Elba was nominated for or won an award? ### Query: SELECT AVG(year) FROM table_name_19 WHERE actor = "idris elba...
### Context: CREATE TABLE table_name_95 ( surface VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the surface when the tournament is manta, ecuador? ### Query: SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador"
### Context: CREATE TABLE table_204_721 ( id number, "rank" number, "wrestler" text, "no. of reigns" number, "combined\ndefenses" number, "combined\ndays" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many reigns has joey ryan had ? ### ...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number,...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE diagnoses_icd ( row_id number, subject_...
### Context: 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, thursday varchar, friday varchar, saturday varchar, sunday varchar, ha...
### Context: CREATE TABLE table_name_25 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the score for the game on 21 april 2001? ### Query: SELECT score FROM table_name_25 WHERE date = "21 april 2001"
### Context: CREATE TABLE table_18361 ( "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 was running for office in the California 10 district? ...
### Context: CREATE TABLE table_14721 ( "Game" real, "Date" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Game 2 has how much attendance? ### Query: SELECT "Attendance" FROM table_14721 WHERE "Game"...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ...
### Context: CREATE TABLE Projects ( project_details VARCHAR, project_id VARCHAR ) CREATE TABLE Project_outcomes ( project_id VARCHAR, outcome_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the project details of the project both producing...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_203_642 ( id number, "name" text, "quadrant" text, "sector" text, "ward" text, "type" text, "2012\npopulation\nrank" number, "population\n(2012)" number, "population\n(2011)" number, "% change" number, "dwellings\n(2012)" number, "area\n(km...
### Context: CREATE TABLE table_79854 ( "Title" text, "Producer(s)" text, "Artist(s)" text, "Time" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What teams used a track 3:29 long? ### Query: SELECT "Team(s)" FROM table_79854 WHERE ...
### Context: CREATE TABLE table_65118 ( "Rank" real, "Lane" real, "Athlete" text, "Time ( sec )" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Notes have a Time larger than 23.34, and a Rank of 8? ### Query: SELECT "Notes" FROM...
### Context: CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE paper ( paperid int, title varchar, ve...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_55109 ( "Team" text, "City/Area" text, "Arena" text, "Capacity" text, "Last season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the last season the Worcester Wolves played? ### Query: SELECT "Last season" ...
### Context: CREATE TABLE table_name_20 ( result VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when there were 27,321 in attendance? ### Query: SELECT result FROM table_name_20 WHERE attendance = "27,321"
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid nu...
### 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 table_269920_3 ( l2_cache__mb_ VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different L2 cache numbers are there for the 7130M model? ### Query: SELECT COUNT(l2_cache__mb_) FROM table_269920_3 WHERE model ...
### Context: CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE dorm_amenity ( amenid number, amenity_name text ) CREATE TABLE student ( stuid number, ...
### Context: 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, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### 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 table_name_91 ( crowd VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the combined of Crowd when richmond played at home? ### Query: SELECT COUNT(crowd) FROM table_name_91 WHERE home_team = "richmond"
### 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 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 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_65556 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the genre of developer(s) Lionhead Studios? ### Query: SELECT "Genre" FROM tabl...
### Context: CREATE TABLE table_203_229 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many defensive back players were picked ? ### Query: SELECT COUN...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostsWithDeleted ( Id number, PostTyp...
### Context: CREATE TABLE table_25244412_1 ( renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the amount of renewable electricity without hydrogen power when the percentage of renewa...
### 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. -- who is the only ambassad...
### Context: CREATE TABLE table_name_5 ( venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue for the game played on 13/02/1954? ### Query: SELECT venue FROM table_name_5 WHERE date = "13/02/1954"
### 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 table_20170644_1 ( cfl_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What CFL team did Darcy Brown play for? ### Query: SELECT cfl_team FROM table_20170644_1 WHERE player = "Darcy Brown"
### Context: CREATE TABLE table_name_22 ( result VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the choice tv actor: drama category? ### Query: SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama...
### 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 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 jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE departments ( department_id number, department_name text, manager_id number, loc...
### Context: CREATE TABLE table_76281 ( "Season" real, "Date" text, "Winner" text, "Score [C ]" text, "Venue" text, "Competition round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner on 15 December 1957? ### Query: SELECT "Wi...
### Context: CREATE TABLE table_14734 ( "Position" real, "Club" text, "Played" real, "Points" text, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_name_65 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1977 value that has a 1974 a value? ### Query: SELECT 1977 FROM table_name_65 WHERE 1974 = "a"
### 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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...
### Context: CREATE TABLE table_24865763_2 ( gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team? ### Query: SELECT gt2_winning_team FR...
### Context: CREATE TABLE table_14688744_2 ( arrival VARCHAR, station_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the arrival time where the station code is awy? ### Query: SELECT arrival FROM table_14688744_2 WHERE station_code = "AWY"
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time...
### Context: CREATE TABLE table_70983 ( "Sydney" text, "Gold Coast" text, "Adelaide" text, "Melbourne" text, "Perth" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Adelaide has Sydney yes, Melbourne yes, and Perth no? ### Query: SELECT "Adela...
### 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_name_98 ( rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8? ### Query: SELECT ...
### Context: CREATE TABLE table_name_98 ( _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the % (1960) of the county with a % (2040) of 3.4? ### Query: SELECT COUNT(_percentage__1960_) FROM table_name_98...
### Context: CREATE TABLE table_name_40 ( venue VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played where North Melbourne was the away team? ### Query: SELECT venue FROM table_name_40 WHERE away_team = "north melbourn...
### Context: CREATE TABLE table_dev_15 ( "id" int, "hemoglobin_a1c_hba1c" float, "hepatic_enzymes" bool, "platelet_count" float, "liver_disease" bool, "hba1c" float, "triglyceride_tg" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE SuggestedEdits ( Id nu...
### Context: CREATE TABLE table_204_584 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did niki la...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate tim...
### Context: CREATE TABLE table_5011 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- While Duncan Thompson played, how many points did he have where there were 0 fi...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE T...
### 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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TAB...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, ...
### Context: CREATE TABLE table_61426 ( "County" text, "Precincts" text, "C. Abate" text, "R. Bacon" text, "D. Shulman" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for R Bacon in Passaic County? ### Query: SELECT "R. Bacon" FR...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( ...
### 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 table_train_279 ( "id" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "estimated_glomerular_filtration_rate_egfr" int, "fasting_plasma_glucose" int, "diastolic_blood_pressure_dbp" int, "body_mass_index_bmi" float, "NOUSE" float ) -- Usin...
### Context: CREATE TABLE table_12419515_4 ( total_viewers__in_millions_ VARCHAR, season__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of total viewers watched season #8? ### Query: SELECT total_viewers__in_millions_ FROM table_12...
### Context: CREATE TABLE Images ( image_id INTEGER, image_alt_text VARCHAR(80), image_name VARCHAR(40), image_url VARCHAR(255) ) CREATE TABLE Document_Sections ( section_id INTEGER, document_code VARCHAR(15), section_sequence INTEGER, section_code VARCHAR(20), section_title VARCHAR...
### Context: CREATE TABLE table_name_79 ( recording_date VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the recording date when the title is screech owl blues? ### Query: SELECT recording_date FROM table_name_79 WHERE title = "screech...
### 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_name_78 ( score VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has 2 as the place? ### Query: SELECT score FROM table_name_78 WHERE place = "2"
### Context: CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPri...
### 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, ...