text
stringlengths
197
8.39k
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) C...
### 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_44137 ( "Poll" text, "Pre- season" text, "Mar 3" text, "Mar 17" text, "Mar 24" text, "Mar 31" text, "April 7" text, "April 14" text, "April 21" text, "April 28" text, "May 5" text, "May 12" text, "May 19" text, "May 26" text, "F...
### Context: CREATE TABLE table_1986692_1 ( regular_season VARCHAR, playoffs VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When divisional finals are the playoffs what is the regular season? ### Query: SELECT regular_season FROM table_1986692_1 WHERE playo...
### 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_train_132 ( "id" int, "loss_of_consciousness" bool, "deep_venous_thrombosis" bool, "unstable_angina" bool, "thromboembolic_vascular_disease" bool, "head_injury" bool, "stroke" bool, "cerebrovascular_disease" bool, "mental_retardation" bool, "psychi...
### Context: CREATE TABLE table_name_39 ( _percentage_buddhist VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)? ### Query: SELECT _percentage_buddhist FRO...
### Context: CREATE TABLE table_name_95 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the game against Essendon at home, what did the away team score? ### Query: SELECT away_team AS score FROM table_name_95 WHERE home_team...
### Context: CREATE TABLE table_name_55 ( skip VARCHAR, third VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the skip that has a third of Anna Sloan in season 2012-13? ### Query: SELECT skip FROM table_name_55 WHERE third = "anna...
### Context: CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Student ( StuID ...
### Context: CREATE TABLE table_204_966 ( id number, "region" text, "date" text, "label" text, "format" text, "catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what region was in the sir021-1cd catalog ? ### Query: SELECT "region" FROM t...
### Context: CREATE TABLE table_33114 ( "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 match had the largest crowd s...
### Context: CREATE TABLE table_name_7 ( date_of_birth__age_ VARCHAR, position VARCHAR, club_province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the queensland reds lock player born? ### Query: SELECT date_of_birth__age_ FROM table_name_7 W...
### Context: CREATE TABLE table_21321935_2 ( winning_driver VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won when Jamie Green had the best lap? ### Query: SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Gree...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Students ( student_id INTE...
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE 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_14 ( club VARCHAR, league_division VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which club is in the First division? ### Query: SELECT club FROM table_name_14 WHERE league_division = "first division"
### Context: CREATE TABLE artist ( artist_id number, name text, country text, year_join number, age number ) CREATE TABLE exhibition_record ( exhibition_id number, date text, attendance number ) CREATE TABLE exhibition ( exhibition_id number, year number, theme text, ar...
### Context: CREATE TABLE table_name_14 ( location VARCHAR, stop VARCHAR, station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of Tamagaki station with an l stop? ### Query: SELECT location FROM table_name_14 WHERE stop = "l" AND ...
### 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_7754 ( "Television service" text, "Country" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the content of the Television service of Vesti? ### Query: SELECT...
### Context: CREATE TABLE table_64949 ( "Rank" text, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team is Frank Hulbert on? ### Query: SELECT "Team" FROM table_64949 WHERE "Rider" = 'frank hulb...
### 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_25 ( round VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has an Event of 200 miles of norisring? ### Query: SELECT COUNT(round) FROM table_name_25 WHERE event = "200 miles of norisring"
### Context: CREATE TABLE table_28215780_4 ( no_in_series VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes had 11.86 million US viewers? ### Query: SELECT COUNT(no_in_series) FROM table_28215780_4 WHERE us_view...
### Context: CREATE TABLE table_name_42 ( grid VARCHAR, laps VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid for the Minardi Team USA with laps smaller than 90? ### Query: SELECT grid FROM table_name_42 WHERE laps < 90 AND ...
### Context: CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps real, Tries real, Goals text, Points real ) CREATE TABLE club_rank ( Rank real, Club_ID int, ...
### Context: CREATE TABLE table_name_95 ( result VARCHAR, score VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result of the Competition at MBPJ Stadium with a Score of 4 0? ### Query: SELECT result FROM table_name_95 WHERE sc...
### Context: CREATE TABLE table_name_78 ( react VARCHAR, name VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2? ### Query: SELECT COUNT(react) FROM ta...
### Context: CREATE TABLE table_5498 ( "Rank" text, "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 gold with a bronze smaller than 5 with a rank of 8? ### Que...
### Context: CREATE TABLE table_name_99 ( attendance INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total audience on may 28? ### Query: SELECT SUM(attendance) FROM table_name_99 WHERE date = "may 28"
### Context: CREATE TABLE table_name_47 ( time VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23? ### Query: ...
### Context: CREATE TABLE table_13198 ( "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 Newcastle United as the Home team? ### Query: SELECT "Away tea...
### 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_55558 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has an Opponent of newcastle united, and a Result of 2 1? ### Query: SELECT "D...
### 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_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, ...
### Context: CREATE TABLE table_4891 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE table_78148 ( "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 date is listed for the team th...
### Context: CREATE TABLE table_32851 ( "Date" real, "Sport" text, "Winner" text, "Score" text, "Loser" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner in 2007? ### Query: SELECT "Winner" FROM table_32851 WHERE "Date" = '2007'
### Context: CREATE TABLE table_1353096_2 ( current_status VARCHAR, station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries are listed under 'current status' for the WJW-TV ++ Station? ### Query: SELECT COUNT(current_status) FROM table_13530...
### 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 table_name_57 ( picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? ### Query: S...
### Context: CREATE TABLE table_name_52 ( to_par VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the to par for Dave hill? ### Query: SELECT to_par FROM table_name_52 WHERE player = "dave hill"
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_75563 ( "Name" text, "Pada 1" text, "Pada 2" text, "Pada 3" text, "Pada 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Pada 4 has a Pada 2 of tha? ### Query: SELECT "Pada 4" FROM table_75563 WHERE "Pada 2" =...
### Context: CREATE TABLE bdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_name_44 ( driver_s_ VARCHAR, crew_chief VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver has Scott Zipadelli as a crew chief? ### Query: SELECT driver_s_ FROM table_name_44 WHERE crew_chief = "scott zipadelli"
### Context: CREATE TABLE table_36901 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date of september 28 had what record? ### Query: SELECT "Record" FROM ta...
### Context: CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) -- Using valid SQLite, answer the followi...
### Context: CREATE TABLE table_15266 ( "Year" real, "Population (Region total)" real, "Population (Bundaberg)" text, "Population (Gooburrum)" real, "Population (Woongarra)" real, "Population (Isis)" real, "Population (Kolan)" real ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_name_29 ( loss VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who took the loss in the game that ended with a 54-61 record? ### Query: SELECT loss FROM table_name_29 WHERE record = "54-61"
### Context: CREATE TABLE table_67593 ( "Coach" text, "Team" text, "Wins" real, "Loss" real, "PCT." real, "PTS." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average PCT when it has a PTS smaller than 9 a wins larger than 1? ### Q...
### 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 patient ...
### Context: CREATE TABLE table_78025 ( "Code" real, "Type" text, "Name" text, "Area (km 2 )" real, "Population" real, "Regional County Municipality" text, "Region" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Dupuy lowest area in ...
### 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, aller...
### Context: CREATE TABLE table_name_79 ( tenure VARCHAR, character VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Character Kerry Vincent's Tenure? ### Query: SELECT tenure FROM table_name_79 WHERE character = "kerry vincent"
### Context: CREATE TABLE table_52644 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most laps for grid more than 9 and the driver being jan heylen #...
### Context: CREATE TABLE table_name_51 ( date VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game with 62 points? ### Query: SELECT date FROM table_name_51 WHERE points = 62
### Context: CREATE TABLE table_204_448 ( id number, "team" text, "winners" number, "runners-up" number, "years won" text, "years runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team was the runner up the most times ? ### Query:...
### Context: CREATE TABLE table_1342338_6 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the district for harry lane englebright? ### Query: SELECT district FROM table_1342338_6 WHERE incumbent = "Harry Lane Englebright...
### Context: 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), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( ...
### Context: CREATE TABLE table_64058 ( "TV Station (Operator)" text, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011 1H" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2009 when there's 11...
### Context: CREATE TABLE table_name_38 ( term_start VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Fejzi Bej Alizoti's term start? ### Query: SELECT term_start FROM table_name_38 WHERE name = "fejzi bej alizoti"
### Context: CREATE TABLE table_name_90 ( gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Turkey's average Gold entry that also has a Bronze entry that is smaller than 2 and the Total is grea...
### Context: CREATE TABLE table_name_30 ( grid INTEGER, laps INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With Laps greater than 78, what is the lowest Grid? ### Query: SELECT MIN(grid) FROM table_name_30 WHERE laps > 78
### Context: CREATE TABLE table_name_81 ( game INTEGER, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Game when Morris Peterson (8) had the high assists? ### Query: SELECT MAX(game) FROM table_name_81 WHERE high_assists = "...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icusta...
### Context: CREATE TABLE table_name_85 ( european_competitions VARCHAR, pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which European competitions have a Pos of 6? ### Query: SELECT european_competitions FROM table_name_85 WHERE pos = 6
### Context: CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campu...
### Context: CREATE TABLE table_18992 ( "Country/Region" text, "Local title" text, "Television network" text, "Seasons and winners" text, "Judges" text, "Presenters" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the local title with seas...
### Context: CREATE TABLE table_58969 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for the Panionios moving to? ### Query: SELECT "Type" FROM table_5896...
### Context: CREATE TABLE table_19723 ( "Character" text, "French voice actor" text, "Italian voice actor" text, "German voice actor" text, "Spanish voice actor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the german voice actor for alain do...
### Context: CREATE TABLE table_name_82 ( website VARCHAR, founded VARCHAR, suburb_town VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which website was founded before 1897, and is located in Adaminaby? ### Query: SELECT website FROM table_name_82 WHERE...
### 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 inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE pres...
### Context: CREATE TABLE table_59806 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year(s) won has a To par smaller than 12, and a Player of john daly? ### Query: S...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_name_96 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for 2006 when 2002 is 0 1? ### Query: SELECT 2006 FROM table_name_96 WHERE 2002 = "0–1"
### 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 department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number ) CREATE TABLE class ( class_code t...
### Context: CREATE TABLE table_name_15 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away team score when they played Geelong as the Home team? ### Query: SELECT away_team AS score FROM table_name_15 WHERE home_t...
### Context: CREATE TABLE table_5610 ( "School" text, "Location" text, "Mascot" text, "County" text, "Year Joined" real, "Previous Conference" text, "Year Left" real, "Conference Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whi...
### Context: CREATE TABLE table_2146 ( "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. -- How many incumbents are there in the georgia 8 district when...
### Context: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_77985 ( "Line" text, "Began operation" real, "Stations" real, "Length (km)" text, "Terminals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the earliest began operation with a length of sultan ismail and over...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### 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_74 ( podiums VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Podiums listing has a World Rally Championship series entry? ### Query: SELECT podiums FROM table_name_74 WHERE series = "world rally champ...
### Context: CREATE TABLE table_23541 ( "Starting price" text, "Number" real, "Name" text, "Age" real, "Weight (st, lb)" text, "Jockey" text, "Trainer" text, "Owner" text, "Colours" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
### Context: CREATE TABLE table_name_20 ( percentage VARCHAR, party VARCHAR, percent_of_seats VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of the liberal party with less than 25 percent of seats? ### Query: SELECT COUNT(percenta...
### Context: CREATE TABLE table_24274 ( "Round" real, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the fasted lap in motor...
### Context: CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname ...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icusta...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum numb...
### 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 table_name_93 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which record has a score of l 121 127? ### Query: SELECT record FROM table_name_93 WHERE score = "l 121–127"