text
stringlengths
197
8.39k
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, ...
### Context: CREATE TABLE table_64196 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver for rank 22 when gold count was more than 0 and Bronze count wa...
### 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_22815568_3 ( status VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many statuses are listed for Wayne county? ### Query: SELECT COUNT(status) FROM table_22815568_3 WHERE county = "Wayne"
### Context: CREATE TABLE table_10741 ( "Player" text, "Team" text, "Date" text, "Opposition" text, "Game" text, "D\u00e9but" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the game whose team is Waterford and debuted later t...
### Context: CREATE TABLE table_name_83 ( player VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player has 14 wins? ### Query: SELECT player FROM table_name_83 WHERE wins = 14
### Context: CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE genre ( g_name text, rating text, most_popular_in text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genr...
### 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_1630 ( "Rank" real, "Administrative Division" text, "Area (km\u00b2)" real, "Area (sq mi)" real, "National Share (%)" text, "Comparable Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the national ...
### 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 table_name_46 ( nationality VARCHAR, round INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the nationality of the player with round more than 4 ### Query: SELECT nationality FROM table_name_46 WHERE round > 4
### Context: CREATE TABLE table_name_39 ( year VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year resulted in 54 laps? ### Query: SELECT year FROM table_name_39 WHERE laps = 54
### 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_68827 ( "Date" text, "Location" text, "Nature of incident" text, "Circumstances" text, "Casualties" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nature of the incident that's a bomb attack? ### Query: S...
### Context: CREATE TABLE table_name_31 ( province VARCHAR, region VARCHAR, area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What province has a v valpara so region and an area of 927.2? ### Query: SELECT province FROM table_name_31 WHERE region = "v...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit te...
### Context: CREATE TABLE table_name_59 ( score VARCHAR, set_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for Set 1 at 19:21? ### Query: SELECT score FROM table_name_59 WHERE set_1 = "19:21"
### Context: CREATE TABLE table_name_88 ( mark VARCHAR, lane VARCHAR, react VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Mark, when Lane is less than 5, and when React is 0.217? ### Query: SELECT mark FROM table_name_88 WHERE lane < 5 AND reac...
### Context: CREATE TABLE table_name_89 ( voltage_input_ VARCHAR, v_a VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the voltage iinput [V/A] of the whr-g54s model? ### Query: SELECT voltage_input_ AS "v_a" FROM table_name_89 WHER...
### Context: CREATE TABLE table_name_33 ( time VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time of the bout against Dave Menne? ### Query: SELECT time FROM table_name_33 WHERE opponent = "dave menne"
### 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 table_203_648 ( id number, "date" text, "opposition" text, "result" text, "score" text, "brazil scorers" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total number of wins ### Query: SELECT COU...
### Context: CREATE TABLE table_36119 ( "Album#" text, "English title" text, "Chinese title" text, "Released" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Album # of 3rd is what chinese title? ### Query: SELECT "Chinese title" FROM ...
### Context: CREATE TABLE table_70458 ( "Episode No." real, "Airdate" text, "Total Viewers" real, "Share" text, "BBC One Weekly Ranking" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the episode with a weekly ranking of 14 air? ### Q...
### Context: CREATE TABLE APPELLATIONS ( County VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many appelations are in Napa Country? ### Query: SELECT COUNT(*) FROM APPELLATIONS WHERE County = "Napa"
### Context: CREATE TABLE table_name_58 ( artist VARCHAR, draw INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which artist has a draw greater than 15? ### Query: SELECT artist FROM table_name_58 WHERE draw > 15
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### 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 table_27927185_1 ( viewers__millions_ VARCHAR, episode__number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many million viewers watched episodes prior to episode 2.0? ### Query: SELECT viewers__millions_ FROM table_27927185_...
### Context: CREATE TABLE table_5133 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the Final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score of 4 6, 6 4, 6 4 included which tournament? ### Query: SELECT "Tournam...
### Context: CREATE TABLE table_50435 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the attendance was 3188 what was the score? ### Query: SELECT "Score" FROM table_50435 WHE...
### Context: CREATE TABLE table_name_63 ( name VARCHAR, west_or_south_terminus VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name when the west or south terminus is ne 112 west of blue springs? ### Query: SELECT name FROM table_name_63 WHERE we...
### Context: CREATE TABLE table_name_11 ( record VARCHAR, location VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was their record on Wed. Dec. 5, when they played in Boston Garden? ### Query: SELECT record FROM table_name_11 WHERE lo...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_76590 ( "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 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 CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE VoteTypes ( Id number, ...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime ...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, R...
### Context: CREATE TABLE table_name_38 ( position VARCHAR, school VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does the winner from Ohio State with 412 points play? ### Query: SELECT position FROM table_name_38 WHERE sch...
### Context: CREATE TABLE table_name_88 ( aggregate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2nd leg score having an aggregate score of 4-2? ### Query: SELECT 2 AS nd_leg FROM table_name_88 WHERE aggregate = "4-2"
### Context: CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptrolle...
### Context: CREATE TABLE Department_Stores ( dept_store_id INTEGER, dept_store_chain_id INTEGER, store_name VARCHAR(80), store_address VARCHAR(255), store_phone VARCHAR(80), store_email VARCHAR(80) ) CREATE TABLE Customer_Addresses ( customer_id INTEGER, address_id INTEGER, date_fr...
### 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 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 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_name_62 ( intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater tha...
### Context: CREATE TABLE table_3695 ( "District" text, "Counties Represented" text, "Delegate" text, "Party" text, "First Elected" real, "Committee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What committees do the district 46 members serve...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) ...
### Context: CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, damage_millions_usd number, number_deaths number ) CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number ) CREATE TABLE region ( region_id ...
### Context: CREATE TABLE table_name_22 ( bronze INTEGER, silver INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most bronze a team with more than 2 silvers has? ### Query: SELECT MAX(bronze) FROM table_name_22 WHERE silver > 2
### Context: CREATE TABLE table_name_48 ( lost VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the team that lost but had 10 points? ### Query: SELECT lost FROM table_name_48 WHERE points = "10"
### Context: CREATE TABLE table_name_99 ( to_par VARCHAR, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is To Par, when Year(s) Won is '1968 , 1971'? ### Query: SELECT to_par FROM table_name_99 WHERE year_s__won = "1968 , 1971"
### 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 flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_...
### Context: 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_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy...
### 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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttim...
### Context: CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR...
### Context: CREATE TABLE table_name_60 ( employees__world_ VARCHAR, revenue__mil€_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is hte nuumber of employees that has a revenue of 104.000? ### Query: SELECT employees__world_ FROM table_name_60 WHERE r...
### Context: CREATE TABLE table_name_75 ( finish VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the finish in 1953? ### Query: SELECT finish FROM table_name_75 WHERE year = "1953"
### Context: CREATE TABLE table_204_394 ( id number, "year" number, "album" text, "label" text, "peak chart\npositions\nus" number, "peak chart\npositions\nus r&b" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was clayton 's first a...
### Context: CREATE TABLE table_57621 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the pick number when mark hayes was drafted? ### Query: SELECT "Pick" FROM...
### Context: CREATE TABLE table_name_8 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the opponent Austria? ### Query: SELECT date FROM table_name_8 WHERE opponent = "austria"
### Context: CREATE TABLE table_30722 ( "Athens XI" text, "PIFA Colaba FC u-17" text, "Tata Power" text, "Dadar XI \u2018B\u2019" text, "IDBI" text, "World Network Services" text, "United FC" text, "Good Shepherd" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_59176 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Star Zemba was featured in Week 3, who was the cyber girl for Week 2? ### Query: SELECT...
### Context: CREATE TABLE table_name_29 ( college VARCHAR, cfl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college did the Calgary Stampeders recruit from? ### Query: SELECT college FROM table_name_29 WHERE cfl_team = "calgary stampeders"
### Context: CREATE TABLE table_name_10 ( attendance INTEGER, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the least attendance when the time was 3:15? ### Query: SELECT MIN(attendance) FROM table_name_10 WHERE time = "3:15"
### Context: CREATE TABLE table_203_465 ( id number, "name" text, "population (2002 census)" number, "population (2007 estimation)" number, "population (2011 census)" number, "area (km2)" number, "density (pop/km2)" number ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_name_76 ( drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times? ### ...
### Context: CREATE TABLE table_16423070_4 ( track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country won swimming track & field when lexington won swimming and madison won volleyball ...
### Context: CREATE TABLE table_11547 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronzes for the nation with 2 golds and ranked below 2? ### Query: SE...
### Context: CREATE TABLE table_203_451 ( id number, "year" number, "film" text, "role" text, "language" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what other movies was aggarwal in the same year as her role in veera ? ### Que...
### Context: CREATE TABLE table_204_585 ( id number, "year" text, "player" text, "high school" text, "college" text, "nba/aba draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the last one ? ### Query: SELECT "player" FROM table_204...
### Context: CREATE TABLE table_21420 ( "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_52142 ( "Year" real, "Single" text, "U.S. Country" text, "U.S." text, "U.S. AC" text, "Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What US Country released an album of singles only in 1967? ### Query: S...
### Context: CREATE TABLE table_name_73 ( name VARCHAR, laid_down VARCHAR, commissioned VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939 ### Query: SELECT name FROM tab...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id...
### Context: CREATE TABLE table_56961 ( "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. -- How many people attended the game w...
### Context: CREATE TABLE table_name_58 ( bronze INTEGER, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total bronze medals did Canada receive? ### Query: SELECT MAX(bronze) FROM table_name_58 WHERE nation = "canada"
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, ...
### Context: CREATE TABLE table_16677738_1 ( year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest overall year? ### Query: SELECT MIN(year) FROM table_16677738_1
### Context: CREATE TABLE table_75027 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Station Ownership of eicb tv, and...
### Context: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me a hist...
### 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 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_name_56 ( score VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the game with a tie no of 1? ### Query: SELECT score FROM table_name_56 WHERE tie_no = "1"
### Context: CREATE TABLE route ( station_id VARCHAR, train_id VARCHAR ) CREATE TABLE train ( name VARCHAR, time VARCHAR, id VARCHAR ) CREATE TABLE station ( id VARCHAR, local_authority VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Fin...
### Context: CREATE TABLE table_name_43 ( nomination VARCHAR, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the nomination in a year earlier than 2009? ### Query: SELECT nomination FROM table_name_43 WHERE year < 2009
### Context: CREATE TABLE table_52144 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the fight that had a tko (low kicks)? ### Query: ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( m...
### Context: CREATE TABLE table_13833770_3 ( district VARCHAR, party VARCHAR, elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the district with party being republican and elected being 1998 ### Query: SELECT district FROM table_13833770_3 ...
### Context: CREATE TABLE table_name_14 ( finalist VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the May 7 finalist? ### Query: SELECT finalist FROM table_name_14 WHERE week = "may 7"
### Context: CREATE TABLE table_75124 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE Catalogs ( catalog_id INTEGER, catalog_name VARCHAR(50), catalog_publisher VARCHAR(80), date_of_publication DATETIME, date_of_latest_revision DATETIME ) CREATE TABLE Catalog_Contents_Additional_Attributes ( catalog_entry_id INTEGER, catalog_level_number INTEGER, ...
### Context: CREATE TABLE table_name_23 ( mascot VARCHAR, enrollment INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Mascot has an Enrollment greater than 2,464? ### Query: SELECT mascot FROM table_name_23 WHERE enrollment > 2 OFFSET 464
### Context: CREATE TABLE table_33403 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many silver medals were won with a total medal of 3 and a rank above 9? ##...
### Context: CREATE TABLE table_name_41 ( loan_club VARCHAR, start_source VARCHAR, ended VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the loan club with bbc sport as the start source and ended in 3 February? ### Query: SELECT loan_club FROM ta...
### Context: CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, ...
### Context: CREATE TABLE table_50482 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue of the team race that was after 2008? ### Query: SELECT "Venue" FROM ta...