text
stringlengths
197
8.39k
### Context: CREATE TABLE table_train_226 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "active_metabolic" bool, "diabetic" string, "hepatic_disease" bool, "gastrointestinal_disease" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQ...
### Context: CREATE TABLE table_name_5 ( coverage VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coverage for the 99.5mhz frequency? ### Query: SELECT coverage FROM table_name_5 WHERE frequency = "99.5mhz"
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 ...
### Context: CREATE TABLE table_68983 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for august 31 ### Query: SELECT "Record" FROM table_68983 WHERE "Date" = 'augus...
### 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_1198175_1 ( weight_lbs_ VARCHAR, born VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the weight(lbs) when born is april 6, 1954 detroit, mi? ### Query: SELECT weight_lbs_ FROM table_1198175_1 WHERE born = "April 6, 19...
### Context: CREATE TABLE table_32518 ( "Athlete Name" text, "Jump 1" text, "Jump 2" text, "Jump 3" text, "Best Jump" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a Jump 2 of 7.06, and what is this person's Jump 3? ### Query: SELECT "Jump...
### Context: CREATE TABLE table_12962773_16 ( year_born VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Robert Skibniewski born? ### Query: SELECT year_born FROM table_12962773_16 WHERE player = "Robert Skibniewski"
### Context: CREATE TABLE table_204_795 ( id number, "date" text, "opponent" text, "score" text, "result" text, "location" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total wins did the team have in 1948 ###...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_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 ) CREATE TABLE cost ( ...
### 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 table_name_58 ( country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT COUNTRY HAS A SCORE OF 68-70=138? ### Query: SELECT country FROM table_name_58 WHERE score = 68 - 70 = 138
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_71048 ( "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 score of the game they played against a team with a record of ...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress tex...
### Context: CREATE TABLE table_name_75 ( year VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the position 6/13? ### Query: SELECT year FROM table_name_75 WHERE position = "6/13"
### Context: CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Studen...
### Context: CREATE TABLE table_2764267_2 ( country VARCHAR, currency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of countries that have the us dollar ### Query: SELECT COUNT(country) FROM table_2764267_2 WHERE currency = "US dollar"
### Context: CREATE TABLE table_19810 ( "Software" text, "Version" text, "Operating systems" text, "Developer" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the version with sbagen software? ### Query: SELECT "Version" FROM...
### Context: CREATE TABLE table_59251 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From which country is the player that won in 1998? ### Query: SELECT...
### Context: CREATE TABLE table_67006 ( "Country" text, "Film title used in nomination" text, "Language" text, "Original title" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed Turks Fruit? ### Query: SELECT "Director" 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_name_76 ( rank VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rank of the team who raced at a time of 7:16.13? ### Query: SELECT rank FROM table_name_76 WHERE time = "7:16.13"
### Context: CREATE TABLE table_name_86 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest crowd of the west coast home team? ### Query: SELECT MIN(crowd) FROM table_name_86 WHERE home_team = "west coast"
### Context: CREATE TABLE table_name_93 ( lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20? ###...
### Context: CREATE TABLE table_train_85 ( "id" int, "mini_mental_state_examination_mmse" int, "elevated_serum_phenylalanine" int, "elevated_creatinine" float, "renal_disease" bool, "geriatric_depression_scale_gds" int, "NOUSE" float ) -- Using valid SQLite, answer the following questions ...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course_offering ( offering_id int, course_id i...
### Context: CREATE TABLE table_70461 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average grid with more than 23 laps? ### Query: SELECT AVG("Grid") FROM t...
### Context: CREATE TABLE table_34969 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which District has a First elected of 1858, and a Result of retired republican gai...
### Context: 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_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Tags ( Id number, Ta...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35),...
### Context: CREATE TABLE table_46495 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- November 25, 2001 was what week of the season? ### Query: SELECT COUNT("Week") FROM table_464...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varc...
### Context: CREATE TABLE table_name_96 ( total INTEGER, year_s__won VARCHAR, country VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Total for the United States with a To par more than 6 and 1996 was won? ### Quer...
### 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 PostTags ( PostId number, TagId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_name_78 ( tries_against VARCHAR, points_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tries Against, when Points Against is 213? ### Query: SELECT tries_against FROM table_name_78 WHERE points_against = "213"
### Context: CREATE TABLE table_name_78 ( name VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Name has a Winning constructor of bugatti, and a Winning driver of louis chiron? ### Query: SELECT na...
### Context: CREATE TABLE table_13657883_2 ( rnd VARCHAR, gto_winning_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round was the gto winning team #48 greenwood racing? ### Query: SELECT rnd FROM table_13657883_2 WHERE gto_winning_team = "#48 Gre...
### Context: CREATE TABLE table_60741 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament was held on July 13, 2008? ### Query: SELECT "Tourn...
### Context: CREATE TABLE LOCATIONS ( Other_Details VARCHAR, Location_Name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the detail of the location UK Gallery? ### Query: SELECT Other_Details FROM LOCATIONS WHERE Location_Name = "UK Gallery"
### Context: CREATE TABLE table_43188 ( "Team" text, "Match" text, "Points" text, "Draw" text, "Lost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the draw for Lp Gda sk with a match of 8? ### Query: SELECT "Draw" FROM table_43188 WHERE ...
### Context: CREATE TABLE table_name_14 ( result VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for opponent of chicago bears ### Query: SELECT result FROM table_name_14 WHERE opponent = "chicago bears"
### Context: CREATE TABLE Addresses ( address_id INTEGER, address_content VARCHAR(80), city VARCHAR(50), zip_postcode VARCHAR(20), state_province_county VARCHAR(50), country VARCHAR(50), other_address_details VARCHAR(255) ) CREATE TABLE Customer_Addresses ( customer_id INTEGER, addr...
### Context: CREATE TABLE table_name_26 ( position VARCHAR, season VARCHAR, number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the position for the 2009-2010 season, number 1? ### Query: SELECT position FROM table_name_26 WHERE season = "2009-...
### 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 Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDura...
### Context: CREATE TABLE customers ( customer_id number, customer_first_name text, customer_last_name text, customer_address text, customer_phone text, customer_email text, other_customer_details text ) CREATE TABLE accounts ( account_id number, customer_id number, account_name...
### Context: CREATE TABLE table_46298 ( "Rank" real, "Heat" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank when the heat is more than 4? ### Query: SELECT SUM("Rank") FROM table_46298 W...
### Context: CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, h...
### Context: CREATE TABLE table_12828723_4 ( losing_bonus VARCHAR, points_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losing bonus where there when points against is 439? ### Query: SELECT COUNT(losing_bonus) FROM table_12828723_4 WHERE ...
### Context: CREATE TABLE products ( product_id number, product_name text, product_details text ) CREATE TABLE order_items ( order_item_id number, product_id number, order_id number, order_item_status text, order_item_details text ) CREATE TABLE orders ( order_id number, custom...
### Context: CREATE TABLE table_name_68 ( brigade VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the brigade Tall Al-Shawk shows for the name? ### Query: SELECT brigade FROM table_name_68 WHERE name = "tall al-shawk"
### Context: CREATE TABLE table_15187735_10 ( segment_b VARCHAR, segment_d VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of segment b for s banjo ### Query: SELECT COUNT(segment_b) FROM table_15187735_10 WHERE segment_d = "s Banjo"
### Context: CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, d...
### 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 table_61069 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the electorates in 2009 for...
### Context: CREATE TABLE table_204_684 ( id number, "wrestler:" text, "times:" number, "date:" text, "location:" text, "notes:" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the number of matches that happened in japan ? ### Query: S...
### Context: CREATE TABLE broadcast_share ( channel_id number, program_id number, date text, share_in_percent number ) CREATE TABLE program ( program_id number, name text, origin text, launch number, owner text ) CREATE TABLE broadcast ( channel_id number, program_id number...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_50255 ( "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_13759592_2 ( location VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is Interlake located? ### Query: SELECT location FROM table_13759592_2 WHERE institution = "Interlake"
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tes...
### Context: 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_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE ...
### Context: CREATE TABLE table_47022 ( "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 score at the 2010 FIFA World Cup Qualification that results in a win? ### Query...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE ground_service ( city_code t...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( ...
### Context: CREATE TABLE table_73392 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date successor seated for delegate seat established ...
### Context: CREATE TABLE table_65343 ( "Author / Editor / Source" text, "Year of publication" text, "Countries sampled" real, "World Ranking (1)" text, "Ranking in Latin America (2)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the world r...
### Context: CREATE TABLE table_63510 ( "Total fat" text, "Saturated fat" text, "Monounsaturated fat" text, "Polyunsaturated fat" text, "Smoke point" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the saturated fat with a total fat of 100g a...
### Context: CREATE TABLE table_203_385 ( id number, "material" text, "formula" text, "refractive\nindex(es)\n589.3 nm" text, "dispersion\n431 - 687 nm" number, "hardness\n(mohs'\nscale)" text, "density\n(g/cm3)" text, "thermal\ncond." text, "state of\nthe art" text ) -- Using vali...
### Context: CREATE TABLE table_42498 ( "Year" real, "Winner" text, "School" text, "Position" text, "Points" text, "% of Points Possible" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does the winner from Ohio State with 412 point...
### Context: CREATE TABLE table_66383 ( "Year" real, "Gross Domestic Product" real, "US Dollar Exchange" text, "Inflation Index (2000=100)" real, "Per Capita Income (as % of USA)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Gross Domesti...
### Context: CREATE TABLE table_23825 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What series ...
### 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 admissions ( row_id number, subject_id number, hadm_id number, admittim...
### Context: CREATE TABLE table_2668374_18 ( incumbent VARCHAR, party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What incumbent was a federalist that was first elected in 1803? ### Query: SELECT incumbent FROM table_2668374_18...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE dat...
### Context: CREATE TABLE election ( election_id number, representative_id number, date text, votes number, vote_percent number, seats number, place number ) CREATE TABLE representative ( representative_id number, name text, state text, party text, lifespan text ) -- U...
### Context: CREATE TABLE table_58683 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( S )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which golfer had a score of 68-70-68-66=272? ### Query: SELECT "Playe...
### Context: CREATE TABLE table_55528 ( "Month" text, "Week" real, "Overall" text, "Offensive" text, "Defensive" text, "Transition" text, "Rookie" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the first week that had a transition w...
### Context: CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, U...
### Context: CREATE TABLE table_27771406_1 ( total_dismissals INTEGER, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total dismissals did the player for Guyana have? ### Query: SELECT MAX(total_dismissals) FROM table_27771406_1 WHERE club = "...
### Context: CREATE TABLE table_20314 ( "Series" text, "Episodes" real, "Series premiere" text, "Series finale" text, "Region 1" text, "Region 2" text, "Region 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the region 1 date for s...
### Context: CREATE TABLE table_63475 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the College of the Pick from Denver Broncos? ### Query: SELECT "College" FROM table_6...
### Context: CREATE TABLE school_details ( school_id number, nickname text, colors text, league text, class text, division text ) CREATE TABLE school ( school_id number, school text, location text, enrollment number, founded number, denomination text, boys_or_girls t...
### Context: CREATE TABLE table_203_338 ( id number, "#" number, "title" text, "date" text, "director" text, "story" text, "synopsis" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of stories directed by ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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...
### 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 staff ( staff_id number, staff_details text ) CREATE TABLE claims_processing ( claim_processing_id number, claim_id number, claim_outcome_code text, claim_stage_id number, staff_id number ) CREATE TABLE claims_documents ( claim_id number, document_type_cod...
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_name_63 ( engine VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine does the Tasman Motorsports team have? ### Query: SELECT engine FROM table_name_63 WHERE team = "tasman motorsports"
### Context: CREATE TABLE table_name_63 ( score INTEGER, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the 27 arrow match event, what's the sum of all scores for that event? ### Query: SELECT SUM(score) FROM table_name_63 WHERE event = "27 arrow ...
### Context: CREATE TABLE table_59679 ( "Abbr" text, "Common English" text, "French" text, "Italian" text, "Romansh" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the abbr of argovia? ### Query: SELECT "Abbr" FROM table_59679 WHERE "Italia...
### Context: CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_14902507_2 ( channel VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many channels were the games shown on in 2001-02? ### Query: SELECT COUNT(channel) FROM table_14902507_2 WHERE year = "2001-02"