text
stringlengths
197
8.39k
### 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_52761 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average laps that had a time/retired of +5 laps? ### Query: SELECT AVG("L...
### Context: CREATE TABLE table_name_2 ( seasons VARCHAR, coach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons did Pat Chambers coach? ### Query: SELECT COUNT(seasons) FROM table_name_2 WHERE coach = "pat chambers"
### Context: CREATE TABLE table_name_82 ( fa_trophy INTEGER, league VARCHAR, total VARCHAR, fa_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many FA Trophies had a total of 27, 2 FA cups, and a league larger than 24? ### Query: SELECT SUM(f...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, ...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId nu...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId nu...
### 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 table_54977 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team where Trail Blazers were the visitor? ### Query...
### Context: CREATE TABLE table_1940012_2 ( winning_score VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning score in the Sybase Classic tournament? ### Query: SELECT winning_score FROM table_1940012_2 WHERE tournament =...
### Context: CREATE TABLE table_68426 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of points for the Modena Team Spa after 1991? ### Query: SELECT M...
### 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 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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE ...
### Context: CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ...
### Context: CREATE TABLE table_42402 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "Facility ID" real, "ERP W" real, "Height m ( ft )" text, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whi...
### Context: CREATE TABLE table_77153 ( "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 sum of the pick from texas a&i college with a round greater tha...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE transfers ( row_id number, subject_id numb...
### Context: CREATE TABLE table_name_66 ( specific_impulse__s_ INTEGER, sfc_in_lb__lbf·h_ VARCHAR, effective_exhaust_velocity__m_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average specific impulse for engines that have a SFC in lb/(lbf...
### Context: CREATE TABLE table_name_62 ( status VARCHAR, issn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status for a journal with the ISSN of 0149-1830? ### Query: SELECT status FROM table_name_62 WHERE issn = "0149-1830"
### Context: CREATE TABLE table_name_59 ( team_sites VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team sites entry for Microsoft Sharepoint? ### Query: SELECT team_sites FROM table_name_59 WHERE name = "microsoft sharepoint"
### Context: CREATE TABLE table_name_54 ( starts INTEGER, yards INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average number of starts Michael Henig had in a year when he had more than 1201 yards? ### Query: SELECT AVG(starts) FROM table_name_...
### 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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number...
### Context: CREATE TABLE table_46662 ( "Country" text, "Preliminary" real, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Preliminary scores where the intervie...
### 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. -- what is the last intersecting road ? ### Query: SELECT "inters...
### 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_204_704 ( id number, "province" text, "map #" number, "iso 3166-2:af" text, "centers" text, "population" number, "area (km2)" number, "language" text, "notes" text, "u.n. region" text ) -- Using valid SQLite, answer the following questions for th...
### 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 flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, ...
### Context: CREATE TABLE table_32884 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time/retired for a grid larger than 11, laps larger than 41, and nick heid...
### Context: CREATE TABLE table_49169 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place is Ben Hogan? ### Query: SELECT "Place" FROM table_49169 WHERE "Player" = 'ben hog...
### Context: CREATE TABLE table_79376 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed in notes for the athlete, lassi karonen? ### Query: SELECT "Notes" FROM table_79...
### Context: CREATE TABLE table_18566 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What candidate is associated with the Georgia 4 district? ...
### Context: CREATE TABLE table_name_52 ( crowd INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest crowd at Lake Oval? ### Query: SELECT MAX(crowd) FROM table_name_52 WHERE venue = "lake oval"
### Context: CREATE TABLE table_23492454_1 ( directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who directed the episode written by Shonda Rhimes? ### Query: SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhi...
### Context: CREATE TABLE table_182410_10 ( digital_terrestrial_channel VARCHAR, channel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many digital terrestrial channels are there for channel 4? ### Query: SELECT COUNT(digital_terrestrial_channel) FROM ...
### Context: CREATE TABLE table_40594 ( "Sanderstead" text, "Selsdon" text, "Coombe Road" text, "Bingham Road" text, "Woodside" text, "Elmers End" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Elmers End with a 09:54 Bingham Road? ...
### Context: CREATE TABLE table_18018248_2 ( games_played INTEGER, loses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of games played with 21 losses? ### Query: SELECT MIN(games_played) FROM table_18018248_2 WHERE loses = 21
### Context: CREATE TABLE table_name_26 ( accompaniment VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the accompaniment when the title is stormy seas blues? ### Query: SELECT accompaniment FROM table_name_26 WHERE title = "stormy sea...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment t...
### Context: CREATE TABLE district ( District_ID int, District_name text, Headquartered_City text, City_Population real, City_Area real ) CREATE TABLE store ( Store_ID int, Store_Name text, Type text, Area_size real, Number_of_product_category real, Ranking int ) CREATE TAB...
### 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_61459 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club does John Westin play for? ### Query: SELECT "Col...
### Context: CREATE TABLE table_61601 ( "Location" text, "Partner" text, "Construction Start" text, "Inauguration Date" text, "Population Served" real, "Design flow (LPM)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Construction Start ha...
### Context: CREATE TABLE table_name_96 ( grid VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the grid when the driver was Mark Webber? ### Query: SELECT grid FROM table_name_96 WHERE driver = "mark webber"
### Context: CREATE TABLE table_57898 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the player from Duke? ### Query: SELECT ...
### Context: CREATE TABLE table_name_76 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Result listed that has a Date of June 12, 1997? ### Query: SELECT result FROM table_name_76 WHERE date = "june 12, 1997"
### Context: CREATE TABLE table_11642 ( "Round" text, "Player" text, "Position" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college has the Chicago Stags? ### Query: SELECT "College" FROM table_11642 WHERE "Team...
### Context: CREATE TABLE table_73211 ( "Shareholder" text, "s A share" real, "s B share" real, "Percent of capital" text, "Percent of votes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shareholder has 2.55 percent of votes? ### Query: SELE...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_name_33 ( total VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Davis Love III's total? ### Query: SELECT total FROM table_name_33 WHERE player = "davis love iii"
### Context: CREATE TABLE table_name_22 ( first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of First Elected that has counties represented of Anne ...
### Context: CREATE TABLE table_name_93 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when the Twins had a record of 44-37? ### Query: SELECT date FROM table_name_93 WHERE record = "44-37"
### 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 table_204_647 ( id number, "year" number, "film" text, "role" text, "language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the actor 's first film ? ### Query: SELECT "film" FROM table_204_647 ORDER BY "year" L...
### 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 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 table_204_226 ( id number, "municipality/communes" text, "coalition for the citizen" text, "coalition for the future" text, "other/independent" text, "winning party/coalition" text, "voter turnout" text ) -- Using valid SQLite, answer the following questions for t...
### Context: CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text ) CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) -- Using valid S...
### Context: CREATE TABLE table_9659 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Away team has a Home team of walsall? ### Query: SELECT "Away team" FROM table_9659 ...
### 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_name_15 ( record VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was their record on week 11? ### Query: SELECT record FROM table_name_15 WHERE week = 11
### Context: CREATE TABLE Products ( Product_ID INTEGER, Product_Type_Code CHAR(15), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4) ) CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel...
### Context: CREATE TABLE table_39592 ( "Season" real, "Overall" real, "Slalom" text, "Giant Slalom" real, "Super G" real, "Downhill" text, "Combined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest overall score prior to 1...
### Context: CREATE TABLE table_75573 ( "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. -- What is the location of the match with...
### Context: CREATE TABLE table_test_3 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "severe_hemodynamic_instability" bool, "consent" bool, "hemoglobin_a1c_hba1c" float, "metallic_implants" bool, "allergy_to_aspirin" bool, "creatinine_clearance_cl" float, "post_meno...
### Context: CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT...
### Context: CREATE TABLE table_8658 ( "Size" real, "Lg. Dia." real, "Sm. Dia." real, "Length" real, "Taper (in/ft)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Taper (in/ft), when Size is 8? ### Query: SELECT MAX("Taper (in/...
### Context: CREATE TABLE table_13180 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "4:30 pm" text, "5:00 pm" text, ...
### Context: CREATE TABLE table_8521 ( "Player" text, "Position" text, "Premier League" real, "FA Cup" real, "League Cup" real, "UEFA Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the premier league number when th...
### Context: CREATE TABLE table_74404 ( "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 abov...
### Context: CREATE TABLE table_9947 ( "Place" text, "Athlete" text, "Points" text, "Score" text, "500 m" text, "1500 m" text, "5000 m" text, "10000 m" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which athlete had 17 points and a 1500...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE Suppliers ( supplier_id INTEGER, supplier_name VARCHAR(80), supplier_phone VARCHAR(80) ) CREATE TABLE Department_Store_Chain ( dept_store_chain_id INTEGER, dept_store_chain_name VARCHAR(80) ) CREATE TABLE Departments ( department_id INTEGER, dept_store_id INTEGER,...
### Context: CREATE TABLE table_name_45 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Opponent on January 16? ### Query: SELECT opponent FROM table_name_45 WHERE date = "january 16"
### 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_43577 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has theoir home games in the venue of go...
### 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 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 table_34482 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Record of 4 2 1, and Points larger than 9? ### Query: SE...
### Context: CREATE TABLE table_42483 ( "Milepost" real, "Name of the tunnel" text, "Length" text, "Maximum Height" text, "Minimum Height" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum Height of the Little Switzerland Tunnel? #...
### Context: CREATE TABLE table_1341395_36 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what district was the incumbent Steve Chabot? ### Query: SELECT district FROM table_1341395_36 WHERE incumbent = "Steve Chabot"
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, rout...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varc...
### Context: CREATE TABLE table_name_34 ( total INTEGER, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What total average has 1988 has the year (s) won? ### Query: SELECT AVG(total) FROM table_name_34 WHERE year_s__won = "1988"
### 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_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 participants ( participant_id number, participant_type_code text, participant_details text ) CREATE TABLE events ( event_id number, service_id number, event_details text ) CREATE TABLE participants_in_events ( event_id number, participant_id number ) CREATE T...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, J...
### Context: CREATE TABLE table_name_49 ( nhl_team VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which NHL team got pick 89? ### Query: SELECT nhl_team FROM table_name_49 WHERE pick__number = "89"
### 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 table_name_15 ( year INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year for Ponce, Puerto Rico events? ### Query: SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico"
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Comments ( Id number, PostId number, ...
### Context: CREATE TABLE table_44696 ( "Solution" text, "Other Name" text, "[Na + ](mmol/L)" real, "[Cl - ](mmol/L)" real, "[Glucose](mmol/L)" real, "[Glucose](mg/dl)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest glucose(m...
### Context: CREATE TABLE table_6960 ( "Date" text, "Title" text, "Director" text, "Producer" text, "Production Cost" text, "Singapore Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the film that had a production cost...
### Context: CREATE TABLE table_32757 ( "Name" text, "Release date" text, "Latest version" text, "Status support" text, "Source model" text, "Architecture" text, "Target market" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the Lat...