text
stringlengths
197
8.39k
### Context: CREATE TABLE table_58332 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Hometown has a Height of 6-10? ### Query: SELECT "Hometown" F...
### 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_20407 ( "Country" text, "Total Freshwater Withdrawal (km 3 /yr)" text, "Per Capita Withdrawal (m 3 /p/yr)" real, "Domestic Use (m 3 /p/yr)(in %)" text, "Industrial Use (m 3 /p/yr)(in %)" text, "Agricultural Use (m 3 /p/yr)(in %)" text ) -- Using valid SQLite, an...
### Context: CREATE TABLE table_79745 ( "Season" text, "Launch date" text, "Final date" text, "Days" real, "Housemates" real, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What final date had 16 housemates? ### Query: SELECT "Final da...
### Context: CREATE TABLE table_204_941 ( id number, "#" number, "date" text, "visitor" text, "score" text, "home" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- each game took place in what month . ### Query: SELECT "date" F...
### Context: CREATE TABLE table_1473672_3 ( college_junior_club_team VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college/junior/club team did the player play on that played for the Buffalo Sabres in NHL? ### Query: SELECT college_...
### Context: CREATE TABLE table_55120 ( "Episode #" real, "# in Season" real, "Episode Name" text, "Airdate" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest episode # with an air date of October 31, 2001? ### Quer...
### Context: CREATE TABLE table_name_39 ( score VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the score in the loss to tapani (0-1)? ### Query: SELECT score FROM table_name_39 WHERE loss = "tapani (0-1)"
### Context: CREATE TABLE table_17120964_6 ( attendance VARCHAR, opponent VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total attendance during the home game against the Swindon Wildcats? ### Query: SELECT attendance FROM ta...
### Context: CREATE TABLE table_26757_4 ( proto_slavic VARCHAR, macedonian VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When (r ba) is the macedonian what is the proto-slavic? ### Query: SELECT proto_slavic FROM table_26757_4 WHERE macedonian = "риба (ríb...
### Context: CREATE TABLE table_name_89 ( detriment VARCHAR, domicile VARCHAR, sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which detriment has a domicile of mercury and Virgo as a sign? ### Query: SELECT detriment FROM table_name_89 WHERE domici...
### Context: CREATE TABLE table_74293 ( "Player" text, "Starts" real, "Cuts made" real, "Best finish" text, "Money list rank" real, "Earnings (\u20ac)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cuts did Gary Clark make? ### Query:...
### 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 table_name_18 ( to_par VARCHAR, place VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is To Par, when Place is 'T5', and when Country is 'United States'? ### Query: SELECT to_par FROM table_name_18 WHERE pl...
### Context: CREATE TABLE table_203_322 ( id number, "club" text, "played" number, "won" number, "drawn" number, "lost" number, "points for" number, "points against" number, "bonus points" number, "points" number ) -- Using valid SQLite, answer the following questions for the t...
### 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 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_14 ( surface VARCHAR, partner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What surface has natalia gussoni as the partner? ### Query: SELECT surface FROM table_name_14 WHERE partner = "natalia gussoni"
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName te...
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, in...
### Context: CREATE TABLE table_18133 ( "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. -- Who ran in the district elections won by Tom Petri? ### Q...
### Context: CREATE TABLE table_35465 ( "Stage" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the general class...
### Context: CREATE TABLE table_name_8 ( date VARCHAR, result VARCHAR, method VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Result is Loss, and when Method is Submission (Armbar)? ### Query: SELECT date FROM table_name_8 WHERE result...
### Context: CREATE TABLE table_24837750_1 ( date_in_service VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the wind farm in Musselshell started service? ### Query: SELECT date_in_service FROM table_24837750_1 WHERE county = "Mussel...
### Context: CREATE TABLE table_57902 ( "Season" real, "Div." text, "Tms." real, "Pos." real, "Attendance/G" real, "Emperor's Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons did the Div J1 have the Emperor's cup in the 3rd r...
### Context: CREATE TABLE table_name_3 ( june VARCHAR, november VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the June playmate with the November playmate Lorraine Olivia? ### Query: SELECT june FROM table_name_3 WHERE november = "lorraine olivia"
### Context: CREATE TABLE table_3794 ( "Year" text, "Stage" real, "Start of stage" text, "Distance (km)" text, "Category of climb" text, "Stage winner" text, "Nationality" text, "Yellow jersey" text, "Bend" real ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE table_28243691_2 ( founded VARCHAR, team_nickname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many different years was the team nicknamed Comets founded? ### Query: SELECT COUNT(founded) FROM table_28243691_2 WHERE team_n...
### 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_40893 ( "Club" text, "Home town" text, "Arena" text, "Founded" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which arena was founded in 2000? ### Query: SELECT "Arena" FROM table_40893 WHERE "Founded" =...
### Context: CREATE TABLE category ( category_id number, name text, last_update time ) CREATE TABLE customer ( customer_id number, store_id number, first_name text, last_name text, email text, address_id number, active boolean, create_date time, last_update time ) CREAT...
### Context: CREATE TABLE useracct ( u_id integer, name varchar(128) ) CREATE TABLE trust ( source_u_id integer, target_u_id integer, trust integer ) CREATE TABLE item ( i_id integer, title varchar(20) ) CREATE TABLE review ( a_id integer, u_id integer, i_id integer, ratin...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects...
### Context: CREATE TABLE table_name_59 ( year_inducted VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the year inducted for the label of label? ### Query: SELECT year_inducted FROM table_name_59 WHERE "label" = "label"
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE student ( sex VARCHAR, age VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many female students (sex is F) whose age is below 25? ### Query: SELECT COUNT(*) FROM student WHERE sex = 'F' AND age < 25
### 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 table_17460 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nhl team has a college/junior/club team n...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4), PROF_HIGH_DEGREE varchar(5) ) CREATE TABLE ENROLL ( CLASS_CODE varchar(5), STU_NUM int, ENROLL_GRADE varchar(50) ) CREATE TABLE STUDENT ( STU_NUM int, S...
### Context: CREATE TABLE table_204_469 ( id number, "coach" text, "years" text, "seasons" number, "wins" number, "losses" number, "ties" number, "pct" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many coaches had above 500 wins ...
### Context: CREATE TABLE table_3570 ( "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 table...
### 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_92 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What in 2007 has a 2010 of qf, and a 2012 of w? ### Query: SELECT 2007 FROM table_name_92 WHERE 2010 = "qf" AND 2012 = "w"
### Context: CREATE TABLE table_72735 ( "Episode Number" real, "Air Date" text, "Guest Host" text, "Musical Guest (Song performed)" text, "Who knows the most about the guest host? Panelists" text, "Coat Of Cash Wearing Celebrity" text ) -- Using valid SQLite, answer the following questions for...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_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_name_85 ( opening VARCHAR, worldwide VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE OPENING WITH A WORLDWIDE NUMBER OF $559,852,396? ### Query: SELECT opening FROM table_name_85 WHERE worldwide = "$559,852,396"
### 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 ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comme...
### Context: CREATE TABLE table_name_90 ( incumbent VARCHAR, results VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the incumbent that has been in office since before 1996 and was again re-elected? ### Query: SELECT incumbe...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_locati...
### Context: CREATE TABLE table_name_21 ( outcome VARCHAR, venue VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Outcome of the Danish Open in 1985? ### Query: SELECT outcome FROM table_name_21 WHERE venue = "danish open" AND y...
### Context: CREATE TABLE table_name_87 ( l2_cache VARCHAR, multi_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the L2 cache with a 13.5x multi 1? ### Query: SELECT l2_cache FROM table_name_87 WHERE multi_1 = "13.5x"
### Context: CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int ) CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE affected_region ( Region_id int, Storm_ID int, ...
### Context: CREATE TABLE table_79711 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average silver has belarus as the nation, with a total less than 1? ### Q...
### Context: CREATE TABLE table_74701 ( "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 day is the venue the western o...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, dr...
### Context: CREATE TABLE city ( City_ID int, County_ID int, Name text, White real, Black real, Amerindian real, Asian real, Multiracial real, Hispanic real ) CREATE TABLE county_public_safety ( County_ID int, Name text, Population int, Police_officers int, Resid...
### 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 table_28138035_20 ( year_location VARCHAR, womens_doubles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the tour when jing junhong li jiawei played womens doubles? ### Query: SELECT year_location FROM table_28138035_20 W...
### Context: CREATE TABLE table_15416002_1 ( saffir_simpson_category VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Saffir-Simpson category for the hurricane named Bonnie? ### Query: SELECT saffir_simpson_category FROM table_154160...
### Context: CREATE TABLE table_name_70 ( year VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year did Ilju t enko compete in Barcelona, Spain? ### Query: SELECT year FROM table_name_70 WHERE venue = "barcelona, spain"
### Context: CREATE TABLE table_28620 ( "Year" real, "Under-11" text, "Under-13" text, "Under-15" text, "Under-17" text, "Under-19" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for Under-17 if Under-15 is Maria Elena Ubina?...
### Context: CREATE TABLE table_25550 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Margin of victory" text, "Tournament location" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the table...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### Context: CREATE TABLE table_name_44 ( revenue__ INTEGER, team VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest revenue for schalke 04 with rank less than 10 ### Query: SELECT MAX(revenue__) AS $m_ FROM table_name_44 WHER...
### Context: CREATE TABLE table_42474 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team has 8 ties? ### Query: SELECT "Home team" FROM tabl...
### Context: CREATE TABLE table_train_241 ( "id" int, "blood_sugars" int, "c_peptide_level" float, "hemoglobin_a1c_hba1c" float, "glucometer" bool, "creatinine_clearance_cl" float, "symptoms_hypoglycemic_episodes" bool, "hypoglycemia" bool, "hba1c" float, "diabetes" bool, "NO...
### Context: CREATE TABLE table_name_89 ( tries_for VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tries for when 52 was the tries against? ### Query: SELECT tries_for FROM table_name_89 WHERE tries_against = "52"
### 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 Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, ...
### Context: CREATE TABLE table_204_388 ( id number, "#" number, "date" text, "visitor" text, "score" text, "home" text, "record" text, "pts" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on december 14 was the home team the chicago b...
### Context: CREATE TABLE table_name_35 ( date VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of week 17? ### Query: SELECT date FROM table_name_35 WHERE week = 17
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseReasonTypes ( ...
### 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_56161 ( "Date" text, "Competition" text, "Venue" text, "Result" text, "Score" text, "Goals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which result has a Goal of deacon 2/5? ### Query: SELECT "Result" FROM ta...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE txmzjzjlb ( 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 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_3 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record has a Score of w 107 102 (ot)? ### Query: SELECT record FROM table_name_3 WHERE score = "w 107–102 (ot)"
### Context: CREATE TABLE table_1592 ( "Character" text, "Indianapolis Concerts" text, "Sarasota" text, "Broadway" text, "Brighton Cast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the indianapolis concerts for paul baker ### Query: SELECT ...
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE table_name_12 ( overall_ranking VARCHAR, status VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of overall rankings of jvnne leow's events that are eliminated? ### Query: SELECT COUNT(overal...
### Context: CREATE TABLE table_46314 ( "from" text, "aircraft" text, "carrier" text, "air wing" text, "tail code" text, "area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the air wing for the craft with a tail code of ah-3xx, deploye...
### 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_94 ( starts INTEGER, chassis VARCHAR, finishes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average starts when the chassis is focus rs wrc 08 and finishes is more than 27? ### Query: SELECT AVG(starts)...
### Context: CREATE TABLE table_43374 ( "Ship" text, "Built" real, "Builder" text, "Entered Service for AIDA" text, "Gross Tonnage" text, "Flag" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Flag did the Ship Aidavita have? ### Query: SE...
### Context: CREATE TABLE table_20272 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the margin of victory when ...
### 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 SuggestedEdits ( Id number, PostId number, CreationDate time, ...
### Context: CREATE TABLE table_dev_38 ( "id" int, "gender" string, "serum_potassium" float, "systolic_blood_pressure_sbp" int, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "diastolic_blood_pressure_dbp" int, "ace_inhibitors" bool, "serum_creatini...
### Context: CREATE TABLE table_20273 ( "No." real, "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the tournament when margin ...
### 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE table_15329030_1 ( date_of_polls VARCHAR, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which dates of polls occur in the Mizoram state? ### Query: SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram"
### Context: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_name_21 ( team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg of Team 2 PSV Eindhoven? ### Query: SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven"
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE table_58043 ( "Outcome" text, "Date" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the partner in ...
### 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 transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_co...
### 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...