text
stringlengths
197
8.39k
### Context: CREATE TABLE table_44149 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on the date of november 10, 19...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE table_name_35 ( principal_victims VARCHAR, nat VARCHAR, where_sunk VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the victims of the US ship that sank in the Mississippi River near Memphis? ### Query: SELECT principal_...
### Context: CREATE TABLE table_2953 ( "Competition" text, "Final position" text, "First match" text, "Last match" text, "Final Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the final position for copa libertadores ### Query: SELECT "F...
### 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_name_41 ( points INTEGER, chassis VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954? ### Query: SELECT MAX(points) FROM ta...
### Context: CREATE TABLE enrolled_in ( stuid number, cid text, grade text ) CREATE TABLE faculty ( facid number, lname text, fname text, rank text, sex text, phone number, room text, building text ) CREATE TABLE member_of ( facid number, dno number, appt_type t...
### Context: CREATE TABLE table_name_4 ( away_team VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Away team has a Score of 0 3? ### Query: SELECT away_team FROM table_name_4 WHERE score = "0–3"
### 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_13841 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Notes have a Year of 2002? ### Query: SELECT "Notes" FROM table_13841 WHERE "Year" ...
### Context: CREATE TABLE table_4918 ( "Lane" real, "Name" text, "Nationality" text, "50m Split" real, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Arkady Vyatchanin's time? ### Query: SELECT "Time" FROM table_4918 WHERE "Name" = ...
### Context: CREATE TABLE table_44939 ( "Date" text, "Rank" real, "Weekend Gross" text, "Theaters" real, "Gross-to-date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Gross-to-date which has a Date of august 23 25? ### Query: SELECT "Gros...
### 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 PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, Bounty...
### 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 PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### 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_25818630_2 ( candidate VARCHAR, result____percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who as the candidate when the result - % was 2.9%? ### Query: SELECT candidate FROM table_25818630_2 WHERE result____percenta...
### Context: CREATE TABLE table_51555 ( "Race" text, "Candidate" text, "Party" text, "Notes" text, "Votes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the candidate in Race for State representative, hd18? ### Query: SELECT "Candidate" FRO...
### Context: CREATE TABLE table_19167 ( "State" text, "Highest point" text, "Highest elevation" text, "Lowest point" text, "Lowest elevation" text, "Mean elevation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the lowest elevation with ...
### Context: CREATE TABLE table_1964010_2 ( opponents VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the opponents of Mike Byron and partner in matches where the score was 6 4, 4 6, 7 6 (7 4)? ### Query: SELECT opponents FROM table_19...
### Context: CREATE TABLE table_43145 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which men's singles had a women's dou...
### Context: CREATE TABLE table_15013825_8 ( team VARCHAR, copa_conmebol_1992 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team for copa conmebol 1992 is round of 16 ### Query: SELECT team FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round o...
### Context: CREATE TABLE table_77989 ( "Date" text, "Ship" text, "Type" text, "Nationality" text, "Tonnage GRT" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most tonnage grt of any ship sunk or captured on 16 jan 16? ### Query: SELEC...
### Context: CREATE TABLE table_name_2 ( height VARCHAR, date_of_birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How tall is the person born on 1976-12-27? ### Query: SELECT height FROM table_name_2 WHERE date_of_birth = "1976-12-27"
### 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 Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description V...
### Context: CREATE TABLE table_name_22 ( round INTEGER, player VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which round did Paul McDonald have an overall greater than 109? ### Query: SELECT MAX(round) FROM table_name_22 WHERE play...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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 locations ( LOCATION_I...
### Context: CREATE TABLE table_216776_2 ( municipality VARCHAR, population__2010_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What municipality had 26839 people living in it in 2010? ### Query: SELECT municipality FROM table_216776_2 WHERE population__2...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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_history ( EMPLOYEE_ID decimal(6,0), ST...
### Context: CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy...
### Context: CREATE TABLE table_204_801 ( id number, "year" number, "derby\nwinner" text, "galaxy" number, "draw" number, "chivas" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has galaxy won the derby ? ### Query: SELECT COUN...
### Context: CREATE TABLE table_name_8 ( tournament VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament was played on May 29, 2010? ### Query: SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010"
### 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_49275 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which visitor lives in Minnesota? ### Query: SELECT "Visitor" FROM table_4927...
### Context: CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar,...
### 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 medicati...
### Context: CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team te...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CR...
### 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_52 ( success_rate VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the success rate for the year 2012? ### Query: SELECT success_rate FROM table_name_52 WHERE year = "2012"
### Context: CREATE TABLE table_54151 ( "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. -- Where is the Venue that has an away...
### Context: CREATE TABLE table_2202 ( "Index (Year)" text, "Author / Editor / Source" text, "Year of publication" text, "Countries sampled" real, "World Ranking (1)" text, "Ranking L.A. (2)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How ma...
### Context: CREATE TABLE table_name_79 ( population__2009_estimate_ VARCHAR, largest_city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2009 estimate population of the region with Manaus as the largest city? ### Query: SELECT population__2009_...
### Context: CREATE TABLE table_26713 ( "Legion no and title" text, "Main legion base" text, "Emblem" text, "Date founded/ founder" text, "Date disband" text, "Castra legionaria (legion bases) * = main base. Start date 31 BC if unspecified" text, "Notes" text ) -- Using valid SQLite, answe...
### 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 problem_log ( problem_log_id VARCHAR, log_entry_description VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all the log ids and their descriptions from the problem logs. ### Query: SELECT problem_log_id, log_entry_description F...
### Context: CREATE TABLE table_name_79 ( frequency INTEGER, website VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest frequency from uncionfeypoder.com? ### Query: SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.co...
### 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 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_20354_5 ( zodiac_sign VARCHAR, thai_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the zodiac sign for the month with Thai name ? ### Query: SELECT zodiac_sign FROM table_20354_5 WHERE thai_name = "มกราคม"
### Context: CREATE TABLE table_75811 ( "Member State sorted by GDP" text, "GDP in s billion of USD (2012)" real, "GDP % of EU (2012)" text, "Annual change % of GDP (2012)" text, "GDP per capita in PPP US$ (2012)" real, "Public Debt % of GDP (2013 Q1)" real, "Deficit (-)/ Surplus (+) % of GD...
### Context: CREATE TABLE table_26847237_3 ( home_team VARCHAR, opposition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the home team when the opposition is east coast? ### Query: SELECT home_team FROM table_26847237_3 WHERE opposition = "East Coa...
### Context: CREATE TABLE table_203_611 ( id number, "player" text, "hr" number, "date reached 500 hr" text, "team" text, "seasons played" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player has the highest number of career home runs ? ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity tex...
### Context: CREATE TABLE table_name_23 ( title VARCHAR, podcast_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode that aired on September 25, 2005? ### Query: SELECT title FROM table_name_23 WHERE podcast_date = "septembe...
### Context: CREATE TABLE table_24798 ( "District" text, "Municipalities" real, "Parishes" real, "Province of 1936" text, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the parishes for beira baixa province ### Query: SELECT COUNT("Pa...
### 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 Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputG...
### 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 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 employees ...
### Context: CREATE TABLE table_25302 ( "Station" text, "Line(s)" text, "City/Neighborhood" text, "Year opened" real, "Transit Connections" text, "Park and ride?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the transit connection in Co...
### Context: CREATE TABLE table_34649 ( "Draw" real, "Singer" text, "Song" text, "Points" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the Points when the Place is 9? ### Query: SELECT "Points" FROM table_34649 WHERE "Place...
### Context: CREATE TABLE table_name_71 ( bronze INTEGER, gold VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of bronze medals for nations with over 6 total and 2 golds? ### Query: SELECT MIN(bronze) FROM table_n...
### 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 diagnosis ( diagnosisid numb...
### Context: CREATE TABLE table_17441 ( "Date" text, "Winning Team" text, "Score" text, "Winning Pitcher" text, "Losing Pitcher" text, "Attendance" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games were on May 20...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Votes ( Id number, Post...
### Context: CREATE TABLE Documents ( document_id INTEGER, document_type_code VARCHAR(10), grant_id INTEGER, sent_date DATETIME, response_received_date DATETIME, other_details VARCHAR(255) ) CREATE TABLE Tasks ( task_id INTEGER, project_id INTEGER, task_details VARCHAR(255), "eg...
### Context: CREATE TABLE table_name_31 ( college_junior_club_team VARCHAR, position VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What College/junior/club team has a Position of centre, and pick is #22? ### Query: SELECT college_...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime ...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, ...
### 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 city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE date_day ( month_numb...
### Context: CREATE TABLE table_204_748 ( id number, "composer" text, "born" number, "died" number, "nationality" text, "notable works for piano" text, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of french peo...
### Context: CREATE TABLE table_59941 ( "Spaceport" text, "Launch complex" text, "Launcher" text, "Spacecraft" text, "Flights" text, "Years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which complex used the Soyuz (r) launcher to facilitate 1...
### Context: CREATE TABLE table_5919 ( "Character" text, "French voice actor" text, "Italian voice actor" text, "German voice actor" text, "Spanish voice actor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which character has a French voice actor ...
### Context: CREATE TABLE table_name_86 ( emit__nm_ VARCHAR, mass__g_mol_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Emission (in nanometers) that has a molar mass of 1078 g/mol? ### Query: SELECT emit__nm_ FROM table_name_86 WHERE mass__g_mol_ = ...
### Context: CREATE TABLE table_15944_5 ( effective_exhaust_velocity__m_s_ VARCHAR, scenario VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the effective exhaust velocity in a Space Shuttle Vacuum? ### Query: SELECT COUNT(effective_exhaust_velocity_...
### Context: CREATE TABLE table_name_41 ( country VARCHAR, airport VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country contains the Shanghai Pudong International airport? ### Query: SELECT country FROM table_name_41 WHERE airport = "shanghai pudong...
### Context: CREATE TABLE table_31560 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the date for bugatti fpr stanislas czaykowski #...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) 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 ...
### Context: CREATE TABLE table_57026 ( "Country" text, "Release Date" real, "Music Label" text, "Media" text, "Catalogue Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release date of the CD by EG Records in the UK? ### Query: ...
### 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_204_365 ( id number, "year" number, "single" text, "chart positions\nusa billboard hot dance club play" number, "chart positions\npolish charts" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how m...
### Context: CREATE TABLE table_59567 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has a Against larger than 13? ### Query: SELECT "Venue" FROM table_59567 W...
### Context: CREATE TABLE table_name_38 ( goals_against INTEGER, played INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Goals Agains, when Played is greater than 34? ### Query: SELECT MIN(goals_against) FROM table_name_38 WHERE played > 34
### Context: CREATE TABLE table_name_83 ( location VARCHAR, score VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the tallahassee open, with a Score of 269 ( 19)? ### Query: SELECT location FROM table_name_83 W...
### Context: CREATE TABLE table_25246990_5 ( us_viewers__millions_ VARCHAR, no_in_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many U.S. viewers were there for the number 4 episode in season? ### Query: SELECT us_viewers__millions_ FROM table_2...
### Context: CREATE TABLE table_8020 ( "Story #" text, "Title" text, "Doctor" text, "Narrator" text, "Format" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Available in 2-CD format, what is the title of story number 026? #...
### Context: CREATE TABLE table_name_64 ( current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current status for GM Advanced Design with more than 41 seats? ### Query: SELECT current_status FR...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decim...
### 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 SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE Votes ( Id number, PostId number, ...
### 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_DIRE_CD text, MED_...
### Context: CREATE TABLE elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text ) CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text ) -- Using vali...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( cos...
### Context: CREATE TABLE table_14502 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the First Performance of Rhys Kosakowski as Billy Ellio...
### Context: CREATE TABLE table_19007 ( "Rank" real, "Airport" text, "Total Passengers" real, "% Change 2007/2008" text, "International Passengers" real, "Domestic Passengers" real, "Transit Passengers" real, "Aircraft Movements" real, "Freight ( Metric Tonnes )" real ) -- Using va...