text
stringlengths
197
8.39k
### Context: CREATE TABLE table_79061 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location when the opponent was S...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_name_53 ( to_par INTEGER, total INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par for the player with fewer than 148 total points? ### Query: SELECT SUM(to_par) FROM table_name_53 WHERE total < 148
### Context: CREATE TABLE table_56724 ( "Station" text, "Engine Company" text, "Ambulance" text, "Address" text, "Phone" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the phone number of the station located at 53 Dayton Road? ### Query: SE...
### Context: CREATE TABLE table_name_92 ( method VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method of resolution when Mikhail Ilyukhin's record was 4-0? ### Query: SELECT method FROM table_name_92 WHERE record = "4-0"
### Context: CREATE TABLE table_name_73 ( opponent_number VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the game attended by 45,000? ### Query: SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000...
### 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 writes ( paperid int, authorid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE cite ( citingpaperid int, cite...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_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 va...
### Context: CREATE TABLE table_name_39 ( date VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release Date of Catalog RR 8655-2? ### Query: SELECT date FROM table_name_39 WHERE catalog = "rr 8655-2"
### 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 ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Descriptio...
### 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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, ...
### 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 labevents ( row_id number, subject_id number, hadm_id number, itemid numb...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_name_88 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Olin Dutra's score? ### Query: SELECT score FROM table_name_88 WHERE player = "olin dutra"
### Context: CREATE TABLE table_name_86 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2004 value for the 2009 Grand slam tournaments? ### Query: SELECT 2004 FROM table_name_86 WHERE 2009 = "grand slam tournaments"
### Context: CREATE TABLE table_36892 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least overall for tony baker ### Query: SELECT MIN("Overall") F...
### Context: CREATE TABLE table_name_85 ( losses VARCHAR, last_appearance VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Losses, when Last Appearance is 2003, and when Wins is greater than 2? ### Query: SELECT C...
### Context: CREATE TABLE table_name_28 ( brand VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Mark Henry's brand? ### Query: SELECT brand FROM table_name_28 WHERE entrant = "mark henry"
### 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 table_35980 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Top-25 has a Top-5 larger than 9, and Wins sm...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob ...
### 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_22648 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Dolphins points" real, "Opponents" real, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates do the ...
### 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 table_name_82 ( year INTEGER, entrant VARCHAR, engine VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the ent...
### Context: CREATE TABLE table_70261 ( "1-person dive" text, "2-person dive" text, "3-person dive" text, "Surface" text, "Cage dive" text, "Seal/turtle decoy" text, "Catch release" text, "Attached camera" text, "Remote camera" text ) -- Using valid SQLite, answer the following que...
### Context: CREATE TABLE table_62736 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which spike has a 2008 club Karava? ### Query: SELECT "Spike" FROM table_62736 WHERE "2008 c...
### Context: CREATE TABLE table_15887683_1 ( content VARCHAR, television_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the content of la7 television service? ### Query: SELECT content FROM table_15887683_1 WHERE television_service = "LA7"
### Context: CREATE TABLE table_14070062_4 ( points_against VARCHAR, points_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was the the score when the tries was 743 ### Query: SELECT points_against FROM table_14070062_4 WHERE points_for = "743"
### Context: CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( ...
### Context: CREATE TABLE table_name_28 ( player VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is featured for 2001-2002? ### Query: SELECT player FROM table_name_28 WHERE year = "2001-2002"
### Context: CREATE TABLE table_204_540 ( id number, "name" text, "town" text, "deanery" text, "vicariate" text, "founded" number, "original ethnic community" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the difference , in years ...
### Context: CREATE TABLE table_name_44 ( album VARCHAR, composer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Jimmie Lee Sloas was the composer for what album? ### Query: SELECT album FROM table_name_44 WHERE composer_s_ = "jimmie lee sloas"
### Context: CREATE TABLE table_name_33 ( year INTEGER, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the top year with the Chassis ats hs1? ### Query: SELECT MAX(year) FROM table_name_33 WHERE chassis = "ats hs1"
### Context: CREATE TABLE gymnast ( Total_Points VARCHAR, Gymnast_ID VARCHAR ) CREATE TABLE people ( People_ID VARCHAR, Age VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total point count of the youngest gymnast? ### Query: SELECT T1.T...
### Context: CREATE TABLE table_19834 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Combination classification" text, "Team classification" text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_name_39 ( to_par VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the to par at the T5 for the player with a score of 74-69-66=209? ### Query: SELECT to_par FROM table_name_39 WHERE pl...
### Context: CREATE TABLE table_75946 ( "Round" text, "Date" text, "Home team" text, "Score" text, "Away team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date was the score 0 - 0? ### Query: SELECT "Date" FROM table_75946 WHERE "Score"...
### Context: CREATE TABLE table_name_90 ( television_service VARCHAR, content VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Television Service, when Content is Presentazione? ### Query: SELECT television_service FROM table_name_90 WHERE content = "...
### Context: CREATE TABLE table_name_17 ( championship VARCHAR, year VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which championship after 1985 had a winning score of 8 (68-72-69-71=280)? ### Query: SELECT championship FROM tabl...
### Context: CREATE TABLE table_name_34 ( opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has Attendances of 60,594? ### Query: SELECT opponent FROM table_name_34 WHERE attendance = "60,594"
### 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 table_15923 ( "Season" text, "Network" text, "Season premiere" text, "Season finale" text, "TV season" text, "Ranking" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The season premiere...
### 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 mountain ( id int, name text, Height real, Prominence real, Range text, Country text ) CREATE TABLE photos ( id int, camera_lens_id int, mountain_id int, color text, name text ) CREATE TABLE camera_lens ( id int, brand text, name text, ...
### Context: CREATE TABLE table_2467150_2 ( model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for model if processor is Kentsfield and brand name is Xeon? ### Query: SELECT model__list_ ...
### Context: CREATE TABLE table_27832075_2 ( us_viewers__millions_ VARCHAR, series__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many million U.S. viewers wtched episode 69 of the series? ### Query: SELECT us_viewers__millions_ FROM table_27832...
### Context: CREATE TABLE table_3352 ( "meas. num" real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the % yes for ye...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate ...
### Context: CREATE TABLE table_name_97 ( tie_no VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tie is from birmingham city? ### Query: SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city"
### 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_204_910 ( id number, "rank" number, "name" text, "nationality" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many contestants were from thailand ? ### Query: SELECT COUNT(*) FR...
### Context: CREATE TABLE table_36426 ( "NTFA Div 1" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of byes that are associated with 1 draw, 5 wins, ...
### Context: CREATE TABLE table_36656 ( "Pick #" text, "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. -- What is the name of the Player that shows the N...
### Context: CREATE TABLE table_20073 ( "Genus/Species" text, "Common Name" text, "Accession Number" text, "Length" text, "Similarity" text, "Identity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What identities do the genus/species arabidops...
### Context: CREATE TABLE products ( product_price INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the minimum, maximum, average price for all products. ### Query: SELECT MIN(product_price), MAX(product_price), AVG(product_price) FROM products
### Context: CREATE TABLE table_29635868_1 ( object_date VARCHAR, episode_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many object dates does episode #16 have? ### Query: SELECT COUNT(object_date) FROM table_29635868_1 WHERE episode_number = 16
### Context: CREATE TABLE mill ( architect_id int, id int, location text, name text, type text, built_year int, notes text ) CREATE TABLE architect ( id text, name text, nationality text, gender text ) CREATE TABLE bridge ( architect_id int, id int, name text, ...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_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 location...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTyp...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_name_16 ( gold INTEGER, rank VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the lowest gold for rank of 6 and total less than 2 ### Query: SELECT MIN(gold) FROM table_name_16 WHERE rank = "6" AND to...
### Context: CREATE TABLE table_name_18 ( unami_delaware VARCHAR, thomas__1698_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Unami Delaware value for a Thomas value of nacha? ### Query: SELECT unami_delaware FROM table_name_18 WHERE thomas__16...
### Context: CREATE TABLE table_64457 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was satsuki dd-27 completed? ### Query: SELECT "Completed" FRO...
### Context: CREATE TABLE documents_with_expenses ( document_id number, budget_type_code text, document_details text ) CREATE TABLE documents ( document_id number, document_type_code text, project_id number, document_date time, document_name text, document_description text, othe...
### Context: CREATE TABLE table_name_91 ( date VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has yani tseng as the runner (s)-up? ### Query: SELECT date FROM table_name_91 WHERE runner_s__up = "yani tseng"
### Context: CREATE TABLE table_66483 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was the race for the country of france? ### Query: SELECT "Time" FROM table_66483 WHE...
### Context: CREATE TABLE table_203_704 ( id number, "rnd" number, "date" text, "location" text, "laps" number, "distance" text, "time" text, "speed\n(km/h)" number, "winner" text, "pole position" text, "most leading laps" text, "fastest race lap" text ) -- Using valid ...
### Context: CREATE TABLE table_21118 ( "Rank" real, "Company" text, "Headquarters" text, "Industry" text, "Sales (billion $)" text, "Profits (billion $)" text, "Assets (billion $)" text, "Market Value (billion $)" text ) -- Using valid SQLite, answer the following questions for the ta...
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE ground_service ( city_code text...
### Context: CREATE TABLE table_75502 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on September 28? ### Query: SELECT MAX("Attendan...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, ...
### Context: CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, ...
### 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_76289 ( "Position" real, "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 provided above. --...
### Context: CREATE TABLE table_75224 ( "Sport" text, "Record" text, "Nation" text, "Date" text, "Time (sec.)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nation finished with a time of 47.049? ### Query: SELECT "Nation" FROM table_75224 W...
### Context: CREATE TABLE table_name_67 ( played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35 ...
### Context: CREATE TABLE table_name_13 ( total INTEGER, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest total when there's less than 16 bronze and more than 6 silver? ### Query: SELECT MIN(total) FROM table_name_...
### Context: CREATE TABLE table_69966 ( "Date" text, "Country" text, "Name" text, "Award" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the award type for all Lowe awards? ### Query: SELECT "Award" FROM table_69966 WHERE "Nam...
### Context: CREATE TABLE table_27576 ( "School Year" text, "Language" text, "Science" text, "Reading" text, "Mathematics" text, "Social Studies" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the reading score in the year the science s...
### Context: CREATE TABLE table_35421 ( "Name" text, "Innhabitants" real, "Area" real, "Mayor" text, "Party" text, "Municipal code" real, "Language form" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Mayor is from the KRF Party? ### Q...
### Context: CREATE TABLE table_203_510 ( id number, "township" text, "fips" number, "population\ncenter" text, "population" number, "population\ndensity\n(/mi2)" number, "population\ndensity\n(/km2)" number, "land area\n(mi2)" number, "land area\n(km2)" number, "water area\n(mi2...
### Context: CREATE TABLE table_59742 ( "Short vowels" text, "17th-c." text, "American" text, "British" text, "Australian" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Australian sound is equivalent to e / /? ### Query: SELECT "Australian" F...
### 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_39 ( winning_score VARCHAR, margin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning score of the match with a margin of 3 strokes? ### Query: SELECT winning_score FROM table_name_39 WHERE margin = "3 st...
### Context: CREATE TABLE table_73057 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Giants points" real, "Opponents" real, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum numb...
### 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalp...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE table_74185 ( "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_45447 ( "Round" real, "Race Name" text, "Pole position" text, "Winning driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pole position did 2006 gehl championship finale have? ### Query:...
### Context: CREATE TABLE table_7302 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away captain with a Venue that is old trafford? ### Query: SELECT "Away ...
### Context: CREATE TABLE table_18569389_1 ( title VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the title for production code 2t6908 ### Query: SELECT title FROM table_18569389_1 WHERE production_code = "2T6908"
### Context: CREATE TABLE table_12261926_2 ( intergiro_classification VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the intergiro classification of stage 21? ### Query: SELECT intergiro_classification FROM table_12261926_2 WHERE stag...
### 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 airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, t...
### Context: CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int ) CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops rea...