text
stringlengths
197
8.39k
### Context: CREATE TABLE table_49927 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYE...
### Context: CREATE TABLE table_28473 ( "Character" text, "Played by" text, "Season 1" real, "Season 2" real, "Season 3" real, "Season 4" real, "First Appearance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many season 3 appearances b...
### Context: CREATE TABLE table_test_16 ( "id" int, "left_ventricular_ejection_fraction_lvef" int, "systolic_blood_pressure_sbp" int, "severe_hypertension" bool, "adrenaline" bool, "stroke" bool, "renal_disease" bool, "severe_uncontrolled_arterial_hypertension" bool, "hepatic_disease...
### Context: CREATE TABLE table_62407 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player scored 68-66=134? ### Query: SELECT "Player" FROM table_62407 WHERE "Score" = '68...
### Context: CREATE TABLE table_1341865_44 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's incumbent with district being tennessee 5 ### Query: SELECT incumbent FROM table_1341865_44 WHERE district = "Tennessee 5"
### Context: CREATE TABLE table_27411 ( "Country" text, "Skip" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot %" real ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_35256 ( "Rank" real, "Airport" text, "Location" text, "Code (IATA)" text, "Total Cargo (Metric Tonnes)" text, "2003 Rank" text, "% Change" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IATA code o...
### Context: CREATE TABLE table_name_13 ( date_of_birth VARCHAR, position_s_ VARCHAR, seasons VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of birth of the goalkeeper from the 1st season? ### Query: SELECT date_of_birth FROM table_name...
### Context: CREATE TABLE table_27696 ( "Round" real, "Circuit" text, "Location" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Supporting" text ) -- Using valid SQLite, answer the following questions for the tables provide...
### Context: CREATE TABLE table_77710 ( "Name" text, "Bodyweight" real, "Snatch" real, "Clean & jerk" real, "Total (kg)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average clean and jerk for snatch of 140 and total kg less than 315 ###...
### Context: CREATE TABLE table_41741 ( "Date" text, "Opponent" text, "Location" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the Opponent when there is a Record of 39-19? ### Quer...
### Context: CREATE TABLE table_21582 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of others when the number of oth...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalD...
### Context: CREATE TABLE table_670 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the 4th day with 3rd day being bumped by downing ### Quer...
### Context: CREATE TABLE technician ( Name VARCHAR, technician_ID VARCHAR ) CREATE TABLE machine ( Machine_series VARCHAR, machine_id VARCHAR ) CREATE TABLE repair_assignment ( machine_id VARCHAR, technician_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE table_10007452_3 ( fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)? ### Query: SELECT fuel_propulsion FRO...
### Context: CREATE TABLE table_54250 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Height for Years for Roc...
### Context: CREATE TABLE table_204_888 ( id number, "location" text, "mile" number, "destinations" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many miles is the us 522 south - berkeley springs , wv location ? ### Query: SELECT...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime ...
### Context: CREATE TABLE table_204_980 ( id number, "name" text, "type" text, "elevation\n(ground station)" number, "elevation\n(mountain station)" number, "slope length" number, "capacity\n(persons/hour)" number, "construction year" number ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_11820 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record when the visitor is mavericks ...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE prescriptions ( row_id number, subject_id ...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, ce...
### Context: CREATE TABLE table_10268 ( "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. -- Which away team scored 17.17 (119)?...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: 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, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_55622 ( "Year" real, "Rank" real, "Games" real, "Win%" real, "Postseason" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What postseason has a win% between 0.40700000000000003 and 108 with a rank of 1? ### Query: SEL...
### Context: CREATE TABLE table_name_38 ( winter_olympics VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Winter Olympics was Japan as the country? ### Query: SELECT winter_olympics FROM table_name_38 WHERE country = "japan"
### Context: CREATE TABLE table_44379 ( "Number" text, "Builder" text, "Type" text, "Date" text, "Works number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Type, when Works Number is 75823? ### Query: SELECT "Type" FROM table_44379 WHERE...
### Context: CREATE TABLE table_30845 ( "taluka Name" text, "Population (2001 census)" real, "% of District Population" text, "Male" real, "Male(%)" text, "Female" real, "Female(%)" text, "Sex Ratio" real, "Literacy" real, "Literacy(%)" text, "Literate Male" real, "Litera...
### Context: CREATE TABLE table_15346009_1 ( date VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what day was the tournament in Alabama? ### Query: SELECT date FROM table_15346009_1 WHERE location = "Alabama"
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment t...
### Context: CREATE TABLE table_name_91 ( score VARCHAR, attendance VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score when the attendance is less than 83 and Raunds Town is the away team? ### Query: SELECT score FROM ta...
### Context: CREATE TABLE table_10935548_1 ( title VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode was directed by Jean de Segonzac? ### Query: SELECT title FROM table_10935548_1 WHERE directed_by = "Jean de Segonzac"
### Context: CREATE TABLE list ( classroom VARCHAR, grade VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Report the total number of students for each fourth-grade classroom. ### Query: SELECT classroom, COUNT(*) FROM list WHERE grade = "4" GROUP BY classroo...
### Context: CREATE TABLE procedures ( 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_80 ( laps INTEGER, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps were in 1958? ### Query: SELECT SUM(laps) FROM table_name_80 WHERE year = "1958"
### Context: CREATE TABLE table_name_48 ( body_width_mm INTEGER, lead_pitch_mm VARCHAR, body_length_mm VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body Length/mm larger than 18.4? ### Q...
### 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_name_11 ( week INTEGER, game_site VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average week has shea stadium as the game site, and 1979-12-09 as the date? ### Query: SELECT AVG(week) FROM table_name_1...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) 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, ...
### Context: CREATE TABLE table_76405 ( "Year" text, "2009" text, "2008" text, "2007" text, "2006" text, "2005" text, "2004" text, "2003" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2007 for the 2003 desert prince? ### Qu...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_204_781 ( id number, "name(s)" text, "yard no." number, "type (as built)" text, "owner" text, "imo number" number, "laid down" text, "launched" text, "delivered/\ncommissioned" text, "fate/\ndecommissioned" text, "notes" text ) -- Using valid...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, ...
### Context: CREATE TABLE procedures ( 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_...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab...
### Context: CREATE TABLE Room ( RoomNumber INTEGER, RoomType VARCHAR(30), BlockFloor INTEGER, BlockCode INTEGER, Unavailable BOOLEAN ) CREATE TABLE Physician ( EmployeeID INTEGER, Name VARCHAR(30), Position VARCHAR(30), SSN INTEGER ) CREATE TABLE Stay ( StayID INTEGER, Pat...
### Context: CREATE TABLE table_1140082_2 ( location VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the German Grand Prix? ### Query: SELECT location FROM table_1140082_2 WHERE race = "German Grand Prix"
### 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 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 table_78172 ( "Season" real, "Belonging league" text, "Matches" real, "league point" real, "Draw" real, "Lose" real, "Goal difference" real, "Point" real, "Lost point" real, "Final rank" real ) -- Using valid SQLite, answer the following questions for ...
### Context: CREATE TABLE invoice_line_items ( order_item_id number, invoice_number number, product_id number, product_title text, product_quantity text, product_price number, derived_product_cost number, derived_vat_payable number, derived_total_cost number ) CREATE TABLE orders ( ...
### Context: CREATE TABLE d_icd_procedures ( 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 labeve...
### Context: CREATE TABLE table_name_21 ( nationality VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nationality's pick was 415? ### Query: SELECT nationality FROM table_name_21 WHERE pick = "415"
### Context: CREATE TABLE table_name_17 ( opposition VARCHAR, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opposition has a City of taunton? ### Query: SELECT opposition FROM table_name_17 WHERE city = "taunton"
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, ...
### 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_2794180_11 ( radio_commentator VARCHAR, television_commentator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast? ### Query: SELEC...
### 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_31288 ( "Season" text, "Level" text, "Division" text, "Section" text, "Position" text, "Movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the movement in the 7th position ### Query: SE...
### 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 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number,...
### 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_74945 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_25604014_9 ( production_code VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the production code for theresa rebeck ### Query: SELECT production_code FROM table_25604014_9 WHERE written_by = "Theresa R...
### Context: CREATE TABLE table_name_68 ( fleet_numbers VARCHAR, diagram VARCHAR, built VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What fleet numbers have a diagram less than 99 and built in 1960? ### Query: SELECT fleet_numbers FROM table_name_68 W...
### Context: CREATE TABLE table_48183 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine has the Mercedes AMG Petronas f1 team, and 93 points? ### Query: SELECT "Engine"...
### Context: CREATE TABLE table_44347 ( "Rank" text, "Time" text, "Athlete" text, "Nation" text, "Date" text, "Race" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the athlete with a time of 30:48? ### Query: SELECT "Athlete...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE patien...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varc...
### Context: CREATE TABLE table_71569 ( "Rank" real, "Name" text, "Nationality" text, "Score" text, "Perfection" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rank of Svetlana Fedorenko? ### Query: SELECT "Rank" FROM table_71569 WHERE...
### 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 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 table_78872 ( "Team" text, "City" text, "Venue" text, "Capacity" real, "Head Coach" text, "Team Captain" text, "Past Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Capacity of the Venue of Head C...
### 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 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_29 ( Vice VARCHAR, president VARCHAR, treasurer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann? ### Query: SELECT Vice AS pr...
### Context: CREATE TABLE table_name_78 ( score VARCHAR, home VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has detroit as the home, and December 9 as the date? ### Query: SELECT score FROM table_name_78 WHERE home = "detroit" ...
### Context: CREATE TABLE table_name_22 ( place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the place when the score was 71-69-71=211? ### Query: SELECT place FROM table_name_22 WHERE score = 71 - 69 - 71 = 211
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE jybgb ( YLJGDM text,...
### Context: CREATE TABLE table_55963 ( "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 score when t...
### Context: CREATE TABLE table_69120 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest roll number of the school with a state ...
### Context: CREATE TABLE table_name_40 ( score VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a High assists of whalen (5)? ### Query: SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)"
### Context: CREATE TABLE table_74400 ( "Date" text, "Time" text, "ACC Team" text, "Big Ten Team" text, "Location" text, "Television" text, "Attendance" real, "Winner" text, "Challenge Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requireme...
### Context: CREATE TABLE table_26178 ( "Neighbourhood" text, "% 0-19" text, "% 20-39" text, "% 40-59" text, "% 60-74" text, "% 75 +" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for % 75 + if % 0-19 is 19,75%? ### Query: ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, rel...
### Context: CREATE TABLE table_50916 ( "Governor" text, "State" text, "Past" text, "Party" text, "Elected/assumed office" real, "Seat up" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state had an elected/assumed office in 2013? ### Quer...
### Context: CREATE TABLE table_name_27 ( goals_for INTEGER, team VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Goals For has a Team of congleton town, and a Lost larger than 11? ### Query: SELECT MAX(goals_for) FROM table_name_27 W...
### Context: CREATE TABLE table_5565 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the series ep for darts ### Quer...
### Context: CREATE TABLE table_name_19 ( hometown VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which hometown has a player of Ray Drew? ### Query: SELECT hometown FROM table_name_19 WHERE player = "ray drew"
### Context: CREATE TABLE table_name_42 ( year INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Year, when Venue is Rio De Janeiro, Brazil? ### Query: SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil"
### 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 inputevents_cv ( row_id number, subject_id number, hadm_id number, icusta...
### Context: CREATE TABLE table_47775 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Maple Leafs' record on game 52? ### Query: SELECT "Record" FROM table_47775 WHERE ...