text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_75 ( team VARCHAR, sport VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which baseball team is class AAA? ### Query: SELECT team FROM table_name_75 WHERE sport = "baseball" AND class = "aaa"
### Context: CREATE TABLE table_name_52 ( school VARCHAR, enrollment VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School has an Enrollment larger than 264, and a County of 46 la porte? ### Query: SELECT school FROM table_name_52 ...
### Context: CREATE TABLE table_name_87 ( nation VARCHAR, gold VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nations have more than 1 gold medal and 4 silver medals? ### Query: SELECT nation FROM table_name_87 WHERE gold > 1 AND s...
### 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 zyb ( 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 table_name_7 ( attendance INTEGER, opponents VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game against the Kaizer Chiefs? ### Query: SELECT SUM(attendance) FROM table_name_7 WHERE opponents = "kaizer ...
### 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_74612 ( "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 team's score at t...
### Context: CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number )...
### Context: CREATE TABLE table_train_62 ( "id" int, "do_not_resuscitate_dnr" bool, "cd4_count" int, "oxygen_therapy_by_face_mask" bool, "intention_to_central_venous_catheter" bool, "blood_transfusion" bool, "tolerate_microscan_procedure" bool, "NOUSE" float ) -- Using valid SQLite, an...
### Context: CREATE TABLE table_39627 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of points of the game before game 2 before Octob...
### 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 table_58468 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest rank for a nation with 26 golds and over 17 silvers? ### Q...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE...
### Context: CREATE TABLE table_name_76 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team has an Away team of essendon? ### Query: SELECT home_team AS score FROM table_name_76 WHERE away_team = "essendon"
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_name_21 ( voltage VARCHAR, model_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Voltage for Model Number c3 866? ### Query: SELECT voltage FROM table_name_21 WHERE model_number = "c3 866"
### Context: CREATE TABLE table_11677760_1 ( nba_draft VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was the player felipe lopez? ### Query: SELECT COUNT(nba_draft) FROM table_11677760_1 WHERE player = "Felipe Lopez"
### Context: CREATE TABLE table_name_87 ( date VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did the team play week 13? ### Query: SELECT date FROM table_name_87 WHERE week = 13
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid n...
### Context: CREATE TABLE table_30383 ( "\u2116" real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_29971 ( "No." real, "Player" text, "Club" text, "Test career" text, "Tests" real, "Catches" real, "Stumpings" real, "Total dismissals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most amount...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) ...
### 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_58812 ( "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 was the Tie no when Manchester United was the home team? ### Query: SELECT "Tie no" ...
### Context: CREATE TABLE table_name_83 ( round VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round had a result of 6 7 (6 8) , 1 6? ### Query: SELECT round FROM table_name_83 WHERE result = "6–7 (6–8) , 1–6"
### Context: CREATE TABLE table_75825 ( "Season" text, "Competition" text, "Round" text, "Opponent" text, "Home" text, "Away" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home has a Competition of european cup, and a R...
### Context: CREATE TABLE table_name_33 ( selection INTEGER, player VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Selection has a Player of jamaar taylor, and a Round larger than 6? ### Query: SELECT MIN(selection) FROM table_name_...
### Context: CREATE TABLE table_53717 ( "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. -- Which home has a Date of november 7? ### Query: SELE...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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 employees ( EMPLOYEE_ID ...
### Context: CREATE TABLE table_12018 ( "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 table_49050 ( "Source Version" text, "Target Version" text, "Last Release" text, "License" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Target Version, when Last Release is 2009-08-09, 1.2.9? ### ...
### Context: CREATE TABLE table_27057070_3 ( date_of_appointment VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many date of appointment entries are there when the team is khazar lankaran? ### Query: SELECT COUNT(date_of_appointment) FROM ...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_de...
### Context: CREATE TABLE table_204_929 ( id number, "location" text, "name of mill and\ngrid reference" text, "type" text, "maps" text, "first mention\nor built" text, "last mention\nor demise" number ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_96 ( world_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what 188kg is the world record clean & jerk? ### Query: SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk"
### Context: CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE company ( Company_ID in...
### Context: CREATE TABLE artists ( id number, name text ) CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id...
### Context: CREATE TABLE table_19709 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest attendance? ### Query: SELEC...
### Context: CREATE TABLE table_name_20 ( role VARCHAR, broadcaster VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the role for BBC1? ### Query: SELECT role FROM table_name_20 WHERE broadcaster = "bbc1"
### Context: CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, m...
### Context: CREATE TABLE table_name_84 ( pictorials VARCHAR, interview_subject VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of? ### Query: SELECT pictorials FROM tab...
### Context: CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREAT...
### 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 mzjzjlb ( HXPLC numb...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### Context: CREATE TABLE table_name_55 ( player VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT PLAYER HAS THE OAKLAND ATHLETICS? ### Query: SELECT player FROM table_name_55 WHERE team = "oakland athletics"
### Context: CREATE TABLE table_name_35 ( tie_no VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tie number for the home team Orient? ### Query: SELECT tie_no FROM table_name_35 WHERE home_team = "orient"
### Context: CREATE TABLE table_name_71 ( engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the engine(s) on the car before 1978 with ensign n177 chassis? ### Query: SELECT engine_s_ FROM table_name_71 WHERE...
### Context: CREATE TABLE table_name_56 ( performer_3 VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date of 15 july 1994 involves which performer 3? ### Query: SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994"
### Context: CREATE TABLE table_name_67 ( rank VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Total number of Rankthat has the Lane of 4? ### Query: SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4
### Context: CREATE TABLE tags ( index number, id number, tag text ) CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE table_6585 ( "Designation (bore)" text, "Length Overall" text, "Weight of Gun" text, "Weight of Shot" text, "Weight of Shell" text, "Service Charge" text, "Range (yards)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABL...
### Context: CREATE TABLE table_61866 ( "Name" text, "Date" text, "Year" real, "Country" text, "Killed" text, "Injured" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rampage killed 8 in Israel? ### Query: SELECT "Name" FROM table_61866 W...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_24759 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "3rds" real, "Top 10s" real, "Best finish" text, "Earnings ($)" text, "Money list rank" real, "Scoring average" text ) -- Using valid SQLite, answer the following ques...
### 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 table_train_228 ( "id" int, "ejection_fraction_ef" int, "hiv_infection" bool, "heart_disease" bool, "body_weight" float, "body_mass_index_bmi" float, "allergy_to_beef" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables p...
### 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_47548 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" text, "Song" text, "Artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song came from volume:issue 68:20-24? ### Query: SELECT "Song" FROM ta...
### Context: CREATE TABLE table_22948559_1 ( production_code VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the production code by paul lieberstein ### Query: SELECT production_code FROM table_22948559_1 WHERE written_by = "Paul Lie...
### Context: CREATE TABLE table_44211 ( "Name of peak" text, "Height (m)" real, "Height (ft)" real, "Prominence (m)" real, "Prominence (ft)" real, "Nearest Higher Neighbor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total promine...
### 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_67496 ( "State" text, "Electors" real, "Bush" real, "Kerry" real, "Nader" real, "Badnarik" real, "Peroutka" real, "Cobb" real, "Others" real, "Margin" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE WINE ( Winery VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wines are produced at Robert Biale winery? ### Query: SELECT COUNT(*) FROM WINE WHERE Winery = "Robert Biale"
### Context: CREATE TABLE table_1341577_36 ( incumbent VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which incumbent was first elected in 1958? ### Query: SELECT incumbent FROM table_1341577_36 WHERE first_elected = 1958
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, ...
### Context: CREATE TABLE table_55956 ( "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 did the away team score at Jun...
### Context: CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) 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, ...
### Context: CREATE TABLE table_12772 ( "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 pr...
### Context: CREATE TABLE table_17978052_2 ( comment VARCHAR, borough_or_census_area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the comment on the Denali area? ### Query: SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Dena...
### 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 microlab...
### Context: CREATE TABLE table_name_52 ( transfer_window VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Brown's transfer window? ### Query: SELECT transfer_window FROM table_name_52 WHERE name = "brown"
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### Context: CREATE TABLE table_23483182_1 ( directed_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed 414? ### Query: SELECT directed_by FROM table_23483182_1 WHERE production_code = 414
### Context: CREATE TABLE table_73436 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Cowboys points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Cowboys score 13 points in 1966? ...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE transfers ( ...
### Context: CREATE TABLE table_76369 ( "Poll source" text, "Dates administered" text, "Arlen Specter*" text, "Pat Toomey" text, "Tom Ridge*" text, "Peg Luksik" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Dates administered has an Arlen...
### Context: CREATE TABLE table_34196 ( "Club" text, "Nickname" text, "Years in Competition" text, "No. of Premierships" real, "Premiership Years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Nickname in the Competition of 1982-1994? ...
### 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 CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### 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_96 ( name VARCHAR, title VARCHAR, royal_house VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the name listed for the royal house of jiang and a title of duke? ### Query: SELECT name FROM table_name_96 WHERE ...
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35),...
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE icustays ( row_id ...
### 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 volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number ) CREATE TABLE music_festival ( id number, music_festival text, date_of_ceremony text, category text, volume number, result text ) C...
### Context: CREATE TABLE table_29404 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the w...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( cos...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) 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,...
### Context: CREATE TABLE table_46485 ( "Order" text, "Episode" text, "Rating" real, "Share" real, "Rating/share (18\u201349)" text, "Viewers (millions)" real, "Rank (Night)" real, "Rank (Timeslot)" real, "Rank (Week)" real ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_2562572_33 ( largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest ethnic group in (hungarian: kispiac)? ### Query: SELECT largest_ethnic_group__2002...
### Context: CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float(8) ) CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(1), EMP_JOBCODE varchar(5), EMP_HIREDATE date...
### Context: CREATE TABLE table_73933 ( "Represents" text, "Contestant" text, "Age" real, "Height (cm)" text, "Height (ft)" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most age ### Query: SELECT MAX("Age") FROM tabl...
### Context: CREATE TABLE table_204_737 ( id number, "year" number, "order" text, "quantity" number, "ger nos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what order is listed first at the top of the table ? ### Query: SELECT "order" FROM table...