text
stringlengths
197
8.39k
### Context: CREATE TABLE table_51421 ( "Player" text, "Position" text, "Tries" real, "Goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of points scored by Joe Vagana when making fewer than 2 tries? ##...
### 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_21 ( score VARCHAR, country VARCHAR, money___$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the United States, which has more than $24,542? ### Query: SELECT score FROM table_name_21 WHERE co...
### Context: CREATE TABLE table_name_35 ( owner VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the winner of meridiana ### Query: SELECT owner FROM table_name_35 WHERE winner = "meridiana"
### Context: CREATE TABLE company ( Company_ID real, Name text, Headquarters text, Industry text, Sales_in_Billion real, Profits_in_Billion real, Assets_in_Billion real, Market_Value_in_Billion real ) CREATE TABLE people ( People_ID int, Age int, Name text, Nationality t...
### Context: CREATE TABLE table_204_143 ( id number, "national park" text, "region" text, "land area (km2)" number, "established" number, "visitation (2009)" number, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many parks...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_77155 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record for December 5, 1948? ### Query: SELECT "Record" FROM table_77155 WHERE "D...
### Context: CREATE TABLE table_name_69 ( result VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What outcome has a score of 12-22? ### Query: SELECT result FROM table_name_69 WHERE score = "12-22"
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, cla...
### 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_1 ( laps INTEGER, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest laps that Vittorio Iannuzzo completed? ### Query: SELECT MIN(laps) FROM table_name_1 WHERE rider = "vittorio iannuzzo"
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( ...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_36516 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" text, "Round" text, "Time" text, "Location" text, "Rules" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a...
### Context: CREATE TABLE table_203_638 ( id number, "score" number, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which score consecutively had th...
### Context: CREATE TABLE table_11677100_12 ( hometown VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown of player Jason Place? ### Query: SELECT hometown FROM table_11677100_12 WHERE player = "Jason Place"
### Context: CREATE TABLE Characteristics ( characteristic_id INTEGER, characteristic_type_code VARCHAR(15), characteristic_data_type VARCHAR(10), characteristic_name VARCHAR(80), other_characteristic_details VARCHAR(255) ) CREATE TABLE Ref_Characteristic_Types ( characteristic_type_code VARCHA...
### 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_1818254_1 ( burglary VARCHAR, violent_crime VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many burglaries occurred in the city where the violent crime rate was 974.7? ### Query: SELECT burglary FROM table_1818254_1 WHERE...
### Context: CREATE TABLE table_173103_1 ( max_pressure VARCHAR, cartridge VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max pressure of the .38 long colt cartridge? ### Query: SELECT max_pressure FROM table_173103_1 WHERE cartridge = ".38 Long...
### 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 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 aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) ) CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance numb...
### Context: CREATE TABLE qtb ( 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_68163 ( "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 smallest number of points with an Engine of climax v8, and a Year of 1966? ### Q...
### Context: CREATE TABLE table_name_76 ( score VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the match with tie number 23? ### Query: SELECT score FROM table_name_76 WHERE tie_no = "23"
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE area ( course_id int, are...
### Context: CREATE TABLE table_name_44 ( population INTEGER, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population with an area of 1,126.84? ### Query: SELECT MIN(population) FROM table_name_44 WHERE area = 1 OFFSET 126.84
### Context: CREATE TABLE table_203_788 ( id number, "year" number, "author" text, "illustrator" text, "title" text, "publisher" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what 's the difference in years between angela carter 's title and an...
### Context: CREATE TABLE table_204_96 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was attendance higher during week 5 or week 9 ? ### Query: SELECT "wee...
### Context: CREATE TABLE table_name_91 ( grid INTEGER, driver VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest grid of Ronnie Bremer, who had more than 18 points? ### Query: SELECT MAX(grid) FROM table_name_91 WHERE dri...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_...
### Context: CREATE TABLE table_16154 ( "Country" text, "Membership (from 2010)" real, "Name of member organization" text, "Year current Scouting organization joined WOSM" text, "Year member organization was founded" text, "Admits boys/girls" text ) -- Using valid SQLite, answer the following ...
### Context: CREATE TABLE table_64100 ( "Rank" real, "Team" text, "Apps" real, "Record" text, "Win %" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest win % with a 0-2 record and more than 2 apps? ### Query: SELECT MIN("Win %") FRO...
### Context: CREATE TABLE table_11177 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Competition with a Date with 6 december 2011? ### Query: SELECT "Competition" F...
### Context: CREATE TABLE table_204_893 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many spanish runners total placed in the top 10 in the men 's 3000 metre...
### Context: CREATE TABLE table_name_16 ( ngc_number INTEGER, constellation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of NGC numbers for Constellation vela? ### Query: SELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = "vel...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_47696 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of tur...
### Context: CREATE TABLE table_20354_7 ( zodiac_sign VARCHAR, malayalam_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the zodiac for ### Query: SELECT zodiac_sign FROM table_20354_7 WHERE malayalam_name = "കന്നി"
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, ...
### 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 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_33445 ( "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 is the away side at junction ov...
### Context: CREATE TABLE table_name_60 ( date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent ### Query: SEL...
### Context: CREATE TABLE table_train_115 ( "id" int, "systolic_blood_pressure_sbp" int, "hepatic_disease" bool, "creatinine_clearance_cl" float, "diastolic_blood_pressure_dbp" int, "glucose_6_phosphate_dehydrogenase_deficiency_g6pd" int, "uncontrolled_blood_pressure" bool, "NOUSE" float...
### Context: CREATE TABLE table_name_53 ( nationality VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the nationality of Livio Berruti? ### Query: SELECT nationality FROM table_name_53 WHERE athlete = "livio berruti"
### Context: CREATE TABLE table_name_15 ( name VARCHAR, province VARCHAR, rank VARCHAR, type VARCHAR, capacity___mw__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name when the type is hydro, the capacity (mw) is less than 478, the ...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title 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, ...
### 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 ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDat...
### Context: CREATE TABLE table_name_56 ( bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value o...
### Context: CREATE TABLE table_49420 ( "Club" text, "City" text, "Stadium" text, "Capacity" real, "2007\u201308 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which stadium does Club Pro Patria play? ### Query: SELECT "Stadium" FROM tab...
### Context: CREATE TABLE table_26054 ( "Episode #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production code #" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all directors wh...
### Context: CREATE TABLE student_course_registrations ( student_id VARCHAR ) CREATE TABLE student_course_attendance ( student_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all info of students who registered courses but not attended courses? ...
### Context: CREATE TABLE table_208 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### 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 qtb ( 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 book_club ( category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all book categories and the number of books in each category. ### Query: SELECT category, COUNT(*) FROM book_club GROUP BY category
### Context: CREATE TABLE table_name_98 ( roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Roll of Orere School with a Decile less than 8 with a State Authority? ### Query: SELE...
### Context: CREATE TABLE table_11820086_1 ( directed_by VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode that was viewed by 2.50 million people in the U.S.? ### Query: SELECT directed_by FROM table_1182...
### Context: CREATE TABLE table_37611 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the attendance of the game with a score of 5-4? ### Query: SELECT...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) ...
### Context: CREATE TABLE table_14181578_1 ( club__city_town_ VARCHAR, goals_for_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the club (city/town) with goals for/against being 14-2 ### Query: SELECT club__city_town_ FROM table_14181578_...
### Context: CREATE TABLE table_10677 ( "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 away score at the Prin...
### Context: CREATE TABLE table_32467 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was week 3 score? ### Query: SELECT "Result" FROM table_32467 WHERE "Week" = '3'
### Context: CREATE TABLE table_79963 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the game attended by 25,034? ### Query: SELECT "Sco...
### Context: CREATE TABLE table_75735 ( "Name" text, "Year" real, "Landfall" text, "NHC Advisory Number" text, "V(mph)" real, "R(miles)" real, "Saffir-Simpson Category" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest Saff...
### Context: CREATE TABLE table_46796 ( "Reserve" text, "District" text, "IUCN" text, "Co-management" text, "Est." real, "Description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the description when the reserve is Half Moon Caye? ##...
### Context: CREATE TABLE table_33105 ( "Position" real, "Club" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Points" real, "Goal Difference" real ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_66388 ( "Title" text, "Series" text, "Director" text, "Production Num." text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What series has 1935-07-13 as the release date? ### Query: SELECT "Series" F...
### 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_204_148 ( id number, "name" text, "elected" text, "term began" text, "term ended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did charles royer hold office longer than paul schell ? ### Query: SELECT (SELECT "term...
### Context: CREATE TABLE table_204_979 ( id number, "place" number, "nation" text, "5 hoops" text, "3 balls,\n2 ribbons" text, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- other than spain , name a country that beat russia overall ....
### Context: CREATE TABLE table_43044 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Time, when Away is Central Blues? ### Query: SELECT "Time" FROM table_4304...
### Context: CREATE TABLE Ref_Detention_Type ( detention_type_code VARCHAR(10), detention_type_description VARCHAR(80) ) CREATE TABLE Teachers ( teacher_id INTEGER, address_id INTEGER, first_name VARCHAR(80), middle_name VARCHAR(80), last_name VARCHAR(80), gender VARCHAR(1), cell_mo...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text )...
### Context: CREATE TABLE table_14855908_3 ( episodes INTEGER, region_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes were put out in Region 4 on March 4, 2010? ### Query: SELECT MAX(episodes) FROM table_14855908_3 WHERE region_4 = "March...
### Context: CREATE TABLE table_71472 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What label released a record on March 25, 1984? ### Query: SELECT "Label" FROM table_71472 WHE...
### Context: CREATE TABLE table_16041 ( "Character" text, "1954 Broadway" text, "1955 broadcast" text, "1960 broadcast" text, "1979 Broadway" text, "1990 Broadway" text, "1991 Broadway" text, "1998 Broadway" text, "1999 Broadway" text ) -- Using valid SQLite, answer the following q...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE patients ( row_id num...
### Context: CREATE TABLE table_name_37 ( roll INTEGER, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest roll number of Katikati college? ### Query: SELECT MIN(roll) FROM table_name_37 WHERE name = "katikati college"
### 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 CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### 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 pilot_record ( Pilot_name VARCHAR, Pilot_ID VARCHAR ) CREATE TABLE pilot ( Pilot_name VARCHAR, Pilot_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of pilots that do not have any record. ### Query: SELECT...
### Context: CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text ) CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE...
### Context: CREATE TABLE table_36440 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What City had Results of 1:2? ### Query: SELECT "City" FROM table_36440 WHERE "Re...
### 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_name_47 ( manner_of_departure VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What manner of departure was Dick Advocaat replaced by? ### Query: SELECT manner_of_departure FROM table_name_47 WHERE replaced...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, ...
### 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_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( ...
### 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 table_41967 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result when the Theme was by Dolly Parton? ### ...
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, reli...
### Context: CREATE TABLE table_name_41 ( released VARCHAR, english_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- English title of oxygenie of happiness has what release date? ### Query: SELECT released FROM table_name_41 WHERE english_title = "oxyge...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) 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, ...