text
stringlengths
197
8.39k
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, ...
### Context: CREATE TABLE table_63035 ( "Model" text, "Poweramp" text, "Dimensions" text, "Mass" text, "Form factor(s)" text, "Output" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the dimensions of the amp with a 180W output? ### Que...
### Context: CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT...
### Context: CREATE TABLE table_45543 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver had a time/retired of + 10 laps and more than 6 points? ### Q...
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime ...
### 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 numbe...
### Context: CREATE TABLE table_37138 ( "Year [A ]" real, "Pick" text, "Player name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was a defensive end at California? ### Query: SELECT "Player name" FROM table_3...
### Context: CREATE TABLE table_1340667_3 ( finish_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the 3rd day with finbeingh position being 16th ### Query: SELECT 3 AS rd_day FROM table_1340667_3 WHERE finish_position = "16th"
### Context: CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID i...
### 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_20300 ( "#" real, "Advocate # 1" text, "Advocate # 2" text, "Root of All Evil" text, "Poll winner" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the advocate #1 for american idol #...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_28652521_1 ( description VARCHAR, singer_part_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the description of the buttonholer whose singer part number is 121795 kit 121908 buttonholer? ### Query: SELECT descri...
### 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_22816 ( "Episode title" text, "Subject" text, "Music by" text, "Lyrics by" text, "Performed by" text, "First aired" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the music by for episode the Elbow Room? #...
### Context: CREATE TABLE table_2603017_2 ( ba___running_bear VARCHAR, ab___angry_boar VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is ba - running bear where ab - angry boar is os - ox soldier? ### Query: SELECT ba___running_bear FROM table_2603017_...
### Context: CREATE TABLE table_204_324 ( id number, "team 1" text, "agg." text, "team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team is before team botswana in column team 1 ? ### Query: SELECT "tea...
### Context: CREATE TABLE table_74743 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rider has a 1:06.02.0 Time? ### Query: SELECT "Rider" FROM table_74743 WHERE "Time" = '1:06.02...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...
### 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_56 ( overall INTEGER, pick__number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least overall with pick number more than 27 ### Query: SELECT MIN(overall) FROM table_name_56 WHERE pick__number > 27
### Context: CREATE TABLE table_57350 ( "Constructor" text, "Chassis" text, "Engine" text, "Tyres" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the constructor for driver alan jones using a chassis of fw06 ...
### 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_41 ( engine_s_ VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine has 2 points? ### Query: SELECT engine_s_ FROM table_name_41 WHERE points = "2"
### Context: CREATE TABLE table_1342013_37 ( party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the party for the pennsylvania 25 ### Query: SELECT party FROM table_1342013_37 WHERE district = "Pennsylvania 25"
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ...
### Context: 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, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_26264 ( "Party" text, "Week 32" text, "Week 33" text, "Week 34" text, "Week 35" text, "Week 36" text, "Week 37" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the full amount of week 36 results when week ...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE flight_fare ( flight_id int, far...
### Context: CREATE TABLE table_name_22 ( drop_zone INTEGER, troop_carrier_group VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average drop zone time in the N drop zone for the 1st Pathfinder Prov.? ### Query: SELECT AVG(drop_zone) AS Time FROM...
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Scor...
### Context: CREATE TABLE table_43085 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the most laps when grid is 16? ### Query: SELECT MAX("Laps") FROM table_43085 ...
### 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_name_38 ( story VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the story code of the story published on 2002-12? ### Query: SELECT story AS code FROM table_name_38 WHERE date = "2002-12"
### Context: CREATE TABLE table_204_524 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is 3rd place listed above 18th place ? ### Query: SELECT (SELECT id FROM table_204_524 WHERE ...
### Context: CREATE TABLE table_37928 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for gold when bronze is 1? ### Query: SELECT "Gold" FROM table_3792...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program ( program_id in...
### Context: CREATE TABLE table_8822 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Airport, when Country is 'Egypt', and when ICAO is 'Heba'? ### Query: SELECT "Airport" FR...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_50425 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### 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 table_43724 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79? ### Quer...
### Context: CREATE TABLE table_name_85 ( attendance INTEGER, result VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game with a result of w 16-13 and a week earlier than 12? ### Query: SELECT MAX(attendance) FR...
### Context: CREATE TABLE table_name_91 ( station VARCHAR, japanese VARCHAR, rapid VARCHAR, distance__km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What station has a Rapid of , is 3.4 km away, and has a Japanese title of ? ### Query: SELECT st...
### Context: CREATE TABLE table_45393 ( "Rank" text, "Name" text, "Height (m)" real, "Height (ft)" real, "Floors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Height (ft) of the Churchill House with a Height (m) less than 59? ### Quer...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id...
### Context: CREATE TABLE table_11727969_1 ( species_in_the_world VARCHAR, peruvian_amazon_vs_peru__percent_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the species in the world with peruvian amazon vs. peru (percent) of 63 ### Query: SELECT speci...
### Context: CREATE TABLE table_15621965_8 ( school_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did Dwight Howard play for ### Query: SELECT school_club_team FROM table_15621965_8 WHERE player = "Dwight Howard"
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE table_16215 ( "General election" real, "# of candidates" real, "# of seats won" real, "% of popular vote" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seats were won in the election with 125 candid...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE Person ( gender VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many females does this network has? ### Query: SELECT COUNT(*) FROM Person WHERE gender = 'female'
### Context: CREATE TABLE table_19023 ( "Rank" real, "Airport" text, "Total Passengers" real, "% Change 2005/2006" text, "International Passengers" real, "Domestic Passengers" real, "Transit Passengers" real, "Aircraft Movements" real, "Freight (Metric Tonnes)" real ) -- Using vali...
### Context: CREATE TABLE table_13773 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of cuts made when the top-25 is more than 0, ...
### 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 table_name_15 ( ihsaa_class VARCHAR, year_joined VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IHSAA Class for football for the team joining in 1968? ### Query: SELECT ihsaa_class AS Football FROM table_name_15 WHERE y...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedB...
### Context: CREATE TABLE table_15873014_5 ( high_assists VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has the most assists on January 3? ### Query: SELECT high_assists FROM table_15873014_5 WHERE date = "January 3"
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROV...
### Context: CREATE TABLE ftxmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM tex...
### Context: CREATE TABLE table_29707 ( "School" text, "Location" text, "Mascot" text, "Colors" text, "Enrollment" real, "IHSA Classes 2/3/4" text, "IHSA Music Class" text, "IHSA Football Class" text, "IHSA Cheerleading Class" text ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_39 ( time VARCHAR, jockey VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which time contains the jockery of isaac murphy as well as the winner of kingman? ### Query: SELECT time FROM table_name_39 WHE...
### 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 ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount numbe...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subje...
### Context: CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHA...
### Context: CREATE TABLE table_204_987 ( id number, "city/municipality" text, "no. of\nbarangays" number, "area\n(km2)" number, "population\n(2010 census)" number, "pop. density\n(per km2)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what ...
### 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 table_77329 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE TOTAL THAT HAS A WIN IN 1982? ### Query: SELECT AVG("Tot...
### Context: CREATE TABLE table_name_52 ( nationality VARCHAR, rank VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for nationality when there is a rank larger than 6, and a Time of 2:14.95? ### Query: SELECT nationality FROM tab...
### Context: CREATE TABLE table_name_88 ( rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time a...
### Context: CREATE TABLE table_13645 ( "Title" text, "Series" text, "Director" text, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the director of the episode Rebel Rabbit? ### Query: SELECT "Director" FROM...
### Context: CREATE TABLE table_5099 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Series has a Score of 0 6? ### Query: SELECT "Series" FROM table_5099 WHERE "Score" = '0–6...
### Context: CREATE TABLE tracks ( id number, name text, album_id number, media_type_id number, genre_id number, composer text, milliseconds number, bytes number, unit_price number ) CREATE TABLE invoice_lines ( id number, invoice_id number, track_id number, unit_pri...
### 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_203_630 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many gold medals did germany earn ? ### Query: ...
### 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_2728 ( "Date" text, "Location" text, "Opponent" text, "Spartans Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did the opponents with a 6-2 record against...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop...
### Context: CREATE TABLE table_59430 ( "Classification" text, "% of all" text, "John Kerry" text, "John Edwards" text, "Dennis Kucinich" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is % of All, when Dennis Kucinich is '5%'? ### Query: SELE...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE 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_1 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team score when the away team was Hawthorn? ### Query: SELECT home_team AS score FROM table_name_1 WHERE away_team = "hawth...
### Context: CREATE TABLE table_204_543 ( id number, "national team" text, "title(s)\nrepresented" text, "first\nworn" number, "number\nof stars" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- germany first wore them in 1996 . wh...
### 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 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_62687 ( "Seat" real, "Series 1" text, "Series 2" text, "Series 3" text, "Series 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for series 4 when the seat shows 1? ### Query: SELECT "Series 4" FROM table...
### Context: CREATE TABLE table_48529 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Class, when Part 2 is 'bl tu'? ### Query: SELECT "Class" FROM table_48529 WHERE "Part...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### Context: CREATE TABLE table_23477 ( "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_204_471 ( id number, "year" number, "title" text, "peak chart positions\nger" number, "label" text, "artist" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many albums were released under the emi record label ...
### Context: CREATE TABLE table_19211 ( "Name" text, "2011 Census" real, "2006 Census" real, "% change" text, "Land area (km\u00b2)" text, "Density (pop/km\u00b2)" text, "Population rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How ma...
### Context: CREATE TABLE table_9197 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of people...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, Mar...
### Context: CREATE TABLE table_1861 ( "No. in series" real, "No. in season" 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. -- When 'car wars...
### Context: CREATE TABLE table_22787 ( "Match no." real, "Match Type" text, "Team Europe" text, "Score" text, "Team USA" text, "Progressive Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the match number where Bill Hoffman plays f...
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE fa...