text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_51 ( round VARCHAR, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of round for wide receiver for kent state ### Query: SELECT COUNT(round) FROM table_name_51 WHERE pos...
### 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 weather ( date text, max_temperature_f number, mean_temperature_f number, min_temperature_f number, max_dew_point_f number, mean_dew_point_f number, min_dew_point_f number, max_humidity number, mean_humidity number, min_humidity number, max_sea_level...
### Context: CREATE TABLE table_15852257_1 ( podiums VARCHAR, final_placing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which podiums have a final placing of 10th? ### Query: SELECT podiums FROM table_15852257_1 WHERE final_placing = "10th"
### Context: CREATE TABLE table_16901 ( "number" real, "date of debut" text, "name" text, "date of birth" text, "number of caps" real, "number of goals" real, "date of death\u2020" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the n...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, ...
### Context: CREATE TABLE table_name_27 ( fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter? ##...
### 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 cost ( row_id number, subject_id number, ...
### Context: CREATE TABLE Customer ( CustomerId integer, FirstName varchar(40), LastName varchar(20), Company varchar(80), Address varchar(70), City varchar(40), State varchar(40), Country varchar(40), PostalCode varchar(10), Phone varchar(24), Fax varchar(24), Email varc...
### Context: CREATE TABLE table_name_59 ( rank INTEGER, annual_change VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank of the airport with a 9.3% annual change? ### Query: SELECT AVG(rank) FROM table_name_59 WHERE annual_change = "9.3...
### 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 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_9220 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the week when the finalist is marcelo r os? ...
### Context: CREATE TABLE table_204_261 ( 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. -- how many medals did france get in total ? ### Query...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2...
### Context: CREATE TABLE table_75839 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Total with a Nation of ethiopia (eth) and a Rank that is la...
### Context: CREATE TABLE table_3618 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was William Kennedy first elected? ### Query: SELECT "...
### Context: CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_202_75 ( id number, "award" text, "category" text, "recipients and nominees" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which category did both warren beatty and jeremy pikser each won together ? #...
### Context: CREATE TABLE table_name_71 ( record VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record with opponent of christian nielson ### Query: SELECT record FROM table_name_71 WHERE opponent = "christian nielson"
### 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 category ( id int, business_id varchar, category_name varchar ) CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE business ( bid int, business_id varchar, ...
### Context: CREATE TABLE table_38761 ( "The Kennel Club (UK) Toy Group" text, "Canadian Kennel Club Toy Dogs Group" text, "American Kennel Club Toy Group" text, "Australian National Kennel Council Toy Dogs Group" text, "New Zealand Kennel Club Toy Group" text ) -- Using valid SQLite, answer the f...
### Context: CREATE TABLE table_name_20 ( sales_area__m²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest sales area (m ) that has 4,094/m and more than 2 stores? ### Query: SELECT MIN(sa...
### Context: CREATE TABLE table_12896884_1 ( city VARCHAR, enrollment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cities have an enrollment of 19082? ### Query: SELECT COUNT(city) FROM table_12896884_1 WHERE enrollment = 19082
### Context: CREATE TABLE table_name_27 ( competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Competition had a Score of 3 3? ### Query: SELECT competition FROM table_name_27 WHERE score = "3–3"
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_c...
### Context: CREATE TABLE table_14549 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "NFL Recap" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the NFL Recap of th...
### Context: CREATE TABLE table_26449 ( "Song title" text, "Artist" text, "Year" real, "Genre" text, "Single / Pack name" text, "Release date" text, "Family Friendly" text, "Additional Rock Band 3 Features" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_65988 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze has a Nation of austria, and a Total larger than 6? ### Query: SE...
### 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_43011 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has a Score of 89-123? ### Query: SELECT "Team" FROM tab...
### Context: CREATE TABLE table_name_2 ( region VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Region of the release on December 22, 2008? ### Query: SELECT region FROM table_name_2 WHERE date = "december 22, 2008"
### Context: CREATE TABLE table_name_40 ( prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the prize money amount after match 1, with 102 new entries to the round? ### Query: SELECT priz...
### Context: CREATE TABLE table_1388 ( "Frequency" text, "Station" text, "Operator" text, "Language" text, "Genre" text, "Coverage Area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the station where the language is tamil m...
### Context: CREATE TABLE table_80318 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue had an extra of Junior Race? ### Query: SELECT "Venue" FROM table_80318 WHERE "E...
### Context: CREATE TABLE table_61236 ( "Position" text, "Driver" text, "Entrant" text, "Class" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Position that has the Entrant of j ampt? ### Query: SELECT "Position" FR...
### Context: CREATE TABLE table_27950 ( "meas. num." real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Was the constitutio...
### Context: CREATE TABLE Maintenance_Engineers ( engineer_id INTEGER, company_id INTEGER, first_name VARCHAR(50), last_name VARCHAR(50), other_details VARCHAR(255) ) CREATE TABLE Third_Party_Companies ( company_id INTEGER, company_type VARCHAR(5), company_name VARCHAR(255), company...
### Context: CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the nam...
### 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 table_name_81 ( year INTEGER, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year with a 1:42.85 time? ### Query: SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85"
### Context: CREATE TABLE table_name_67 ( pick__number INTEGER, overall VARCHAR, name VARCHAR, round VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pick # has a Round larger than 5, and a Position of wide receiver, and a N...
### 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 table_name_91 ( losses INTEGER, wins VARCHAR, byes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total losses when there are 8 wins and less than 2 byes? ### Query: SELECT SUM(losses) FROM table_name_91 WHERE wins =...
### Context: CREATE TABLE table_name_18 ( round VARCHAR, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT ROUND HAS A GUARD POSITION AT OHIO COLLEGE? ### Query: SELECT round FROM table_name_18 WHERE position = "guard" AND co...
### Context: CREATE TABLE table_61134 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue for the match on 30/03/1985? ### Query: SELECT "Venue" FROM table_61...
### Context: CREATE TABLE table_14603212_5 ( class_aAA VARCHAR, school_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the AAA classes in the school years of 2004-05? ### Query: SELECT class_aAA FROM table_14603212_5 WHERE school_year = "20...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC 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 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 table_17474 ( "Year" real, "Division" text, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the playoffs when the regular season wa...
### Context: CREATE TABLE table_55031 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What award was Denis Lawson nominated for in the Best Actor in a Musical category? ### Query...
### 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 person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE zyjzjlb ( YLJGDM tex...
### Context: CREATE TABLE table_54944 ( "Year" real, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Artist Steve Hepburn's Mintage? ### Query: SELECT SUM("Mintage")...
### Context: CREATE TABLE table_17413485_1 ( first_broadcast VARCHAR, episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what date was aired the first broacast of the episode 1x02 ### Query: SELECT first_broadcast FROM table_17413485_1 WHERE episode ...
### Context: CREATE TABLE table_44695 ( "Solution" text, "Other Name" text, "[Na + ](mmol/L)" real, "[Cl - ](mmol/L)" real, "[Glucose](mmol/L)" real, "[Glucose](mg/dl)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much is the lowest glucos...
### Context: CREATE TABLE table_74320 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who ...
### Context: CREATE TABLE table_name_9 ( club_team VARCHAR, round VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Club team with a Round larger than 5 have a defense position? ### Query: SELECT club_team FROM table_name_9 WHERE rou...
### Context: CREATE TABLE table_63037 ( "Player" text, "County" text, "Tally" text, "Total" real, "Matches" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total points did Oisin McConville have from his 5 matches? ### Q...
### Context: CREATE TABLE table_48980 ( "Region" text, "1950" real, "1960" real, "1970" real, "1980" real, "1990" real, "2000" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value for 1990, when the Region is East Asia (10...
### Context: CREATE TABLE table_name_18 ( date VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game with a loss of Bush (1 5)? ### Query: SELECT date FROM table_name_18 WHERE loss = "bush (1–5)"
### 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 CLASS ( CLASS_CODE varchar(5), CRS_CODE varchar(10), CLASS_SECTION varchar(2), CLASS_TIME varchar(20), CLASS_ROOM varchar(8), PROF_NUM int ) CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float...
### Context: CREATE TABLE table_79648 ( "Year" real, "Player" text, "Country" text, "Score" text, "To Par" text, "Margin" real, "Earnings ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To Par has Earnings ($) larger than 360,000, ...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE icust...
### Context: CREATE TABLE table_76304 ( "noun root (meaning)" text, "case suffix (case)" text, "postposition" text, "full word" text, "English meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Case Suffix (Case), when Postposition is '...
### 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 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_26967904_2 ( f_bolt VARCHAR, p1_diameter__mm_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the f bolt for 11.35 p1 diameter (mm)? ### Query: SELECT f_bolt FROM table_26967904_2 WHERE p1_diameter__mm_ = "11.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_17926 ( "Position" real, "Club" text, "Played" real, "Won" real, "Drawn" real, "Lost" real, "Pts For" real, "Pts Agst" real, "B.P." real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha...
### Context: CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) CREATE TABLE products ( code number, name text, price number, manufacturer number ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### 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_18812 ( "Specification" text, "Gender" text, "Junior High School (12\u201315 yrs)" text, "Senior High School (15\u201318 yrs)" text, "University students and Adults (18yrs+)" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_67528 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a score of 69-70=139? ### Query: SELECT "Player" FROM table_67528 WHERE "Score" = '69...
### Context: CREATE TABLE table_name_86 ( winners VARCHAR, runners_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner when the runner-up was Chemnitzer FC II? ### Query: SELECT winners FROM table_name_86 WHERE runners_up = "chemnitzer fc i...
### Context: CREATE TABLE table_5974 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Team of honda 250cc, and a Time of 31 03.093 has what lowest rank? ### Query: SELECT MIN("Rank") FROM...
### Context: CREATE TABLE table_33071 ( "Lecturers" real, "Associate professors" real, "Assistant professors" real, "Professors" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total in the case where theere are 6 lecturers ...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_ai...
### Context: CREATE TABLE table_29880 ( "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 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 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 admissions ( row_id number, subject_i...
### Context: CREATE TABLE college ( college_id number, name text, leader_name text, college_location text ) CREATE TABLE member ( member_id number, name text, country text, college_id number ) CREATE TABLE round ( round_id number, member_id number, decoration_theme text, ...
### Context: CREATE TABLE table_name_57 ( score VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score for the match where Hereford United was the home team? ### Query: SELECT score FROM table_name_57 WHERE home_team = "h...
### Context: CREATE TABLE table_name_6 ( name VARCHAR, transfer_window VARCHAR, moving_to VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name that had a moving to Anorthosis Famagusta and a transfer window of winter? ### Query: SELECT name FR...
### Context: CREATE TABLE table_44862 ( "Rank" real, "Name" text, "S-League" text, "Singapore Cup" text, "Singapore League Cup" text, "AFC Cup" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which AFC cup does Kenji Arai have? ...
### 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 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_24 ( location VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did arturo segovia compete? ### Query: SELECT location FROM table_name_24 WHERE opponent = "arturo segovia"
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE dat...
### Context: CREATE TABLE table_77539 ( "Rider" text, "Horse" text, "Faults" text, "Round 1 Points" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the rider with 18.185 points round 1 ### Query: SELECT "Rider" FROM table_77539...
### Context: CREATE TABLE mzb ( 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 people ( person_id number, first_name text, middle_name text, last_name text, cell_mobile_number text, email_address text, login_name text, password text ) CREATE TABLE courses ( course_id text, course_name text, course_description text, other_d...
### Context: CREATE TABLE table_name_49 ( voltage VARCHAR, model_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the voltage for the pentium dual-core e2140? ### Query: SELECT voltage FROM table_name_49 WHERE model_number = "pentium dual-core e...
### Context: CREATE TABLE table_name_55 ( result VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game on week 11? ### Query: SELECT result FROM table_name_55 WHERE week = 11
### Context: CREATE TABLE table_36958 ( "Outcome" text, "Date" text, "Location" text, "Surface" text, "Opponent in final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for clay surface and location of santos, brazil ...
### Context: CREATE TABLE table_67901 ( "Tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2010 result of a tournament that i...
### Context: CREATE TABLE table_37942 ( "School" text, "City" text, "Team Name" text, "Enrollment" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is in Brookville? ...