text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_48 ( best_jump VARCHAR, jump_1 VARCHAR, jump_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump? ### Query: SELECT best_jump FROM table_n...
### Context: CREATE TABLE table_name_28 ( score VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE SCORE FOR 2010 fifa world cup qualification? ### Query: SELECT score FROM table_name_28 WHERE competition = "2010 fifa world cup ...
### Context: CREATE TABLE table_73477 ( "Player" text, "Games Played" real, "Minutes" real, "Field Goals" real, "Three Pointers" real, "Free Throws" real, "Rebounds" real, "Assists" real, "Blocks" real, "Steals" real, "Points" real ) -- Using valid SQLite, answer the follow...
### Context: CREATE TABLE table_19123 ( "Club" text, "Played" text, "Won" 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, ans...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeo...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration n...
### Context: CREATE TABLE table_name_14 ( round VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score of 33-22 had what round? ### Query: SELECT round FROM table_name_14 WHERE score = "33-22"
### 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_204_251 ( id number, "community" text, "area" text, "location" text, "population" number, "date established" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of communities established after 1900 ...
### Context: CREATE TABLE table_name_31 ( performer_1 VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date of 8 july 1994 involves which performer 1? ### Query: SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994"
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE diagnoses_icd ( row_id number, subject_...
### Context: CREATE TABLE table_name_94 ( rank VARCHAR, places VARCHAR, sp VARCHAR, fs VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank when 233 shows for places and SP+FS smaller than 27? ### Query: SELECT COUNT(rank) FROM table_name...
### Context: CREATE TABLE table_22585 ( "Period" text, "Internet Explorer" text, "Firefox" text, "Chrome" text, "Safari" text, "Opera" text, "Other Mozilla" text, "Mobile" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If Safari is 3.76%...
### Context: CREATE TABLE table_1784 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results are there when the game was at the...
### Context: CREATE TABLE table_41910 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Attendance, when Opponent is Pittsburgh Steelers? ### Query: SELECT "Attendance" F...
### Context: CREATE TABLE table_45617 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result during the week # of top 8? ### Query: SELECT "Result" FROM...
### Context: CREATE TABLE table_28272 ( "Sr. No." real, "Name of Road" text, "Passes Through - District(s" text, "Length (in km)" text, "MDR No." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district does the road with a MDR number of 47 pass...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(...
### Context: CREATE TABLE table_name_22 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2006 with 2008 of 1r and 2004 of 1r ### Query: SELECT 2006 FROM table_name_22 WHERE 2008 = "1r" AND 2004 = "1r"
### 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_name_93 ( lane INTEGER, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lane with a time of 1:00.66? ### Query: SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66"
### Context: CREATE TABLE table_name_22 ( drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average drawn when the points is more than 15, lost is 1 and played is less than 14? ### Query: ...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE 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_name_31 ( game VARCHAR, november VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games have November 7 as the date, and points greater than 17? ### Query: SELECT COUNT(game) FROM table_name_31 WHER...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### 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 Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision varchar(3) ) CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS numeric(5,0) ) CREATE TABLE College ( cName varchar(20), state varchar(2), enr nume...
### Context: CREATE TABLE table_61365 ( "Club" text, "First season in top division" text, "Number of seasons in top division" real, "First season of current spell in top division" text, "Number of seasons in Liga MX" real, "Top division titles" real ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_name_74 ( city VARCHAR, jul VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the city with july of 88 f / 31.1 c ### Query: SELECT city FROM table_name_74 WHERE jul = "88 °f / 31.1 °c"
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE table_50957 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had a score of 69-67=136? ### Query: SELECT "Country" FROM table_50957 WHERE "S...
### Context: CREATE TABLE table_2417330_4 ( date_successor_seated VARCHAR, successor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date successor seated for successor being vacant ### Query: SELECT date_successor_seated FROM table_2417330_4 WHERE ...
### 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 mzb ( 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 useracct ( u_id number, name text ) CREATE TABLE item ( i_id number, title text ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust number ) CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank numb...
### Context: CREATE TABLE table_train_102 ( "id" int, "autoimmune_disease" bool, "stroke" bool, "renal_disease" bool, "hepatic_disease" bool, "liver_disease" bool, "serum_creatinine" float, "seizure_disorder" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questio...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE patients ( row_id num...
### Context: CREATE TABLE Plays_Games ( StuID INTEGER, GameID INTEGER, Hours_Played INTEGER ) CREATE TABLE Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTE...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, App...
### Context: CREATE TABLE broadcast ( time_of_day VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many programs are broadcast in each time section of the day? ### Query: SELECT COUNT(*), time_of_day FROM broadcast GROUP BY time_of_day
### Context: CREATE TABLE table_26214389_3 ( total_non_qatar VARCHAR, grand_total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the grand total is 5814, what is the total non qatar? ### Query: SELECT total_non_qatar FROM table_26214389_3 WHERE grand_tot...
### 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_4923 ( "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 school did the linebacker who was drafted after round 8 come from? ### Query...
### 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_97 ( season VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what season is Victoria the Opponent? ### Query: SELECT season FROM table_name_97 WHERE opponent = "victoria"
### Context: CREATE TABLE table_171361_1 ( official_name VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the community with an area of 30.75 sq. km.? ### Query: SELECT official_name FROM table_171361_1 WHERE area_km_2 =...
### Context: CREATE TABLE table_2150776_1 ( team VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team for ricky rudd ### Query: SELECT team FROM table_2150776_1 WHERE driver = "Ricky Rudd"
### Context: CREATE TABLE table_36566 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest...
### Context: CREATE TABLE table_31123 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original ai...
### Context: CREATE TABLE table_name_44 ( college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league is from the United States and a round smaller than 12. ### Query: SELECT college_j...
### 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 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 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_name_54 ( a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T sco...
### Context: CREATE TABLE mzb ( 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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 te...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_name_67 ( laid_down VARCHAR, completed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the laid down for completed of 22 october 1934 ### Query: SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934"
### Context: CREATE TABLE table_202_127 ( id number, "#" number, "title" text, "directed by" text, "written by" text, "original air date" text, "production\ncode" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which director has the most tit...
### Context: CREATE TABLE table_1104312_5 ( original_name VARCHAR, population_at_2010_census VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the original names of the districts where the population in the 2010 census was 210450? ### Query: SELECT or...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE c...
### Context: CREATE TABLE table_name_45 ( year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Tournament venue of richmond arena, and a Record of 12 1, and a Reg...
### Context: CREATE TABLE table_name_76 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1994, when 2002 is ATP Masters Series? ### Query: SELECT 1994 FROM table_name_76 WHERE 2002 = "atp masters series"
### Context: CREATE TABLE table_28975 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ...
### Context: CREATE TABLE table_22753245_1 ( party VARCHAR, constituency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the party when the constituency is 1. Chennai North? ### Query: SELECT party FROM table_22753245_1 WHERE constituency = "1. Chenn...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, ...
### Context: CREATE TABLE table_name_32 ( score VARCHAR, champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of champion masahiro kawamura? ### Query: SELECT score FROM table_name_32 WHERE champion = "masahiro kawamura"
### 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_39939 ( "singular" text, "singular gender" text, "plural" text, "plural gender" text, "meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the plural if the singular is awu? ### Query: SELECT "plural" FRO...
### 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosi...
### Context: CREATE TABLE table_204_574 ( id number, "year" number, "title" text, "peak chart positions\nswe" number, "peak chart positions\nswi" number, "peak chart positions\nuk" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime...
### Context: CREATE TABLE table_33669 ( "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 teams score when ...
### 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_name_84 ( cardinal_direction VARCHAR, english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cardinal direction of Monday in English? ### Query: SELECT cardinal_direction FROM table_name_84 WHERE english = "monday...
### Context: CREATE TABLE table_58865 ( "Central Murray" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many byes when there are 11 wins and fewer than 5 losses? ### Que...
### Context: CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER,...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE microbiolog...
### Context: CREATE TABLE table_204_595 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country won the most silver medals ? ### Query...
### Context: CREATE TABLE table_test_26 ( "id" int, "bleeding" int, "left_ventricular_ejection_fraction_lvef" int, "left_main_coronary_artery_disease" bool, "uncontrolled_diabetes" bool, "hiv_infection" bool, "hemoglobin_a1c_hba1c" float, "hepatitis_b_infection" bool, "renal_disease"...
### Context: CREATE TABLE table_10128185_2 ( wales INTEGER, northern_england VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many votes did Wales cast when Northern England cast 6? ### Query: SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england...
### 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_74 ( "County" text, "Precincts" real, "Lunsford" real, "% Lunsford" text, "McConnell" real, "% McConnell" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the county of precints 515? ### Q...
### Context: CREATE TABLE table_name_55 ( pernambuco INTEGER, northeast_total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest number in Pernambuco where the Northeast had a total of 119978? ### Query: SELECT MIN(pernambuco) FROM table_nam...
### Context: CREATE TABLE table_name_41 ( stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of stage wins for Federico Villagra having more than 1 finish...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName te...
### Context: CREATE TABLE table_28153 ( "Date" text, "Location" text, "Fight" text, "Division" text, "Titles" text, "Rematch" text, "TV" text, "Promoter" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the Unde...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE cost ( row_id number, subject_id number,...
### Context: CREATE TABLE table_name_89 ( goals VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Goals did Matt Cook have? ### Query: SELECT goals FROM table_name_89 WHERE player = "matt cook"
### Context: CREATE TABLE table_39821 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Attendance, when Home is Cleveland, and...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_9085 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did Diego Saraiva fight jorge gurgel? ### Qu...
### Context: CREATE TABLE table_name_73 ( set_4 VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the set 4 with a 2-3 score? ### Query: SELECT set_4 FROM table_name_73 WHERE score = "2-3"
### Context: CREATE TABLE table_6920 ( "Season" text, "Games" real, "Lost" real, "Tied" real, "Points" real, "Goals for" real, "Goals against" real, "Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For games less than 70 and goals ...
### Context: CREATE TABLE table_55529 ( "Month" text, "Week" real, "Overall" text, "Offensive" text, "Defensive" text, "Transition" text, "Rookie" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the rookie who played when Matt Vinc wa...
### Context: CREATE TABLE table_name_10 ( crowd INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest crowd at punt road oval? ### Query: SELECT MIN(crowd) FROM table_name_10 WHERE venue = "punt road oval"
### Context: CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER,...