text
stringlengths
197
8.39k
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, in...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, in...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_25085059_1 ( pick__number INTEGER, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What draft pick number did Kentucky get? ### Query: SELECT MIN(pick__number) FROM table_25085059_1 WHERE college = "Kentucky"
### 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_56889 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_5 ( qual VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the qual for rank 20? ### Query: SELECT qual FROM table_name_5 WHERE rank = "20"
### Context: CREATE TABLE table_26829 ( "Branding" text, "Callsign" text, "Frequency" text, "Power kW" text, "Coverage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much power covers dumaguete central visayas region? ### Query: SELECT COUNT("...
### Context: CREATE TABLE table_1341395_33 ( candidates VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates when gregory w. meeks was the incumbent ### Query: SELECT candidates FROM table_1341395_33 WHERE incumbent = "G...
### Context: CREATE TABLE table_44545 ( "Tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1993, when Tournament is 'Cincinnati'?...
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### Context: CREATE TABLE table_32342 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average round where Dave Stachelski was picked smaller than 187. ### Query: SELE...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, ...
### Context: CREATE TABLE table_204_376 ( id number, "date" text, "venue" text, "opponents" text, "score" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which date is listed after july 20th , 2012 ? ### Query: SELECT "date" ...
### Context: CREATE TABLE Parts ( part_name VARCHAR, part_id VARCHAR ) CREATE TABLE Part_Faults ( part_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which kind of part has the least number of faults? List the part name. ### Query: SELECT T1.part_na...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE FlagTypes ( Id number, Name text, Description tex...
### Context: CREATE TABLE table_74112 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_17318 ( "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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE wdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTM...
### 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_22106 ( "Rank" real, "Airport Name" text, "Location" text, "IATA Code" text, "Tonnes" text, "% Chg. 2010/11" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tonnes of cargo did the airport have with the IA...
### Context: CREATE TABLE table_24807406_3 ( goals INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest goals ever achieved? ### Query: SELECT MIN(goals) FROM table_24807406_3
### Context: CREATE TABLE table_24838 ( "Episode number" real, "Title" text, "Original airing on Channel 4" text, "Time of airing on Channel 4" text, "Original airing on E4" text, "Time of airing on E4" text, "Position in Channel 4s ratings a" text, "Position in E4s ratings b" text, ...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( ...
### Context: CREATE TABLE table_80180 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the ranking 1? ### Query: SELECT "Year" FROM table_80180 WHERE "Rank...
### Context: CREATE TABLE table_79012 ( "Rank (2012)" real, "IATA Code" text, "Major City Served" text, "State" text, "2012" real, "2011" real, "2010" real, "2009" real, "2008" real, "2007" real, "2006" real, "2005" real ) -- Using valid SQLite, answer the following que...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid n...
### Context: CREATE TABLE table_43910 ( "Rank" real, "Company" text, "Headquarters" text, "Industry" text, "Sales (billion $)" real, "Profits (billion $)" real, "Assets (billion $)" real, "Market Value (billion $)" real ) -- Using valid SQLite, answer the following questions for the ta...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, ...
### 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 orders ( customer_id VARCHAR, order_status VARCHAR ) CREATE TABLE customers ( customer_details VARCHAR, customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the details of all the distinct customers who have orde...
### Context: CREATE TABLE staff_department_assignments ( staff_id number, department_id number, date_assigned_from time, job_title_code text, date_assigned_to time ) CREATE TABLE addresses ( address_id number, address_details text ) CREATE TABLE department_store_chain ( dept_store_chai...
### Context: CREATE TABLE table_25608 ( "Star" text, "Stellar classification" text, "Distance from Earth ( ly )" text, "Constellation" text, "Dust (or Debris; Temperature (K)" text, "System" text, "Dust (or Debris) Location (AU)" text, "Cool Dust > 10 AU" text, "Stellar Age (Myr)" te...
### 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 mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text...
### Context: CREATE TABLE table_7293 ( "Place (Posici\u00f3n)" real, "Team (Equipo)" text, "Played (PJ)" real, "Won (PG)" real, "Draw (PE)" real, "Lost (PP)" real, "Goals Scored (GF)" real, "Goals Conceded (GC)" real, "+/- (Dif.)" real, "Points (Pts.)" real ) -- Using valid SQL...
### 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 jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_37584 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Label released a CD single in 1993? ### Query: SELECT "Label" FROM table_37584 WHERE "For...
### Context: CREATE TABLE table_name_21 ( attendance VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number in attendance for the Detroit Lions game? ### Query: SELECT attendance FROM table_name_21 WHERE opponent = "detroit lio...
### Context: CREATE TABLE table_4789 ( "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. -- When the VFL played at Junction Oval...
### Context: CREATE TABLE player_award_vote ( award_id text, year number, league_id text, player_id text, points_won number, points_max number, votes_first text ) CREATE TABLE player_award ( player_id text, award_id text, year number, league_id text, tie text, notes ...
### Context: CREATE TABLE table_17700 ( "Rank in Nyagatare Sectors, 2012" real, "Sector" text, "Area in sqkm" real, "Population August 15, 2012" real, "Population, August 15, 2002" real, "Population Change 2002-2012 (%)" text, "Population Density 2012 (km 2 )" real ) -- Using valid SQLite,...
### Context: CREATE TABLE table_1341604_10 ( first_elected VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the first elected with district being florida 7 ### Query: SELECT first_elected FROM table_1341604_10 WHERE district = "Florid...
### Context: CREATE TABLE table_42118 ( "Position" real, "Channel" text, "Launch date" real, "Owner" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013 (p)" real ) -- Using valid SQLite, answer the fol...
### Context: CREATE TABLE table_49290 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the Grids is less than 2 what are the total laps? ### Query: SELECT COUNT("Laps") FROM t...
### Context: CREATE TABLE table_79901 ( "Ride name" text, "Type" text, "Opened in" real, "Themed land" text, "Manufacturer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of ride is Rameses Revenge? ### Query: SELECT "Type" FROM table_799...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ...
### Context: CREATE TABLE table_68428 ( "Episode" text, "First aired" text, "Entrepreneur(s)" text, "Company or product name" text, "Money requested (\u00a3)" real, "Investing Dragon(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which compa...
### Context: CREATE TABLE table_28490105_1 ( distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland )...
### Context: CREATE TABLE table_4457 ( "Shipyard" text, "Laid down" text, "Launched" text, "Commissioned" text, "Fleet" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me what was commissioned december 30, 1965 ### Query: SEL...
### Context: CREATE TABLE table_38623 ( "Nation" text, "T Score" real, "A Score" real, "E Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How large was the total when the E Score was greater than 9.35 and T Score was less than 4?...
### Context: CREATE TABLE table_13344 ( "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 table_name_14 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Crowd has a Home team of richmond? ### Query: SELECT SUM(crowd) FROM table_name_14 WHERE home_team = "richmond"
### Context: CREATE TABLE table_40997 ( "Date" text, "Opponent" text, "Location" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent when the result was L 0-14? ### Query: SELECT "Opponent" FROM tab...
### Context: CREATE TABLE table_name_11 ( wk_3 INTEGER, wk_11 VARCHAR, wk_14 VARCHAR, wk_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest wk 3 value with an n/r in wk 14, a wk 2 value of 7, and a wk 11 value greater than 18? ### Q...
### Context: CREATE TABLE table_534 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the episode called 'Responsible Parties...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_12227 ( "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's the average to par for lee trevino? ### Query: SELECT AVG("To...
### Context: CREATE TABLE table_203_457 ( id number, "tramway" text, "country" text, "city" text, "height of pylons" text, "span width,\nleaning straight line" text, "span width,\nhorizontal measurement" text, "height of cable over ground" text, "year of inauguration" number, "no...
### 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 list ( lastname text, firstname text, grade number, classroom number ) CREATE TABLE teachers ( lastname text, firstname text, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which are the first and last ...
### Context: CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREA...
### Context: CREATE TABLE table_41744 ( "Position" text, "Jersey #" real, "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "2002\u20132003 Team" text, "NHL rights, if any" text ) -- Using valid SQLite, answer the following questions for the ...
### Context: CREATE TABLE table_21091157_1 ( date VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for game 8 ### Query: SELECT date FROM table_21091157_1 WHERE game = 8
### Context: CREATE TABLE table_24513 ( "Regional" text, "Champions" text, "Runners-up" text, "Third place" text, "Fourth place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who got the third position when laranja kyoto got the second position? #...
### Context: CREATE TABLE table_32894 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what state is the Thomas Assembly Center located? ### Query: SELECT "State" FROM table_32894 WH...
### Context: CREATE TABLE table_name_89 ( country VARCHAR, icao VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country, when ICAO is 'Hesh'? ### Query: SELECT country FROM table_name_89 WHERE icao = "hesh"
### Context: CREATE TABLE table_name_32 ( outcome VARCHAR, surface VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Outcome, when Surface is 'Carpet (I)', and when Date is '15 November 1993'? ### Query: SELECT outcome FROM table_name...
### Context: CREATE TABLE table_61175 ( "Club" text, "Nickname" text, "Location" text, "Home Ground" text, "GFL Premierships" text, "Years in GFL" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the club when home ground was Central Rese...
### Context: CREATE TABLE table_1568 ( "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 above...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmi...
### Context: CREATE TABLE parties ( party_id number, party_details text ) CREATE TABLE finances ( finance_id number, other_details text ) CREATE TABLE addresses ( address_id number, address_details text ) CREATE TABLE assets ( asset_id number, other_details text ) CREATE TABLE channe...
### Context: CREATE TABLE table_53183 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps did the grid 1 engine have? ### Query: SELECT SUM("Laps") FROM table_53...
### Context: CREATE TABLE table_204_981 ( id number, "ep#" number, "title" text, "broadcast date" text, "written by" text, "directed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- john considine and michael vejar worked on what episode toget...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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 ...
### Context: CREATE TABLE table_name_9 ( nation VARCHAR, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation has 1 bronze and 3 silvers? ### Query: SELECT nation FROM table_name_9 WHERE bronze = "1" AND silver = "3"
### Context: CREATE TABLE table_26561508_1 ( production_code VARCHAR, patient_portrayer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code for the episode where the patient portrayer is Kathy Lamkin? ### Query: SELECT production_code...
### Context: CREATE TABLE table_204_84 ( id number, "no" number, "peak" text, "location" text, "elevation (m)" number, "prominence (m)" number, "col height (m)" number, "col location" text, "parent" text ) -- Using valid SQLite, answer the following questions for the tables provide...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE fare ( fa...
### 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 ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, ...
### Context: CREATE TABLE table_name_50 ( round VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round has hereford united as the opponent? ### Query: SELECT round FROM table_name_50 WHERE opponent = "hereford united"
### Context: CREATE TABLE nuclear_power_plants ( id text, name text, latitude text, longitude text, country text, status text, reactortype text, reactormodel text, constructionstartat text, operationalfrom text, operationalto text, capacity text, lastupdatedat text, ...
### Context: CREATE TABLE table_79349 ( "Year" text, "Builder" text, "Model" text, "Length (ft)" real, "Propulsion" text, "Fleet series" text, "Total" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which model with a fleet ...
### Context: CREATE TABLE table_name_52 ( bowling_style VARCHAR, first_class_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bowling style does First Class Team, Griqualand West have? ### Query: SELECT bowling_style FROM table_name_52 WHERE first_c...
### Context: CREATE TABLE table_30204 ( "No." real, "Title" text, "Lyricist" text, "Composer" text, "Arrangement" text, "Sound Engineer" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many sound engineers were there for la...
### Context: CREATE TABLE table_29909 ( "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 icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id...
### Context: CREATE TABLE table_name_43 ( manufacturer VARCHAR, fleet_numbers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who manufactured fleet numbers of wlwr 2, 4, 11? ### Query: SELECT manufacturer FROM table_name_43 WHERE fleet_numbers = "wlwr 2, 4,...
### Context: CREATE TABLE table_54790 ( "Type" text, "Sign" real, "Exponent" real, "Significand" real, "Total bits" real, "Exponent bias" real, "Bits precision" real, "Number of decimal digits" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE table_name_35 ( date VARCHAR, opponents VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponents of police, and a Venue of selayang municipal council stadium had what date? ### Query: SELECT date FROM table_name_...
### Context: CREATE TABLE table_4148 ( "Couple" text, "Week 1" real, "Week 2" real, "Week 3" real, "Week 4" text, "Week 5" text, "Week 6" text, "Week 7" text, "Week 8 Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE 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 ...