text
stringlengths
197
8.39k
### Context: CREATE TABLE table_2508175_1 ( annual_co2_emissions__in_thousands_of_metric_tons_ INTEGER, gdp_per_emissions__in_us_dollars_per_ton_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when the gdp per emissions (in us dollars per ton) is 3903, what ...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE addresses ( address_id text, line_1 text, line_2 text, city_town text, state_county text, other_details text ) CREATE TABLE services ( service_id number, service_type_code text, workshop_group_id number, product_description text, product_name text, ...
### Context: CREATE TABLE table_203_416 ( id number, "school name" text, "city" text, "grades" text, "establishment" number, "charter" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the last school established ? ### Query: SELECT ...
### Context: CREATE TABLE table_name_67 ( college VARCHAR, round VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Round smaller than 7, and an Overall of 129 is what college? ### Query: SELECT college FROM table_name_67 WHERE round < 7 AN...
### Context: CREATE TABLE table_32697 ( "Year" text, "Date" text, "Stages" text, "Distance" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was stage 8 reached? ### Query: SELECT "Year" FROM table_32697 WHERE "Stages" = '8'
### Context: CREATE TABLE table_80149 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Language(s)" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the language of the film Rosie? ### Que...
### Context: CREATE TABLE table_26126 ( "Seed" real, "Rank" real, "Player" text, "Points" real, "Points defending" text, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If seed number is 2, w...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid n...
### Context: CREATE TABLE table_name_51 ( sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie? ###...
### Context: CREATE TABLE table_16372 ( "No. in series" real, "No. in season" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the ...
### Context: CREATE TABLE table_name_98 ( hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional ...
### Context: CREATE TABLE table_204_704 ( id number, "province" text, "map #" number, "iso 3166-2:af" text, "centers" text, "population" number, "area (km2)" number, "language" text, "notes" text, "u.n. region" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Tags ( Id number, TagNam...
### Context: CREATE TABLE table_6043 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position is the MLS team, Los Angeles Galaxy in? ### Query: SELECT "Position" ...
### Context: CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) -- Using valid SQLite, answer the following quest...
### Context: CREATE TABLE table_33020 ( "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. -- When the Away team had a score of 1...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Tags ( Id number, TagName tex...
### Context: CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) -- Using valid SQLite, answer the following questions...
### Context: CREATE TABLE city ( city_id number, official_name text, status text, area_km_2 number, population number, census_ranking text ) CREATE TABLE competition_record ( competition_id number, farm_id number, rank number ) CREATE TABLE farm_competition ( competition_id num...
### Context: CREATE TABLE table_name_25 ( goals VARCHAR, gp_gs VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals were scored in 2004 when the gp/gs was 'did not play'? ### Query: SELECT goals FROM table_name_25 WHERE gp_gs = "d...
### Context: CREATE TABLE table_10416547_1 ( track VARCHAR, duration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the track that lasts 5:30? ### Query: SELECT track AS title FROM table_10416547_1 WHERE duration = "5:30"
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_66414 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for the first day in a year prior to 2011 wh...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) ...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### 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 zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_name_75 ( loses INTEGER, wins VARCHAR, pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wins of 3, and a Pos. larger than 3 is what average loses? ### Query: SELECT AVG(loses) FROM table_name_75 WHERE wins = 3 AND pos >...
### Context: CREATE TABLE table_13779 ( "Japanese Title" text, "Romaji Title" text, "TV Station" text, "Episodes" text, "Average Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Japanese show on NHK had average ratings of 9.2%? ### Quer...
### Context: CREATE TABLE table_64204 ( "Years covered" text, "All bills sponsored" real, "All amendments sponsored" real, "All bills cosponsored" real, "All amendments cosponsored" real, "Bills originally cosponsored" real, "Amendments originally cosponsored" real ) -- Using valid SQLite,...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int ) -- Using valid SQLit...
### Context: CREATE TABLE table_51403 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year were there more laps than 200 in a race? ### Query: SELECT "Year" FRO...
### Context: CREATE TABLE orders ( order_id VARCHAR, date_order_placed VARCHAR ) CREATE TABLE order_items ( product_id VARCHAR, order_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me a list of distinct product ids from orders placed between...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### 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_name_36 ( round VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Round is the Event cage rage 17? ### Query: SELECT round FROM table_name_36 WHERE event = "cage rage 17"
### 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab...
### 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 Agreements ( Document_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Products_in_Events ( Product_in_Event_ID INTEGER, Event_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Addresses ( Address_ID INTEGER, address_details VARCHAR(255) ) CREATE TABLE Assets_in_Events ( ...
### Context: CREATE TABLE table_204_188 ( id number, "rank" number, "player" text, "points" number, "points defending" number, "points won" number, "new points" number, "withdrew due to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- whi...
### Context: CREATE TABLE table_name_46 ( country VARCHAR, population_density__per_km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has a population density of 50.3? ### Query: SELECT country FROM table_name_46 WHERE population_density__per...
### Context: CREATE TABLE table_31913 ( "Name" text, "Investigation" text, "Route of administration" text, "In-vitro / in-vivo" text, "Imaging / non-imaging" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the in-vitro for Route of administra...
### Context: CREATE TABLE table_26842217_8 ( result VARCHAR, site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the site was wallace wade stadium durham, nc, what was the result? ### Query: SELECT result FROM table_26842217_8 WHERE site = "Wallace Wade ...
### Context: CREATE TABLE table_15873 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what nationality is the player who played from 199...
### Context: CREATE TABLE table_5648 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the partner of the tournament on 6 July 19...
### Context: CREATE TABLE table_34819 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par that has ernie els as the player? ### Query: ...
### Context: CREATE TABLE table_63061 ( "Lane" real, "Name" text, "Nationality" text, "Reaction Time" real, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest result for Christian Malcolm with a reaction time greater than 0.1...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_name_79 ( santo_domingo_ VARCHAR, _dominican VARCHAR, world_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk? ### Query: SELECT...
### Context: CREATE TABLE table_19995378_1 ( no_in_season VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the season number of the episode seen by 10.11 million people in the US? ### Query: SELECT no_in_season FROM tabl...
### 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_71778 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game with the Kansas City Royals when the Blue J...
### Context: CREATE TABLE table_55222 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest NGC number for right as...
### Context: CREATE TABLE table_name_12 ( driver VARCHAR, race_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Driver, when Race 2 is '10'? ### Query: SELECT driver FROM table_name_12 WHERE race_3 = "10"
### Context: CREATE TABLE table_name_98 ( latitude INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latitude with a GEO ID larger than 3806352640, and a Land(sqmi) of 34.345? ### Query: SELECT AVG(latitud...
### Context: CREATE TABLE table_46358 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick of Charley Taylor, who has an overall greater than 3? ###...
### Context: CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float(8) ) CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(1), EMP_JOBCODE varchar(5), EMP_HIREDATE date...
### Context: CREATE TABLE table_name_87 ( language VARCHAR, translator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the language for translators ritah meltser and amatsyah porat? ### Query: SELECT language FROM table_name_87 WHERE translator = "ri...
### Context: CREATE TABLE table_2326823_2 ( model VARCHAR, max_power_output VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many models have maximum power output is 162kw (220 ps) at 6,300 rpm? ### Query: SELECT COUNT(model) FROM table_2326823_2 WHERE ma...
### Context: CREATE TABLE table_name_60 ( fleet_series__quantity_ VARCHAR, order_year VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Fleet Series (Quantity) has an Order Year of 2010, and a Model of de40lfr? ### Query: SELECT fleet_...
### Context: CREATE TABLE table_15123 ( "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 Home Captain which has Waca Ground as a Venue ### Query: SELECT "Home c...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime ...
### Context: CREATE TABLE table_923 ( "Num" real, "Team" text, "W" real, "L" real, "PCT" text, "PF" real, "PA" real, "Last appearance" real, "Last championship" text, "HOME games" real, "Home wins" real, "Home losses" real, "Home Win Pct." text, "ROAD games" real,...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_52421 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the event for method of points with notes of opening round ### Query...
### Context: CREATE TABLE table_6826 ( "Name" text, "Profession" text, "City" text, "Entered the house" text, "Evicted" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did sla ana peji , who was evicted on day 29, enter the house? ### Query: SE...
### Context: CREATE TABLE table_51303 ( "Outcome" text, "Year" real, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the outcome for the 1887? ### Query: SELECT "Ou...
### Context: CREATE TABLE table_211615_2 ( details VARCHAR, station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of details for emlyn road ### Query: SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road"
### Context: CREATE TABLE table_1341586_14 ( result VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What happened to the incombent who was elected in 1980? ### Query: SELECT result FROM table_1341586_14 WHERE first_elected = 1980
### Context: CREATE TABLE region ( region_id number, region_code text, region_name text ) CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number ) CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, da...
### 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 SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostFeedback ( Id number, PostId numbe...
### Context: CREATE TABLE table_40470 ( "Pos." text, "Player" text, "Team" text, "Height" text, "Weight" real, "First round" text, "Final round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player weighs 187 pounds? ### Query: SELEC...
### Context: CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE station ( id int, network_name text, services te...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE table_50707 ( "Appearances" real, "School" text, "Wins" real, "Losses" real, "Percent" text, "Last Appearance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Losses, when Wins is greater than 1, and ...
### Context: CREATE TABLE table_name_15 ( captain VARCHAR, guns VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the captain for guns of 28 ### Query: SELECT captain FROM table_name_15 WHERE guns = "28"
### Context: CREATE TABLE table_33826 ( "Series Ep." text, "Episode" real, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which segment A also has a segment D of kitchen shears? ...
### Context: CREATE TABLE table_name_73 ( incorporated_in VARCHAR, principal_activities VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the incorporated for principal activites of travel agency ### Query: SELECT incorporated_in FROM table_name_73 WHERE ...
### Context: CREATE TABLE table_28457809_3 ( runner_up INTEGER, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value of the runner up column for the Alberta province? ### Query: SELECT MAX(runner_up) FROM table_28457809_3 WHERE province...
### Context: CREATE TABLE lapTimes ( raceId INTEGER, driverId INTEGER, lap INTEGER, position INTEGER, time TEXT, milliseconds INTEGER ) CREATE TABLE status ( statusId INTEGER, status TEXT ) CREATE TABLE circuits ( circuitId INTEGER, circuitRef TEXT, name TEXT, location ...
### Context: CREATE TABLE table_name_79 ( school_club_team VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is School/Club Team, when Season is 2006-2012? ### Query: SELECT school_club_team FROM table_name_79 WHERE season = "2006-2012"
### Context: CREATE TABLE zyb ( 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 table_20544 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written By" text, "Originalairdate" text, "TV Broadcast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the show ...
### Context: CREATE TABLE table_name_36 ( tongyong VARCHAR, hanyu VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where in Tongyong is Hanyu Sanmin? ### Query: SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin"
### Context: CREATE TABLE files ( f_id number(10), artist_name varchar2(50), file_size varchar2(20), duration varchar2(20), formats varchar2(20) ) CREATE TABLE artist ( artist_name varchar2(50), country varchar2(20), gender varchar2(20), preferred_genre varchar2(50) ) CREATE TABLE ...
### Context: CREATE TABLE table_25717 ( "#" real, "Importing Nation" text, "10 3 bbl/day (2011)" real, "10 3 m 3 /day (2011)" real, "10 3 bbl/day (2009)" real, "10 3 m 3 /day (2009)" real, "10 3 bbl/day (2006)" real, "10 3 m 3 /day (2006)" real ) -- Using valid SQLite, answer the follo...
### Context: CREATE TABLE qtb ( 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 table_28862 ( "Year" real, "Competition" text, "Location" text, "Apparatus" text, "Rank-Final" real, "Score-Final" text, "Rank-Qualifying" real, "Score-Qualifying" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### 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 table_12949 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was varvara lepchenko the opponent? ### Query: SELECT "Date" FROM table_12949 WHERE...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_...
### Context: CREATE TABLE table_name_60 ( gold INTEGER, nation VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gold has a Nation of united states, and a Total larger than 5? ### Query: SELECT MIN(gold) FROM table_name_60 WHERE nation...
### Context: CREATE TABLE table_11830 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the driver that has laps more than 35 and the constructor is ferrari? ### Quer...
### Context: CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) -- Using valid SQLite, answer the following questions for the tables provided abo...