text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_23 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R? ### Query: SELECT 1996 FROM table_name_23 WHERE 1994 = "a" AND 2003 = "a" AND 2001 = "1r"
### Context: CREATE TABLE table_203_368 ( id number, "date" text, "opponent" text, "venue" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the difference in points in the game on october 30th against bury ? ### Query: SELECT ...
### Context: CREATE TABLE table_name_55 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2004 value with A in 2005, A in 2008, and lq in 2009? ### Query: SELECT 2004 FROM table_name_55 WHERE 2005 = "a" AND 2008 = "a" AND 2009 = "lq"
### Context: CREATE TABLE table_58581 ( "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 was the crowd attendance in th...
### Context: CREATE TABLE table_40372 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the away team when the home team Manchester United played? ### Query: SELEC...
### Context: CREATE TABLE head ( head_ID int, name text, born_state text, age real ) CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real ) CREATE TABLE management ( department_ID int, head_ID in...
### Context: CREATE TABLE table_name_19 ( name VARCHAR, investigation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the naame of Investigation of thrombus imaging ### Query: SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging"
### Context: CREATE TABLE table_204_185 ( id number, "location" text, "town" text, "output (mw ac)" number, "modules" number, "number of arrays" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only town with two project locations ?...
### Context: CREATE TABLE table_62405 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country scored 66-68=134? ### Query: SELECT "Country" FROM table_62405 WHERE "Score" = ...
### Context: CREATE TABLE station ( id number, name text, lat number, long number, dock_count number, city text, installation_date text ) CREATE TABLE weather ( date text, max_temperature_f number, mean_temperature_f number, min_temperature_f number, max_dew_point_f numb...
### Context: CREATE TABLE table_77344 ( "Call sign" text, "Frequency" text, "City of license" text, "State" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call sign for 90.9 FM which is in Florida? ### Query: SELECT "Ca...
### Context: CREATE TABLE table_46412 ( "C/W 15+" real, "Oblast\\Age" text, "15 to 17" real, "18 to 19" text, "20 to 24" real, "25 to 29" real, "30 to 34" real, "35 to 39" real, "40 to 44" real, "45 to 49" real, "50 to 54" real, "55 to 59" real, "60 to 64" real, "...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE flight_stop ( ...
### Context: CREATE TABLE table_29194 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The episode with the original airdate Oc...
### Context: CREATE TABLE table_name_56 ( rank INTEGER, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the Rowers with a Time of 7:30.92? ### Query: SELECT SUM(rank) FROM table_name_56 WHERE time = "7:30.92"
### Context: CREATE TABLE table_name_40 ( gdp_per_capita__us$_ VARCHAR, gdp__billion_us$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the per-capita GDP of the country with an overall GDP of 80.955? ### Query: SELECT gdp_per_capita__us$_ FROM tab...
### Context: CREATE TABLE table_39049 ( "Unit" text, "Russian" text, "Translation" text, "Ratio" text, "Cubic inches (exact)" text, "Metric value" text, "Imperial" text, "US Customary" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How b...
### Context: CREATE TABLE table_203_452 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who finished aft...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) 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, ...
### Context: CREATE TABLE table_36414 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opposing team during a game in the Pontiac Silverdome? ### Que...
### 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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_t...
### Context: CREATE TABLE table_78109 ( "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. -- Where did the away team score 8.7 (...
### Context: CREATE TABLE table_name_60 ( team VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Team when the match was in buenos aires , argentina? ### Query: SELECT team FROM table_name_60 WHERE location = "buenos aires , argen...
### Context: CREATE TABLE table_name_53 ( nationality VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE NATIONALITY FOR SOUTHWESTERN OKLAHOMA? ### Query: SELECT nationality FROM table_name_53 WHERE college = "southwestern oklahoma"
### Context: CREATE TABLE table_17997 ( "Season" real, "Season Premiere Date" text, "Season Finale Date" text, "Winner" text, "1st Runner Up" text, "2nd Runner Up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the season finale of meiy...
### Context: CREATE TABLE table_name_72 ( time VARCHAR, heat VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Time that has the Heat of 1, and the Lane of 2? ### Query: SELECT time FROM table_name_72 WHERE heat = 1 AND la...
### 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 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 t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_name_74 ( attendance VARCHAR, tie_no VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Away team Swindon Town had a Tie no listing of Replay with what as an Attendance? ### Query: SELECT attendance FROM ta...
### Context: CREATE TABLE table_204_202 ( id number, "year" number, "tournament" text, "venue" text, "result" text, "rank" text, "event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in how many meetings did kaseorg place 10th or better ? ...
### Context: CREATE TABLE table_13085 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Reserved for (SC / ST /None) w...
### Context: CREATE TABLE table_name_58 ( other_mozilla VARCHAR, chrome VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome? ### Query: SELECT other_moz...
### Context: CREATE TABLE table_name_59 ( games VARCHAR, medal VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At which games did Tunisia win a bronze in the men's 1500 m freestyle? ### Query: SELECT games FROM table_name_59 WHERE medal = ...
### Context: CREATE TABLE table_2364 ( "Institution" text, "Location" text, "Year Joined" real, "Affiliation" text, "Enrollment" real, "Mascot" text, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the affiliation of the hill...
### Context: CREATE TABLE table_204_650 ( id number, "season" number, "level" number, "name" text, "position" text, "nationality" text, "international\ncaps" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what season comes after 1986 ### ...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE match_result ( Rank int, Club_ID int, Gold int, Big_Silver int, Small_Silver int, Bronze int, Points int ) CREATE TABLE club ( Club_ID int, Club_name text, Region text, Start_year int ) CREATE TABLE coach ( Coach_ID int, Coach_name text, ...
### Context: CREATE TABLE table_name_27 ( name VARCHAR, authority VARCHAR, roll VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a state authority and a roll of 318? ### Query: SELECT name FROM table_name_27 WHERE authority = "state" AND ...
### Context: CREATE TABLE table_27248 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks total...
### Context: CREATE TABLE player ( player_id text, birth_year text, birth_month text, birth_day text, birth_country text, birth_state text, birth_city text, death_year text, death_month text, death_day text, death_country text, death_state text, death_city text, n...
### Context: CREATE TABLE table_79975 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Maxim Podoprigora's lowest rank? ### Query: SELECT MIN("Rank") FROM table_79975 WHERE ...
### Context: CREATE TABLE table_name_83 ( type VARCHAR, course VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type has rest day as a course and was on 21 may? ### Query: SELECT type FROM table_name_83 WHERE course = "rest day" AND dat...
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE bdmzjzjlb ( 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 table_name_44 ( city_of_license VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What city of license is associated with call sign w244bk? ### Query: SELECT city_of_license FROM table_name_44 WHERE call_sign = "w24...
### 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 program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varc...
### Context: CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE lessons ( lesson_id number, customer_id ...
### Context: CREATE TABLE table_61109 ( "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. -- Which To par has a Year(s) won of 1983? ### Query: SELECT "To par" F...
### Context: CREATE TABLE table_name_79 ( loss VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss for June 2? ### Query: SELECT loss FROM table_name_79 WHERE date = "june 2"
### Context: CREATE TABLE table_273617_6 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest 2011 number (,000)? ### Query: SELECT MIN(2011 AS _number__), 000 AS _ FROM table_273617_6
### Context: CREATE TABLE table_31654 ( "Year" real, "Division" text, "League" text, "Reg. Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which division was the Rampage in when they were in the 2nd round...
### Context: CREATE TABLE table_203_739 ( 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. -- which nation received the largest amount of gold med...
### Context: CREATE TABLE table_name_39 ( stroke VARCHAR, max_power VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What stroke has a max power of 109 ps(80kw)@4000 rpm? ### Query: SELECT stroke FROM table_name_39 WHERE max_power = "109 ps(80kw)@4000 rpm"
### Context: CREATE TABLE table_48898 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Week has a Result of l 41-14? ### Query: SELECT MIN("Week") FROM table_48898 WHERE "...
### Context: CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) ...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_204_763 ( id number, "county" text, "km" number, "intersecting road" text, "notes" text, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many intersecting roads come after highway 9 ? ### Query: ...
### 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_name_29 ( hull_no VARCHAR, commissioned__decommissioned VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the hull number of Commissioned Decommissioned of 1973 1996 ### Query: SELECT hull_no FROM table_name_29 WHERE commis...
### Context: CREATE TABLE table_12175 ( "Position" real, "Club" text, "Games played" text, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- H...
### 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 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 table_22916979_1 ( state VARCHAR, population_density__people_per_mi_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many states had a population density of 10188.8? ### Query: SELECT COUNT(state) FROM table_22916979_1 WHERE ...
### 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 t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_32712 ( "Team" text, "Bowl" text, "Season coach" text, "Interim head coach" text, "Result" text, "2008 head coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team lost under interim head coach, Dewayne W...
### 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 FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number...
### Context: CREATE TABLE table_name_25 ( high_rebounds VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player with the High rebounds when there was a Score of l 108 114 (ot)? ### Query: SELECT high_rebounds FROM table_...
### Context: CREATE TABLE table_18148 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the elections take place in district Maryland 2? ...
### Context: CREATE TABLE table_38239 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the week 16 game? ### Query: SELECT "Date" FROM ta...
### 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_78202 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the player from East Texas State play? ### Query: SELECT "Position" FROM ta...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) 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...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_62150 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "NHL team" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which League from has a Player of loui...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_co...
### Context: CREATE TABLE table_10138 ( "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 date was corio oval the venue...
### Context: CREATE TABLE company ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gas companies are there? ### Query: SELECT COUNT(*) FROM company
### 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 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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost ...
### Context: CREATE TABLE table_name_73 ( place VARCHAR, season VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place result was the 1996 season at Lake Louise, Canada? ### Query: SELECT place FROM table_name_73 WHERE season = 1996...
### Context: CREATE TABLE table_name_14 ( digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Digital PSIP for channels over 15 with callsign CFTU-DT? ### Query: SELECT digital_psip FROM ...
### Context: CREATE TABLE table_67082 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lane number of the swimmer with a time of 55.69? ### Query: SELECT "Lane" FROM tabl...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time...
### Context: CREATE TABLE table_2290097_4 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum for 2nd runner-up? ### Query: SELECT MIN(2 AS nd_runner_up) FROM table_2290097_4
### Context: CREATE TABLE table_name_19 ( new_channel_s_ VARCHAR, programme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What channel is Gladiators on? ### Query: SELECT new_channel_s_ FROM table_name_19 WHERE programme = "gladiators"
### Context: CREATE TABLE table_32006 ( "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 rank is Belarus (BLR), which earned 15 medals total? ### Query: SELECT MA...
### Context: CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) 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, t...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId numb...
### Context: CREATE TABLE table_name_43 ( level VARCHAR, points VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the level when points are larger than 25, and goals are 64 31? ### Query: SELECT level FROM table_name_43 WHERE points ...