text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_94 ( finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what place did Nick Faldo, who had more than 284 points and a to par score of +5, finish? ### Query: SE...
### Context: CREATE TABLE candidate ( Candidate_ID VARCHAR, oppose_rate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the id of the candidate who got the lowest oppose rate. ### Query: SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1
### Context: CREATE TABLE Part_Faults ( part_fault_id INTEGER, part_id INTEGER, fault_short_name VARCHAR(20), fault_description VARCHAR(255), other_fault_details VARCHAR(255) ) CREATE TABLE Staff ( staff_id INTEGER, staff_name VARCHAR(255), gender VARCHAR(1), other_staff_details VAR...
### Context: CREATE TABLE table_180802_3 ( transcription VARCHAR, sanskrit_word VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the transcription of the sanskrit word chandra? ### Query: SELECT transcription FROM table_180802_3 WHERE sanskrit_word = ...
### Context: CREATE TABLE table_11916083_1 ( mintage__bu_ VARCHAR, _clarification_needed_ VARCHAR, artist VARCHAR, issue_price__proof_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mintage (bu) with the artist Royal Canadian Mint Staff a...
### 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Badges ( Id number, UserId number, Name t...
### Context: CREATE TABLE table_name_52 ( tie_no VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the tie number that has Portsmouth Home team ### Query: SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"
### Context: CREATE TABLE table_60415 ( "Knight" text, "Weapon/item" text, "External weapon" text, "Shield animal" text, "Cart" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What cart has a serpent shield animal? ### Query: SELECT "Cart" FROM tabl...
### Context: CREATE TABLE table_13476 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Serial numbers" text, "Year made" text, "Quantity made" text, "Quantity preserved" text ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text,...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE prescriptions ( row_id number, subject_id ...
### Context: CREATE TABLE table_name_92 ( award VARCHAR, role VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which award was given for the role of Elphaba in 2009? ### Query: SELECT award FROM table_name_92 WHERE role = "elphaba" AND year ...
### Context: CREATE TABLE table_76719 ( "Newspaper/Magazine" text, "Type" text, "Language" text, "Headquarter" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Headquarter, when Newspaper/Magazine is Al-Ayyam? ### Query: SELECT...
### Context: CREATE TABLE table_58653 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score when the set 3 is 26 28? ### Query: SELECT "S...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostNoticeT...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TAB...
### Context: CREATE TABLE table_name_8 ( drawn INTEGER, played INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest drawn that has a played less than 38? ### Query: SELECT MAX(drawn) FROM table_name_8 WHERE played < 38
### Context: CREATE TABLE table_25180 ( "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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm...
### Context: CREATE TABLE 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_61292 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is week 1 if week 3 is Natasha Budhi? ### Query: SELECT "Week 1" FROM table_61292 WHERE ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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,...
### Context: CREATE TABLE table_49891 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college was the draft pick from who plays center position? ### Query: SELECT "College...
### Context: CREATE TABLE AssignedTo ( Scientist int, Project char(4) ) CREATE TABLE Projects ( Code Char(4), Name Char(50), Hours int ) CREATE TABLE Scientists ( SSN int, Name Char(30) ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Visualize a...
### Context: CREATE TABLE table_name_59 ( pick__number INTEGER, college VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Picks have a College of tennessee, and an Overall smaller than 270? ### Query: SELECT SUM(pick__number) FROM...
### Context: CREATE TABLE table_name_28 ( pole_position VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Pole Position of the Brazilian Grand Prix race? ### Query: SELECT pole_position FROM table_name_28 WHERE race = "brazilian grand...
### Context: CREATE TABLE table_9451 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Home Team, when Date is 18 February 1956, and when Tie No is 3? ### Query: SELECT ...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE PostFeedback ( Id number, PostId number, ...
### Context: CREATE TABLE table_7899 ( "Week" real, "Date" text, "TV Time" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks has the opponent been san francisco 49ers? ### Query: SELECT COUNT("Week") FROM...
### Context: CREATE TABLE table_name_20 ( date_of_birth__age_ VARCHAR, position VARCHAR, caps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the lock with 10 caps born? ### Query: SELECT date_of_birth__age_ FROM table_name_20 WHERE position = "...
### Context: CREATE TABLE table_62553 ( "Year" real, "Milan \u2013 San Remo" text, "Tour of Flanders" text, "Paris\u2013Roubaix" text, "Li\u00e8ge\u2013Bastogne\u2013Li\u00e8ge" text, "Giro di Lombardia" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE table_204_308 ( 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. -- country with the most bronze medals . ### Query: SE...
### Context: 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 Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Dorm ( dormid INTEGER, d...
### Context: CREATE TABLE diagnoses ( 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_d...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration n...
### Context: CREATE TABLE table_44341 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has +119 Points di...
### Context: CREATE TABLE table_34781 ( "County" text, "Monument name" text, "Year built" real, "City or Town" text, "Latitude" text, "Longitude" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What County has a Longitude of 85 45 43 w? ### Quer...
### Context: CREATE TABLE table_name_61 ( home_team VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team in week 1? ### Query: SELECT home_team FROM table_name_61 WHERE week = "1"
### Context: CREATE TABLE table_31208 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_name_48 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 1953 has 2 as a 1949, and 3 as 1952? ### Query: SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "3"
### Context: CREATE TABLE table_name_58 ( country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country does Tiger Woods come from? ### Query: SELECT country FROM table_name_58 WHERE player = "tiger woods"
### Context: CREATE TABLE table_train_96 ( "id" int, "gender" string, "elevated_creatinine" float, "diabetic" string, "cerebrovascular_disease" bool, "moca_score" int, "parkinsonism" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_77402 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Score, when Country is 'United States', and when Player is 'Lee Tr...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_tri...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, C...
### Context: CREATE TABLE table_21198 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series ...
### Context: CREATE TABLE table_8761 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Grid has Laps smaller than 22, and a Bike of honda cbr1000rr, and a Rider of luca morelli? ### Q...
### Context: CREATE TABLE table_name_54 ( number VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number has an acquisition via the Rookie Draft, and is part of a School/club team at Cal State Fullert...
### 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 table_60066 ( "Club" text, "Head Coach" text, "City" text, "Stadium" text, "2003\u20132004 season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club does Manuel Fernandes coach? ### Query: SELECT "Club" FROM table_6...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE prescr...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, Cre...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd...
### Context: CREATE TABLE table_73254 ( "Locale" text, "Skip" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_7829 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the game result on November 29, 1959? ### Query: SELECT "Result" FROM table_7829 W...
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### 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_50731 ( "BR No." text, "Lot No." real, "Date" real, "Built at" text, "Boiler type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is the date when the boiler type is forward topfeed, the built at is Crewe, a...
### 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_25063 ( "Name" text, "#" real, "Position" text, "Height" text, "Weight" real, "Year" text, "Home Town" text, "High School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many height entries are there f...
### Context: CREATE TABLE table_204_796 ( id number, "network name" text, "flagship" text, "programming type" text, "owner" text, "affiliates" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who has the most number of affiliates ? ### Query: S...
### Context: CREATE TABLE artist ( Artist_ID int, Artist text, Age int, Famous_Title text, Famous_Release_date text ) CREATE TABLE volume ( Volume_ID int, Volume_Issue text, Issue_Date text, Weeks_on_Top real, Song text, Artist_ID int ) CREATE TABLE music_festival ( ID ...
### Context: CREATE TABLE table_name_63 ( player VARCHAR, to_par VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which united states player had a To par of 12? ### Query: SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "...
### Context: CREATE TABLE table_203_651 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the number of times she came in 2nd position for the european ...
### Context: CREATE TABLE table_33995 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the lowest round to have a pick of 12 and position of linebacker...
### 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 Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID ...
### 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_12513 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Raiders points" real, "Opponents" real, "First Downs" real, "Record" text, "Streak" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables ...
### 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. -- how many records were set in beijing ? ### Query: SELE...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, ...
### Context: CREATE TABLE table_name_4 ( gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze m...
### Context: CREATE TABLE table_203_691 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who would the next opponent be after week 4 ? ### Query: SELECT "oppo...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id 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 book_club ( book_club_id int, Year int, Author_or_Editor text, Book_Title text, Publisher text, Category text, Result text ) CREATE TABLE culture_company ( Company_name text, Type text, Incorporated_in text, Group_Equity_Shareholding real, book_...
### Context: CREATE TABLE table_5596 ( "Date Released" text, "Institute" text, "Socialist" text, "Social Democratic" text, "Green-Communist" text, "Left Bloc" text, "People's Party" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_9840 ( "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. -- Who was the visitor on April 2? ### Query: SELECT "Vi...
### Context: CREATE TABLE table_name_22 ( college VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what college has paul seiler as a player? ### Query: SELECT college FROM table_name_22 WHERE player = "paul seiler"
### Context: CREATE TABLE table_name_57 ( issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's listed as the Issue Price (BU) [Clarification Needed] with a Mintage (Proof) of 29,5...
### Context: CREATE TABLE table_19995378_1 ( no_in_season VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes with different series numbers were seen by 8.69 people in the US? ### Query: SELECT COUNT(no_in_season)...
### Context: CREATE TABLE table_name_88 ( bronze VARCHAR, gold VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Bronze has a Gold larger than 0, and a Total smaller than 1? ### Query: SELECT COUNT(bronze) FROM table_name_88 WHERE g...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int ) CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Cont...
### Context: CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE cite ( cited int, citing int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain ( di...
### Context: CREATE TABLE member ( member_id text, name text, nationality text, role text ) CREATE TABLE performance ( performance_id number, date text, host text, location text, attendance number ) CREATE TABLE member_attendance ( member_id number, performance_id number, ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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, K...
### Context: CREATE TABLE table_13456 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least total number of medals when the bronze medals is 1, and Czech...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount num...
### Context: CREATE TABLE table_32303 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds have an Overall larger than 17, and a Position of quarterback? ### Query:...
### Context: CREATE TABLE complaints ( complaint_id number, product_id number, customer_id number, complaint_outcome_code text, complaint_status_code text, complaint_type_code text, date_complaint_raised time, date_complaint_closed time, staff_id number ) CREATE TABLE customers ( ...
### Context: CREATE TABLE table_66438 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has a score of 7-5, 5-7, 6-3? ### Que...
### Context: CREATE TABLE table_64276 ( "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. -- Which round did the bout that led to a...
### Context: CREATE TABLE table_27260 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F.L." real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wha...
### Context: CREATE TABLE products ( product_id text, product_name text, product_price number, product_description text, other_product_service_details text ) CREATE TABLE customers ( customer_id text, address_id number, customer_name text, customer_phone text, customer_email_add...
### Context: CREATE TABLE table_18140 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the incumbent of Florida 9? ### Query: SELECT "Inc...
### 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_85 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record when the score was 11-10? ### Query: SELECT record FROM table_name_85 WHERE score = "11-10"