text
stringlengths
197
8.39k
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE student_record ( student_id int, course_id int, ...
### Context: CREATE TABLE table_name_99 ( driver VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is driver of the d6 chassis? ### Query: SELECT driver FROM table_name_99 WHERE chassis = "d6"
### Context: CREATE TABLE table_204_117 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year is at least on the list ? ### Query: ...
### Context: CREATE TABLE table_46942 ( "Year" real, "Men's Open" text, "Women's Open" text, "Mixed Open" text, "Men's u20" text, "Women's u20" text, "Senior Mixed" text, "Men's 30" text, "Women's 30" text, "Men's 35" text, "Women's 35" text, "Men's 40" text, "Women's...
### Context: CREATE TABLE Services ( Service_Type_Code VARCHAR ) CREATE TABLE Ref_Service_Types ( Service_Type_Description VARCHAR, Service_Type_Code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the description, code and the corresponding coun...
### Context: CREATE TABLE table_72811 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At a longitude of 321.9e, what is the latitude of the f...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, ...
### Context: CREATE TABLE table_13564637_5 ( points_for VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the points for when there were 30 tries against? ### Query: SELECT points_for FROM table_13564637_5 WHERE tries_against =...
### Context: CREATE TABLE table_48002 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Place, when Score is '71-71-69-71=282'? ### Query: SELECT "Pl...
### Context: CREATE TABLE table_69414 ( "Format" text, "Filename extension" text, "Image support" text, "Interactivity support" text, "Word wrap support" text, "Open standard" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Interactivity su...
### Context: CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_De...
### Context: CREATE TABLE table_6527 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of weeks where games were on November 5, 1973 and the attendance wa...
### Context: CREATE TABLE Affiliated_With ( Physician INTEGER, Department INTEGER, PrimaryAffiliation BOOLEAN ) CREATE TABLE Stay ( StayID INTEGER, Patient INTEGER, Room INTEGER, StayStart DATETIME, StayEnd DATETIME ) CREATE TABLE Block ( BlockFloor INTEGER, BlockCode INTEGER )...
### Context: CREATE TABLE table_17861 ( "Constituency" text, "Electorate" real, "s Spoilt vote" real, "Total poll (%)" text, "For (%)" text, "Against (%)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the against percentage in the Vest-...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### 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 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_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### Context: CREATE TABLE table_27716091_1 ( directed_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who put on the show where the numbers were 227424 ### Query: SELECT directed_by FROM table_27716091_1 WHERE production_code = 22...
### Context: CREATE TABLE table_25849 ( "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_13901 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has less than 3 lanes for France? ### Query: SELECT "Name" FROM table_13901 WHERE "National...
### Context: CREATE TABLE Order_Items ( order_item_id INTEGER, product_id INTEGER, order_id INTEGER, order_item_status VARCHAR(10), order_item_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, customer_name VARCHAR(80), customer_details VARCHAR(255) ) CREATE TABLE Sh...
### 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 table_name_64 ( home_team VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team has 27 as the tie no.? ### Query: SELECT home_team FROM table_name_64 WHERE tie_no = "27"
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE table_name_8 ( party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From which party is the incumbent who was first elected to office in 1990? ### Query: SELECT party FROM table_name_8 WHERE first_elected = 1...
### Context: CREATE TABLE table_16979 ( "Total No." real, "Celebrity" text, "Director" text, "Original air date" text, "Viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many celebrities had an 18October2007 Original air Date? ### Query: ...
### 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 food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE city ( city_co...
### Context: CREATE TABLE table_26961951_6 ( original_air_date VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the episode written by Abe Sylvia originally air? ### Query: SELECT original_air_date FROM table_26961951_6 WHERE writ...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, ch...
### Context: CREATE TABLE table_dev_19 ( "id" int, "glucagon_stimulated_c_peptide" float, "c_peptide_level" float, "hemoglobin_a1c_hba1c" float, "diabetic" string, "hyperlipidemia" bool, "creatinine_clearance_cl" float, "total_cholesterol" int, "stimulated_c_peptide" float, "smok...
### Context: CREATE TABLE table_203_829 ( id number, "event" text, "record" text, "athlete(s)" text, "date" text, "time (s)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total athletes have track records ? ### Query: SELECT COUNT("...
### 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 table_57389 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which state is the city of knoxville? ### Query: SELECT "State" FROM table_57389 WHERE "City" =...
### 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 ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE FlagTypes ( Id number, Name text, Description tex...
### Context: CREATE TABLE table_13657 ( "Year" real, "Champion" text, "Score" text, "Runner-up" text, "Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest Year with a Score of 4 1? ### Query: SELECT MAX("Year") FROM table_13657 W...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 ...
### 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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_c...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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 ...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE Transactions ( transaction_id INTEGER, investor_id INTEGER, transaction_type_code VARCHAR(10), date_of_transaction DATETIME, amount_of_transaction DECIMAL(19,4), share_count VARCHAR(40), other_details VARCHAR(255) ) CREATE TABLE Lots ( lot_id INTEGER, inves...
### Context: CREATE TABLE table_23076 ( "Rank" text, "Name" text, "Lifespan" text, "Country" text, "Wins" real, "Majors" real, "Winning span" text, "Span (years)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning span of...
### Context: CREATE TABLE Order_items ( order_id VARCHAR, product_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show order ids and the number of products in each order. ### Query: SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY ord...
### Context: CREATE TABLE table_name_99 ( average VARCHAR, wickets VARCHAR, matches VARCHAR, runs VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52 ...
### Context: CREATE TABLE table_78097 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most gold medals a team with less than 2 silvers, more than 7 total...
### Context: CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Tick...
### Context: CREATE TABLE table_52656 ( "State" text, "Interview" real, "Swimsuit" real, "Evening gown" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest evening gown score a contestant with an average less than 8.23,...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE output...
### Context: CREATE TABLE table_54596 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown for the player that is defensive back and went to alabama? ### Que...
### Context: CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term...
### Context: CREATE TABLE table_name_40 ( result VARCHAR, first_elected VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for james o'h. patterson when first elected in 1904? ### Query: SELECT result FROM table_name_4...
### Context: CREATE TABLE table_name_39 ( bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Bronze with a Silver greater than 0 and a Gold of 7 and a total less than 29 ### Query: ...
### Context: CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price real ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, ...
### 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 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_44 ( built INTEGER, entered_service VARCHAR, knots VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less t...
### Context: CREATE TABLE table_name_13 ( outcome VARCHAR, date__final_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the match on February 17, 2003? ### Query: SELECT outcome FROM table_name_13 WHERE date__final_ = "february 17, 20...
### Context: CREATE TABLE TRANSACTIONS ( investor_id VARCHAR, share_count INTEGER ) CREATE TABLE INVESTORS ( Investor_details VARCHAR, investor_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show details of all investors if they make any transact...
### Context: CREATE TABLE table_36302 ( "Distribution" text, "x86-64" text, "ia64" text, "ppc64" text, "sparc32" text, "hppa" text, "mips" text, "s390" text, "s390x" text, "alpha" text, "m68k" text ) -- Using valid SQLite, answer the following questions for the tables provi...
### Context: CREATE TABLE table_46968 ( "Municipality" text, "Population" real, "Inhabitants per km\u00b2" real, "Area (in km\u00b2)" real, "Markatal" real, "Island" text, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the a...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 (...
### Context: CREATE TABLE table_22815568_7 ( unemployment_rate VARCHAR, market_income_per_capita VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the unemployment rate in those places where the market income per capita is $16,981? ### Query: SELECT CO...
### 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_6843 ( "Position" text, "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "1997\u20131998 Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Weight ...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) 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, h...
### Context: CREATE TABLE table_16730 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE table_name_5 ( vol__number INTEGER, publication_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Lowest Volume Number that was published November 2004? ### Query: SELECT MIN(vol__number) FROM table_name_5 WHERE public...
### Context: CREATE TABLE table_68433 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the winner of the prize of 200,000 as listed? ### Query: SELECT "Winner" FROM table_68433 W...
### Context: CREATE TABLE table_name_20 ( wins VARCHAR, f_laps VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the wins when the f/laps is test driver and team is lotus racing? ### Query: SELECT wins FROM table_name_20 WHERE f_laps ...
### Context: CREATE TABLE table_202_285 ( id number, "city" text, "country (noc)" text, "round 1" number, "run-off" number, "round 3" number, "round 4" number, "round 5" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many more vote...
### Context: CREATE TABLE table_61607 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Australia's score where they were in place t1? ### Query: SELECT "Score" FROM table_6...
### Context: CREATE TABLE field ( fieldid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE journal ( journalid int, journal...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, ...
### Context: CREATE TABLE table_name_86 ( year_made INTEGER, wheel_arrangement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the lowest years had a Wheel arrangement that was 0-4-2t? ### Query: SELECT MIN(year_made) FROM table_name_86 WHERE wheel_...
### Context: CREATE TABLE table_11318462_5 ( open_1st_viii VARCHAR, u15_4th_iv VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are all the open 1st viii with u15 4th iv being gt ### Query: SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "G...
### Context: CREATE TABLE table_name_37 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which score happened on 11 february 1996? ### Query: SELECT score FROM table_name_37 WHERE date = "11 february 1996"
### Context: CREATE TABLE table_name_23 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent team on September 30, 1990? ### Query: SELECT opponent FROM table_name_23 WHERE date = "september 30, 1990"
### Context: CREATE TABLE table_27157 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played Mixed Doubles in 1991? ### Qu...
### Context: CREATE TABLE table_27046 ( "Episode" real, "First Air Date" text, "Rating (18\u201349)" text, "Share (18\u201349)" real, "Viewers (millions)" text, "Rank (timeslot)" text, "Rank (night)" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tes...
### Context: CREATE TABLE table_name_14 ( events INTEGER, cuts_made VARCHAR, top_25 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest events that have 17 as the cuts made, with a top-25 less than 8? ### Query: SELECT MIN(events) FROM tab...
### Context: CREATE TABLE table_15875 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During which years was Marcus Banks in Toronto? #...
### Context: CREATE TABLE table_name_85 ( t_papadopoulos VARCHAR, i_kasoulidis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%? ### Query: SELECT t_papadopoulos FROM table_name_85 WHERE...
### Context: CREATE TABLE table_2114238_1 ( archive VARCHAR, run_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which archive has a run time of 23:48? ### Query: SELECT archive FROM table_2114238_1 WHERE run_time = "23:48"
### Context: CREATE TABLE table_name_20 ( year_made VARCHAR, manufacturer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year made when the manufacturer is 2-6-2 oooo mogul? ### Query: SELECT year_made FROM table_name_20 WHERE manufacturer = "2-...
### 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 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_16076 ( "Round" real, "Choice" real, "Overall" real, "Player name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where does the defensive back position appear first? ### Query: S...
### Context: CREATE TABLE zyjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE T...
### Context: CREATE TABLE table_name_74 ( points VARCHAR, year VARCHAR, entrant VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960? ...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto 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, route text ) CRE...
### Context: CREATE TABLE table_24334163_1 ( Winners INTEGER, total_money_won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest amount of group legs won when the prize money was 21,850? ### Query: SELECT MAX(Winners) AS group_legs_won FROM ...
### 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 table_16506 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which...
### Context: CREATE TABLE table_name_13 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Visitor, when Date is 'May 9'? ### Query: SELECT visitor FROM table_name_13 WHERE date = "may 9"
### Context: CREATE TABLE table_name_67 ( team__number2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the 2nd leg when team #2 is algiris kaunas? ### Query: SELECT 2 AS nd_leg FROM table_name_67 WHERE team__number2 = "žalgiris kaunas"
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_name_42 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record at the game with a score of 7 5? ### Query: SELECT record FROM table_name_42 WHERE score = "7–5"