text
stringlengths
197
8.39k
### Context: CREATE TABLE table_1341718_14 ( first_elected INTEGER, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the year first elected for district illinois 7? ### Query: SELECT MAX(first_elected) FROM table_1341718_14 WHERE district = ...
### Context: CREATE TABLE table_name_15 ( type VARCHAR, unit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which type had the unit greifswald - 7 (kgr 7) ? ### Query: SELECT type FROM table_name_15 WHERE unit = "greifswald - 7 (kgr 7)"
### Context: CREATE TABLE table_name_17 ( round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During the hungarian grand prix where the pole position was michael schumacher and the fast...
### Context: CREATE TABLE table_204_877 ( id number, "place" number, "position" text, "number" number, "name" text, "league two" number, "fa cup" number, "league cup" number, "fl trophy" number, "total" number ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_name_99 ( winter VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Winter in 1906? ### Query: SELECT winter FROM table_name_99 WHERE year = 1906
### Context: CREATE TABLE table_13079788_3 ( circuit VARCHAR, date VARCHAR, gt3_winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are all the circuit for 9 september and gt3 winner hector lester allan simonsen ### Query: SELECT circuit FROM tab...
### Context: CREATE TABLE table_45336 ( "Year" real, "Domestic freight" real, "Domestic mail" real, "International freight" real, "International mail" real, "Total freight and mail" real, "Change" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### 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 table_name_48 ( catalogue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the october 15, 2004 catalogue ### Query: SELECT catalogue FROM table_name_48 WHERE date = "october 15, 2004"
### 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 university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### Context: CREATE TABLE table_12052 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Visitor when the Home team was Anaheim on the Date of April ...
### Context: CREATE TABLE table_train_134 ( "id" int, "mini_mental_state_examination_mmse" int, "geriatric_depression_scale_gds" int, "alzheimer_disease_ad" bool, "rosen_modified_hachinski_ischemic_score" int, "clinical_dementia_rating_cdr" float, "NOUSE" float ) -- Using valid SQLite, ans...
### Context: CREATE TABLE Purchases ( purchase_transaction_id INTEGER, purchase_details VARCHAR(255) ) CREATE TABLE Lots ( lot_id INTEGER, investor_id INTEGER, lot_details VARCHAR(255) ) CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) ) CREATE TABLE Transacti...
### Context: CREATE TABLE table_name_30 ( method VARCHAR, race VARCHAR, date_of_execution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How was the native american executed in July 1836? ### Query: SELECT method FROM table_name_30 WHERE race = "native ...
### Context: CREATE TABLE table_32177 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average round when there is a defensive back and an overall smaller t...
### Context: CREATE TABLE table_34392 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record of the game played at home by the Bl...
### Context: CREATE TABLE people ( People_ID VARCHAR ) CREATE TABLE employment ( People_ID VARCHAR, Company_ID VARCHAR ) CREATE TABLE company ( Name VARCHAR, Company_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the names of companies ...
### 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 table_name_42 ( result VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the match with Zab Judah as the opponent? ### Query: SELECT result FROM table_name_42 WHERE opponent = "zab judah"
### Context: CREATE TABLE table_name_84 ( driver VARCHAR, grid VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver has a grid of under 10, and under 70 laps? ### Query: SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70
### Context: CREATE TABLE table_28511 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what type of institution is ottawa universi...
### Context: CREATE TABLE table_name_40 ( district VARCHAR, place_of_birth VARCHAR, delegate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many districts in Baltimore City does Cheryl Glenn dictate? ### Query: SELECT COUNT(district) FROM table_name...
### Context: CREATE TABLE table_name_90 ( laps VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of laps with rank of 8 ### Query: SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8"
### Context: CREATE TABLE table_8438 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Team 1, Everton, has what as a 1st leg? ### Query: SELECT "1st leg" FROM table_8438 WHERE "Te...
### Context: CREATE TABLE table_12718 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country is David Toms from? ### Query: SELECT "Country" FROM table_12718 WHERE "Player" ...
### Context: CREATE TABLE table_name_39 ( points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 3...
### 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 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID ...
### Context: CREATE TABLE table_50539 ( "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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_name_76 ( accreditation_level VARCHAR, network_brand_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the accreditation level of the network brand Movistar? ### Query: SELECT accreditation_level FROM table_name_76 ...
### Context: CREATE TABLE table_57327 ( "Round" real, "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which grand prix ha...
### Context: CREATE TABLE table_77720 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Runner(s)-up that has a Date of may 24, 1999? ### Query: SE...
### 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_71601 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was there a team of Simon and the start was 3? ### Query: SELECT "Year" ...
### Context: CREATE TABLE table_763 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the candidate in the election in the Tennessee 9 dist...
### Context: CREATE TABLE table_8120 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Winning score has a Date of aug 26, 1973? ### Query: SELECT "...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, ...
### 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_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE cost ( row_id number,...
### Context: CREATE TABLE table_36106 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average attendance from june 11 ### Query: ...
### Context: CREATE TABLE table_11164 ( "Difficulty Value" text, "1d10 Resolution (+5)" real, "3d6 or 1d20 Resolution (+10)" real, "+1d6-1d6 or +1d10-1d10 (+0)" real, "+1d12 (6)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest +1d...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE table_204_555 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- julio rene martinez is from guatemala , what did he p...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uni...
### Context: CREATE TABLE table_27509 ( "Song" text, "Singer" text, "Co-Singers" text, "Music Director" text, "Lyricist" text, "Co-Stars" text, "Movie/Album" text, "Year" text, "Additional Info" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### 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 d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) 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_...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subje...
### Context: CREATE TABLE table_name_55 ( date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date was the event that Yani won in a playoff over Yueh-Chyn Huang? ### Query: SELECT date FROM table_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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_46676 ( "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 average number of gold medals the netherlands got when they had mor...
### Context: CREATE TABLE table_name_72 ( year VARCHAR, award VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was there a Tony award category of Best Revival of a Musical? ### Query: SELECT year FROM table_name_72 WHERE award ...
### Context: CREATE TABLE table_61478 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team with a 4 tie no.? ### Query: SELECT "Away team" FROM table_61478 WH...
### Context: CREATE TABLE table_59944 ( "Tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is 2008 when 2012 is 3r and 2009 is 2r? ...
### Context: CREATE TABLE table_name_70 ( points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points have a Position larger than 4, and Losses larger than 5, and a Con...
### 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_15746 ( "Year" real, "Denomination" text, "Alloy" text, "Reverse" text, "Diameter" text, "Weight" text, "Obverse" text, "Mintage" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is t...
### Context: CREATE TABLE table_27277284_27 ( mult_1 VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the possible multipliers for 1900MHz processors? ### Query: SELECT mult_1 FROM table_27277284_27 WHERE frequency = "1900MHz"
### Context: CREATE TABLE table_14298 ( "Name A[\u203a ]" text, "Dam or A[\u203a ] Reservoir" text, "GNIS Feature ID # Link A[\u203a ] B[\u203a ]" real, "Elevation A[\u203a ]" text, "Borough or A[\u203a ] Census area" text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), ...
### 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 mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_203_266 ( id number, "group" text, "members" number, "caucusing" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what group had the greatest amount of members ? ### Query: SELECT "group" FROM table_2...
### Context: CREATE TABLE table_name_24 ( unwto_region VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Italy's UNWTO region? ### Query: SELECT unwto_region FROM table_name_24 WHERE country = "italy"
### Context: CREATE TABLE table_name_9 ( latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605? ### Query: SELECT SUM(latitude...
### Context: CREATE TABLE table_name_18 ( opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Blue Jays opponent when their record was 84-69? ### Query: SELECT opponent FROM table_name_18 WHERE record = "84-69"
### 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 medicati...
### 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 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_54369 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest rank with less than 2 wings, more than 26 events...
### Context: CREATE TABLE table_40783 ( "Rank" text, "Runs" text, "Player" text, "Match" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue has don bradman (nsw) as the player? ### Query: SELECT "Venue" FROM ...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text...
### Context: CREATE TABLE Procedures ( Code INTEGER, Name VARCHAR(30), Cost REAL ) CREATE TABLE Block ( BlockFloor INTEGER, BlockCode INTEGER ) CREATE TABLE Appointment ( AppointmentID INTEGER, Patient INTEGER, PrepNurse INTEGER, Physician INTEGER, Start DATETIME, End DATET...
### Context: CREATE TABLE table_64970 ( "Governor" text, "Took office" text, "Left office" text, "Party" text, "Lieutenant Governor" text, "Terms" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Lieutenant Governor to the governor that le...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, ...
### Context: CREATE TABLE table_60592 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Name has a Winning constructor of ansaldo? ### Que...
### Context: CREATE TABLE table_1140116_5 ( date VARCHAR, race_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When does V Madgwick Cup take place? ### Query: SELECT date FROM table_1140116_5 WHERE race_name = "V Madgwick Cup"
### Context: CREATE TABLE table_name_21 ( fin_pos VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the finishing position for the car that started in grid 6? ### Query: SELECT fin_pos FROM table_name_21 WHERE grid = "6"
### Context: CREATE TABLE table_name_13 ( us_ac VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the US A.C. in 1974? ### Query: SELECT us_ac FROM table_name_13 WHERE year = 1974
### Context: CREATE TABLE table_56126 ( "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 attendance at Windy Hi...
### Context: CREATE TABLE table_21199 ( "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 mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_name_85 ( round INTEGER, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Round that has a Time of 6:04? ### Query: SELECT SUM(round) FROM table_name_85 WHERE time = "6:04"
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_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 table_name_43 ( venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game played on 2004-06-23? ### Query: SELECT venue FROM table_name_43 WHERE date = "2004-06-23"
### Context: CREATE TABLE Order_Items ( item_id INTEGER, order_item_status_code VARCHAR(15), order_id INTEGER, product_id INTEGER, item_status_code VARCHAR(15), item_delivered_datetime DATETIME, item_order_quantity VARCHAR(80) ) CREATE TABLE Products ( product_id INTEGER, product_ca...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, min...
### Context: CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, bo...
### Context: CREATE TABLE table_28199 ( "Name of Award" text, "Name of Film" text, "Language" text, "Awardee(s)" text, "Cash Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won best actor? ### Query: SELECT "Awardee(s)" FROM table_28199 W...
### 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 jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_name_7 ( pick INTEGER, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick number for School of lsu? ### Query: SELECT SUM(pick) FROM table_name_7 WHERE school = "lsu"
### 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 flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_...
### Context: CREATE TABLE table_65287 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronzes have a Total of 9? ### Query: SELECT SUM("Bronze") FROM table...
### Context: CREATE TABLE table_54946 ( "Year" real, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint ...
### Context: CREATE TABLE table_33721 ( "Coach" text, "Years" text, "Record" text, "Conference Record" text, "Overall Win Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was coach Dick Bennett's overall win percentage? ### Query: SE...
### 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeou...