text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_9 ( club VARCHAR, drawn VARCHAR, try_bonus VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Club, when Drawn is '0', and when Try Bonus is '5'? ### Query: SELECT club FROM table_name_9 WHERE drawn = "0" AND try...
### Context: CREATE TABLE table_name_52 ( champion VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the champion for christopher miles runner-up ### Query: SELECT champion FROM table_name_52 WHERE runner_up = "christopher miles"
### Context: CREATE TABLE table_22848 ( "Rank" real, "London Borough" text, "Indian Population" real, "Pakistani Population" real, "Bangladeshi Population" real, "Chinese Population" real, "Other Asian Population" real, "Total Asian Population" real ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE table_name_74 ( team_1 VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team one for preliminary final ### Query: SELECT team_1 FROM table_name_74 WHERE name = "preliminary final"
### Context: CREATE TABLE table_14990 ( "LT Nos" text, "Year" real, "Bldr" text, "Type" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type? ### Query: SE...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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), FIRST_NAME varchar(20), LAST_NA...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE Tags ( Id number, TagName text, Count number, ...
### Context: CREATE TABLE table_name_1 ( circuit VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the circuit when Phil Hill has the fastest lap? ### Query: SELECT circuit FROM table_name_1 WHERE fastest_lap = "phil hi...
### Context: CREATE TABLE table_name_35 ( high_rebounds VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the highest rebounds of the game with A. Johnson (6) as the highest assist? ### Query: SELECT high_rebounds FROM table_name_...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime...
### Context: CREATE TABLE table_train_129 ( "id" int, "cerebral_neoplasia" bool, "gender" string, "mini_mental_state_examination_mmse" int, "multiple_lacunar_infarcts" bool, "neurodegenerative_disease" bool, "mri_abnormality" bool, "nervous_system_functioning" bool, "head_injury" boo...
### Context: CREATE TABLE table_name_17 ( time_retired VARCHAR, laps VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the retired time on someone who had 43 laps on a grip of 18? ### Query: SELECT time_retired FROM table_name_17 WHE...
### Context: CREATE TABLE table_43600 ( "Name" text, "Hanzi" text, "Hanyu Pinyin" text, "Population (2004 est.)" text, "Area (km\u00b2)" text, "Density (/km\u00b2)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Hanyu Pinyin is labeled rur...
### 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_203_400 ( id number, "district" text, "vacator" text, "reason for change" text, "successor" text, "date successor\nseated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which district is listed last on this chart...
### Context: CREATE TABLE table_2114308_1 ( broadcast_date VARCHAR, viewers__in_millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the broadcast date of 6.9 million viewers ### Query: SELECT broadcast_date FROM table_2114308_1 WHERE viewers__in_m...
### Context: CREATE TABLE table_name_82 ( feminine_ōn_stems VARCHAR, feminine_ō_stems VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ending does siangu get for n? ### Query: SELECT feminine_ōn_stems FROM table_name_82 WHERE feminine_ō_stems = "siangu"
### Context: CREATE TABLE table_30672 ( "Couple" text, "Style" text, "Music" text, "Trine Dehli Cleve" real, "Tor Fl\u00f8ysvik" real, "Karianne Gulliksen" real, "Christer Tornell" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_204_463 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long after 2008 did it take for divis...
### Context: CREATE TABLE table_name_7 ( runners_up VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the runners-up for the FC Viktoria Plze club? ### Query: SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň"
### Context: CREATE TABLE table_64901 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" real, "FA Cup Goals" real, "League Cup Apps" text, "League Cup Goals" real, "Total Apps" text, "Total Goals" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE table_69431 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 9:30 feature with la porte des toiles at 8:30? ### Quer...
### 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_name_34 ( killed INTEGER, perpetrator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many kills did basobas, florentino have? ### Query: SELECT MAX(killed) FROM table_name_34 WHERE perpetrator = "basobas, florentino"
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE table_66780 ( "Outcome" text, "Date" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent for the winner outcome on a hard surface on August 27, 2011? ### Query:...
### Context: CREATE TABLE table_47932 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the surface clay and the score 6 1, 6 4? ### Query: SELECT "Da...
### Context: CREATE TABLE table_75486 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze is the highest one that has a Rank larger than 1, and a Nation of ...
### Context: CREATE TABLE table_76425 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record on July 12? ### Query: SELECT "Record" FROM table_76425 WHERE "Date" = 'ju...
### Context: CREATE TABLE table ( r VARCHAR, coppa_italia INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of r for coppa italia larger than 1.0 ### Query: SELECT COUNT(r) FROM table WHERE coppa_italia > 1.0
### Context: CREATE TABLE table_11970261_2 ( interview VARCHAR, swimsuit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the interview with swimsuit being 9.140 ### Query: SELECT interview FROM table_11970261_2 WHERE swimsuit = "9.140"
### 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 zyjzjlb ( YLJGDM tex...
### Context: CREATE TABLE table_24066 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is he archive for the episode with a run time of 24:05? ### ...
### Context: CREATE TABLE table_name_25 ( record VARCHAR, opponent VARCHAR, points VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the record for a game past 44 against the Dallas Stars with more than 54 points? ### Query: SELECT...
### Context: CREATE TABLE table_31458 ( "Station" text, "Metlink code" text, "Line(s)" text, "Service(s)" text, "Serves" text, "km from Wellington" text, "Fare zone(s)" text, "Opened" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what i...
### Context: CREATE TABLE table_18283 ( "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. -- To which party does Robert W. Edgar belong? ### Query: SEL...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, out...
### Context: CREATE TABLE table_20963 ( "Wicket" text, "Runs" real, "Batting partners" text, "Batting team" text, "Fielding team" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the batting partners for th...
### Context: 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, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_name_29 ( visitor VARCHAR, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visitor in the game that had Ottawa as the home team? ### Query: SELECT visitor FROM table_name_29 WHERE home = "ottawa"
### Context: CREATE TABLE table_5103 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Played have a Lost smaller...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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 te...
### Context: CREATE TABLE table_58748 ( "South West DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many byes did they have against smaller than 1544, 13 wins, and dr...
### Context: CREATE TABLE table_68896 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text, "Trofeo Fast Team" text ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_73902 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many categories fall under the category...
### 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_203_764 ( id number, "name" text, "date" number, "nation" text, "displacement" text, "speed" text, "number" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many tons of displacement does...
### Context: CREATE TABLE table_34980 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For an ICAO of VCCT, what is the IATA? ### Query: SELECT "IATA" FROM table_34980 WHERE "ICAO" = ...
### Context: CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) -- Using valid SQLite, answer the following...
### 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_85 ( writer VARCHAR, producer_executive_producer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which writer had a producer DKA, JL, AS? ### Query: SELECT writer FROM table_name_85 WHERE producer_executive_producer = "dk...
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME var...
### Context: CREATE TABLE table_name_37 ( score VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the tournament with younes el aynaoui as the opponent? ### Query: SELECT score FROM table_name_37 WHERE opponent = "younes ...
### Context: CREATE TABLE table_80148 ( "Designation" text, "Constellation" text, "Date sent" text, "Arrival date" text, "Message" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is Hip 4872? ### Query: SELECT "Constellation" FROM table_80148 ...
### Context: CREATE TABLE hall_of_fame ( player_id TEXT, yearid INTEGER, votedby TEXT, ballots NUMERIC, needed NUMERIC, votes NUMERIC, inducted TEXT, category TEXT, needed_note TEXT ) CREATE TABLE manager_award_vote ( award_id TEXT, year INTEGER, league_id TEXT, play...
### Context: CREATE TABLE item ( i_id number, title text ) CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE useracct ( u_id number, name text ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust numb...
### Context: CREATE TABLE table_name_16 ( result VARCHAR, week VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the result for the week higher than 7 on november 4, 1979? ### Query: SELECT result FROM table_name_16 WHERE week > 7 AND...
### Context: CREATE TABLE table_66061 ( "Chassis code" text, "Model Years" text, "Model" text, "Engine" text, "No. built" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the years that has a chassis code of W116.025 and number built was more t...
### Context: CREATE TABLE table_name_46 ( date_of_departure VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Brendan Rodgers depart his position? ### Query: SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers"
### Context: CREATE TABLE table_43816 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event had a win, record of 8-1 and n/a round? ### Query: SELECT "Event...
### 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_name_36 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for december 5 ### Query: SELECT score FROM table_name_36 WHERE date = "december 5"
### Context: CREATE TABLE table_5505 ( "Name" text, "Lifespan" text, "Country" text, "Wins" real, "Majors" real, "Winning span" text, "Span (years)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What lifespan has a majors greater than 1, an...
### Context: CREATE TABLE table_67614 ( "Year" real, "Series title" text, "Chinese title" text, "Role" text, "Channel" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The highest year for the series titled dragon laws ii: kidnapped is what? ### Quer...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRES...
### Context: CREATE TABLE table_name_97 ( competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition was held on the date 6/7/03 ### Query: SELECT competition FROM table_name_97 WHERE date = "6/7/03"
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC t...
### Context: CREATE TABLE medicine_enzyme_interaction ( enzyme_id number, medicine_id number, interaction_type text ) CREATE TABLE enzyme ( id number, name text, location text, product text, chromosome text, omim number, porphyria text ) CREATE TABLE medicine ( id number, ...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID d...
### Context: CREATE TABLE table_13907 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time has a Set 1 of 18 25? ### Query: S...
### Context: CREATE TABLE table_59983 ( "Tie no" real, "Home team" text, "Score" text, "Away team" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people on average attended when Eastwood Town was the away team, and the ti...
### Context: CREATE TABLE table_name_3 ( casualties VARCHAR, intensity VARCHAR, epicenter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many casualties were in the earthquake with an unknown intensity and an epicenter in the bou ra province? ### Qu...
### Context: CREATE TABLE table_name_26 ( mountains_classification VARCHAR, points_classification VARCHAR, general_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the mountains classification when the points classification is Alessan...
### 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_6 ( team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the team leading on August 17? ### Query: SELECT team FROM table_name_6 WHERE date = "august 17"
### Context: CREATE TABLE table_14559 ( "Opponent" text, "OVERALL" text, "HOME" text, "AWAY" text, "PLYFF" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Overall has a playoff record of (0-1) and an away record of (1-1)? ### Query: SELECT "OV...
### Context: CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE...
### 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 TRACK ( GenreId VARCHAR ) CREATE TABLE GENRE ( GenreId VARCHAR, Name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the duration of the longest and shortest pop tracks in milliseconds? ### Query: SELECT MAX(Millisecon...
### Context: CREATE TABLE table_name_27 ( time VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long was his fight against kim kyoung-suk? ### Query: SELECT time FROM table_name_27 WHERE opponent = "kim kyoung-suk"
### 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_2562572_56 ( settlement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the settlement destiny in Aleksandrovo? ### Query: SELECT settlement AS destiny FROM table_2562572_56 WHERE settlement = "Aleksandrovo"
### Context: 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, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_name_89 ( finish VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the finish for 1992? ### Query: SELECT finish FROM table_name_89 WHERE year = 1992
### 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 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 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_42571 ( "Match" real, "Date" text, "Home/Away" text, "Opponent team" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest match when the away opponent was Dalian Shide Siwu? ### Query: SE...
### Context: CREATE TABLE fgwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSUR...
### Context: CREATE TABLE table_17650725_1 ( internal_transfers INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least internal transfers ### Query: SELECT MIN(internal_transfers) FROM table_17650725_1
### Context: CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR...
### Context: CREATE TABLE table_13093 ( "Place" real, "Team" text, "Played" real, "Draw" real, "Lost" real, "Goals Scored" real, "Goals Conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whate place has 18 points wit...
### Context: CREATE TABLE Products ( product_id INTEGER, product_details VARCHAR(255) ) CREATE TABLE Customer_Addresses ( customer_id INTEGER, address_id INTEGER, date_address_from DATETIME, address_type VARCHAR(15), date_address_to DATETIME ) CREATE TABLE Customer_Contact_Channels ( c...
### Context: CREATE TABLE country ( country_id number, country_name text, capital text, official_native_language text ) CREATE TABLE player ( player_id number, player text, years_played text, total_wl text, singles_wl text, doubles_wl text, team number ) CREATE TABLE team (...
### 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 airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE fare_basis ( f...
### Context: CREATE TABLE table_29147 ( "No. in total" text, "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number in series of the episod...
### Context: CREATE TABLE medicine ( name VARCHAR, trade_name VARCHAR ) CREATE TABLE enzyme ( id VARCHAR, product VARCHAR ) CREATE TABLE medicine_enzyme_interaction ( medicine_id VARCHAR, enzyme_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_26202847_6 ( no VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On the date October 21, 2007, what is the No.? ### Query: SELECT no FROM table_26202847_6 WHERE date = "October 21, 2007"