text
stringlengths
197
8.39k
### 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_1341690_43 ( candidates VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the candidates for texas 1 ### Query: SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"
### Context: CREATE TABLE table_name_75 ( movie_title VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What movie was made in 1957? ### Query: SELECT movie_title FROM table_name_75 WHERE year = 1957
### Context: CREATE TABLE table_47279 ( "Date" text, "Round" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Scorers" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the scorers in round 3? ### Qu...
### Context: CREATE TABLE table_48234 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "49ers points" real, "Opponents" real, "Record" text, "Streak" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What i...
### 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_25386974_1 ( f_laps VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many f/laps did Pedro Nunes have when he was in 20th position? ### Query: SELECT COUNT(f_laps) FROM table_25386974_1 WHERE position = "2...
### Context: CREATE TABLE table_69591 ( "Model" text, "Graded Hammer (Non GH3)" text, "Graded Hammer Three (GH3)" text, "Natural Wood Keyboard" text, "Synthetic Ivory Keytops" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Natural Wood Keyboar...
### 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 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 Customers ( customer_name VARCHAR, date_became_customer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the first 5 customers. ### Query: SELECT customer_name FROM Customers ORDER BY date_became_customer LIMIT 5
### 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_11139 ( "Year" real, "Theme" text, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the composition of the coin that was issued after 2008, ha...
### Context: CREATE TABLE table_17782308_1 ( result VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results are listed for week 13? ### Query: SELECT COUNT(result) FROM table_17782308_1 WHERE week = 13
### Context: CREATE TABLE table_7365 ( "Vol. #" real, "Title" text, "Material collected" text, "Pages" real, "ISBN" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many pages does the ISBN 1-40122-328-1 have? ### Query: SELECT SUM("Pages") FROM ...
### Context: CREATE TABLE table_61598 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has t4 place and a 67-71-73=211 score? ### Query: SELECT "Country" FROM table_61...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE micro...
### Context: CREATE TABLE table_name_82 ( attendance INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least attendance for 10 october 2006 ### Query: SELECT MIN(attendance) FROM table_name_82 WHERE date = "10 october 2006"
### Context: CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName T...
### 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 ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text,...
### Context: CREATE TABLE table_name_38 ( opponents_in_the_final VARCHAR, partner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Partner Frederik Nielsen's Opponents in the final? ### Query: SELECT opponents_in_the_final FROM table_name_38 WHERE part...
### 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 time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE state ( state_code text, state_name text, country_name tex...
### 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_71 ( second_party VARCHAR, first_party VARCHAR, election VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the second party that has a conservative first party in the 1834 election? ### Query: SELECT second_part...
### Context: CREATE TABLE table_name_77 ( pick__number INTEGER, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest pick number with an overall 86? ### Query: SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 86
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_39415 ( "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. -- What is the ERP W for K236AM? ### Query: SELECT "ERP W...
### Context: CREATE TABLE table_72109 ( "Rd" real, "Name" text, "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Winning team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many reports are there in the r...
### Context: CREATE TABLE table_19685 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHo won men's singles in 1994? ### Query...
### Context: CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE program ( program_id int, n...
### Context: CREATE TABLE table_1847180_4 ( district VARCHAR, vacator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which district did Ralph Harvey (r) vacated when he resigned? ### Query: SELECT district FROM table_1847180_4 WHERE vacator = "Ralph Harvey ...
### Context: CREATE TABLE table_47152 ( "Verb" text, "2 (VF)" text, "2 (F)" text, "3 (F)" text, "2/3 (P)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If 2F is tumi khao, what is 3F? ### Query: SELECT "3 (F)" FROM table_47152 WHERE "2 (F)" = 'tum...
### Context: CREATE TABLE table_11326124_3 ( against VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did Tina Pisnik verse? ### Query: SELECT against FROM table_11326124_3 WHERE opponent = "Tina Pisnik"
### 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 table_name_80 ( avg_finish INTEGER, poles INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of value for average finish with poles less than 0? ### Query: SELECT SUM(avg_finish) FROM table_name_80 WHERE poles < 0
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE table_203_248 ( id number, "code" text, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list each code not associated to a year . ### Query: SELECT "code" FROM table_203_248 WHERE "year" IS NULL
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilege...
### 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_58688 ( "Stage" text, "Winner" text, "General classification" text, "Mountains classification" text, "Points classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What general ...
### Context: CREATE TABLE table_204_30 ( id number, "year built" text, "works number" number, "wheel arr." text, "gauge" text, "original owner" text, "name" text, "current location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE table_name_98 ( winner VARCHAR, prize VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Winner, when the Prize is 880,000? ### Query: SELECT winner FROM table_name_98 WHERE prize = "€880,000"
### Context: CREATE TABLE PostTypes ( Id number, Name text ) 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, ...
### Context: CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varch...
### Context: CREATE TABLE table_48171 ( "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. -- what is the record when the opponent i...
### 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_29486189_4 ( party VARCHAR, residence VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which party is the newark representative from ### Query: SELECT party FROM table_29486189_4 WHERE residence = "Newark"
### Context: 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, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_77976 ( "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 Home team score has a Home te...
### 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 wdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC tex...
### Context: CREATE TABLE tweets ( id bigint(20), uid int(11), text char(140), createdate datetime ) CREATE TABLE user_profiles ( uid int(11), name varchar(255), email varchar(255), partitionid int(11), followers int(11) ) CREATE TABLE follows ( f1 int(11), f2 int(11) ) -...
### Context: CREATE TABLE table_52896 ( "Evaluation average (From February 2011)" real, "Evaluation average (From April 2009)" text, "Evaluation average (Before April 2009)" text, "% of negative evaluations" text, "Submitting schedule on time" text, "Punctuality/Attendance issues" text, "Pea...
### Context: CREATE TABLE table_name_29 ( no_s_ VARCHAR, school_club_team_country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of the player who came from Virginia? ### Query: SELECT no_s_ FROM table_name_29 WHERE school_club_team_count...
### Context: CREATE TABLE table_name_25 ( engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest engine capacity with a bmw man...
### Context: CREATE TABLE table_name_5 ( ont VARCHAR, nb VARCHAR, normal_total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Ont of N.B. of 10 and normal total of 77 ### Query: SELECT ont FROM table_name_5 WHERE nb = "10" AND normal_total = "7...
### 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 table_name_33 ( start VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the starting position in the year before 1986? ### Query: SELECT start FROM table_name_33 WHERE year < 1986
### Context: CREATE TABLE table_1145 ( "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. -- Name the least week for september 19, 1976 ### Que...
### Context: CREATE TABLE table_21737 ( "Series #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original airdate" text, "Production Code" text ) -- Using valid SQLite, answer the following questions for the tables provided...
### Context: CREATE TABLE table_36472 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record has a February smaller than 8, and an Opponent of montreal canadiens? ### Quer...
### Context: CREATE TABLE table_36861 ( "Frequency" text, "Name" text, "Format" text, "Call Sign" text, "Covered Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What format is at frequency 99.5 FM? ### Query: SELECT "Format" FROM table_368...
### Context: CREATE TABLE table_65186 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the place for bryce molder? ### Query: SELECT "Place" FROM table_65186 WHERE "Player"...
### Context: CREATE TABLE table_23851574_2 ( nationality_sponsors VARCHAR, mirror_type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many nationalities/sponsors for mirror/type schmidt uv? ### Query: SELECT COUNT(nationality_sponsors) FROM table_238515...
### Context: CREATE TABLE table_name_69 ( ihsaa_class VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IHSAA class for Portage? ### Query: SELECT ihsaa_class FROM table_name_69 WHERE school = "portage"
### Context: CREATE TABLE table_36110 ( "Season" real, "Champion" text, "Second" text, "Third" text, "Team Champion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest season with Barwa International Campos Team as champion? ### Qu...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POS...
### Context: CREATE TABLE files ( f_id number(10), artist_name varchar2(50), file_size varchar2(20), duration varchar2(20), formats varchar2(20) ) CREATE TABLE song ( song_name varchar2(50), artist_name varchar2(50), country varchar2(20), f_id number(10), genre_is varchar2(20), ...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, ...
### Context: CREATE TABLE table_13034 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st round result for ECAC Chaumont (D2) as team 1? ### Query: SELECT "1st r...
### Context: CREATE TABLE table_name_72 ( event VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did Will Fry win? ### Query: SELECT event FROM table_name_72 WHERE winner = "will fry"
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Cre...
### Context: CREATE TABLE table_25687 ( "Episode Number" text, "Title" text, "Villains" text, "Director" text, "Writer" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the directors of the episode 'nano nits' wri...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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) ) CREATE TABLE countrie...
### Context: CREATE TABLE table_15878 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years was the player Lonny Baxter in Toronto?...
### Context: CREATE TABLE table_75578 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance for the game on September 26, 1976? ### Q...
### Context: CREATE TABLE table_23308178_4 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on October 29? ### Query: SELECT score FROM table_23308178_4 WHERE date = "October 29"
### Context: CREATE TABLE table_47401 ( "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_24607 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location was the game on October 6? ### ...
### Context: CREATE TABLE table_14526 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was their Opponent on April 26? ### Query: SELECT "Opponent" FROM ta...
### Context: CREATE TABLE table_23212 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the nickname of the students of the ...
### Context: CREATE TABLE table_24224647_2 ( year_premiered VARCHAR, main_presenter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years premiered have Sa Beining as main presenter? ### Query: SELECT COUNT(year_premiered) FROM table_24224647_2 WHER...
### Context: CREATE TABLE table_11677691_5 ( school VARCHAR, hometown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school is in the hometown of Aledo, Texas? ### Query: SELECT school FROM table_11677691_5 WHERE hometown = "Aledo, Texas"
### Context: CREATE TABLE table_25322130_3 ( fastest_lap VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the fastest lap for round 3 ### Query: SELECT fastest_lap FROM table_25322130_3 WHERE round = "3"
### Context: CREATE TABLE table_11694832_1 ( us_viewers__millions_ VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of U.S. viewers watched the show with a production code of 3T5769? ### Query: SELECT us_viewers__mil...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### 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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outti...
### Context: CREATE TABLE table_2266976_1 ( team VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team competed in 2003? ### Query: SELECT team FROM table_2266976_1 WHERE year = "2003"
### Context: CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) 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 ) ...
### Context: CREATE TABLE table_1601792_4 ( site VARCHAR, television_station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the site(s) for tv station 8tv? ### Query: SELECT site FROM table_1601792_4 WHERE television_station = "8TV"
### Context: CREATE TABLE table_name_2 ( yards INTEGER, game_time VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards? ### Query: SELECT AVG(yards) FROM ...
### Context: CREATE TABLE table_30367 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the title of the episode with pr...
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_68349 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country was Henry Picard from? ### Query: SELECT "Country" FROM table_68349 WHERE "Playe...
### Context: CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE station ( id int, network_name text, services te...
### Context: CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, int...
### Context: CREATE TABLE table_1644876_2 ( skip VARCHAR, stolen_ends VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the skip with 14 stolen ends? ### Query: SELECT skip FROM table_1644876_2 WHERE stolen_ends = 14