text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_53 ( year VARCHAR, result VARCHAR, location VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years did the new york giants win with a result of 15-7 at lincoln financial field? ### 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 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 person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE zyjzjlb ( CYBQDM tex...
### 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_DIRE_CD text, MED_...
### Context: CREATE TABLE table_19141 ( "EDO Flight" real, "Shuttle" text, "Mission" text, "Launch Date" text, "Duration" text, "Primary Payload(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the mission with primary payload(s) being ...
### Context: CREATE TABLE table_57338 ( "Tallangatta DFL" 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 Tallangatta DFL losses greater than 2 and an against grea...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, ...
### Context: CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) C...
### Context: CREATE TABLE table_64532 ( "Rank" real, "Athletes" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for the contestants that were ranked #1? ### Query: SELECT "Notes" FROM tab...
### Context: CREATE TABLE table_train_38 ( "id" int, "left_ventricular_ejection_fraction_lvef" int, "child_pugh_class" string, "systolic_blood_pressure_sbp" int, "heart_disease" bool, "acute_hepatitis" bool, "liver_disease" bool, "heart_rate" int, "NOUSE" float ) -- Using valid SQL...
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_name_44 ( game INTEGER, opponent VARCHAR, november VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Game, when Opponent is 'Chicago Black Hawks', and when November is less than 16? ### Query: SELECT MAX(...
### Context: CREATE TABLE table_name_91 ( national_cup VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What national cup has fc barcelona? ### Query: SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona"
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_1342198_13 ( candidates VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many candidates ran against barratt o'hara? ### Query: SELECT COUNT(candidates) FROM table_1342198_13 WHERE incumbent = "Barratt O'...
### Context: CREATE TABLE table_name_29 ( nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the nominated work, nominated for the drama league award before 2007? ### Query: SELECT nom...
### Context: CREATE TABLE table_31685 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the result of july 16, 2000 ### Query: SELECT "Result" FROM table_31685 WHERE "Date...
### Context: CREATE TABLE table_name_39 ( runner_s__up VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner(s)-up for the Feb 18, 1996 tournament? ### Query: SELECT runner_s__up FROM table_name_39 WHERE date = "feb 18, 1996"
### Context: CREATE TABLE nuclear_power_plants ( id text, name text, latitude text, longitude text, country text, status text, reactortype text, reactormodel text, constructionstartat text, operationalfrom text, operationalto text, capacity text, lastupdatedat text, ...
### 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 CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE table_1206114_2 ( comments VARCHAR, vendor_and_type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the comments when vendor and type is enterasys switches? ### Query: SELECT comments FROM table_1206114_2 WHERE vendor_and_t...
### Context: CREATE TABLE table_6720 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of laps for Karl Muggeridge on a grid less than 16? ### Query: SELECT SUM("Laps") FROM...
### Context: CREATE TABLE table_name_51 ( package_option VARCHAR, language VARCHAR, television_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Package/Option, when Language is Italian, and when Television Service is Sky Radio? ### Query: ...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_29632 ( "#" real, "No." real, "Title" text, "Directed by" text, "Written by" text, "Viewers" real, "Original airdate" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number i...
### Context: CREATE TABLE table_64986 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" real, "FA Cup Goals" real, "League Cup Apps" real, "League Cup Goals" real, "Total Apps" text, "Total Goals" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, ...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE SuggestedEdi...
### Context: CREATE TABLE table_14192 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gold medals when the total is more than 1 and 18 silver? ### Query: S...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden...
### 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_1342292_45 ( result VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the election result for the candidate first elected in 1918? ### Query: SELECT result FROM table_1342292_45 WHERE first_electe...
### Context: CREATE TABLE store_district ( Store_ID int, District_ID int ) CREATE TABLE store ( Store_ID int, Store_Name text, Type text, Area_size real, Number_of_product_category real, Ranking int ) CREATE TABLE store_product ( Store_ID int, Product_ID int ) CREATE TABLE pro...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE food_servic...
### Context: CREATE TABLE table_34763 ( "Operation" text, "Binary" text, "Binomial" text, "Fibonacci" text, "Pairing" text, "Brodal ***" text, "Strict Fibonacci Heap" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Operation of find-min has w...
### Context: CREATE TABLE table_name_46 ( most_populous_city_town VARCHAR, irish_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Irish name of d n na ngall (contae dh n na ngall) has the most populous city/town? ### Query: SELECT most_populous_city_town...
### Context: CREATE TABLE table_63885 ( "Driver" text, "Navigator" text, "Vehicle" text, "Class" text, "Capacity" real, "Total Time" text, "Margin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much time did Coad make when the margin wa...
### Context: CREATE TABLE table_name_33 ( total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest total number of medals associated with 1 gold, more than 0 silver, and 2 bronze? ### Que...
### Context: CREATE TABLE Parts ( part_id INTEGER, part_name VARCHAR(255), chargeable_yn VARCHAR(1), chargeable_amount VARCHAR(20), other_part_details VARCHAR(255) ) CREATE TABLE Engineer_Skills ( engineer_id INTEGER, skill_id INTEGER ) CREATE TABLE Engineer_Visits ( engineer_visit_id ...
### Context: CREATE TABLE table_203_60 ( id number, "outcome" text, "no." number, "date" text, "championship" text, "surface" text, "opponent in the final" text, "score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how man...
### Context: CREATE TABLE table_name_26 ( record VARCHAR, visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record when the visiting team was the Quebec Nordiques on April 22? ### Query: SELECT record FROM table_name_26 WH...
### Context: CREATE TABLE table_10722506_6 ( _number_of_bids VARCHAR, elite_eight INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of bids with elite eight larger than 1.0 ### Query: SELECT COUNT(_number_of_bids) FROM table_10722506_6 WHERE...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, ...
### 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 Plays_Games ( StuID INTEGER, GameID INTEGER, Hours_Played INTEGER ) CREATE TABLE Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTE...
### Context: CREATE TABLE table_name_82 ( rank INTEGER, earnings__$__ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which average rank has an Earning amount that is less than $224,589? ### Query: SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 22...
### 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 table_name_56 ( average INTEGER, evening_gown VARCHAR, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest average for a contestant with an evening gown larger than 9.449 from Kansas? ### Query: SELECT MAX(...
### Context: CREATE TABLE table_65761 ( "Name" text, "Nationality" text, "4.30" text, "4.45" text, "4.55" text, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Anna Rogowska's average result? ### Query: SELECT AVG("Result") FROM...
### 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 airline ( airline_code varchar, airline_name text, note text ) 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, ...
### Context: CREATE TABLE table_name_96 ( leading_lady VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the leading lady in The Lonely Trail? ### Query: SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail"
### Context: CREATE TABLE table_40390 ( "School year" text, "95-96" text, "99-00" text, "00-01" text, "01-02" text, "02-03" text, "03-04" text, "04-05" text, "05-06" text, "06-07" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note te...
### Context: CREATE TABLE table_32951 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue did Essendon play as the...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, d...
### 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_30543 ( "#" text, "Player" text, "Country" text, "Score" text, "To par" text, "Winnings ($)" real, "After" real, "Before" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the after for the player kev...
### 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 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 table_55844 ( "ATHLETE" text, "FINAL" real, "LANE" real, "SEMI" real, "QUART" real, "HEAT" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which lane did the athlete swim in who had a semi-final time of 49.19? ### Query...
### Context: CREATE TABLE table_17114 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the numbers of the nba draft where the player went to kentucky ...
### 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_I...
### Context: CREATE TABLE table_name_80 ( usual_translation VARCHAR, date_³ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Usual translation is on sep 23? ### Query: SELECT usual_translation FROM table_name_80 WHERE date_³ = "sep 23"
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Scor...
### Context: CREATE TABLE table_203_252 ( id number, "draw" number, "country" text, "language" text, "artist" text, "song" text, "english translation" text, "place" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wh...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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,...
### Context: CREATE TABLE table_33019 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Venue when the Crowd wa...
### 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_46 ( total INTEGER, bronze INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Total with a Bronze that is larger than 1? ### Query: SELECT AVG(total) FROM table_name_46 WHERE bronze > 1
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admissi...
### Context: CREATE TABLE table_name_29 ( release_date VARCHAR, production_num VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was Production Number 9105 released? ### Query: SELECT release_date FROM table_name_29 WHERE production_num = "9105"
### Context: CREATE TABLE table_57292 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which year had a toleman tg183 chassis? ### Query: SELECT COUNT("Year") FROM table_57292 WHE...
### Context: CREATE TABLE table_56463 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the Jazz play the Bulls at home? ### Query: SELECT "Dat...
### Context: CREATE TABLE table_42552 ( "Time" text, "06:00 PM" text, "07:00 PM" text, "08:00 PM" text, "09:00 PM" text, "10:00 PM" text, "10:30 PM" text, "11:00 PM" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 10:30 PM whe...
### Context: CREATE TABLE table_39152 ( "Teams" text, "Name" text, "Trophy" text, "First met" real, "Games played" text, "Series record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the event where Cornell-Penn played? ###...
### Context: CREATE TABLE table_1348989_2 ( season VARCHAR, viewers__in_millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did the season finale have a total of 10.29 million viewers? ### Query: SELECT season AS Finale FROM table_1348989_2 W...
### Context: CREATE TABLE table_204_530 ( id number, "type" text, "stage" number, "cyclist" text, "team" text, "reason" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the first person to withdraw from the race ? ### Query: SELECT "type"...
### Context: CREATE TABLE table_70911 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Height that has a year born before 1977 ### Query: SELECT COUNT("Heig...
### Context: CREATE TABLE table_49474 ( "Tongan" text, "Niuean" text, "S\u0101moan" text, "Takuu" text, "Tahitian" text, "Rarotongan" text, "M\u0101ori" text, "North Marquesan" text, "South Marquesan" text, "Hawai'ian" text, "Mangarevan" text ) -- Using valid SQLite, answer...
### Context: CREATE TABLE table_name_44 ( attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game on May 10? ### Query: SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10"
### Context: CREATE TABLE table_name_21 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament has a 2010 of 2r, and a 2011 of 1r? ### Query: SELECT tournament FROM table_name_21 WHERE 2010 = "2r" AND 2011 = "1r"
### Context: CREATE TABLE table_19439864_2 ( stavanger INTEGER, oslo VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When oslo is 48, what is stavanger? ### Query: SELECT MIN(stavanger) FROM table_19439864_2 WHERE oslo = 48
### 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_26706 ( "Major version" text, "Minor version" text, "WebKit version" text, "Operating System" text, "Release date" text, "Features" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all webkit versions when the ...
### Context: CREATE TABLE table_21485 ( "Year" real, "West Manila" text, "East Manila" text, "Consumer Price Index (2005=100)" text, "West Manila as a share of 1996 real tariff" text, "East Manila as a share of 1996 real tariff" text ) -- Using valid SQLite, answer the following questions for ...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_53225 ( "Year" real, "Division" text, "League" text, "Reg. Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What divisions was in the year 1993? ### Query: SELECT "Division...
### Context: CREATE TABLE table_1061 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" text, "2nd (m)" text, "Points" text, "Overall NT points" text, "Overall WC points (Rank)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name ...
### Context: CREATE TABLE table_38423 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller th...
### Context: CREATE TABLE table_2679061_9 ( nationality VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the nationality of player Cliff Abrecht? ### Query: SELECT nationality FROM table_2679061_9 WHERE player = "Cliff Abrecht"
### Context: CREATE TABLE table_69546 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of years that Scuderia Guastalla was an entrant? ### Query: SELECT ...
### Context: CREATE TABLE table_name_26 ( location VARCHAR, method VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which location was the method decision (split)? ### Query: SELECT location FROM table_name_26 WHERE method = "decision (split)"
### Context: CREATE TABLE table_name_74 ( location VARCHAR, opponent_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Milan play against Napoli? ### Query: SELECT location FROM table_name_74 WHERE opponent_team = "napoli"
### 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_204_623 ( id number, "opponent" text, "goals" text, "wins" number, "draws" number, "losses" number, "+- goals" number, "matches" number, "qualified" number, "eliminated" number ) -- Using valid SQLite, answer the following questions for the table...