text
stringlengths
197
8.39k
### Context: CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varcha...
### Context: CREATE TABLE table_25256 ( "Conference" text, "Regular Season Winner" text, "Conference Player of the Year" text, "Conference Tournament" text, "Tournament Venue (City)" text, "Tournament Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_552 ( "English Title/Translation" text, "Japanese Title" text, "Developer" text, "Publisher" text, "Genre" text, "Console(s)" text, "Initial Release Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's ...
### Context: CREATE TABLE table_name_81 ( title VARCHAR, director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what title was Stephen Fossatti the director of? ### Query: SELECT title FROM table_name_81 WHERE director = "stephen fossatti"
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, in...
### Context: CREATE TABLE table_203_102 ( id number, "event" text, "performance" text, "athlete" text, "nation" text, "place" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of world records that were recorded ...
### Context: CREATE TABLE table_name_82 ( frequency VARCHAR, destination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency of the train to Bangalore? ### Query: SELECT frequency FROM table_name_82 WHERE destination = "bangalore"
### 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_name_67 ( played INTEGER, team VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of played for c.d. luis ngel firpo and place more than 3 ### Query: SELECT SUM(played) FROM table_name_67 WHERE tea...
### Context: CREATE TABLE table_8397 ( "Name" text, "Country of Origin" text, "Position" text, "Elected" real, "Term" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest term from the 2007 election with the position of chairperson? ##...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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, JZZ...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_I...
### 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_61152 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "3:30 pm" text, "4:00 pm" text, "4:30 pm" text, ...
### 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_71784 ( "Date" text, "Region" text, "Label" text, "Catalogue" text, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which catalogue has essential, castle music as it's label? ### Query: SELECT "Catalogue" FRO...
### Context: CREATE TABLE grapes ( id number, grape text, color text ) CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, name text, year number, price number, score number, cases number, drink text ) CREATE TABLE appellations (...
### Context: CREATE TABLE table_name_74 ( round INTEGER, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players were drafted from the Boston Cannons in the round? ### Query: SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) 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 ) CRE...
### Context: CREATE TABLE table_22486 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" text, "Water (sqmi)" text, "Latitude" text, "Longitude" text, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_55312 ( "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 Crowd has an Away team score ...
### 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_3906 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nu...
### Context: CREATE TABLE table_11734041_3 ( school_club_team_country VARCHAR, years_for_rockets VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school, club team, or country played for the rockets in the years 2000-01? ### Query: SELECT school_club_te...
### Context: CREATE TABLE table_27882867_9 ( location_attendance VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location and attendance when d. wilkins (29) had the high points? ### Query: SELECT location_attendance FROM ta...
### Context: CREATE TABLE table_2359 ( "Round" real, "Choice" real, "Player" text, "Position" text, "Height" text, "Weight" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions have round 3? ### Query: SELECT CO...
### Context: CREATE TABLE table_23495048_2 ( represent VARCHAR, height__mtr_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had a contestant that was 1.76 meters tall? ### Query: SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.7...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### Context: CREATE TABLE table_name_88 ( engine VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the engine for dhg tom's racing ### Query: SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing"
### Context: CREATE TABLE table_train_130 ( "id" int, "gender" string, "systolic_blood_pressure_sbp" int, "right_bundle_branch_block" bool, "space_occupying_cerebral_lesion" bool, "huntington_disease" bool, "psychiatric_disease" bool, "mental_illness" bool, "treatment_regimen" bool, ...
### Context: CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE writes ...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_51602 ( "Track" real, "Title" text, "Translation" text, "Composer" text, "Recorded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of tracks for of the fallen angel ### Query: SELECT COUNT("Trac...
### Context: CREATE TABLE genre ( g_name text, rating text, most_popular_in text ) CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text )...
### 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 treatment ( ...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, pr...
### Context: CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEG...
### Context: CREATE TABLE table_51768 ( "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 Melbourne's away team oppon...
### 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_name_65 ( weight VARCHAR, series VARCHAR, reverse VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much did the Modern Pentathlon III Series coin weigh? ### Query: SELECT weight FROM table_name_65 WHERE series = "iii se...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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...
### Context: CREATE TABLE table_18327 ( "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. -- What district did the Democratic party incumbent Stephen J....
### Context: CREATE TABLE table_name_85 ( altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th? ### ...
### Context: CREATE TABLE table_name_87 ( engine VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine was used after 1984? ### Query: SELECT engine FROM table_name_87 WHERE year > 1984
### Context: CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE station ( id int, network_name text, services te...
### Context: CREATE TABLE table_54023 ( "Rank" real, "Name" text, "City" text, "Height (m)" real, "Height (ft)" real, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total of floors when the name is k lntriangle and rank is l...
### 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_46129 ( "First Vice President" text, "Second Vice President" text, "Third Vice president" text, "Inaugurated" text, "Left Office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Second Vice President, when Inau...
### Context: CREATE TABLE table_name_66 ( cost___us$__ VARCHAR, open_source VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cost of an Open Source that is no? ### Query: SELECT cost___us$__ FROM table_name_66 WHERE open_source = "no"
### Context: CREATE TABLE table_33212 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Dan Selznick best time? ### Query: SELECT "Best" FROM table_33212 WHERE "Name" = 'dan sel...
### Context: CREATE TABLE table_77798 ( "Player" text, "Club" text, "League" real, "Play-offs" real, "FA Cup" real, "FA Trophy" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the lowest leagues had Aldershot town as a ...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate...
### Context: CREATE TABLE table_23248967_10 ( high_points VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who scored the high points in game 78? ### Query: SELECT high_points FROM table_23248967_10 WHERE game = 78
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE table_54978 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the game on 11 March 2008 with a visiting team of Bucks, who was th...
### Context: CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_56857 ( "Name" text, "City" text, "Height (m)" real, "Height (ft)" real, "Floors" real, "Years as tallest" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For a height less than 122 meters, what is the greatest hei...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE...
### Context: CREATE TABLE table_name_8 ( operator VARCHAR, ship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What operator has a ship costa pacifica? ### Query: SELECT operator FROM table_name_8 WHERE ship = "costa pacifica"
### Context: CREATE TABLE table_59906 ( "Season" text, "Date Released" text, "# Of Episodes" real, "# Of Discs" real, "Special Features" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date Released, when # Of Discs is greater than 4? ### Query...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE 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 Documents ( document_id VARCHAR, document_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the ids and names of all documents. ### Query: SELECT document_id, document_name FROM Documents
### Context: CREATE TABLE table_name_12 ( country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the country where % change on year is 21 and value is less than 86 ### Query:...
### 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_95 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game where the indians record was 37-44? ### Query: SELECT date FROM table_name_95 WHERE record = "37-44"
### Context: CREATE TABLE table_name_98 ( college VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did pick 33 attend? ### Query: SELECT college FROM table_name_98 WHERE pick = 33
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE prescr...
### Context: CREATE TABLE people ( country VARCHAR, age INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the country where people older than 30 and younger than 25 are from. ### Query: SELECT country FROM people WHERE age < 25 INTERSECT SELECT country FR...
### 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_5257 ( "Episode" real, "Title" text, "Airdate (Canada)" text, "Airdate (USA)" text, "CBS airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of episodes aired in Canada on 22 October 2004?...
### 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_22834834_12 ( year VARCHAR, earnings__$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years had a total earnings amount of 2254598? ### Query: SELECT COUNT(year) FROM table_22834834_12 WHERE earnings__$_ = 2254598
### Context: CREATE TABLE table_30120555_1 ( barony VARCHAR, area__acres__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which barony contains a townland with an area 24 acres? ### Query: SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24
### Context: CREATE TABLE table_43709 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is average frequency MHZ when is in portales, new mexico? ### Query...
### 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_70744 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years did John Player Lotus used Cosworth v8? ### Query: SELECT SUM("Year") FROM ta...
### 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE table_16795394_3 ( team__number1 VARCHAR, team__number2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If team two is San Lorenzo, how many were on team one? ### Query: SELECT COUNT(team__number1) FROM table_16795394_3 WHERE team__...
### Context: CREATE TABLE table_name_50 ( hdtv VARCHAR, content VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the HDTV when the content is general television? ### Query: SELECT hdtv FROM table_name_50 WHERE content = "general television"
### Context: CREATE TABLE table_203_8 ( id number, "player" text, "rec." number, "yards" number, "avg." number, "td's" number, "long" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player 's average is higher than ira gooch 's ? ###...
### Context: CREATE TABLE table_5115 ( "Year" real, "Class" text, "Team" text, "Points" real, "Rank" text, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the last year that they had less than 16 points in class 500cc? ### Query:...
### 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 employees ( EMPLOYEE_I...
### Context: CREATE TABLE On_Call ( Nurse INTEGER, BlockFloor INTEGER, BlockCode INTEGER, OnCallStart DATETIME, OnCallEnd DATETIME ) CREATE TABLE Physician ( EmployeeID INTEGER, Name VARCHAR(30), Position VARCHAR(30), SSN INTEGER ) CREATE TABLE Appointment ( AppointmentID INTEG...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( YLJGDM tex...
### Context: CREATE TABLE table_18481791_3 ( title VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of series 23? ### Query: SELECT title FROM table_18481791_3 WHERE no_in_series = 23
### Context: CREATE TABLE table_49327 ( "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. -- Can you tell me the Time that has the ...
### Context: CREATE TABLE Financial_Transactions ( transaction_id INTEGER, account_id INTEGER, invoice_number INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DECIMAL(19,4), transaction_comment VARCHAR(255), other_transaction_details VARCHAR(255) ) CR...
### Context: CREATE TABLE table_44048 ( "Class" text, "Wheel arrangement" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Quantity Made, when Manufact...
### Context: CREATE TABLE table_74064 ( "Total #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different episode numbers does the episode...
### Context: CREATE TABLE table_name_96 ( name VARCHAR, decile VARCHAR, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which name has a Decile of 5, and an Area of tauranga? ### Query: SELECT name FROM table_name_96 WHERE decile = 5 AND area = "tau...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, ...
### 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 table_204_107 ( 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 are the total number of gold medals italy earne...
### Context: CREATE TABLE table_name_13 ( copaxone VARCHAR, mitoxantrone VARCHAR, betaseron__beta_1b_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the copaxone with mitoxantrone of no and betaseron (beta-1b) of no ### Query: SELECT copaxone FROM ...
### 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 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_75475 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games have a record of 30 25 9 and more points than 69? ### Que...
### Context: CREATE TABLE table_name_37 ( name VARCHAR, games VARCHAR, medal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Name had a Games of 2008 beijing, and a Medal of gold? ### Query: SELECT name FROM table_name_37 WHERE games = "2008 beijin...