text
stringlengths
197
8.39k
### Context: CREATE TABLE table_48151 ( "Missouri vs." text, "Overall Record" text, "at Columbia" text, "at Opponent's Venue" text, "at Neutral Site" text, "Last 5 Meetings" text, "Last 10 Meetings" text, "Current Streak" text, "Since Joining SEC" text ) -- Using valid SQLite, answ...
### Context: CREATE TABLE table_203_486 ( id number, "place" number, "team" text, "matches" number, "won" number, "drawn" number, "lost" number, "difference" text, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which count...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE cost ( row_i...
### Context: CREATE TABLE table_name_65 ( high_rebounds VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the highest rebounds against detroit? ### Query: SELECT high_rebounds FROM table_name_65 WHERE team = "detroit"
### Context: CREATE TABLE table_51410 ( "Year" real, "Film" text, "Role" text, "Leading Man" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What film has a leading man of adolphe menjou in 1939? ### Query: SELECT "Film" FROM table_...
### Context: CREATE TABLE table_train_140 ( "id" int, "gender" string, "mini_mental_state_examination_mmse" int, "allergy_to_quinidine" bool, "systolic_blood_pressure_sbp" int, "postural_syncope" bool, "hypotension" bool, "unexplained_syncope" bool, "allergy_to_dextromethorphan" bool...
### 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 semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_i...
### Context: CREATE TABLE Products ( product_id INTEGER, parent_product_id INTEGER, production_type_code VARCHAR(15), unit_price DECIMAL(19,4), product_name VARCHAR(80), product_color VARCHAR(20), product_size VARCHAR(20) ) CREATE TABLE Order_Items ( order_item_id INTEGER, order_id ...
### Context: CREATE TABLE table_203_138 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where was the first friendly competiti...
### Context: CREATE TABLE table_16799784_7 ( diameter__km_ VARCHAR, latitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the diameter (km) of feature of latitude 40.5s ### Query: SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S"
### Context: CREATE TABLE table_name_77 ( location VARCHAR, distance__km_ VARCHAR, rapid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location is less than 7.1 km away, and has a Rapid of ? ### Query: SELECT location FROM table_name_77 WHERE dist...
### Context: CREATE TABLE table_204_60 ( id number, "sl no" number, "constituency\nname" text, "constituency\nnumber" number, "member of legislative assembly" text, "political party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- between tingkho...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, ...
### Context: CREATE TABLE table_175442_1 ( common_name VARCHAR, scientific_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the common name for furcifer pardalis ### Query: SELECT common_name FROM table_175442_1 WHERE scientific_name = "Furcifer par...
### Context: CREATE TABLE table_24796 ( "Pilot" text, "Organization" text, "Total Flights" real, "USAF space flights" real, "FAI space flights" real, "Max Mach" text, "Max speed (mph)" real, "Max altitude (miles)" text ) -- Using valid SQLite, answer the following questions for the tab...
### 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 VoteTypes ( Id number, Name text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, Revisi...
### 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 table_12191 ( "Rank 2014" real, "Rank 2013" text, "2009\u201310" text, "2010\u201311" text, "2011\u201312" text, "2012\u201313" text, "2013\u201314" text, "Coeff." text, "Teams" text, "CL places" real, "EL places" real, "Total" real ) -- Using ...
### Context: CREATE TABLE table_36881 ( "Source" text, "Date" text, "MARTIN" text, "GR\u00dcNE" text, "Others" text, "Undecided" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Undecided on 2009-05-24? ### Query: SELECT "Undecided" F...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) 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, ...
### Context: CREATE TABLE table_1887 ( "Seq." text, "Name" text, "Background" real, "Party Leadership" real, "Communication Ability" real, "Relations with Congress" real, "Court Appointments" real, "Handling of Economy" real, "Luck" real, "Ability to Compromise" real, "Willin...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_name_93 ( stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which stage has a mountains classification of Mariano Piccoli, a points cl...
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### Context: CREATE TABLE table_64404 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Loss has a Record of 20 16 9? ...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number,...
### Context: CREATE TABLE table_23110 ( "SP" text, "Number" real, "Horse" text, "Age" real, "Handicap (st-lb)" text, "Jockey" text, "Trainer" text, "Owner" text, "Colours" text, "Finishing position" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_name_71 ( surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the surface for score of 7 6(4), 6 1 ### Query: SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1"
### Context: CREATE TABLE table_name_40 ( to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par when the score is 73-69-67-74=283? ### Query: SELECT to_par FROM table_name_40 WHERE score = 73 - 69 - 67 - 74 = 283
### Context: CREATE TABLE table_52728 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Gold smaller than 0? ### Query: SELECT SUM("Total") FROM tab...
### Context: CREATE TABLE table_21994729_3 ( written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- reginald hudlin directed how many written by. ### Query: SELECT written_by FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin...
### Context: CREATE TABLE table_71623 ( "Rank" text, "Region" text, "Total GDP (\u20ac bn )" text, "% growth" text, "Per capita" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Region that has a growth of 3.6%? ### Query: SELECT "Region" FROM ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE bdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTM...
### Context: CREATE TABLE table_433 ( "Rnd" real, "Circuit" text, "CA Winning Team" text, "GT1 Winning Team" text, "GT2 Winning Team" text, "GT3 Winning Team" text, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the gt1 winnin...
### 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 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_204_741 ( id number, "rank" number, "name" text, "nationality" text, "1,62" text, "1,67" text, "1,72" text, "1,75" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different nation...
### Context: CREATE TABLE table_name_22 ( player VARCHAR, jersey_number_s_ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player with a Jersey Number(s) greater than 30? ### Query: SELECT player FROM table_name_22 WHERE jersey_number_s_ > 30
### Context: CREATE TABLE table_76309 ( "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 average Pick, when Name is 'Lybrant Robinson', and when Overall...
### Context: CREATE TABLE table_name_52 ( height__cm_ VARCHAR, birthplace VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Height (cm) has a Birthplace of new canaan, connecticut? ### Query: SELECT COUNT(height__cm_) FROM table_name_52 WHERE birthplace ...
### Context: CREATE TABLE table_name_54 ( horse VARCHAR, finished VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Horse finished in 8? ### Query: SELECT horse FROM table_name_54 WHERE finished = "8"
### Context: CREATE TABLE table_name_91 ( name VARCHAR, year_named VARCHAR, longitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What name in a year after 1997 has a longitude of 213.0e? ### Query: SELECT name FROM table_name_91 WHERE year_named > 1...
### Context: CREATE TABLE table_3982 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did 'sympathy'...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_...
### 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_name_37 ( termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a ...
### Context: CREATE TABLE table_51317 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the outcome on 6 october 2013 ### Query: S...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 employees ( EMPLOYEE_I...
### Context: CREATE TABLE table_39235 ( "Nation" text, "T Score" real, "A Score" real, "E Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Poland, which has an E score greater than 7.725? ### Query: SELECT CO...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREAT...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_60605 ( "Host city" text, "Year" real, "Winner" text, "1st runner up" text, "2nd runner up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the 2nd runner up in istanbul after 1994 when veronica laskaeva was th...
### Context: CREATE TABLE table_76973 ( "Result" text, "Race" text, "Distance" text, "Weight" real, "Winner or 2nd" text, "Pos'n" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest weight wth a Result of , and a Distance of 7f? ...
### Context: CREATE TABLE table_name_56 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Fuzzy Zoeller's Score? ### Query: SELECT score FROM table_name_56 WHERE player = "fuzzy zoeller"
### Context: CREATE TABLE table_15579 ( "Transmitter Site" text, "Frequency" text, "Power" text, "RDS Name" text, "PI Code" text, "Area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the PI code in the hindhead area? ### Query: SELECT ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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 te...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender tex...
### Context: CREATE TABLE table_33157 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the competition on 23 November 2003? ### Query: SELECT "Score" FROM t...
### Context: CREATE TABLE table_12346 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the circuit Isle of Man? ### Query: SELECT...
### Context: CREATE TABLE table_name_20 ( plural_word VARCHAR, singular_word VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The singular word of hand uses what plural word? ### Query: SELECT plural_word FROM table_name_20 WHERE singular_word = "hand"
### Context: CREATE TABLE table_6379 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on a clay surface on May 29, 2006? ### Query: SELECT "Score" FROM tabl...
### Context: CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_a...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( I...
### Context: CREATE TABLE table_48091 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has an Opponent of jorge m...
### Context: CREATE TABLE table_4306 ( "Sport" text, "Years" text, "Games" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the total number of bronze for silver being 0 and spor...
### Context: CREATE TABLE table_47447 ( "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. -- Which Country has a Year(s) won of 1977? ### Query: SELECT "Country" FROM table_47447 W...
### 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_18810 ( "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 browser ( id int, name text, market_share real ) CREATE TABLE accelerator_compatible_browser ( accelerator_id int, browser_id int, compatible_since_year int ) CREATE TABLE Web_client_accelerator ( id int, name text, Operating_system text, Client text, ...
### Context: CREATE TABLE table_204_232 ( 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. -- what 's the number of silver medals did chile win ? ...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME var...
### Context: CREATE TABLE table_51277 ( "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 sum of Crowd when the a...
### Context: CREATE TABLE table_23537 ( "Year" text, "Winner" text, "First Runner Up" text, "Third Place" text, "Consolation Winner/4th" text, "Finals Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the first runner up in the ye...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respir...
### 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 PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, ...
### Context: CREATE TABLE table_204_124 ( id number, "no." number, "name" text, "public access" number, "location & map links" text, "area\nha" number, "area\nacres" number, "references" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- whi...
### Context: CREATE TABLE table_2618152_1 ( written_by VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The episode with original air date January 13, 1999 is written by who? ### Query: SELECT written_by FROM table_2618152_1 WHERE o...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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,...
### Context: CREATE TABLE table_76136 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real, "Goals/Matches" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average goals have matches less than 228? ### Query: SELECT AVG("G...
### 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 restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days te...
### Context: CREATE TABLE table_1350350_2 ( place VARCHAR, per_capita_income VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the place with per capita income being $14,793 ### Query: SELECT place FROM table_1350350_2 WHERE per_capita_income = "$14...
### Context: CREATE TABLE table_name_79 ( listed VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the historic place listed that's in canyon county? ### Query: SELECT listed FROM table_name_79 WHERE county = "canyon"
### Context: CREATE TABLE table_24998088_1 ( points VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did he have when he has in the 34th position? ### Query: SELECT points FROM table_24998088_1 WHERE position = "34th"
### Context: CREATE TABLE table_13424 ( "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 a winning score of -7 (67-72-70=209)...
### Context: CREATE TABLE table_name_59 ( date VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day does the team play at western oval? ### Query: SELECT date FROM table_name_59 WHERE venue = "western oval"
### Context: CREATE TABLE table_35309 ( "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. -- Which Date has a Winning score of 9 (70-64-70=203)? ### Query: SEL...
### Context: CREATE TABLE table_16112 ( "Season" text, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### Context: CREATE TABLE table_45115 ( "Date(s) conducted" text, "Polling organisation/client" text, "Conservatives" text, "Labour" text, "Liberal Democrats" text, "Others" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the others had a va...
### Context: CREATE TABLE table_1013129_1 ( position VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What positions do the hartford whalers nhl team have? ### Query: SELECT position FROM table_1013129_1 WHERE nhl_team = "Hartford Whalers"
### Context: CREATE TABLE table_204_197 ( id number, "date" text, "time" text, "opponent#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the date of the first game pla...
### Context: CREATE TABLE table_name_39 ( total VARCHAR, years VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total for the year of 1925? ### Query: SELECT total FROM table_name_39 WHERE years = "1925"
### Context: CREATE TABLE membership_register_branch ( member_id number, branch_id text, register_year text ) CREATE TABLE branch ( branch_id number, name text, open_year text, address_road text, city text, membership_amount text ) CREATE TABLE purchase ( member_id number, ...