text
stringlengths
197
8.39k
### Context: CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE...
### Context: CREATE TABLE table_2135222_2 ( density VARCHAR, english_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures are there for density for Yucheng County? ### Query: SELECT COUNT(density) FROM table_2135222_2 WHERE english_name = "Y...
### 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_19038 ( "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 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 city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propu...
### Context: CREATE TABLE table_35387 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" real, "2nd (m)" real, "Points" real, "Overall WC points (Rank)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points have a Nationality...
### Context: CREATE TABLE table_64068 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest silver when the total is 4 and bronze is less than 1? ### Query: SELECT MAX("...
### Context: CREATE TABLE table_name_43 ( year INTEGER, course VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year when the course is sunset ridge cc? ### Query: SELECT SUM(year) FROM table_name_43 WHERE course = "sunset ridge cc"
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time...
### 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 ReviewTasks ( Id number, ReviewTaskTyp...
### Context: CREATE TABLE table_74559 ( "\u2193 Function / Genus \u2192" text, "Shigella" text, "Salmonella" text, "Yersinia" text, "Escherichia" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the shigella for yersinia yopb ### Query: SELEC...
### 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_54897 ( "Year" text, "Dates" text, "Champion" text, "Country" text, "Score" text, "Tournament location" text, "Purse ($)" real, "Winner's share ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is t...
### 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_74599 ( "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 that played F...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, ...
### Context: CREATE TABLE table_27533947_1 ( total_points INTEGER, best_winning_average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the best winning average is 7.3-71, what are the total points? ### Query: SELECT MIN(total_points) FROM table_27533947_...
### Context: CREATE TABLE table_70850 ( "Rider" text, "Matches" real, "Rides" real, "Bonus Pts" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rider had less than 342 points in no more than 76 rides in 7 matches with more ...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_name_29 ( home VARCHAR, visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team? ### Query: SELECT home FROM table_nam...
### 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 allergy ...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, char...
### Context: CREATE TABLE table_1012 ( "Player" text, "Touchdowns (5 points)" real, "Extra points 1 point" real, "Field goals (5 points)" real, "Total Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many touchdowns were made by the person...
### Context: CREATE TABLE table_55157 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total count of TD longs more than 29? ### Query: SELECT COUNT("Long") ...
### 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 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_test_25 ( "id" int, "ejection_fraction_ef" int, "respiratory_tract_infection" bool, "left_ventricular_ejection_fraction_lvef" int, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "central_diabetes_insipidus" bool, "hyponatremia" b...
### Context: CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE technician ( technician_id ...
### Context: CREATE TABLE table_name_44 ( team__number1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2nd leg when team #1 is Rubin Kazan? ### Query: SELECT 2 AS nd_leg FROM table_name_44 WHERE team__number1 = "rubin kazan"
### Context: CREATE TABLE table_13258972_2 ( attendance VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when the record was 1-1? ### Query: SELECT attendance FROM table_13258972_2 WHERE record = "1-1"
### Context: CREATE TABLE table_train_182 ( "id" int, "allergy_to_sulfa" bool, "creatinine_clearance_cl" float, "liver_disease" bool, "allergy_to_glyburide" bool, "allergy_to_metformin" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### 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 table_25201 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_name_26 ( laid_down VARCHAR, pennant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the U21 pennant laid down? ### Query: SELECT laid_down FROM table_name_26 WHERE pennant = "u21"
### Context: CREATE TABLE table_203_726 ( id number, "year" number, "national champion" text, "score" text, "runner-up" text, "host or site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years has stanford been national champion ? ###...
### Context: CREATE TABLE table_name_36 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Home team score for the team that played South Melbourne? ### Query: SELECT home_team AS score FROM table_name_36 WHERE away_t...
### Context: CREATE TABLE chip_model ( model_name text, launch_year number, ram_mib number, rom_mib number, slots text, wifi text, bluetooth text ) CREATE TABLE screen_mode ( graphics_mode number, char_cells text, pixels text, hardware_colours number, used_kb number, ...
### Context: CREATE TABLE table_74300 ( "For shank type" text, "Singer part number" text, "Uses templates?" text, "Description" text, "Storage case" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the singer part number of the buttonholer whos...
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( ...
### Context: CREATE TABLE table_68637 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total points in 1974? ### Query: SELECT COUNT("Points") FROM table_68637 WHERE "...
### Context: CREATE TABLE table_25965003_3 ( fee__if_applicable_ VARCHAR, countries_and_territories VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fee (if applicable) for Norway? ### Query: SELECT fee__if_applicable_ FROM table_25965003_3 WHERE ...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicRea...
### Context: CREATE TABLE table_name_54 ( date VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game played that was at the Seattle Center Coliseum? ### Query: SELECT date FROM table_name_54 WHERE location_attendance ...
### Context: CREATE TABLE table_56660 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the attendance greater than 18,118 w...
### Context: CREATE TABLE table_name_61 ( position VARCHAR, country VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position was picked for Canada on Pick 8? ### Query: SELECT position FROM table_name_61 WHERE country = "canada" AND pi...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### 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 table_25173 ( "Position" text, "Name" text, "Jersey Number" real, "Age" real, "Height" text, "Weight" real, "College" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the positions for Menl...
### Context: CREATE TABLE Type_Of_Restaurant ( Id VARCHAR ) CREATE TABLE Restaurant ( Id VARCHAR ) CREATE TABLE Restaurant_Type ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many restaurant is the Sandwich type restaurant? ### Query: SELECT ...
### 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4), PROF_HIGH_DEGREE varchar(5) ) CREATE TABLE DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS v...
### Context: CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE student ( stuid number, lname text, fname text, age number,...
### Context: CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, flight_number int, from_airport varchar, meal_code text, ...
### Context: CREATE TABLE table_name_75 ( score VARCHAR, country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Score, when Country is 'United States', and when Player is 'Lee Trevino'? ### Query: SELECT COUNT...
### 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 district ( district_name VARCHAR, city_population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which district has the largest population? ### Query: SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( v...
### Context: CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Ad...
### Context: CREATE TABLE table_12642 ( "South West DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Byes, when South West DFL is 'Coleraine', ...
### Context: CREATE TABLE table_204_587 ( id number, "drop(s)" text, "multiplayer map(s)" text, "spec ops mission(s)" text, "face off map(s)" text, "xbox 360 release date" text, "playstation 3 release date" text ) -- Using valid SQLite, answer the following questions for the tables provide...
### 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_28055 ( "Episode no." real, "Airdate" text, "Dave Viewers" real, "Dave Rank" real, "Rank (cable)" real, "Dave ja vu Viewers" real, "Total viewers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the ai...
### Context: CREATE TABLE table_26135 ( "Type of unit" text, "Type of aircraft" text, "Number of aircraft" text, "Number of crews" text, "Men per crew" text, "Total personnel" real, "Officers" real, "Enlisted" real ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE table_53179 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was Kuwait City a venue? ### Query: SELECT "Date" FROM table_53179 WHERE "Venu...
### Context: CREATE TABLE table_14657 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps were completed with a start of 33, and a finish of 18? ### Query: SE...
### Context: CREATE TABLE table_27283 ( "Model" text, "Power" text, "Torque" text, "Gearbox" text, "Weight" text, "Seating" text, "Brakes" text, "Wheels" text, "Tyres" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the power ...
### 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 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_ca...
### Context: CREATE TABLE table_46181 ( "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 was the event for round 1 against Lance Wipf? ###...
### Context: CREATE TABLE table_name_41 ( human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What human gene has a yeast ortholog of RAD26? ### Query: SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_orthol...
### Context: CREATE TABLE table_46786 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps? ### Query: SELECT "Rider" ...
### Context: CREATE TABLE table_15642 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Crowd" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the less for opponent of @cle and record of 67-29 ### Query: SELECT "Los...
### 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_77744 ( "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. -- Name the lowest rou...
### Context: CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE T...
### Context: CREATE TABLE table_2966 ( "Year" real, "Champions" text, "Runners-up" text, "Score in the final" text, "3rd-place" text, "4th-place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year did Hougang United finish in 4th place?...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), CO...
### Context: CREATE TABLE table_52518 ( "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 home team scored 10.24 (84) at...
### Context: CREATE TABLE table_204_476 ( id number, "name" text, "date built" number, "builder" text, "works no." number, "wheels" text, "cylinders" text, "notes" text, "withdrawn" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ho...
### Context: CREATE TABLE table_23702 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- N...
### Context: CREATE TABLE table_name_20 ( date VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has 113-115 (ot) as the score? ### Query: SELECT date FROM table_name_20 WHERE score = "113-115 (ot)"
### 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_DIRE_CD text, MED_...
### 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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE table_6414 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people went to the game that had 17-13? ### Query: SELECT SUM("At...
### Context: CREATE TABLE table_15973 ( "Formula" text, "Notation" text, "T c (K)" real, "No. of Cu-O planes in unit cell" real, "Crystal structure" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for t c (k) when the notation is t...
### 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 table_72397 ( "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. -- Name the total number of incumbent for first elected of 194...
### Context: CREATE TABLE table_48173 ( "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. -- what is the location when the time is ...
### Context: CREATE TABLE table_30069 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_73224 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real, "Others%" text, "Others#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of others votes in Columbia cou...
### 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 ...