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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_name_62 ( population VARCHAR, code VARCHAR, county VARCHAR, municipality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population of Danderyd municipality in Stockholm County with a code lower than 162? #...
### Context: CREATE TABLE ftxmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM tex...
### Context: CREATE TABLE table_18626383_2 ( height__cm_ VARCHAR, contestant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When valora roucek is the contestant how many heights in centimeters are there? ### Query: SELECT COUNT(height__cm_) FROM table_18626...
### Context: CREATE TABLE table_12919 ( "Club" text, "Games" real, "Wins" real, "Losses" real, "Draws" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Games, when Wins is less than 1, and when Draws is greater than 1? ### Query: S...
### Context: CREATE TABLE table_name_75 ( bronze INTEGER, country VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze has a Country of malaysia, and a Total smaller than 2644? ### Query: SELECT SUM(bronze) FROM table_name_75 WHERE...
### Context: CREATE TABLE table_2203760_4 ( budget VARCHAR, film VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the budget for 'Thirteen Ghosts'? ### Query: SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts"
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, even...
### Context: CREATE TABLE table_203_376 ( id number, "no." number, "name" text, "term of office" text, "president(s) served under" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many directors served more than 3 years ? ### Query: SELECT COUNT(...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostHistoryTypes ( Id number,...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### 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 ( KH text, ...
### Context: CREATE TABLE table_name_68 ( outcome VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek?...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE PostHistoryTypes ( Id number...
### Context: CREATE TABLE table_42589 ( "Average population (x 1,000)" text, "Live births" text, "Deaths" text, "Natural change" text, "Migration" text, "Crude birth rate (per 1,000)" real, "Crude death rate (per 1,000)" real, "Natural change (per 1,000)" real, "Migration (per 1,000)...
### Context: CREATE TABLE table_58947 ( "Binary" real, "Octal" real, "Decimal" real, "Hexadecimal" real, "Glyph" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest octal with a 30 hexadecimal and less than 0 glyphs? ### Query: SELECT...
### Context: CREATE TABLE table_name_11 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record at the game held on December 24, 2005? ### Query: SELECT record FROM table_name_11 WHERE date = "december 24, 2005"
### Context: 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 ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid nu...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ...
### 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 table_name_92 ( team_classification VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team classification for stage of 20 ### Query: SELECT team_classification FROM table_name_92 WHERE stage = "20"
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, win...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ...
### Context: CREATE TABLE table_37817 ( "Season" real, "Team" text, "Country" text, "League" text, "Level" real, "Apps" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the least season with level less than 1 ### Query: ...
### Context: CREATE TABLE table_26041144_16 ( catches INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the catches maximum number? ### Query: SELECT MAX(catches) FROM table_26041144_16
### 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_2333 ( "School" text, "Location(s)" text, "Control" text, "Type" text, "Enrollment (2005)" text, "Founded" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is the founding year, for the school that had an ...
### Context: CREATE TABLE table_7700 ( "Material" text, "Formula" text, "Refractive index(es) 589.3nm" text, "Hardness ( Mohs' scale )" text, "Density (g/cm 3 )" text, "State of the art" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which mater...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM n...
### Context: CREATE TABLE table_46787 ( "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 highest grid when the time is +45.162? ### Query: SELECT MAX("Grid") FROM table_46787 WHE...
### Context: CREATE TABLE table_name_64 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? ### Query: SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND ...
### Context: CREATE TABLE table_name_61 ( opponent VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Opponent in the match with a Score of 6 3, 6 4? ### Query: SELECT opponent FROM table_name_61 WHERE score = "6–3, 6–4"
### Context: CREATE TABLE table_51748 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance in the bye week after week 5? ### Query: SELECT "Attendance" FROM t...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### Context: CREATE TABLE table_73321 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE table_63977 ( "Outcome" text, "Year" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Partner in the match ...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, J...
### Context: CREATE TABLE table_203_99 ( id number, "season" number, "date" text, "driver" text, "team" text, "chassis" text, "engine" text, "race distance\nlaps" number, "race distance\nmiles (km)" text, "race time" text, "average speed\n(mph)" number, "report" text ) ...
### 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_55731 ( "Rank" real, "Name" text, "Nation" text, "SP+FS" real, "Points" real, "Places" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of SP+FS for places of 60 and points more than 151.66 ##...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE table_11190568_7 ( date_of_appointment VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When are team Galway's dates of appointment? ### Query: SELECT date_of_appointment FROM table_11190568_7 WHERE team = "Galway"
### Context: CREATE TABLE table_9515 ( "Party" text, "Leader" text, "Seats" text, "% of seats" text, "First Pref votes" text, "% FPv" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the %FPv for the Workers' Party? ### Query: SELECT "% F...
### Context: CREATE TABLE table_name_63 ( start VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the start when the finish is 1? ### Query: SELECT start FROM table_name_63 WHERE finish = "1"
### 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 course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE area ( course_id int, are...
### Context: CREATE TABLE table_15993 ( "Case/Suffix" text, "we two" text, "you and I" text, "you two" text, "them two (the two)" text, "who-two" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is we two where you two is ngipen? ### Query: ...
### Context: CREATE TABLE table_262481_2 ( nickname VARCHAR, founded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nickname of the institution that was founded in 1857? ### Query: SELECT nickname FROM table_262481_2 WHERE founded = 1857
### Context: CREATE TABLE table_400 ( "Name" text, "Position" text, "Height" text, "Weight(lbs)" real, "Born" text, "College" text, "Drafted" text, "Pro Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the weight(lbs) when bo...
### Context: CREATE TABLE table_name_40 ( player VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What p;layer attended Concordia College? ### Query: SELECT player FROM table_name_40 WHERE college = "concordia"
### Context: CREATE TABLE staff ( staff_id number, gender text, first_name text, last_name text, email_address text, phone_number text ) CREATE TABLE products ( product_id number, parent_product_id number, product_category_code text, date_product_first_available time, date_p...
### Context: CREATE TABLE table_78447 ( "Name" text, "Gender" text, "Local board" text, "Suburb" text, "Authority" text, "Decile" text, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What gender has a local board of albert eden with a...
### Context: CREATE TABLE table_name_75 ( division_north VARCHAR, division_southwest VARCHAR, division_west VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won Division North when Division Southwest was won by Novaci and Division West by Vrap i te? #...
### Context: CREATE TABLE table_13558 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hi...
### Context: CREATE TABLE table_name_39 ( team VARCHAR, wrestler VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Doug Basham's team? ### Query: SELECT team FROM table_name_39 WHERE wrestler = "doug basham"
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE restriction ( ...
### Context: CREATE TABLE table_34181 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Record of 15 12 2? ### Query: SELECT "Score" FROM tabl...
### Context: CREATE TABLE table_4504 ( "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. -- Who was the away team when the home ...
### Context: CREATE TABLE table_203_683 ( id number, "season" text, "league" text, "gold" text, "silver" text, "bronze" text, "winning manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only season that skeid won gold ? ##...
### 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_35370 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Game smaller than 60, and a Score of 2 0, and a Febru...
### Context: CREATE TABLE table_70032 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the round that lasted 0:20, what wa...
### Context: CREATE TABLE table_37031 ( "Model" text, "Engine" text, "Displacement" text, "Valvetrain" text, "Fuel system" text, "Max. power at rpm" text, "Max. torque at rpm" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Displa...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JCZB...
### Context: CREATE TABLE table_name_80 ( population INTEGER, per_capita_income VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Population, when Per Capita Income is '$16,330'? ### Query: SELECT MIN(population) FROM table_name_80 WHERE per...
### Context: CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) ...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CRE...
### Context: CREATE TABLE table_name_82 ( season VARCHAR, level VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a Level of tier 2 and a Position of 1st? ### Query: SELECT COUNT(season) FROM table_name_82 WHERE level = "...
### Context: CREATE TABLE table_name_23 ( home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did Footscray score at the home game? ### Query: SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray"
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE...
### Context: CREATE TABLE table_56481 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_52074 ( "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 smallest crowd size for...
### Context: CREATE TABLE web_client_accelerator ( Operating_system VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of web accelerators used for each Operating system. ### Query: SELECT Operating_system, COUNT(*) FROM web_client_accelerator GROUP...
### 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 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 Comments ( Id number, PostId number, ...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit ...
### Context: CREATE TABLE table_35430 ( "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 average overall of John Ayres, who had a pick # greater than ...
### Context: CREATE TABLE job_history ( employee_id VARCHAR ) CREATE TABLE employees ( employee_id VARCHAR, salary VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you return all detailed info of jobs which was done by any of the employees who is pres...
### 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_69540 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on September 26? ### Query: SELECT "Record" FROM table_69540 WHERE "Date" =...
### Context: CREATE TABLE table_name_32 ( played VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the played for tries for 50? ### Query: SELECT played FROM table_name_32 WHERE tries_for = "50"
### Context: CREATE TABLE table_name_47 ( player VARCHAR, finish VARCHAR, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won in 1997 with a finish of t48? ### Query: SELECT player FROM table_name_47 WHERE finish = "t48" AND year_s__won =...
### Context: CREATE TABLE table_53582 ( "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 was the home team when the gam...
### Context: CREATE TABLE train_station ( train_id number, station_id number ) CREATE TABLE train ( train_id number, name text, time text, service text ) CREATE TABLE station ( station_id number, name text, annual_entry_exit number, annual_interchanges number, total_passeng...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid ...
### Context: CREATE TABLE table_name_80 ( school_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Stephen Thompson's School/Club Team? ### Query: SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson"
### 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 intakeou...
### 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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( ...
### 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 transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit ...
### 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 table_name_22 ( year INTEGER, pts INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latesr year that has more points than 0? ### Query: SELECT MAX(year) FROM table_name_22 WHERE pts > 0
### Context: CREATE TABLE table_26195 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least division ### Query: SELECT MIN("Division") FRO...
### Context: CREATE TABLE table_76853 ( "Player" text, "Nationality" text, "Jersey Number(s)" real, "Position" text, "Years" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college was the player with the jersey number of 34 fro...
### Context: CREATE TABLE table_204_658 ( id number, "week" number, "date" text, "kickoff" text, "opponent" text, "results\nfinal score" text, "results\nteam record" text, "game site" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE table_name_78 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Record on September 21? ### Query: SELECT record FROM table_name_78 WHERE date = "september 21"
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### 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, ...