text
stringlengths
197
8.39k
### Context: CREATE TABLE Product_Characteristics ( product_id INTEGER, characteristic_id INTEGER, product_characteristic_value VARCHAR(50) ) CREATE TABLE Ref_Colors ( color_code VARCHAR(15), color_description VARCHAR(80) ) CREATE TABLE Ref_Characteristic_Types ( characteristic_type_code VARCH...
### Context: CREATE TABLE table_65357 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the PBA team for roberto jabar who was picked before number 11? ### Que...
### Context: CREATE TABLE table_1566850_8 ( interview_subject VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the interview subject on the date 1-97? ### Query: SELECT interview_subject FROM table_1566850_8 WHERE date = "1-97"
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text,...
### 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 time_interval ( period text, begin_time int, end_time int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text,...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE activity ( actid number, activity_name text ) CREATE TABLE participates_in ( stuid number, actid number ) CREATE ...
### 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( ...
### Context: CREATE TABLE table_name_74 ( fastest_lap VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was the fastest lap during Stoh's 200 in 1982? ### Query: SELECT fastest_lap FROM table_name_74 WHERE name = "stoh's 200"
### Context: CREATE TABLE table_55033 ( "Outcome" text, "Date" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has a Score of 4 6, 2 6? ### Query: SELECT "Date" FROM table_55033 WHERE "Score"...
### 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 table_15945862_1 ( december VARCHAR, september VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What septembers are 17.1 in December? ### Query: SELECT december FROM table_15945862_1 WHERE september = "17.1"
### Context: CREATE TABLE table_32563 ( "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 date of the game where ...
### Context: CREATE TABLE table_name_44 ( height VARCHAR, position VARCHAR, year_born VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Born in 1982, this guard has what listed as a height? ### Query: SELECT height FROM table_name_44 WHERE position = "guar...
### Context: CREATE TABLE table_name_49 ( date VARCHAR, venue VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Josh Taumalolo play at Nuku'alofa? ### Query: SELECT date FROM table_name_49 WHERE venue = "nuku'alofa" AND player...
### Context: CREATE TABLE table_203_788 ( id number, "year" number, "author" text, "illustrator" text, "title" text, "publisher" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many titles did walker publish ? ### Query: SELECT COUNT("title"...
### Context: CREATE TABLE table_62138 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_61050 ( "Model" text, "Years" text, "Engine" text, "Power" text, "0\u2013100km/h (62mph)" text, "Top Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How fast can the SLK200K, with a top speed of 236km/h (147...
### 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_26397277_3 ( role_s_ VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the role for pick number 17 ### Query: SELECT role_s_ FROM table_26397277_3 WHERE pick__number = 17
### Context: CREATE TABLE table_204_395 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which year had the most competitions ? ### Query: SELECT "year" FROM t...
### Context: CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_th...
### 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 inputevents_cv ( row_id number, subject_id...
### 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 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 date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE days ( days_c...
### Context: CREATE TABLE table_19869 ( "Eviction No." real, "Nominee" text, "Vote to Save" text, "Vote to Evict" text, "Net vote" text, "Eviction result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many nominees had a net voice of 15.17%...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE products ( Name VARCHAR, Price INTEGER, manufacturer VARCHAR ) CREATE TABLE Manufacturers ( name VARCHAR, code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Select the name of each manufacturer along with the name and ...
### Context: CREATE TABLE table_33959 ( "Element" text, "Wood" text, "Fire" text, "Earth" text, "Metal" text, "Water" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Water has a Metal of contracting? ### Query: SELECT "Water" FROM table_33...
### Context: CREATE TABLE table_52583 ( "Year" real, "Competition" text, "Date" text, "Location" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the result for the world group, semifinals after the year 1997? ...
### Context: CREATE TABLE Timed_Status_of_Things ( thing_id INTEGER, Date_and_Date DATETIME, Status_of_Thing_Code CHAR(15) ) CREATE TABLE Residents_Services ( resident_id INTEGER, service_id INTEGER, date_moved_in DATETIME, property_id INTEGER, date_requested DATETIME, date_provided...
### Context: CREATE TABLE table_name_19 ( studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as...
### Context: CREATE TABLE table_62536 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has Against smaller than 6? ### Query: SELECT "Venue" FROM table_62536 WHE...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionD...
### Context: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is the...
### Context: CREATE TABLE table_68061 ( "Goal #" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for 30 january 2013 ### Query: SELECT "Score" FROM table_...
### Context: CREATE TABLE table_name_50 ( original_name VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original name of the restaurant located in Orillia, ON? ### Query: SELECT original_name FROM table_name_50 WHERE location =...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration n...
### Context: CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREA...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_i...
### Context: CREATE TABLE table_name_57 ( wins VARCHAR, top_5 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Wins have a Top-10 smaller than 6, and Cuts made larger than 7, and a Top-5 of 0? ### Query: SEL...
### Context: CREATE TABLE Allergy_type ( allergy VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many allergies are there? ### Query: SELECT COUNT(DISTINCT allergy) FROM Allergy_type
### Context: CREATE TABLE table_name_17 ( group_b VARCHAR, group_e VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the group B region with a Group E region of Georgia? ### Query: SELECT group_b FROM table_name_17 WHERE group_e = "georgia"
### Context: CREATE TABLE stock ( Shop_ID VARCHAR, quantity INTEGER ) CREATE TABLE shop ( Shop_Name VARCHAR, Shop_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the name of the shop that have the largest quantity of devices in stock. ### Qu...
### Context: CREATE TABLE table_name_14 ( record VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record during the event, UFC 27? ### Query: SELECT record FROM table_name_14 WHERE event = "ufc 27"
### Context: CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) CREATE TABLE movie ( mid number, title text, year number, director text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_62466 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" text, "Location of the Church" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which Parish (Prestegjeld) is the church...
### 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 elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text ) CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text ) -- Using vali...
### Context: CREATE TABLE table_68155 ( "Place" text, "Name" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place in the United States has a To par of e? ### Query: SELECT "P...
### Context: CREATE TABLE table_1397655_1 ( year_acquired INTEGER, station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many is the minimum for citv ### Query: SELECT MIN(year_acquired) FROM table_1397655_1 WHERE station = "CITV"
### Context: CREATE TABLE table_name_64 ( lane INTEGER, react VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest lane when react is more than 0.164 and the nationality is guinea? ### Query: SELECT MIN(lane) FROM table...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, I...
### Context: CREATE TABLE jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE regions ( region_id number, region_name text ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE employees ( employee_id...
### Context: CREATE TABLE table_36717 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record of the game before week 5 and a...
### Context: CREATE TABLE table_name_40 ( coaster_name VARCHAR, year_opened VARCHAR, track VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coaster name that was opened in 1978, and have wooden track? ### Query: SELECT coaster_name FROM table_...
### Context: CREATE TABLE table_31749 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which stadium can hold 63,443 people? ### Query: SELECT "Result" FROM table_31749 WHERE "A...
### Context: CREATE TABLE table_13636_1 ( first_operational VARCHAR, programming VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the first operational with programming being not programmable single purpose ### Query: SELECT first_operational FROM tabl...
### 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 Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DA...
### 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 d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_...
### Context: CREATE TABLE table_2472711_32 ( average INTEGER, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum average associated with a total of 221902? ### Query: SELECT MAX(average) FROM table_2472711_32 WHERE total = 221902
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_name_14 ( chassis VARCHAR, driver VARCHAR, tyre VARCHAR, engine_† VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the chassis when the tyre is b, the engine is ferrari 050 ferrari 051 and the driver is rubens ba...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount num...
### Context: CREATE TABLE table_1053802_1 ( winners VARCHAR, local_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many winners are there of farma? ### Query: SELECT COUNT(winners) FROM table_1053802_1 WHERE local_title = "Farma"
### Context: CREATE TABLE wdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_name_70 ( money___$__ VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Money of the Player with a Score of 69-71-69-72=281? ### Query: SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 ...
### Context: CREATE TABLE field ( fieldid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) ...
### Context: CREATE TABLE table_name_79 ( year INTEGER, college_country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year a Baylor player made the list? ### Query: SELECT MIN(year) FROM table_name_79 WHERE college_country = "baylor"
### Context: CREATE TABLE table_35593 ( "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_12155 ( "Draft" real, "Round" text, "Pick" real, "Player" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Pick, when Draft is less than 1991, and when Player is 'Tom Sasso Categor...
### Context: CREATE TABLE bridge ( architect_id int, id int, name text, location text, length_meters real, length_feet real ) CREATE TABLE architect ( id text, name text, nationality text, gender text ) CREATE TABLE mill ( architect_id int, id int, location text, ...
### Context: CREATE TABLE table_9805 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory when the runner-up was Janet Coles? ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime tim...
### Context: CREATE TABLE 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ...
### Context: CREATE TABLE table_38613 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2nd leg score having an aggregate score of 4-2? ### Query:...
### 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 club ( clublocation VARCHAR, clubname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the club 'Hopkins Student Enterprises' located? ### Query: SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises"
### Context: CREATE TABLE table_train_109 ( "id" int, "serum_potassium" float, "systolic_blood_pressure_sbp" int, "body_mass_index_bmi" float, "hypertension" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- systolic bp >= 170 mmhg ...
### Context: CREATE TABLE table_24172157_3 ( team VARCHAR, incoming_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has an incoming manager named Kenny Dalglish? ### Query: SELECT team FROM table_24172157_3 WHERE incoming_manager = "Kenny D...
### Context: CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE days ( days_c...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE...
### Context: CREATE TABLE table_13394 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a 2nd run of 39.296 (5)? ### Query: SELECT "Name" FROM table_13394 ...
### Context: CREATE TABLE table_40513 ( "Date" real, "Doubles, I Class" real, "Doubles, II Class" real, "Greater Doubles" real, "Doubles" real, "Semidoubles" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Gre...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE...
### Context: CREATE TABLE table_3780 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Decision" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the opponent was the Philadelphia flye...
### Context: CREATE TABLE table_name_96 ( opponent VARCHAR, tv_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent had a bye for the TV Time? ### Query: SELECT opponent FROM table_name_96 WHERE tv_time = "bye"
### Context: CREATE TABLE table_16799784_11 ( latitude VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what latitude can the name origin of naijok fossae be found? ### Query: SELECT latitude FROM table_16799784_11 WHERE name = "Naijok Fossae...
### 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 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 patients ( row_id number, subject_id number, gender text, dob time, d...
### Context: CREATE TABLE table_203_58 ( id number, "airline" text, "airline (in russian)" text, "licence #" number, "icao" text, "iata" text, "domestic code" text, "callsign" text, "photo" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_502 ( "Season" text, "Competition" text, "Round" text, "Club" text, "1st leg" text, "2nd leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the competition when 2nd leg is 0 8? ### ...
### 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 fzzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM tex...
### Context: CREATE TABLE table_name_75 ( drawn VARCHAR, goals_against VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number drawn with goals against less than 55, and a total of 14 losses? ### Query: SELECT COUNT(drawn) ...