text
stringlengths
197
8.39k
### Context: CREATE TABLE table_25823 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the scores of the Wimbledon fin...
### Context: CREATE TABLE table_name_31 ( pick__number VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick number for the player(s) drafted in round 8? ### Query: SELECT pick__number FROM table_name_31 WHERE round = "round 8"
### Context: CREATE TABLE table_261642_3 ( c__nf_km_ VARCHAR, r__ω_km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the c (nf/km) when the r ( /km) is 463.59? ### Query: SELECT c__nf_km_ FROM table_261642_3 WHERE r__ω_km_ = "463.59"
### Context: CREATE TABLE table_79895 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Attendance high on August 28? ### Query: SELECT MAX("Attend...
### Context: CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text,...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Des...
### Context: CREATE TABLE table_name_71 ( decision VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the decision of the Kings game when Chicago was the visiting team? ### Query: SELECT decision FROM table_name_71 WHERE visitor = "chi...
### Context: CREATE TABLE table_51348 ( "Player" text, "Span" text, "Start" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which spans had a drop of 0? ### Query: SELECT "Span" FROM table...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymo...
### Context: CREATE TABLE APPELLATIONS ( Area VARCHAR, Appelation VARCHAR ) CREATE TABLE WINE ( Appelation VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area of the appelation that produces the highest number of wines befo...
### Context: CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Tick...
### 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_train_85 ( "id" int, "mini_mental_state_examination_mmse" int, "elevated_serum_phenylalanine" int, "elevated_creatinine" float, "renal_disease" bool, "geriatric_depression_scale_gds" int, "NOUSE" float ) -- Using valid SQLite, answer the following questions ...
### Context: CREATE TABLE table_65346 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Tie no when Wimbledon is the home team? ### Query: SELECT "Tie no" FROM table...
### Context: CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), ...
### Context: CREATE TABLE table_name_9 ( state VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which state was Dai from? ### Query: SELECT state FROM table_name_9 WHERE name = "dai"
### 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_66363 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses ha...
### Context: CREATE TABLE table_63396 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a constituency of 84? ### ...
### Context: CREATE TABLE table_65043 ( "Actor" text, "Character" text, "Soap Opera" text, "Years" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did Marienhof run, which featured Leonore Capell and lasted 10 years? ### ...
### Context: CREATE TABLE table_30047613_13 ( streak VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games had they won or lost in a row on May 9? ### Query: SELECT streak FROM table_30047613_13 WHERE date = "May 9"
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subjec...
### 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 Rating ( mID VARCHAR, stars INTEGER ) CREATE TABLE Reviewer ( rID VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the average rating star for each movie that are not reviewed by Brittany Harris. ### Query...
### Context: CREATE TABLE table_73329 ( "Year" real, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text, "National Open" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league was involved in 2010? ### Query: SELECT "League...
### Context: CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE T...
### Context: CREATE TABLE table_name_92 ( merconorte INTEGER, superliga VARCHAR, interliga VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least merconorte for interliga of 2 and matches more than 260 with superliga more than...
### Context: CREATE TABLE table_1140074_2 ( pole_position VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the pole position with location being hockenheimring ### Query: SELECT pole_position FROM table_1140074_2 WHERE location = "Hoc...
### 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 table_name_49 ( decision VARCHAR, attendance INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the decision of the game with an attendance greater than 19,883? ### Query: SELECT decision FROM table_name_49 WHERE attendance > 1...
### Context: CREATE TABLE table_name_59 ( winner VARCHAR, runner_up VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner from the United States the year Kimberly Kim was runner-up? ### Query: SELECT winner FROM table_name_5...
### Context: CREATE TABLE table_23183195_2 ( team VARCHAR, overall_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team's overal record is 22-11? ### Query: SELECT team FROM table_23183195_2 WHERE overall_record = "22-11"
### 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 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_2 ( series VARCHAR, game INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series standing for games over 4? ### Query: SELECT series FROM table_name_2 WHERE game > 4
### 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 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 Organisation_Types ( organisation_type VARCHAR(10), organisation_type_description V...
### Context: CREATE TABLE table_29931 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_40746 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which television service has italian for its languag...
### Context: CREATE TABLE table_name_69 ( discovery___publication_of_name VARCHAR, species VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the discovery/publication for red deer cave people ### Query: SELECT discovery___publication_of_name FROM table...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_name_4 ( crowd VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people watch at Western Oval venue? ### Query: SELECT COUNT(crowd) FROM table_name_4 WHERE venue = "western oval"
### Context: CREATE TABLE table_2603017_2 ( b___bishop VARCHAR, bc___beast_cadet VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is b - bishop where bc - beast cadet is gr - great dove? ### Query: SELECT b___bishop FROM table_2603017_2 WHERE bc___beast_...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE table_29723 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_203_274 ( id number, "church name" text, "address" text, "community" text, "school" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is our lady of loretto listed above or below the holy spirit ? ### Query: SELECT (SEL...
### Context: CREATE TABLE table_name_51 ( date VARCHAR, livery VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the Operational Livery? ### Query: SELECT date FROM table_name_51 WHERE livery = "operational"
### Context: CREATE TABLE table_28668784_1 ( city___town VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What town holds Stadion Zlatica? ### Query: SELECT city___town FROM table_28668784_1 WHERE stadium = "Stadion Zlatica"
### 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_23014685_1 ( area_damaged VARCHAR, target VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What area was damaged when King Khalid Military City was targeted? ### Query: SELECT area_damaged FROM table_23014685_1 WHERE target = "...
### 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 patient ...
### Context: CREATE TABLE table_name_76 ( dvd_set_release_date VARCHAR, network VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When dis cbs release the DVD set? ### Query: SELECT dvd_set_release_date FROM table_name_76 WHERE network = "cbs"
### Context: CREATE TABLE table_50180 ( "Show" text, "Host(s)" text, "Flagship" text, "Market" text, "iHeartRadio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Flagship of the Show Hosted by Rover (Shane French)? ### Query: SELECT "Fl...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( cos...
### Context: CREATE TABLE table_59092 ( "Player" text, "Country" text, "Year(s) Won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Year(s) Won that has the Country of united states, and the Total lar...
### Context: CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Tick...
### Context: CREATE TABLE table_name_96 ( location VARCHAR, classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of Classification of T12? ### Query: SELECT location FROM table_name_96 WHERE classification = "t12"
### 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 table_32804 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team when the home...
### Context: CREATE TABLE table_57513 ( "Date of Issue" text, "Theme" text, "Design" text, "Illustration" text, "Paper Type" text, "First Day Cover Cancellation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Issue with a The...
### Context: CREATE TABLE table_56 ( "Year" real, "Game or event" text, "Date contested" text, "League or governing body" text, "Sport" text, "Winning team" text, "Losing team" text, "Final score" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_203_61 ( 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. -- nigeria has the most gold medals , but who has the mo...
### Context: CREATE TABLE volume ( Famous_Title VARCHAR, Artist_ID VARCHAR ) CREATE TABLE artist ( Famous_Title VARCHAR, Artist_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the famous titles of artists that do not have any volume. ### Que...
### Context: CREATE TABLE table_66970 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What races were Chi-Chi Rodriguez the runner-up in? ### Query: SEL...
### Context: CREATE TABLE table_27146868_1 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2006 when 1997 is 6.8? ### Query: SELECT 2006 FROM table_27146868_1 WHERE 1997 = "6.8"
### Context: CREATE TABLE table_38417 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player's pick number was 25? ### Query: SELECT "Player" FROM table_38417 WHER...
### 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 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...
### Context: CREATE TABLE table_17657 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Total viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directe...
### Context: CREATE TABLE table_name_83 ( consistency_ VARCHAR, _participation VARCHAR, pareto_efficiency VARCHAR, condorcet VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the consistency & participation when pareto efficiency is yes and cond...
### Context: CREATE TABLE table_18330 ( "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 is the district that has Bob Wilson as an incumbent? ...
### 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_name_67 ( ranking INTEGER, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest ranking for Paul Mctiernan? ### Query: SELECT MIN(ranking) FROM table_name_67 WHERE name = "paul mctiernan"
### Context: CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE T...
### Context: CREATE TABLE table_name_34 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game on February 8? ### Query: SELECT score FROM table_name_34 WHERE date = "february 8"
### Context: CREATE TABLE table_28985631_1 ( defective_year VARCHAR, numbered_month VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the defective year for the eighth numbered month? ### Query: SELECT defective_year FROM table_28985631_1 WHERE numbere...
### Context: CREATE TABLE qtb ( 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_19 ( opponent VARCHAR, result VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent did they have a bye result against before week 14? ### Query: SELECT opponent FROM table_name_19 WHERE result =...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal...
### Context: CREATE TABLE table_name_11 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has theoir home games in the venue of gold coast convention centre? ### Query: SELECT home_team FROM table_name_11 WHERE venue = "gol...
### Context: CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Roles ( Ro...
### Context: CREATE TABLE table_68838 ( "Original title" text, "Title in English" text, "Genre" text, "Role" text, "Directed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Genre did S ndor Sim direct? ### Query: SELECT "Genre" FROM table_6...
### Context: CREATE TABLE table_16527640_2 ( rank_held_at_time_of_death VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players named paddy rowan? ### Query: SELECT COUNT(rank_held_at_time_of_death) FROM table_16527640_2 WHERE player...
### Context: CREATE TABLE table_10335_1 ( current_country_of_location VARCHAR, operational VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the current country of location with operational period of summer of 1941 to 28 june 1944 ### Query: SELECT curr...
### Context: CREATE TABLE table_23799417_2 ( title VARCHAR, original_airing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the episode title on original air date of September 30, 2007? ### Query: SELECT title FROM table_23799417_2 WHERE original_air...
### Context: CREATE TABLE table_name_17 ( foundation VARCHAR, enterprise VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Foundation has an Enterprise of 2? ### Query: SELECT foundation FROM table_name_17 WHERE enterprise = "2"
### Context: CREATE TABLE table_2102782_1 ( broadcast_date VARCHAR, run_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the broadcast date for run timke of 25:04 ### Query: SELECT broadcast_date FROM table_2102782_1 WHERE run_time = "25:04"
### 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 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 t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE table_28194879_1 ( _number VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number in season of the episode whose production code is pabf05? ### Query: SELECT _number FROM table_28194879_1 WHERE p...
### Context: CREATE TABLE table_name_96 ( wins INTEGER, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest amount of wins of someone who has 2 losses? ### Query: SELECT MIN(wins) FROM table_name_96 WHERE losses = 2
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, ...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_ca...
### Context: CREATE TABLE table_53941 ( "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 d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime...
### 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...