text
stringlengths
197
8.39k
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE 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 club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Country text ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps r...
### Context: CREATE TABLE table_name_43 ( number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number was manufactured 1 in 1841? ### Query: SELECT number_s_ FROM table_name_43 WHERE quantity = ...
### Context: CREATE TABLE table_67526 ( "Name" text, "Street address" text, "Years as tallest" text, "Height feet / m" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listsed as the Height feet/m and has a Street address of 234...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE program ( program_id int, name varchar, ...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE member_of_club ( stuid number, clubid number, position text ) CREATE TABLE club ( clubid number, clubname text...
### Context: CREATE TABLE table_name_93 ( opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994? ### Query: SELECT oppon...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE diagnos...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ...
### 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 artist ( artist_name varchar2(50), country varchar2(20), gender varchar2(20), preferred_genre varchar2(50) ) CREATE TABLE genre ( g_name varchar2(20), rating varchar2(10), most_popular_in varchar2(50) ) CREATE TABLE song ( song_name varchar2(50), artist_na...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE 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 documents ( document_name VARCHAR, document_code VARCHAR ) CREATE TABLE document_sections ( document_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the document with the most number of sections? ### Qu...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE shops ( shop_id number, shop_details text ) CREATE TABLE ref_attraction_types ( attraction_type_code text, attraction_type_description text ) CREATE TABLE features ( feature_id number, feature_details text ) CREATE TABLE staff ( staff_id number, tourist_attra...
### Context: CREATE TABLE table_24099628_1 ( brand_name VARCHAR, model__list_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the brand name associated with a model name e4xxx? ### Query: SELECT brand_name FROM table_24099628_1 WHERE model__list_ = "...
### Context: CREATE TABLE table_28298471_14 ( stage INTEGER, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When svein tuft is the winner what is the highest stage? ### Query: SELECT MAX(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft"
### Context: CREATE TABLE transactions_lots ( transaction_id number, lot_id number ) CREATE TABLE investors ( investor_id number, investor_details text ) CREATE TABLE lots ( lot_id number, investor_id number, lot_details text ) CREATE TABLE purchases ( purchase_transaction_id number, ...
### Context: CREATE TABLE table_5548 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest grid number that had a rider with KTM as the manufacturer who did mo...
### Context: CREATE TABLE table_51061 ( "Model number" text, "sSpec number" text, "Frequency" text, "GPU frequency" text, "L2 cache" text, "I/O bus" text, "Memory" text, "Socket" text, "Release date" text, "Part number(s)" text ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_30788 ( "Player" text, "Matches" real, "Innings" real, "Runs" real, "Average" text, "Highest Score" text, "100s" real, "50s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries is under 50s col...
### Context: CREATE TABLE products ( code number, name text, price number, manufacturer number ) CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_986 ( "Name Of Place" text, "Height from Sea Level In Meters" text, "Nearby Town" text, "Trekking Route" text, "Category" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- picturesque and trekking route is the category w...
### Context: CREATE TABLE table_66863 ( "Player" text, "Years" text, "Goals" real, "Assists" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many assists does David Tomlinson have? ### Query: SELECT SUM("Assists") FROM table_66863...
### Context: 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 ground_service ( city_code text, airport_code text, transport_type text, ...
### Context: CREATE TABLE table_25455 ( "Date" text, "Location" text, "Opponent" text, "Terps Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game on jan. 16/06 played? ### Query: SELECT "...
### Context: CREATE TABLE table_11988 ( "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 highest rank when the metal total is 1 and the nation is the United...
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_15269 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has an Attendance larger than 20,066 in tampa ba...
### Context: CREATE TABLE table_1449176_1 ( altitude__mslm_ VARCHAR, area__km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many altitudes does the common with an area of 130.7 km^2 have? ### Query: SELECT COUNT(altitude__mslm_) FROM table_1449176_...
### Context: CREATE TABLE table_name_61 ( object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE customers ( payment_method VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the payment methods? ### Query: SELECT DISTINCT payment_method FROM customers
### Context: CREATE TABLE table_71183 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the match on January 26, 2006? ### Query: SELECT "Re...
### Context: CREATE TABLE table_50164 ( "Team #1" text, "Points" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1st Leg, when Team #2 is 'Emelec'? ### Query: SELECT "1st leg" FROM table_50164 ...
### 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 aircraft ( aircraft_code varchar, aircraft_description varchar...
### Context: CREATE TABLE table_37467 ( "Team" text, "Location" text, "Venue" text, "Capacity" real, "Position in 2003" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location for Belshina? ### Query: SELECT "Location" FROM table_37467 ...
### Context: CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, name text, year number, price number, score number, cases number, drink text ) CREATE TABLE grapes ( id number, grape text, color text ) CREATE TABLE appellations (...
### 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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TAB...
### 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 Documents_Mailed ( mailing_date VARCHAR, document_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mail date of the document with id 7? ### Query: SELECT mailing_date FROM Documents_Mailed WHERE document_id = 7
### Context: CREATE TABLE table_59660 ( "Name" text, "Residence" text, "Party" text, "Years in Assembly" text, "Years in Senate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Years in Senate has a Years in Assembly of 2010 present, and toni a...
### Context: CREATE TABLE table_40181 ( "Name" text, "Pos." text, "Height" text, "Weight" real, "Year" text, "Hometown (Previous school)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Year of the person who is 6'1', and weighs more ...
### Context: CREATE TABLE table_14544 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many sets were played in the 2011 tournament, in which 2R w...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateO...
### Context: CREATE TABLE table_17429 ( "Model/Engine" text, "Capacity" text, "Cylinders/Valves" text, "Power/rpm" text, "Torque (Nm)/rpm" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the model with torque of n m (lb ft)/*n m (lb ft) @1750, wh...
### 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_64685 ( "Time" text, "Home team" text, "Score" text, "Away team" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time did the match with an away team of Happy Valley Team B start? ### Query: SELECT ...
### Context: CREATE TABLE table_204_556 ( id number, "rank" number, "athlete" text, "country" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many athletes are from east germany ? ### Query: SELECT COUNT("athlete")...
### 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 table_name_34 ( segment_a VARCHAR, segment_d VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which items in segment A have a segment D of marble sculptures? ### Query: SELECT segment_a FROM table_name_34 WHERE segment_d = "marble sc...
### Context: CREATE TABLE table_name_46 ( korean VARCHAR, hanja VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Korean for Hanja? ### Query: SELECT korean FROM table_name_46 WHERE hanja = "南楊州"
### Context: CREATE TABLE table_204_799 ( id number, "name" text, "built" text, "listed" text, "location" text, "county" text, "type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the next name after bayou pierre bridge ? ### Query...
### Context: CREATE TABLE table_40560 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Events when the top-25 is 12 an...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time...
### 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 hz_info_mzjzjlb ( JZ...
### Context: CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time t...
### Context: CREATE TABLE table_204_35 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times did sd ponferradina b come in better than 5th place ? ### Query: SELECT COUNT(*...
### Context: CREATE TABLE table_27337 ( "2013/14" real, "2012/13" real, "2011/12" real, "2010/11" real, "Institute" text, "Region" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of regions for 2013/14 being 27 ### Query: SELECT ...
### Context: CREATE TABLE table_51021 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the team is @ Milwaukee, what is the name of the location where...
### Context: CREATE TABLE section ( course_id text, sec_id text, semester text, year number, building text, room_number text, time_slot_id text ) CREATE TABLE time_slot ( time_slot_id text, day text, start_hr number, start_min number, end_hr number, end_min number ) ...
### Context: CREATE TABLE table_name_19 ( opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent is on april 28? ### Query: SELECT opponent FROM table_name_19 WHERE date = "april 28"
### Context: CREATE TABLE table_name_96 ( area__km_2__ VARCHAR, population VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of area listed for cannonvale with a population less than 409? ### Query: SELECT COUNT(area...
### Context: CREATE TABLE table_name_27 ( total_votes VARCHAR, members VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were Holly Scouler's total votes? ### Query: SELECT total_votes FROM table_name_27 WHERE members = "holly scouler"
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE table_20079931_4 ( round VARCHAR, circuit_location VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position? ### Query: ...
### Context: CREATE TABLE table_1112176_1 ( league_apps__sub_ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- League apps (sub) maximum? ### Query: SELECT MAX(league_apps__sub_) FROM table_1112176_1
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ...
### Context: CREATE TABLE table_name_79 ( nationality VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the C? ### Query: SELECT nationality FROM table_name_79 WHERE position = "c"
### Context: CREATE TABLE table_36986 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins for team mv agusta, over 10 points, and after 1957? ### Query: SELECT SUM("Wins") FRO...
### Context: CREATE TABLE table_76653 ( "Rider" text, "Manufacturer" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When rider John Hopkins had 21 laps, what was the grid? ### Query: SELECT "Grid" FROM...
### Context: CREATE TABLE table_name_65 ( director VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director is from Poland? ### Query: SELECT director FROM table_name_65 WHERE country = "poland"
### Context: CREATE TABLE table_name_90 ( number INTEGER, hometown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of the player with a hometown of Bellwood, IL? ### Query: SELECT MIN(number) FROM table_name_90 WHERE hometown = "bel...
### Context: CREATE TABLE table_203_584 ( id number, "date" text, "race name" text, "d(f)" number, "course" text, "prize (\u00a3)" number, "odds" text, "runners" number, "place" number, "margin" number, "winner/runner-up" text, "time" text, "jockey" text ) -- Using ...
### Context: CREATE TABLE table_33699 ( "Episode Number" real, "Title" text, "Podcast Date" text, "Run time" text, "Historical References" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the episode that is before 307, run time eq...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE region ( region_id number, region_name text, date text, label text, format text, catalogue text ) CREATE TABLE member ( member_id number, member_name text, party_id text, in_office text ) CREATE TABLE party_events ( event_id number, event_name ...
### Context: CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number ) CREATE TABLE tracks ( id number, name text, album_id number,...
### Context: CREATE TABLE table_43554 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the callsign of Mom's Radio 101.9 Zamboanga? ### Query: SELECT "Callsign...
### Context: CREATE TABLE table_75799 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Novelty of the dinosaur that was named by the Author, Zhiming...
### Context: CREATE TABLE table_name_75 ( team VARCHAR, laps VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team had 159 laps and a Time/Retired of 6:30:02.3733? ### Query: SELECT team FROM table_name_75 WHERE laps = 159 AND t...
### Context: CREATE TABLE table_name_13 ( finish INTEGER, year VARCHAR, team VARCHAR, start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Lowest finish for ganassi at smaller than 19 start for smaller than 2004 year? ### Query: SELECT MIN(finish) F...
### Context: CREATE TABLE table_4569 ( "Higher harmonics" text, "Darwin" text, "Period" text, "Speed" text, "Doodson coefficients" text, "NOAA" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which higher harmonics have a speed of 0.0821373? ###...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_name_92 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1991 for 2R 1999? ### Query: SELECT 1991 FROM table_name_92 WHERE 1999 = "2r"
### 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_name_31 ( lane VARCHAR, time VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lane with a time of 1:56.64, and a tank smaller than 7? ### Query: SELECT COUNT(lane) FROM table_name_31 WHERE time = "...
### Context: CREATE TABLE table_name_11 ( title VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What title did Mentuhotep IV have? ### Query: SELECT title FROM table_name_11 WHERE name = "mentuhotep iv"
### Context: CREATE TABLE table_7191 ( "Outcome" text, "Date" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the Opponents ...
### Context: CREATE TABLE table_name_32 ( score VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game when Sheffield Wednesday was the home team? ### Query: SELECT score FROM table_name_32 WHERE home_team = "sheffi...
### Context: CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text ) CREATE TABLE undergoes ( patient number, procedures number, stay number, dateundergoes time, physician number, assistingnurse number ) ...
### Context: CREATE TABLE table_name_47 ( to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of player Tim Herron from the United States with a t3 place? ### Query: SELECT to_par ...
### Context: CREATE TABLE table_28934 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the incumbent first elected in the district where ...
### 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_50005 ( "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_name_52 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 1953 has 2 for 1947, and dne as 1938? ### Query: SELECT 1953 FROM table_name_52 WHERE 1947 = "2" AND 1938 = "dne"