text
stringlengths
197
8.39k
### Context: CREATE TABLE table_18348 ( "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. -- Name the incumbent for district texas 12 ### Query: SELECT...
### Context: CREATE TABLE table_203_763 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what years did ramon gonzalez come in first place ? ### Query: SELE...
### Context: CREATE TABLE table_59509 ( "School" text, "Suburb/Town" text, "Years" text, "Founded" real, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year Airds High School was founded? ### Query: SELECT "Founded" FROM table...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### 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_69894 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a Tally of 0-14, what is the Rank in Kilkenny County? ### Query: SEL...
### Context: CREATE TABLE table_204_735 ( id number, "rank" number, "team" text, "names" text, "time" text, "qualification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many consecutive rankings are listed ? ### Query: SELECT COUNT("rank"...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE patients ( row_id number, subjec...
### Context: CREATE TABLE table_27987623_4 ( rank_timeslot_ VARCHAR, airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total rank on airdate march 30, 2011? ### Query: SELECT COUNT(rank_timeslot_) FROM table_27987623_4 WHERE airdate = "Marc...
### Context: CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, flight_number int, from_airport varchar, meal_code text, ...
### Context: CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, ...
### Context: CREATE TABLE table_38237 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of draws with 14 points and less than 7 games? ### Query: ...
### Context: CREATE TABLE table_name_38 ( military_deaths VARCHAR, total_casualties VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many members of the military died in the conflict that had a total of 531 casualties? ### Query: SELECT military_deaths FR...
### 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_51905 ( "Player" text, "Car." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of TD's for long more than 6 and cars less than 4 ### Query:...
### Context: CREATE TABLE table_1341453_15 ( results VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result in Illinois 7? ### Query: SELECT results FROM table_1341453_15 WHERE district = "Illinois 7"
### 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 table_22654 ( "Date Released" text, "Polling institute" text, "Social Democratic" text, "Socialist" text, "Green-Communist" text, "Democratic and Social Centre" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE table_name_81 ( score VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Result of 0 2? ### Query: SELECT score FROM table_name_81 WHERE result = "0 – 2"
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID ...
### 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_17325580_6 ( high_points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every high point when the team is Washington? ### Query: SELECT high_points FROM table_17325580_6 WHERE team = "Washington"
### 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 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_11677760_1 ( player VARCHAR, year VARCHAR, college VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the player who's college is listed as direct to nba, school is st. vincent st. mary high school ...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit te...
### Context: CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text ) -- Using valid S...
### Context: CREATE TABLE table_29673 ( "Week #" text, "Theme" text, "Song Choice" text, "Original Artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different weeks are there in order number 4 that we...
### Context: CREATE TABLE table_204_268 ( id number, "album/single" text, "performer" text, "year" number, "variant" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who appeared on more albums , maccoll or kornog ? ### Query: SELEC...
### Context: CREATE TABLE table_30326 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of womens singles for 1999 rio de janeiro ...
### 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_36999 ( "Rank" real, "First quarter" text, "Second quarter" text, "Third quarter" text, "Fourth quarter" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the third quarter is China Mobile 195,680.4, what is the ran...
### 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 outputevents ( row_id number, subject_id number, hadm_id number, icustay_...
### Context: CREATE TABLE table_55800 ( "Name" text, "Date of birth" text, "Date of death" text, "Reign" text, "Relationship with predecessor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Date of Death of the person whose Date of Birt...
### Context: CREATE TABLE table_59892 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the UEFA Cup, against Palermo? ### Query: SELECT "Result" FROM tab...
### Context: CREATE TABLE table_36602 ( "Date" text, "Home Team" text, "Score" text, "Visiting Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score at CN Centre on April 5, 2008? ### Query: SELECT "Score" FROM tab...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_18818 ( "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 dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE fa...
### Context: CREATE TABLE table_14875671_1 ( date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when the attendance was 63995 ### Query: SELECT date FROM table_14875671_1 WHERE attendance = 63995
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text,...
### 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 employees ( EMPLOYEE_ID decimal(6,0), FIRS...
### Context: CREATE TABLE table_name_56 ( record VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record of the 1991 Port of Spain Games? ### Query: SELECT record FROM table_name_56 WHERE games = "1991 port of spain"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, reli...
### Context: CREATE TABLE 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_11951237_3 ( original_air_date VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is theoriginal air date of the episode directed by timothy van patten? ### Query: SELECT original_air_date FROM table_119...
### Context: CREATE TABLE table_name_51 ( congress VARCHAR, _number_of_cosponsors VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Congress has a # of cosponsors of 19? ### Query: SELECT congress FROM table_name_51 WHERE _number_of_cosponsors = 19
### Context: CREATE TABLE table_29290 ( "Season" text, "Coach" text, "Conf. Record" text, "Overall" text, "Standings" text, "Postseason" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the conference record for the Pandas when they were ...
### 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 neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitud...
### 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 csu_fees ( campus number, year number, campusfee number ) CREATE TABLE degrees ( year number, campus number, degrees number ) CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number...
### Context: CREATE TABLE table_204_805 ( id number, "name" text, "club" text, "date of departure" text, "replacement" text, "date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of managerial changes that ttm s...
### Context: CREATE TABLE table_46430 ( "Finished" real, "Time/ Behind" text, "Post" real, "Horse" text, "Jockey" text, "Trainer" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Jockey, when Horse is 'Eight Belles'? ###...
### Context: CREATE TABLE table_29215 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the player who played DE go to? ### Query: SELECT "College" FROM table...
### Context: CREATE TABLE table_203_238 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was his last competition ? ### Query: SELECT "year" FROM table_20...
### 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 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_5592 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was their record 46-39? ### Query: SELECT "Date" FROM table_...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_14903627_1 ( year VARCHAR, mens_doubles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY? ### Query: SELECT COUNT(year) FROM table_14903627_1 WHERE mens_doub...
### 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 mzjzjlb ( YLJGDM tex...
### Context: CREATE TABLE table_16318 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the team of the player from St. Francis Xavier College? ### Query: SELECT "CFL T...
### Context: CREATE TABLE table_2855 ( "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 above...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE ReviewTaskResults ( Id numbe...
### Context: CREATE TABLE table_29399 ( "Model Number" text, "Frequency" text, "L2 Cache" text, "HT" text, "Mult. 1" text, "V Core" text, "TDP" text, "Socket" text, "Release Date" text, "Part Number(s)" text ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE table_75070 ( "Rank" real, "Country/Territory" text, "Nuestra Belleza Latina" real, "1st runner-up" real, "2nd runner-up" real, "3rd runner-up" real, "4th runner-up" real, "5th runner-up" real, "6th runner-up" real, "7th runner-up" real, "8th runner-...
### Context: CREATE TABLE diagnoses ( 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_d...
### Context: CREATE TABLE table_name_59 ( country VARCHAR, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the City of Douala? ### Query: SELECT country FROM table_name_59 WHERE city = "douala"
### Context: CREATE TABLE table_4612 ( "Rank" real, "Heat (Lane)" text, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which heat and lane was in rank of 22? ### Query: SELECT "Heat (Lane)" FROM table_4612 WH...
### Context: CREATE TABLE table_5482 ( "# 100" real, "Season" text, "Playing For" text, "Against" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which sum of # 100 has a Season of 1990, and an Against of warwickshire? ### Query: SELEC...
### Context: CREATE TABLE table_49190 ( "Event" text, "Time" text, "Name" text, "Nation" text, "Games" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the record set with a time of 1:07.18? ### Query: SELECT "Date" ...
### Context: CREATE TABLE table_17335602_1 ( date VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the mcdonald's lpga championship? ### Query: SELECT date FROM table_17335602_1 WHERE tournament = "McDonald's LPGA Championship"
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE ReviewTaskStates ( Id number, Name te...
### Context: CREATE TABLE table_9522 ( "Name" text, "Nationality" text, "Position [F ]" text, "Date from [G ]" text, "Date to [H ]" text, "Appearances" real, "Goals" real, "Club source [I ]" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_name_51 ( meg_whitman__r_ VARCHAR, date_s__administered VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010. ### Query: SELECT meg_whitman__r_ FROM...
### Context: CREATE TABLE table_203_568 ( id number, "town/village" text, "population" number, "postal code" text, "municipality" text, "island" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many towns or villages have ...
### Context: CREATE TABLE table_23399481_3 ( original_air_date VARCHAR, season__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date for episode 4? ### Query: SELECT original_air_date FROM table_23399481_3 WHERE season__number...
### 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_11041 ( "Drobo (1st)" text, "Drobo (2nd)" text, "Drobo S" text, "Drobo S (2nd)" text, "Drobo FS" text, "Drobo Mini" text, "Drobo 5D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Drobo (2nd) has a Drobo...
### Context: CREATE TABLE table_name_52 ( hong_kong INTEGER, brisbane VARCHAR, kuala_lumpur VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value? ### Query: SEL...
### Context: CREATE TABLE table_11658094_3 ( nickname VARCHAR, enrollment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nickname of the school with an enrollment of 2386? ### Query: SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE medicati...
### Context: CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) -- Using valid SQLite, answer the following question...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE SuggestedEditVotes ( Id number, Sugge...
### 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 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_203_374 ( 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. -- who has the most bronze medals ? ### Query: SELECT ...
### Context: CREATE TABLE table_275023_1 ( province VARCHAR, formed_from VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What provinces were formed from New Munster? ### Query: SELECT province FROM table_275023_1 WHERE formed_from = "New Munster"
### Context: CREATE TABLE table_25816476_2 ( team_guest_captain VARCHAR, episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the team guest captain for episode 2? ### Query: SELECT team_guest_captain FROM table_25816476_2 WHERE episode = 2
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, ...
### 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 Customers ( customer_id INTEGER, customer_first_name VARCHAR(20), customer_last_name VARCHAR(20), customer_address VARCHAR(255), customer_phone VARCHAR(255), customer_email VARCHAR(255), other_customer_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id I...
### Context: CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number ) CREATE TABLE finrev_fed_key_17 ( state_code number, state text, #_records text ) CREATE TABLE ndecore...
### Context: CREATE TABLE table_79632 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record of the game with ...
### 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_30216 ( "District" text, "Status" text, "Date abolished" text, "Former county" text, "Successor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the former counties of the Great Grimsby district? ### Query: S...
### 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_78928 ( "Elector" text, "Place of birth" text, "Cardinalatial title" text, "Elevated" text, "Elevator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Elector was Elevated on December 18, 1182? ### Query: SELECT ...