text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_12 ( subject VARCHAR, pinyin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the subject of shiyan ### Query: SELECT subject FROM table_name_12 WHERE pinyin = "shiyan"
### Context: CREATE TABLE table_36380 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has Points of 88, and a Record of 38 22 12? ### Query: SELECT "...
### Context: CREATE TABLE table_803 ( "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 above....
### Context: CREATE TABLE table_name_61 ( away_team VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the away team for Tie #19? ### Query: SELECT away_team FROM table_name_61 WHERE tie_no = "19"
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress tex...
### Context: CREATE TABLE table_54230 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date where the winner was the Oakland Raiders in 1975? ### Query...
### Context: CREATE TABLE table_name_67 ( points INTEGER, drawn VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest points value that have draws under 2 and 2 losses? ### Query: SELECT MAX(points) FROM table_name_67 WHERE d...
### 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_42633 ( "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. -- Who were the Runner(s)-up with the winning score of 16 (66-68-70-68...
### Context: CREATE TABLE table_name_53 ( outcome VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the match on August 20, 1978? ### Query: SELECT outcome FROM table_name_53 WHERE date = "august 20, 1978"
### Context: CREATE TABLE table_name_9 ( other VARCHAR, value VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Other transliteration for value 1 000? ### Query: SELECT other FROM table_name_9 WHERE value = "1 000"
### Context: CREATE TABLE table_40620 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Outcome with an Opponent that is jelena jankovi ? ### Qu...
### Context: CREATE TABLE table_name_36 ( pop__2010_ INTEGER, land___sqmi__ VARCHAR, geo_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average population of the township having land of 35.666sqmi and GEO ID over 3807364500? ### Query: SE...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_name_31 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the away team score in the game at Arden Street Oval? ### Query: SELECT away_team AS score FROM table_name_31 WHERE venue = "arden str...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZB...
### Context: CREATE TABLE 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 departments ( DEPARTMENT_ID decimal(4,0), ...
### Context: CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), ...
### Context: CREATE TABLE table_46218 ( "Date" text, "Opponent" text, "Location" text, "Time" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score for the game played at 7:00 pm? ### Query: SELECT "Result" FROM tab...
### 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 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_1426 ( "#" real, "Series Sorted" text, "Title" text, "Author" text, "Doctor" text, "Featuring" text, "Released" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the doctor for sorted series 6eb/b? ### ...
### Context: CREATE TABLE table_25561038_1 ( points VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the total points for the 1st place team. ### Query: SELECT points FROM table_25561038_1 WHERE position = "1st"
### Context: CREATE TABLE table_47325 ( "Year" text, "Rebs" real, "Asts" real, "Stls" real, "Blks" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Stls, when Rebs is greater than 8.6? ### Query: SELECT MIN("Stls") FROM table_47325...
### Context: CREATE TABLE table_52238 ( "Year" real, "Theme" text, "Artist" text, "Mintage" text, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many coins by Suzanne Duranceau were minted? ### Query: SELECT "Mintage" FROM table_5...
### Context: CREATE TABLE department_store_chain ( dept_store_chain_id number, dept_store_chain_name text ) CREATE TABLE product_suppliers ( product_id number, supplier_id number, date_supplied_from time, date_supplied_to time, total_amount_purchased text, total_value_purchased number )...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid t...
### 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_13806 ( "Year" text, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the genre for the year 2012 (16th)? ### Query: SELECT "Genre" FROM table_13806...
### 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 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_76 ( date VARCHAR, circuit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what date was mallala motor sport park the circuit? ### Query: SELECT date FROM table_name_76 WHERE circuit = "mallala motor sport park"
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_49934 ( "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. -- What is the Year(s) won from the United States as country with a To P...
### Context: CREATE TABLE table_67305 ( "Player" text, "Test Career" text, "Tests" real, "Catches" real, "Stumpings" real, "Total Dismissals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was Mushfiqur Rahim's test career? ### Query: SELE...
### Context: CREATE TABLE table_26938 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Wildcats points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many opponents' points numbers are associ...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### Context: CREATE TABLE table_10871 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Tyres with a ford dfz v8 engine(s) with a chassis of coloni fc187? ### Query: S...
### Context: CREATE TABLE table_name_4 ( venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue listed is dated February 22, 2003? ### Query: SELECT venue FROM table_name_4 WHERE date = "february 22, 2003"
### Context: CREATE TABLE Projects ( project_id INTEGER, organisation_id INTEGER, project_details VARCHAR(255) ) CREATE TABLE Document_Types ( document_type_code VARCHAR(10), document_description VARCHAR(255) ) CREATE TABLE Project_Staff ( staff_id DOUBLE, project_id INTEGER, role_code...
### Context: CREATE TABLE table_12450 ( "Player" text, "Pos." text, "Nationality" text, "Previous team" text, "Years of NBA experience [a ]" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player was previously on the New York Knicks? ### Quer...
### Context: CREATE TABLE table_26163 ( "Episode" text, "First broadcast" text, "Davids team" text, "Lees team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many shows did team David consist of vernon kay and dara briain ### Qu...
### Context: CREATE TABLE table_name_38 ( qual VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Qual listed on the Year of 1954? ### Query: SELECT qual FROM table_name_38 WHERE year = "1954"
### Context: CREATE TABLE table_38696 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest overall of the wide receiver player from a round highe...
### 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 mzjzjlb ( YLJGDM tex...
### Context: CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE instructor ( ID varchar(5), name varc...
### Context: CREATE TABLE table_19753079_35 ( first_elected VARCHAR, result VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first elected for re-elected and brian higgins ### Query: SELECT first_elected FROM table_19753079_35 ...
### Context: CREATE TABLE table_37358 ( "Date" text, "Site" text, "Sport" text, "Winning team" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What sport was played on February 25, 2011? ### Query: SELECT "Sport" FROM table_37358 WHER...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE TagSynon...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propu...
### Context: CREATE TABLE table_name_4 ( round VARCHAR, pick VARCHAR, nfl_club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round has a pick less than 189, with arizona cardinals as the NFL club? ### Query: SELECT round FROM table_name_4 WHERE pi...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number,...
### Context: CREATE TABLE table_37312 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Wins before 1960 with less than 2 Points? ### Query: SELECT SUM("Wins") FROM table_3731...
### Context: CREATE TABLE table_50356 ( "Team" text, "Head Coach" text, "Team Captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the kitmaker for the team whose team captain is Robert Enke? ### Que...
### Context: CREATE TABLE table_name_55 ( name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2012 club for the Billy Miller Category:Articles with hcards (Name)? ### Query: SELECT 2012 AS _club FROM table_name_55 WHERE name = "billy miller category...
### 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_15869204_8 ( high_points VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the high point scorer in game number 68? ### Query: SELECT high_points FROM table_15869204_8 WHERE game = 68
### Context: CREATE TABLE table_name_18 ( result___category VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which result is older than 2007? ### Query: SELECT result___category FROM table_name_18 WHERE year < 2007
### Context: CREATE TABLE table_1886270_1 ( cr_no INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest cr number? ### Query: SELECT MIN(cr_no) FROM table_1886270_1
### Context: CREATE TABLE table_1342249_35 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the incumbent for ohio 12? ### Query: SELECT incumbent FROM table_1342249_35 WHERE district = "Ohio 12"
### Context: CREATE TABLE table_name_24 ( season VARCHAR, round VARCHAR, home_result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Round of 2r, and a Home result of 0-0 has what season? ### Query: SELECT season FROM table_name_24 WHERE round = "2r" AND...
### Context: CREATE TABLE table_13416000_3 ( first_driver_s_ VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries are there for first driver for Canada? ### Query: SELECT COUNT(first_driver_s_) FROM table_13416000_3 WHERE country...
### Context: CREATE TABLE table_36794 ( "Body" text, "Equatorial diameter" text, "Polar diameter" text, "Equatorial bulge" text, "Flattening ratio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Equatorial diameter of the Body: ceres? #...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### Context: CREATE TABLE table_64586 ( "Tournament" text, "2000" text, "1999" text, "1998" text, "1997" text, "1996" text, "1995" text, "1994" text, "1993" text, "1992" text, "1991" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_69 ( rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the rectifier for Det/Pre-amp of x and # tubes of 4 ### Query: SELECT rectifier FROM table_name_69 WHERE ...
### Context: CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) 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 ) CREA...
### Context: CREATE TABLE table_name_77 ( engine_type VARCHAR, numbers VARCHAR, length VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If length is ft (m) with numbers of 6600-6684 (84 buses) for 2003, what is the engine type? ### Query...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_12417 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the shooter when the rank points was olympic bronze medalist? ### Query: ...
### Context: CREATE TABLE table_53768 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the result for 11 august 2010? ### Query: SELECT "Result" FROM table_53768 WHERE "D...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) ...
### Context: CREATE TABLE table_17538 ( "Country" text, "Currency" text, "1 Euro =" text, "1 USD =" text, "Central bank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the value of 1 USD in Paraguay? ### Query: SELECT "1 USD =" FROM table_17...
### Context: CREATE TABLE table_10009 ( "Team" text, "Driver" text, "Class" text, "Chassis" text, "Engine" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the team when the rounds is all engine is mercedes hwa and driver is...
### Context: CREATE TABLE table_66407 ( "Title" text, "Series" text, "Director" text, "Production Number" real, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director had a production number of 1490? ### Query: SELECT "Director...
### Context: CREATE TABLE table_203_345 ( id number, "name" text, "party" text, "took office" number, "left office" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was arthur berry in officer for ? ### Query: SELECT "left office" - "took ...
### Context: CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE station (...
### Context: CREATE TABLE table_19744915_15 ( rank INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest rank? ### Query: SELECT MIN(rank) FROM table_19744915_15
### Context: CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE journal ( homepage varchar, jid int, name varchar ) CREATE TABLE cite ( cited int, citing int ) CREA...
### 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_64907 ( "School" text, "City" text, "Team Name" text, "County" text, "Year Joined" text, "Year Left" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school are the Red Devils from? ### Query: SELECT "School"...
### Context: CREATE TABLE table_51627 ( "Year" real, "Date" text, "Type" text, "EU Council presidency" text, "President-in-Office" text, "Host city" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for EU Council Presidency of UK ...
### Context: CREATE TABLE table_204_567 ( id number, "team" text, "location" text, "stadium" text, "capacity" number, "manager" text, "captain" text, "kit manufacturer" text, "shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_1266602_2 ( team VARCHAR, crew_chief VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which teams used Wally Rogers as their crew chief? ### Query: SELECT team FROM table_1266602_2 WHERE crew_chief = "Wally Rogers"
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_65822 ( "Part Number" text, "Pins" text, "Body Width/mm" real, "Body Length/mm" real, "Lead Pitch/mm" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/m...
### 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 table_34067 ( "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 was the winning score on 7 jun 1976? ### Query: SELECT "Winni...
### 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 state ( state_code text, state_name text, country_name text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE ground_service ( city_code text, airport_code...
### 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_78706 ( "Tournament" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text ) -- Using valid S...
### 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 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 flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, flight_number int, from_airport varchar, meal_code text, ...
### Context: CREATE TABLE table_name_30 ( date VARCHAR, grand_prix VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date is the Portuguese Grand Prix? ### Query: SELECT date FROM table_name_30 WHERE grand_prix = "portuguese grand prix"
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime tim...
### Context: CREATE TABLE table_17111812_1 ( winner VARCHAR, fifth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When dizzee rascal is 5th, who was the winner? ### Query: SELECT winner FROM table_17111812_1 WHERE fifth = "Dizzee Rascal"