text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_82 ( winner VARCHAR, prize VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Winner, when Prize is ' 50,000', and when Runner-Up is 'Korosh Nejad'? ### Query: SELECT winner FROM table_name_82 ...
### Context: CREATE TABLE table_204_163 ( id number, "airline" text, "icao" text, "iata" text, "callsign" text, "commenced\noperations" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what other airline commenced operations the same year as eag...
### Context: CREATE TABLE table_name_91 ( nation VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nation had 3 bronze? ### Query: SELECT nation FROM table_name_91 WHERE bronze = 3
### Context: CREATE TABLE table_name_27 ( team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg for team 2 Portol Drac Palma Mallorca? ### Query: SELECT 1 AS st_leg FROM table_name_27 WHERE team_2 = "portol drac palma mallorca"
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE Users ( Id number, Reput...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, ...
### Context: CREATE TABLE table_61847 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2012 with A in 2009 and 2r in 2010? ### Query: SELECT "2012" FROM t...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TAB...
### Context: CREATE TABLE table_name_21 ( area_km_2 INTEGER, population INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Area km 2, when Population is greater than 1,395? ### Query: SELECT MIN(area_km_2) FROM table_name_21 WHERE population > 1 OFFSET ...
### Context: CREATE TABLE Customers ( customer_id INTEGER, payment_method_code VARCHAR(10), customer_code VARCHAR(20), customer_name VARCHAR(80), customer_address VARCHAR(255), customer_phone VARCHAR(80), customer_email VARCHAR(80) ) CREATE TABLE Addresses ( address_id INTEGER, addr...
### Context: CREATE TABLE table_59716 ( "Initial-syllable open/semi-open unstressed vowels" text, "17th c." text, "American" text, "British" text, "Australian" text, "Examples" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is American, whe...
### Context: CREATE TABLE table_27922491_8 ( matches INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of matches? ### Query: SELECT MIN(matches) FROM table_27922491_8
### Context: CREATE TABLE table_27257896_2 ( indians VARCHAR, salary_range VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the salary range is 4,000-9,000, what is the Indians %? ### Query: SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate tim...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE table_31895 ( "Heat Rank" real, "Lane" real, "Swimmer" text, "Country" text, "Time" real, "Overall Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the total number of time for luke hall overall rank being l...
### Context: CREATE TABLE table_201_29 ( id number, "#" text, "picture" text, "name" text, "took office" text, "left office" text, "party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which president had the shortest term without being dep...
### 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_29280 ( "Position" real, "Building" text, "City" text, "Height" text, "Number of floors" real, "Completion" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the number of floors is 70, what is the height? ### Qu...
### Context: CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE...
### Context: CREATE TABLE table_28887 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people won the election in the district of Virgini...
### Context: CREATE TABLE member ( Member_ID int, Name text, Membership_card text, Age int, Time_of_purchase int, Level_of_membership int, Address text ) CREATE TABLE happy_hour_member ( HH_ID int, Member_ID int, Total_amount real ) CREATE TABLE happy_hour ( HH_ID int, ...
### Context: CREATE TABLE table_204_607 ( id number, "season" number, "date" text, "location" text, "discipline" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many races were in 2010 ? ### Query: SELECT COUNT(*) FROM table_20...
### Context: CREATE TABLE table_79925 ( "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 was the record for the date of June 14? ### Query: SELECT "Record" ...
### Context: CREATE TABLE instructor ( instructor_id int, name varchar, uniqname 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_tests int, good_fee...
### Context: CREATE TABLE table_73433 ( "P" real, "Player" text, "League" real, "Scottish Cup" real, "League Cup" real, "Challenge Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Kris doolan's league number? ### Qu...
### Context: CREATE TABLE table_32238 ( "Cyclist" text, "Country" text, "Team" text, "Time" text, "UCI ProTour Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Davide Rebellin' UCI ProTour Points? ### Query: SELECT "UCI ProTour Points...
### Context: CREATE TABLE table_16912 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the tournament in...
### 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 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 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_name_88 ( label VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the label with catalog of mhcl-20005 ### Query: SELECT label FROM table_name_88 WHERE catalog = "mhcl-20005"
### Context: CREATE TABLE table_19738 ( "Position" text, "Number" text, "Name" text, "Height" text, "Weight" text, "Class" text, "Hometown" text, "Games\u2191" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How tall is Braxton Kelley? #...
### Context: CREATE TABLE table_9315 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position...
### 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 zyjzjlb ( CYBQDM tex...
### Context: CREATE TABLE table_name_89 ( teams VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the teams for season 1950-51? ### Query: SELECT teams FROM table_name_89 WHERE season = "1950-51"
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE table_name_86 ( to_par VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of the player with a t9 place and a score of 72-67=139? ### Query: SELECT to_par FROM table_name_86 WHERE pl...
### Context: CREATE TABLE has_amenity ( dorm_name VARCHAR, dormid VARCHAR ) CREATE TABLE dorm ( dorm_name VARCHAR, dormid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of dorms that do not have any amenity ### Query: SELECT dorm_name...
### Context: CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE company ( Company_ID in...
### Context: CREATE TABLE table_59841 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Score has a Place of t8, and a Country of scotland? ### Que...
### 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_13893 ( "Time" text, "Show Name" text, "DJ's" text, "Local/Networked" text, "Ad Freq" text, "News Freq" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time that is networked has an ad freq of 20 minutes until...
### Context: CREATE TABLE table_50740 ( "Date" text, "Result" text, "Opponent" text, "Venue" text, "Location" text, "Method" text, "Round" real, "Time" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The match that was ...
### 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_14342210_12 ( points VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points where scored by the right end? ### Query: SELECT COUNT(points) FROM table_14342210_12 WHERE position = "Right end"
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABL...
### Context: CREATE TABLE table_203_591 ( id number, "high school" text, "join\nyear" text, "from" text, "left" text, "league left to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last school to join the genesee county b league ? ...
### Context: CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) 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 ...
### 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 state ( state_code text, state_name text, country_name text ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant...
### Context: CREATE TABLE table_13596 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of canada? ### Query: SELECT "To par" FROM table_13596 WHERE "Country" = '...
### Context: CREATE TABLE table_name_46 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for the away team when they played Hawthorn? ### Query: SELECT away_team AS score FROM table_name_46 WHERE home_team = "h...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, ...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_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 table_name_94 ( title VARCHAR, termination_of_mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Title has a Termination of Mission of current? ### Query: SELECT title FROM table_name_94 WHERE termination_of_mission = "cu...
### Context: CREATE TABLE table_36618 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the tournament in Scotland with a score o...
### 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 Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_70992 ( "Year" text, "Venue" text, "Winners" text, "2nd place" text, "3rd place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who came in 3rd at Venue? ### Query: SELECT "3rd place" FROM table_70992 WHERE "Venue" =...
### Context: CREATE TABLE table_204_700 ( id number, "name" text, "developer" text, "release" text, "type" text, "game flow" text, "setting" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the only game to be released by fubra ? ### ...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE Posts ( Id number, PostTypeId number,...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_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 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_71 ( year INTEGER, points VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average Year that has Points that's smaller than 9 with a Rank of 24th? ### Query: SELECT AVG(year) FROM table_name_71...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, ...
### Context: CREATE TABLE table_12284476_8 ( alloy VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the alloy with series being ii series ### Query: SELECT alloy FROM table_12284476_8 WHERE series = "II series"
### Context: CREATE TABLE table_name_8 ( country VARCHAR, iata VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has an IATA of EVN? ### Query: SELECT country FROM table_name_8 WHERE iata = "evn"
### Context: CREATE TABLE table_65957 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" real, "Water (sqmi)" real, "Latitude" real, "Longitude" real, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, even...
### Context: CREATE TABLE table_41406 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds? ### Query: S...
### Context: CREATE TABLE table_name_81 ( time VARCHAR, notes VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time of frida svensson's race that had sa/b under the notes? ### Query: SELECT time FROM table_name_81 WHERE notes ...
### 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 diagnosi...
### Context: CREATE TABLE table_name_8 ( rank VARCHAR, nation VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank for the Netherlands when more than 2 silver medals were won? ### Query: SELECT COUNT(rank) FROM table_nam...
### Context: CREATE TABLE table_16316 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player went to college at Laval? ### Query: SELECT "Player" FROM table_16316 WHER...
### Context: CREATE TABLE table_40 ( "Calls" text, "Frequency" text, "Branding" text, "Format" text, "Market/Rank" text, "Timeslot" text, "Group owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Frequency is used for WEGP calls? #...
### 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE table_64002 ( "Wimmera FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total draws when the losses are less than 10, less than 2 byes,...
### Context: CREATE TABLE buildings ( id number, name text, city text, height number, stories number, status text ) CREATE TABLE companies ( id number, name text, headquarters text, industry text, sales_billion number, profits_billion number, assets_billion number, ...
### 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_203_353 ( id number, "#" number, "title" text, "producer(s)" text, "featured guest(s)" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which songs does not have a producer listed . ### Query: SELECT "...
### 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 Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHA...
### Context: CREATE TABLE table_name_72 ( state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of state champions with more tan 9 MRC Championships, more than...
### Context: CREATE TABLE table_name_62 ( first VARCHAR, position VARCHAR, bats VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which First has a Position of c, and Bats of l? ### Query: SELECT first FROM table_name_62 WHERE position = "c" AND bats = "l"
### Context: CREATE TABLE table_77246 ( "Position" real, "Team" text, "Rd 6" real, "Rd 7" real, "Rd 8" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average value for Rd 8 in a position less than 2 for Audi Sport Austr...
### Context: CREATE TABLE table_1245148_1 ( location VARCHAR, year_opened VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the track that opened in 1995? ### Query: SELECT location FROM table_1245148_1 WHERE year_opened = 1995
### Context: CREATE TABLE procedures ( 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_...
### Context: CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, w...
### Context: CREATE TABLE table_name_68 ( attendance INTEGER, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest attendance was the opponent was chelsea? ### Query: SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "chelsea...
### 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 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_name_41 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team when kwong wah was the away team? ### Query: SELECT home_team FROM table_name_41 WHERE away_team = "kwong wah"
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...