text
stringlengths
197
8.39k
### 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_5 ( term_end VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Fejzi Bej Alizoti's term end? ### Query: SELECT term_end FROM table_name_5 WHERE name = "fejzi bej alizoti"
### Context: CREATE TABLE table_name_39 ( in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the production if the technology is sodium-sulfur batteries and yes to toxic materials? ### Query:...
### Context: CREATE TABLE table_2562572_2 ( population__1991_ VARCHAR, city___municipality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of 1991 populations named Be ej? ### Query: SELECT COUNT(population__1991_) FROM table_2562572_2 WHE...
### Context: CREATE TABLE table_37186 ( "Ship" text, "Hull No." text, "Builder" text, "Home Port" text, "Commissioned\u2013 Decommissioned" text, "NVR page" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the hull number of Commissioned Deco...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, ...
### Context: CREATE TABLE table_32989 ( "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. -- Which Away team has Away team score...
### 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_11711 ( "Airing date" text, "English Title (Chinese title)" text, "Number of episodes" real, "Theme song (T) Sub-theme song (ST)" text, "Genre" text, "Official website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_21 ( year INTEGER, title VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year in which Requiem for a Dream was in the running for Best Director? ### Query: SELECT MIN(year) FROM ...
### 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 table_43282 ( "Administrative Panel" real, "Agricultural Panel" real, "Cultural and Educational Panel" real, "Industrial and Commercial Panel" real, "Labour Panel" real, "National University of Ireland" real, "University of Dublin" real, "Nominated by the Taoise...
### 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_2759 ( "Pos" text, "##" real, "Name" text, "Team" text, "Lap One" text, "Lap Two" text, "Lap Three" text, "Lap Four" text, "Total Time" text, "Avg. Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellat...
### Context: CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, n...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar...
### Context: CREATE TABLE Gradeconversion ( lettergrade VARCHAR(2), gradepoint FLOAT ) CREATE TABLE Minor_in ( StuID INTEGER, DNO INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARC...
### Context: CREATE TABLE table_61977 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a total of 272? ### Query: SELECT "Player" FROM table_61977 ...
### Context: CREATE TABLE table_name_10 ( s_no INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of people in sri lanka ### Query: SELECT AVG(s_no) FROM table_name_10 WHERE opponent = "sri lanka"
### Context: CREATE TABLE table_72220 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is number 35 whose hei...
### Context: CREATE TABLE table_204_73 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many home games did they play ? ### Query: SELECT COUNT(*) FROM table_204...
### Context: CREATE TABLE table_45462 ( "Year" real, "Seed" real, "Round" text, "Opponent" text, "Result/Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 ...
### Context: CREATE TABLE table_14070062_4 ( won VARCHAR, points_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell how many wins there was when the score was 490 ### Query: SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490"
### Context: CREATE TABLE table_77025 ( "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 lowest Gold, when Nation is Canada, and when Rank is greater than 4...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_73562 ( "Order number" text, "Build date" text, "Serial numbers" text, "Country" text, "Railroad" text, "Numbers" text, "Quantity" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the numbers for the or...
### Context: CREATE TABLE table_22871239_9 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the visitor for march 23 ### Query: SELECT visitor FROM table_22871239_9 WHERE date = "March 23"
### Context: CREATE TABLE table_25745 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_name_7 ( opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11? ### Query: SEL...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE admissions ( row_id number, subject_id...
### Context: CREATE TABLE table_59230 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is District, when Incumbent is 'Richard Neal'? ### Query: SELECT "District"...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE 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 regions ( REGION_ID de...
### Context: CREATE TABLE table_69904 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the laid down date of Kaki? ### Query: SELECT "Laid down" F...
### Context: CREATE TABLE diagnoses ( 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_d...
### Context: CREATE TABLE table_name_36 ( release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Release date has a Version of 1.0, a Category of utilities, a Develope...
### 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_254 ( id number, "position" number, "team" text, "points" number, "played" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "difference" number ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_name_41 ( team VARCHAR, best VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Team had a 1:25.602 Best? ### Query: SELECT team FROM table_name_41 WHERE best = "1:25.602"
### Context: CREATE TABLE table_78694 ( "Seat Order (Right to Left)" real, "Series 1" text, "Series 2" text, "Series 3" text, "Series 5" text, "Series 9" text, "Series 11" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Series 2 has a S...
### Context: CREATE TABLE table_43423 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Week smaller than 11, and a Attendance of 54,094? ### Query: SELECT "Date...
### Context: CREATE TABLE table_203_437 ( id number, "year" number, "laureate" text, "relation" text, "category" text, "rationale" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many laureates were in the field of physics ? ### Query: SELEC...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_62 ( losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most losses that the Royals had when they had a percentage over 0.461, won...
### Context: CREATE TABLE table_23248940_6 ( record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every record for game 11? ### Query: SELECT record FROM table_23248940_6 WHERE game = 11
### Context: CREATE TABLE zyjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_name_89 ( position VARCHAR, vehicle VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the BMW vehicle made in 2006 hold? ### Query: SELECT position FROM table_name_89 WHERE vehicle = "bmw" AND...
### 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_20360535_3 ( television_order VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What TV order is written by gail simone? ### Query: SELECT television_order FROM table_20360535_3 WHERE written_by = "Gail Simon...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_...
### Context: CREATE TABLE appellations ( no number, appelation text, county text, state text, area text, isava text ) CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, name text, year number, price number, score number, ...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text...
### Context: CREATE TABLE Asset_Parts ( asset_id INTEGER, part_id INTEGER ) CREATE TABLE Third_Party_Companies ( company_id INTEGER, company_type VARCHAR(5), company_name VARCHAR(255), company_address VARCHAR(255), other_company_details VARCHAR(255) ) CREATE TABLE Skills ( skill_id INT...
### Context: CREATE TABLE table_48330 ( "Model Number" text, "Clock Speed" text, "L2 Cache" text, "FSB Speed" text, "Clock Multiplier" text, "Voltage Range" text, "Socket" text, "Release Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_28677723_5 ( trine_dehli_cleve INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number for trine dehli cleve? ### Query: SELECT MAX(trine_dehli_cleve) FROM table_28677723_5
### Context: CREATE TABLE table_79668 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wha is the average number of bronze of hungary, which has less than 1 silver? ...
### Context: CREATE TABLE table_9838 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the event when the method was tko (punches), and the record was 7-1? ...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE zyjzjlb ( CYBQDM tex...
### Context: CREATE TABLE table_name_94 ( position VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is pick 246's position? ### Query: SELECT position FROM table_name_94 WHERE pick = 246
### Context: CREATE TABLE wdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC tex...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc ...
### Context: CREATE TABLE ftxmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM tex...
### Context: CREATE TABLE table_name_3 ( district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district is James Humphrey from who was first elected in 1858 and was eventually defeated ...
### Context: CREATE TABLE table_name_35 ( opponent VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent with a Loss of Leal (1 4)? ### Query: SELECT opponent FROM table_name_35 WHERE loss = "leal (1–4)"
### Context: CREATE TABLE table_name_90 ( opponent VARCHAR, site_stadium VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at Baum Stadium on April 6? ### Query: SELECT opponent FROM table_name_90 WHERE site_stadium = "ba...
### Context: CREATE TABLE table_19226 ( "Country/Territory" text, "Former pageant" text, "Last competed" real, "New pageant" text, "Franchise since" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country has miss universe Hungary as former pag...
### Context: CREATE TABLE table_name_82 ( loss INTEGER, gain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Loss that has the Gain of 2646? ### Query: SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646
### Context: CREATE TABLE table_28263 ( "AB - Angry boar" text, "B - Bishop" text, "BA - Running Bear" text, "BB - Blind Bear" text, "BC - Beast Cadet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is ba - running bear where ab - angry boar is...
### Context: CREATE TABLE table_name_91 ( opponent VARCHAR, week VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the game with a score of 42-28 after week 4? ### Query: SELECT opponent FROM table_name_91 WHERE week ...
### Context: CREATE TABLE table_name_26 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did the away team score when they visited south melbourne? ### Query: SELECT away_team AS score FROM table_name_26 WHERE home_team = "...
### Context: CREATE TABLE table_69483 ( "Low Estimate" real, "High Estimate" real, "Type" text, "Location" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a type of mass suicide located in France and a low estimate greater than 16, ...
### 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_237036_2 ( _extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the baseline extended and main profiles when level is 1.3? ### Query: SELECT MIN(baseline), _e...
### Context: CREATE TABLE table_name_33 ( goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of goals for when the drawn is less than 7, less than 21 games have been lost, ...
### Context: CREATE TABLE table_78999 ( "Country" text, "Transfers In" text, "Transfers Out" text, "Internal Transfers" text, "Total Transfers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the transfers in for Hungary? ### Query: SELECT ...
### 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 fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE food_service ( meal_code text, meal...
### 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_16 ( surname VARCHAR, first VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Michael's surname? ### Query: SELECT surname FROM table_name_16 WHERE first = "michael"
### Context: CREATE TABLE table_64920 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rowers represented the country of portugal? ### Query: SELECT "Rowers" FROM table_64920 WH...
### Context: CREATE TABLE table_name_12 ( points VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of points associated with 165 laps? ### Query: SELECT points FROM table_name_12 WHERE laps = 165
### 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 member ( name VARCHAR, address VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me the names of members whose address is in Harford or Waterbury. ### Query: SELECT name FROM member WHERE address = 'Harford' OR address = 'Waterbu...
### 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 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 diagnoses ( 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_d...
### Context: CREATE TABLE table_name_68 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date when Canada played? ### Query: SELECT date FROM table_name_68 WHERE opponent = "canada"
### 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_name_14 ( condition VARCHAR, partial_thromboplastin_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the condition with partial thromboplastin time of prolonged or unaffected ### Query: SELECT condition FROM table_nam...
### Context: CREATE TABLE table_74674 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college's enrollment is less than 1,000? ### Query: SEL...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course_offering ( offering_id int, course_id i...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE table_name_73 ( medal VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the medal named fatuma roba category:articles with hcards for? ### Query: SELECT medal FROM table_name_73 WHERE name = "fatuma roba category...
### 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_61 ( bronze INTEGER, nation VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the united states won a total number of medals larger than 25, what was the lowest amount of Bronze medals won? ### Query...
### Context: CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CR...