text
stringlengths
197
8.39k
### 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_60811 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" real, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for Cassano? ### Query: S...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, it...
### Context: CREATE TABLE table_name_10 ( opponents VARCHAR, partner VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the Opponents when Laura DuPont had Pam Shriver as Partner with a Score of 6-3, 6-3? ### Query: SELECT opponents ...
### 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_203_467 ( id number, "year" number, "numer of jamaicans\ngranted british\ncitizenship" number, "naturalisation\nby residence" number, "naturalisation\nby marriage" number, "registration\nof a minor child" number, "registration\nby other means" number ) -- Us...
### 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_6755 ( "Version" text, "Length" text, "Album" text, "Remixed by" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Mother's Live remix created? ### Query: SELECT SUM("Year") FROM table_6755 WH...
### 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 table_name_34 ( date VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the home team Richmond play? ### Query: SELECT date FROM table_name_34 WHERE home_team = "richmond"
### Context: CREATE TABLE customers ( customer_id number, customer_name text ) CREATE TABLE claims ( claim_id number, fnol_id number, effective_date time ) CREATE TABLE available_policies ( policy_id number, policy_type_code text, customer_phone text ) CREATE TABLE services ( serv...
### Context: CREATE TABLE table_name_33 ( laps INTEGER, winnings VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver has less than 61 points, but winnings of $67,675? ### Query: SELECT SUM(laps) FROM table_name_33 WHERE winnings ...
### Context: CREATE TABLE table_6392 ( "Year" real, "Film" text, "Role" text, "Language" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language is the film Marion Bridge? ### Query: SELECT "Language" FROM table_6392 WHERE "Film"...
### Context: CREATE TABLE table_12434380_1 ( mascot VARCHAR, founded VARCHAR, school_colors VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mascot for the school founded in 1923 with the school colors of blue, red & white? ### Query: SELECT m...
### Context: CREATE TABLE table_73800 ( "City / Municipality" text, "No. of s Barangay" real, "District" real, "Area (km\u00b2)" text, "Population (2010)" real, "Income class (2007)" text, "ZIP code" real, "Mayor" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_name_72 ( attendance INTEGER, game INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance of game 1? ### Query: SELECT AVG(attendance) FROM table_name_72 WHERE game < 1
### 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_26744 ( "April 2013 Cum. Rank" real, "Name" text, "Rank 2012" real, "Rank 2013" real, "Base" text, "2013 rev (bil. USD )" text, "2013 Profit (mil. USD )" text, "Assets 2013 (bil.$)" text, "Market cap March 15 (mil.$)" real ) -- Using valid SQLite, an...
### Context: CREATE TABLE table_39924 ( "School" text, "Nickname" text, "Colors" text, "League" text, "Class" text, "Division" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is the team from that has the colors blue and gold? ### Qu...
### Context: CREATE TABLE Rating ( rID VARCHAR ) CREATE TABLE Reviewer ( rID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of all reviewers who have ratings with a NULL value for the date. ### Query: SELECT DISTINCT name FROM Reviewer AS T1...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Creation...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid n...
### Context: CREATE TABLE table_1320857_1 ( ht_brewer VARCHAR, je_armstrong VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is h.t. brewer when j.e. armstrong is a.j. wilson? ### Query: SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "A.J. Wil...
### Context: CREATE TABLE candidate ( candidate_id number, people_id number, poll_source text, date text, support_rate number, consider_rate number, oppose_rate number, unsure_rate number ) CREATE TABLE people ( people_id number, sex text, name text, date_of_birth text, ...
### 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 qtb ( CLINIC_ID text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_name_45 ( position INTEGER, losses VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has Losses of 11, and a Played larger than 22? ### Query: SELECT SUM(position) FROM table_name_45 WHERE loss...
### Context: CREATE TABLE table_name_66 ( november VARCHAR, july VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the November playmate with the July playmate Hope Marie Carlton? ### Query: SELECT november FROM table_name_66 WHERE july = "hope marie ca...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, ...
### Context: CREATE TABLE table_21550897_1 ( _number INTEGER, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode had 10.14 million viewers (U.S.)? ### Query: SELECT MIN(_number) FROM table_21550897_1 WHERE us_viewers__million_ ...
### Context: CREATE TABLE table_name_23 ( attendance VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance of week 8? ### Query: SELECT COUNT(attendance) FROM table_name_23 WHERE week = 8
### Context: CREATE TABLE table_203_720 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the only opponent to play in the louisiana superdome ? ### Query: SE...
### 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_44 ( round INTEGER, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round did the match at the Golden Trophy 1999 event end? ### Query: SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999"
### Context: CREATE TABLE table_name_18 ( loser VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Loser when the winner was los angeles lakers (10)? ### Query: SELECT loser FROM table_name_18 WHERE winner = "los angeles lakers (10)"
### 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, cul...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ...
### Context: CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int...
### Context: CREATE TABLE table_59704 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What report has tour match as the status, with an against less than 2...
### Context: CREATE TABLE table_72011 ( "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. -- Which score has a record of 58 15 8? ### Query: SELE...
### Context: CREATE TABLE table_name_64 ( points VARCHAR, played VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Points, when Played is '20', and when Club is 'Caldicot RFC'? ### Query: SELECT points FROM table_name_64 WHERE played ...
### Context: CREATE TABLE table_1928 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" text, "Water (sqmi)" text, "Latitude" text, "Longitude" text, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE table_65103 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Bonus points" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of b...
### Context: CREATE TABLE table_47382 ( "Name" text, "Born-Died" text, "Term start" text, "Term end" text, "Political Party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Prime Minister with a Born-Died of 1873 1933? ### Qu...
### Context: CREATE TABLE table_73179 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for th...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_57458 ( "Vaccine" text, "Minimum Age at 1st Dose" text, "Number of Doses" text, "Dose" text, "Minimum Interval Between Doses" text, "Route" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least interval be...
### Context: CREATE TABLE table_64489 ( "Name" text, "Position" text, "League Apps" text, "League Goals" real, "FA Cup Apps" text, "FA Cup Goals" real, "League Cup Apps" text, "League Cup Goals" real, "Total Apps" text, "Total Goals" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE table_24565004_15 ( name VARCHAR, goals¹ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the player that scored 4 times. ### Query: SELECT name FROM table_24565004_15 WHERE goals¹ = 4
### 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_51628 ( "Year" real, "Date" text, "Type" text, "EU Council presidency" text, "President-in-Office" text, "Host city" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which host city was Margaret Thatcher the Pres...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### Context: CREATE TABLE table_name_78 ( round INTEGER, college VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a College of tulsa, and a Pick larger than 61? ### Query: SELECT AVG(round) FROM table_name_78 WHERE college = ...
### Context: CREATE TABLE table_name_16 ( points_against___tests__ VARCHAR, year_s_ VARCHAR, games_won___tests__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the points against for 2000, when games won is 4 (1)? ### Query: SELECT points_again...
### 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_30129 ( "Round" real, "Date" text, "Grand Prix" text, "Circuit" text, "MotoGP winner" text, "Moto2 winner" text, "Moto3 winner" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total ...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_204_913 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the next venue after colombo ...
### Context: CREATE TABLE table_12243817_1 ( tournament_location VARCHAR, winners_share__$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the tournament that the share of winning is 7000? ### Query: SELECT tournament_location FROM t...
### 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 program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE course_offering ( offering_id int, course_id int, s...
### Context: CREATE TABLE table_15932 ( "County" text, "English name" text, "Irish name" text, "Population" real, "Irish speakers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population for the English name Spiddal? ### Query: SELECT...
### Context: CREATE TABLE table_name_87 ( date VARCHAR, format VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Format that is cd? ### Query: SELECT date FROM table_name_87 WHERE format = "cd"
### Context: CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, Wheels text, Location text, ObjectNumber text ) CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text ) CREATE TABLE train ( Train_ID int, Train_Num text, ...
### Context: 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, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE photos ( id int, camera_lens_id int, mountain_id int, color text, name text ) CREATE TABLE camera_lens ( id int, brand text, name text, focal_length_mm real, max_aperture real ) CREATE TABLE mountain ( id int, name text, Height real, Pr...
### Context: CREATE TABLE table_33263 ( "Game Name" text, "Price" text, "Top Prize" text, "Launch Date" text, "Odds of Winning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the launch date odds of winning 1 in 4.54? ### Query: SELECT "Lau...
### Context: 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 customer_payments ( customer_id number, datetime_payment time, payment_metho...
### Context: CREATE TABLE table_11788 ( "Name" text, "Appointed/Elected" text, "Term expires" text, "Appointing Governor" text, "Governor's Party Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year when chief justice Mark Ca...
### Context: CREATE TABLE table_13762472_3 ( high_points VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players scored the most points when the opposing team was New Orleans/Oklahoma City? ### Query: SELECT COUNT(high_points) FROM tab...
### Context: CREATE TABLE table_24195232_1 ( institution VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the institution that was located is circleville, ohio? ### Query: SELECT institution FROM table_24195232_1 WHERE location = "Ci...
### Context: CREATE TABLE table_name_86 ( year VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have a position of 2nd? ### Query: SELECT COUNT(year) FROM table_name_86 WHERE position = "2nd"
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ...
### Context: CREATE TABLE table_11908801_1 ( nickname VARCHAR, meaning VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of nicknames for the meaning of god knows my journey. ### Query: SELECT COUNT(nickname) FROM table_11908801_1 WHERE mean...
### Context: CREATE TABLE table_11978 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the entrant for Gabriele Tarquini with all...
### Context: CREATE TABLE table_34821 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player has 69-70-68-73=280 as the score? ### Query: SELECT ...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_name_40 ( avg_g VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total avg/g of McCrary, Greg? ### Query: SELECT COUNT(avg_g) FROM table_name_40 WHERE name = "mccrary, greg"
### Context: CREATE TABLE fgwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSUR...
### Context: CREATE TABLE table_61367 ( "Number" real, "Time" real, "Aircraft" text, "Opponent" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number is in Bois de Warville with a time less than 810? ### Query: SELECT SUM("Num...
### Context: CREATE TABLE subjects ( subject_id number, subject_name text ) CREATE TABLE courses ( course_id number, author_id number, subject_id number, course_name text, course_description text ) CREATE TABLE student_tests_taken ( registration_id number, date_test_taken time, ...
### Context: CREATE TABLE table_dev_33 ( "id" int, "gender" string, "fpg" float, "active_infection" bool, "uncontrolled_diabetes" bool, "hiv_infection" bool, "hemoglobin_a1c_hba1c" float, "urine_albumin_excretion" int, "hematocrit_hct" float, "fasting_plasma_glucose" int, "di...
### Context: CREATE TABLE table_55287 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is the player, with an undisclosed transfer ...
### Context: CREATE TABLE table_44203 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Accolade, when Year is less than 2002, when Publication is 'Rolling Stone', and w...
### Context: CREATE TABLE table_name_13 ( ship_size VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the cargo value in 2004 for ship size? ### Query: SELECT 2004 FROM table_name_13 WHERE ship_size = "ship size"
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, reli...
### Context: CREATE TABLE table_1990460_1 ( open_cup VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the team's status in the Open Cup in 2006? ### Query: SELECT open_cup FROM table_1990460_1 WHERE year = 2006
### Context: CREATE TABLE table_21321804_1 ( position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total positions are there for utah college? ### Query: SELECT COUNT(position) FROM table_21321804_1 WHERE college = "Utah"
### Context: CREATE TABLE table_name_77 ( to_par VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD? ### Query: SELECT to_par ...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE comment_instructor ( instruct...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### Context: CREATE TABLE Students ( student_id INTEGER, address_id INTEGER, first_name VARCHAR(80), middle_name VARCHAR(40), last_name VARCHAR(40), cell_mobile_number VARCHAR(40), email_address VARCHAR(40), date_first_rental DATETIME, date_left_university DATETIME, other_student...
### 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_11 ( competition VARCHAR, result VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the competition when the result is won and the score is 8-0? ### Query: SELECT competition FROM table_name_11 WHE...
### Context: CREATE TABLE table_name_96 ( laps INTEGER, race_number VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of laps when the country was NL and the race number was smaller than 8? ### Query: SELECT AVG(...
### Context: CREATE TABLE table_11734041_16 ( player VARCHAR, years_for_rockets VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total amount of players for the rockets in 1998 only? ### Query: SELECT COUNT(player) FROM table_11734041_16 WHERE yea...