text
stringlengths
197
8.39k
### Context: CREATE TABLE table_38708 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Frequency MHz has a Call sign of w264bg? ### ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime tim...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_name_9 ( year VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year saw a score of 8-5? ### Query: SELECT year FROM table_name_9 WHERE score = "8-5"
### Context: CREATE TABLE table_name_10 ( attendance INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended on July 5? ### Query: SELECT SUM(attendance) FROM table_name_10 WHERE date = "july 5"
### Context: CREATE TABLE table_name_93 ( constituency VARCHAR, conservative VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What constituency does the Conservative Darren Millar belong to? ### Query: SELECT constituency FROM table_name_93 WHERE conservative...
### Context: CREATE TABLE table_2928 ( "Year" real, "Population" real, "Serbs" text, "Germans" text, "Romanians" text, "Hungarians" text, "Croats" text, "Roma" text, "Slovaks" text, "Rest" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### 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 table_name_77 ( cover_model VARCHAR, centerfold_model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Cover model has a Centerfold model of jennifer walcott? ### Query: SELECT cover_model FROM table_name_77 WHERE centerfold_mo...
### Context: CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_...
### Context: CREATE TABLE table_16168849_1 ( joined VARCHAR, nickname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the joined for blue hose ### Query: SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose"
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_1341453_51 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the incumbent of district Wisconsin 5? ### Query: SELECT incumbent FROM table_1341453_51 WHERE district = "Wisconsin 5"
### Context: CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_name_76 ( score INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for Nick Faldo? ### Query: SELECT AVG(score) FROM table_name_76 WHERE player = "nick faldo"
### Context: CREATE TABLE Ref_Payment_Methods ( payment_method_code CHAR(10), payment_method_description VARCHAR(80) ) CREATE TABLE Drama_Workshop_Groups ( Workshop_Group_ID INTEGER, Address_ID INTEGER, Currency_Code CHAR(15), Marketing_Region_Code CHAR(15), Store_Name VARCHAR(255), Sto...
### Context: CREATE TABLE table_11567 ( "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 is the lowest crowd when North...
### Context: CREATE TABLE table_58860 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Lawson Little's Money ($) amount? ### Query: SELECT "Money ( ...
### Context: CREATE TABLE table_14342592_4 ( points INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least points for patrick ### Query: SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick"
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE Badges ( Id number, UserId number, ...
### 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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( in...
### Context: CREATE TABLE table_64302 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total weeks with more 56,134 attendees against the minnesota vikings? ### Quer...
### 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 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_12335 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the April 7, 2008 score on a clay surface? ### Query: SELECT "Scor...
### Context: CREATE TABLE table_62990 ( "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 was the release date for Production Number 8181? ### Query: SELECT "Rel...
### Context: CREATE TABLE table_35785 ( "Polling Firm" text, "Date of Polling" text, "Link" text, "Liberal" real, "Green" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date of polling was the Polling Firm forum research with 7 green and les...
### Context: CREATE TABLE table_27184837_1 ( asia VARCHAR, americas VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many program data on Asia was written if the organization launched 14 programs iin the Americas? ### Query: SELECT COUNT(asia) FROM table_...
### Context: CREATE TABLE table_1756284_1 ( bush_number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest vote number for Bush? ### Query: SELECT MAX(bush_number) FROM table_1756284_1
### 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_64 ( total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest total for bronzes over 1, golds over 8, and fewer than 10 silvers? ### Query: SELECT MIN(...
### Context: CREATE TABLE table_2930244_4 ( number_of_tropical_storms INTEGER, deaths VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of tropical storms in the year that had exactly 34 deaths? ### Query: SELECT MAX(number_of_tropic...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId numb...
### Context: CREATE TABLE table_44860 ( "Rank" real, "Name" text, "S-League" text, "Singapore Cup" text, "Singapore League Cup" text, "AFC Cup" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank for the total that ...
### Context: CREATE TABLE table_24273 ( "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 won when Jamie Green had th...
### 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_38392 ( "Product" text, "Extensions" text, "Projects templates" text, "MSDN integration" text, "Debugging" text, "Profiling" text, "IntelliTrace" text, "Unit test" text, "Code coverage" text, "Test impact analysis" text, "Load testing" text, ...
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE flight_stop ( flight_id int, stop_...
### Context: CREATE TABLE table_name_89 ( attendance INTEGER, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Of the games with a record of 80-81, what was the highest attendance? ### Query: SELECT MAX(attendance) FROM table_name_89 WHERE record = "80...
### Context: CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CRE...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar...
### Context: CREATE TABLE table_28466323_2 ( directed_by VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode watched by 2.01 million US viewers? ### Query: SELECT directed_by FROM table_28466323_2 WHERE us_v...
### Context: CREATE TABLE table_name_65 ( points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For years before 1996, having a rank of 3rd in the 125cc class, what is the sum of the points? ### Query: SELE...
### 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 t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY...
### Context: CREATE TABLE 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 grapes ( id number, grape text, color text ) CREATE TABLE appellations (...
### Context: CREATE TABLE table_45313 ( "Season" real, "Team 1" text, "Score" text, "Team 2" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:...
### Context: CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number ) CREATE TABLE customers ( ...
### Context: CREATE TABLE table_14084 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" real, "FA Cup Goals" real, "League Cup Apps" real, "League Cup Goals" real, "Total Apps" text, "Total Goals" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE table_name_11 ( director VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Director, when Season is 1.4? ### Query: SELECT director FROM table_name_11 WHERE season = 1.4
### Context: CREATE TABLE table_204_573 ( id number, "#" number, "title" text, "performer(s)" text, "film" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long is the song from the lion king ? ### Query: SELECT "length" FROM t...
### Context: CREATE TABLE table_204_513 ( id number, "date" text, "time" text, "opponent#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when is the next game played after nove...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_54770 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_23 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When st kilda was playing at home what was the away teams score? ### Query: SELECT away_team AS score FROM table_name_23 WHERE home_team = ...
### Context: CREATE TABLE table_71801 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" real, "Jockey" text, "Winner/2nd" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the...
### Context: CREATE TABLE table_1876825_7 ( written_by VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of written by for original air date for may 8, 2005 ### Query: SELECT COUNT(written_by) FROM table_1876825...
### Context: CREATE TABLE table_1304443_2 ( others_percentage VARCHAR, bush_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes? ### Query: SELECT othe...
### Context: CREATE TABLE table_18812411_3 ( r1 VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Fiji win r1? ### Query: SELECT COUNT(r1) FROM table_18812411_3 WHERE country = "Fiji"
### Context: CREATE TABLE table_name_49 ( tries INTEGER, player VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tries did the player Paul Sykes take when he earned 0 points? ### Query: SELECT MAX(tries) FROM table_name_49 WHERE p...
### Context: CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number int, start_time time, end_time time, monday varchar, tuesday varchar, wednesday varchar, thursday varchar, friday varchar, saturday varchar, sunday varchar, ha...
### 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### Context: CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) 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 tex...
### Context: CREATE TABLE table_39704 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total medals for the nation with 1 gold and 6 bronzes? ### Query: SEL...
### Context: CREATE TABLE table_train_50 ( "id" int, "raynaud_syndrome" bool, "active_infection" bool, "antibiotic_treatment" bool, "receiving_vasopressor" bool, "sepsis" bool, "vasospastic_diathesis" bool, "organ_failure" bool, "septic_shock" bool, "NOUSE" float ) -- Using val...
### Context: CREATE TABLE table_12823 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1st Member, when 1st Party is 'Constituency Abolished'? ### Query: S...
### Context: CREATE TABLE table_1610496_3 ( gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the adjusted GDP when the nominal GDP per capita is 2874? ### Query: SELECT gdp_adjusted__$_bill...
### Context: CREATE TABLE table_23185 ( "Rank" real, "Mountain Peak" text, "Mountain Range" text, "Elevation" text, "Prominence" text, "Isolation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different isolation numbers does the Jack ...
### Context: CREATE TABLE table_name_58 ( high_assists VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the high assists against San Antonio? ### Query: SELECT high_assists FROM table_name_58 WHERE team = "san antonio"
### Context: CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE empl...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistoryTypes ( Id number, Name tex...
### 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 area ( course_id int, area varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course ( course_id int, name var...
### Context: CREATE TABLE table_name_53 ( years_for_jazz VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years did Eddie Hughes play for the Jazz? ### Query: SELECT years_for_jazz FROM table_name_53 WHERE player = "eddie hughes"
### 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_78392 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the tournament against Isha Lakhani? ### Query...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ...
### Context: CREATE TABLE table_50955 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is David Frost from? ### Query: SELECT "Place" FROM table_50955 WHERE "Player" = 'david...
### Context: CREATE TABLE table_19517448_3 ( completion_percentage VARCHAR, yards_per_attempt VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the completion percentage when yards per attempt was done by Steve McNair : 2003? ### Query: SELECT completi...
### Context: CREATE TABLE table_61695 ( "Goalkeeper" text, "Goals" real, "Matches" real, "Average" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Goals has a Team of zamora, and Average larger than 0.89? ### Query: SELECT AVG("Goa...
### Context: CREATE TABLE table_name_95 ( result VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game that was played on week 15? ### Query: SELECT result FROM table_name_95 WHERE week = 15
### Context: CREATE TABLE drivers ( driverid number, driverref text, number number, code text, forename text, surname text, dob text, nationality text, url text ) CREATE TABLE constructorresults ( constructorresultsid number, raceid number, constructorid number, poin...
### Context: CREATE TABLE Transactions_Lots ( transaction_id INTEGER, lot_id INTEGER ) CREATE TABLE Ref_Transaction_Types ( transaction_type_code VARCHAR(10), transaction_type_description VARCHAR(80) ) CREATE TABLE Lots ( lot_id INTEGER, investor_id INTEGER, lot_details VARCHAR(255) ) CRE...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE admissions ( ...
### Context: CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy V...
### Context: CREATE TABLE table_15530244_5 ( driver VARCHAR, race_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the driver for race 2 7 ### Query: SELECT driver FROM table_15530244_5 WHERE race_2 = "7"
### Context: CREATE TABLE table_63116 ( "Tournament" text, "Wins" real, "Top-5" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least Top-5 when 1 is the cuts made? ### Query: SELECT MIN("Top-5") FROM tab...
### Context: CREATE TABLE table_39377 ( "Year" real, "English title" text, "Original title" text, "Country" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Original title of / vozvrashcheniye had what English title? ### Query: SELEC...
### Context: CREATE TABLE table_17951 ( "Season" text, "Airdate" text, "The Mole" text, "Winner" text, "Runner-up" text, "Prize money" text, "International destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's airdate with inter...
### Context: CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE grapes ( id number, grape text, color text ) CREATE TABLE appellations ( no number, appelation text, county text, state text, area text, isava text ) CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, ...
### Context: CREATE TABLE table_1566850_9 ( centerfold_model VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many centerfolds were in the 9-98 issue? ### Query: SELECT COUNT(centerfold_model) FROM table_1566850_9 WHERE date = "9-98"
### Context: CREATE TABLE table_46859 ( "Province" text, "Total" real, "Hindu" real, "% Hindu 2010" text, "% Hindu 2000" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total when the Hindu is greater than 1,076, in the Jawa Barat provinc...
### Context: CREATE TABLE table_32057 ( "Begin Date" text, "Representative" text, "Date of birth" text, "House term" text, "State served" text, "Party" text, "Age (years, days)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the age...
### Context: CREATE TABLE table_55414 ( "Edition" text, "Round" text, "Date" text, "Surface" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the 1991 world group I with the opponent of Li Fang? ### Query:...
### 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...