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 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 table_2144389_9 ( japanese_translation VARCHAR, vocalist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When momoiro clover z is the vocalist what is the japanese translation? ### Query: SELECT japanese_translation FROM table_21443...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int,...
### 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_5809 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What the average amount of field goals Clark has if he has less than 3 touch do...
### Context: CREATE TABLE table_33441 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Browns play week 12? ### Query: SELECT "Opponent" FROM table_33441 WHERE "Week...
### 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 table_name_61 ( leading_scorer VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the leading scorer of the game on 20 November 2007? ### Query: SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 20...
### Context: CREATE TABLE table_name_10 ( result VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for round r3? ### Query: SELECT result FROM table_name_10 WHERE round = "r3"
### Context: CREATE TABLE table_57117 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driv...
### Context: CREATE TABLE gyb ( 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_94 ( draws INTEGER, byes INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of draws for all byes larger than 0? ### Query: SELECT SUM(draws) FROM table_name_94 WHERE byes > 0
### Context: CREATE TABLE table_1825751_4 ( binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining ...
### Context: CREATE TABLE table_28839 ( "Place" real, "Nation" text, "played" real, "won" real, "drawn" real, "lost" real, "for" real, "against" real, "difference" real, "Table points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_59560 ( "Show" text, "Date" text, "Official ratings (millions)" real, "Weekly rank" text, "Share" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Weekly Rank has an Official ratings (millions) of 11.58? ### Quer...
### Context: CREATE TABLE table_19294812_2 ( team_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many 1st leg have team 1 ofk belgrade? ### Query: SELECT COUNT(1 AS st_leg) FROM table_19294812_2 WHERE team_1 = "OFK Belgrade"
### 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_20552 ( "Vehicle" text, "EPA rated All-electric range" text, "EPA rated combined fuel economy" text, "Alaska ( Juneau )" text, "California (San Francisco)" text, "Mid-Atlantic South (Washington, D.C.)" text, "U.S. national average electric mix" text, "Sout...
### 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 table_name_13 ( gold VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the gold when Jules van Dyk Belgium won bronze? ### Query: SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium"
### Context: CREATE TABLE table_55893 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college has Chito Victolero? ### Query: SELECT "College" FROM table_55893 ...
### Context: CREATE TABLE table_2220432_1 ( report VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the report in the race where the winning team was Roush Fenway Racing? ### Query: SELECT report FROM table_2220432_1 WHERE team = "Roush...
### Context: CREATE TABLE table_27665 ( "GB" text, "ISO \u2116" text, "Province" text, "Chinese Name" text, "Capital" text, "Population\u00b9" real, "Density\u00b2" text, "Area\u00b3" real, "Abbreviation/Symbol" text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_51351 ( "Player" text, "Span" text, "Start" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- on the span of 1992-2000, what was the conv ? ### Query: SELECT ...
### 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 PostTags ( PostId number, TagId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTyp...
### Context: CREATE TABLE table_28744929_1 ( joined_acc INTEGER, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year did north carolina institution join the acc? ### Query: SELECT MAX(joined_acc) FROM table_28744929_1 WHERE institution = "N...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstop...
### Context: CREATE TABLE tracklists ( albumid number, position number, songid number ) CREATE TABLE songs ( songid number, title text ) CREATE TABLE band ( id number, firstname text, lastname text ) CREATE TABLE vocals ( songid number, bandmate number, type text ) CREATE...
### Context: CREATE TABLE table_1504 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Falcons points" real, "Opponents" real, "Record" text, "Streak" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 19...
### Context: CREATE TABLE table_name_99 ( crowd VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people in total have attended games where carlton played as away? ### Query: SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = ...
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XL...
### 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_name_17 ( driver VARCHAR, grid VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drove in grids more than 3 and exited in an accident? ### Query: SELECT driver FROM table_name_17 WHERE grid > 3 AND ...
### Context: CREATE TABLE table_11633 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From which school did the Minnesota Twins SS come from? ### Query: SELECT "School" FROM table_...
### Context: CREATE TABLE table_73323 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE author ( ...
### Context: CREATE TABLE table_name_21 ( writer VARCHAR, issue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the writer for issue 224? ### Query: SELECT writer FROM table_name_21 WHERE issue = 224
### Context: CREATE TABLE table_21434 ( "Episode Number" real, "Air Date" text, "Event 1" text, "Event 2" text, "Event 3" text, "Event 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which episode number is event 4 The Wall and event 1 the ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_70679 ( "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 is the score when there was a Loss of birkbeck (0 3)? ### Query: SE...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidan...
### Context: CREATE TABLE table_6405 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Channel" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record for the game h...
### Context: CREATE TABLE table_name_12 ( week VARCHAR, opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many weeks have an Opponent of at san francisco 49ers, and an Attendance smaller than 34,354? ### Query: SELECT COUNT...
### Context: CREATE TABLE table_test_4 ( "id" int, "ejection_fraction_ef" int, "systolic_blood_pressure_sbp" int, "active_infection" bool, "heart_disease" bool, "renal_disease" bool, "estimated_glomerular_filtration_rate_egfr" int, "cardiogenic_shock" bool, "diastolic_blood_pressure_...
### Context: CREATE TABLE table_20996923_20 ( city VARCHAR, television VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the city when the Television network was the NFL Network? ### Query: SELECT city FROM table_20996923_20 WHERE television = "NFL Net...
### Context: CREATE TABLE table_7838 ( "Rank" real, "Title" text, "Studio" text, "Director" text, "Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE STUDIO WITH A GROSS $81,198,894? ### Query: SELECT "Studio" FROM table_7838 WHERE "...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE 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_1458412_1 ( team_s_ VARCHAR, winnings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total amount o teams where winnings is $1,752,299? ### Query: SELECT COUNT(team_s_) FROM table_1458412_1 WHERE winnings = "$1,75...
### Context: CREATE TABLE table_name_84 ( tournament VARCHAR, year VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tournament that happened in 1974 in gothenburg , sweden? ### Query: SELECT tournament FROM table_name_84 WHERE ...
### Context: CREATE TABLE table_24295 ( "Date" text, "Time" text, "ACC Team" text, "Big Ten Team" text, "Location" text, "Television" text, "Attendance" real, "Winner" text, "Challenge Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel te...
### Context: CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) 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 Activity ( actid I...
### Context: CREATE TABLE table_name_26 ( ipsos_5_25_09 VARCHAR, tns_sofres_5_28_09 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%? ### Query: SELECT ipsos_5_25_09 FROM table_name_26 WHERE tns_sofres_5_28_...
### Context: CREATE TABLE table_14998 ( "No.1" text, "No.2" text, "No.3" text, "No.4" text, "No.5" text, "No.6" text, "No.7" text, "No.8" text, "No.9" text, "No.10" text, "FINAL" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_21378339_5 ( artist VARCHAR, panel_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of artists for panel points being 5 ### Query: SELECT COUNT(artist) FROM table_21378339_5 WHERE panel_points = 5
### Context: CREATE TABLE table_21578303_2 ( stage VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which stage has kourdali as the name? ### Query: SELECT stage FROM table_21578303_2 WHERE name = "Kourdali"
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_I...
### Context: CREATE TABLE table_name_93 ( avg_g INTEGER, gain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Avg/G has a Gain of 1,839? ### Query: SELECT SUM(avg_g) FROM table_name_93 WHERE gain = 1 OFFSET 839
### Context: CREATE TABLE table_58859 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of the Player with a Score of 73-71-76-70=290? ##...
### Context: CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, flight_number int, from_airport varchar, meal_code text, ...
### Context: CREATE TABLE table_12025 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game when t...
### Context: CREATE TABLE table_55253 ( "Outcome" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had a score of 6 7 (0 7) , 6 2, 4 6? ### Query: SELECT "Tournament" ...
### Context: CREATE TABLE table_204_73 ( id number, "date" text, "opponent" text, "score" text, "result" text, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was their highest points scored in a game ? ### Query: SELECT MAX("score...
### Context: CREATE TABLE table_name_15 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the away team with st kilda as the away team? ### Query: SELECT away_team AS score FROM table_name_15 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_67892 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Try BP" text, "Losing BP" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the club that has played 22 rounds, has a drawn score of 0, has lost...
### Context: CREATE TABLE table_name_41 ( gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3? ### Query: SE...
### Context: CREATE TABLE table_78348 ( "Player" text, "Pos." text, "From" real, "School/Country" text, "Rebs" real, "Asts" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rebounds for players from 1976 and over 67 assists? #...
### Context: CREATE TABLE table_23085 ( "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 successor for pennsylvania 15th ### Query: SELECT "...
### 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 Subjec...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, ...
### Context: CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number ) CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number,...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### Context: CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Detai...
### Context: CREATE TABLE table_train_280 ( "id" int, "fpg" float, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "renal_disease" bool, "hba1c" float, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_...
### Context: CREATE TABLE table_name_70 ( season VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year's Season had an Overall of 77? ### Query: SELECT season FROM table_name_70 WHERE overall = "77"
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId...
### Context: CREATE TABLE table_1974545_3 ( softball_stadium VARCHAR, baseball_stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the softball stadium for the school that has Eastern Baseball Stadium? ### Query: SELECT softball_stadi...
### 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 Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major IN...
### Context: CREATE TABLE table_33480 ( "Season" real, "Coach" text, "Record as played" text, "Actual adjusted record" text, "Regular season Vacated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons did coach steve fisher have? ### Q...
### Context: CREATE TABLE table_78528 ( "Superlative" text, "Actor" text, "Record Set" text, "Year" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year had the oldest winner? ### Query: SELECT "Year" FROM table_78528 WHERE "Su...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE table_46565 ( "Year" real, "Championship" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During the championship where the winning score was 9 (66-69-73-7...
### Context: CREATE TABLE personfriend ( name text, friend text, year number ) CREATE TABLE person ( name text, age number, city text, gender text, job text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different cities do people o...
### Context: CREATE TABLE table_17525955_2 ( episode__number VARCHAR, us_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes aired Saturday, July 11, 2009 ### Query: SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date...
### Context: CREATE TABLE table_62692 ( "Position" real, "Club" text, "Games played" real, "Wins" real, "Draws" real, "Loses" real, "Goals scored" real, "Goals conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### Context: CREATE TABLE table_72663 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "To par" text, "Margin of victory" text, "Purse ( US$ )" real, "Winners share" real ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_7378 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Format has a Catalog of vcrdx 106? ### Query: SELECT "Format" FROM table_7378 WHERE "Cata...
### Context: CREATE TABLE table_67633 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest roll with a Decile larger than 6, and ...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardi...
### Context: CREATE TABLE gymnast ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gymnasts are there? ### Query: SELECT COUNT(*) FROM gymnast
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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, ...
### Context: CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE time_zone ( ...
### Context: CREATE TABLE table_71143 ( "Team" text, "Manager 1" text, "Captain" text, "Kit manufacturer" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the manager with the Hewlett-Packard shirt sponsor? ### Query: SEL...
### Context: CREATE TABLE table_14129 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has money ($) greater than 233,125 and Tiger Woods as the...