text
stringlengths
197
8.39k
### Context: CREATE TABLE table_56550 ( "Year" text, "Type" text, "Nos." text, "GSWR Class" real, "GSWR Nos." text, "GSR Class" text, "Inchicore Class" text, "Withdrawn" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is withdrawn wi...
### 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_68589 ( "Terminal" text, "Operator" text, "Depth (m)" text, "Berths" real, "Quay cranes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the operator with berths more than 1 and depth of 12.5-15.5 ### Query: SELE...
### 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 inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE labeve...
### 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_name_36 ( time_retired VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the time/retired when the grid is less than 13, the constructor is alfa romeo and the laps ...
### Context: CREATE TABLE table_30331 ( "Year" real, "Team" text, "Number" real, "Games" real, "Kicks" real, "Handballs" real, "Total Disposals" real, "Marks" real, "Tackles" real, "Goals" real, "Behinds" real, "Goal Accuracy %" text, "Brownlow Medal Votes" real ) -...
### Context: CREATE TABLE item ( title VARCHAR, i_id VARCHAR ) CREATE TABLE review ( rating INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the titles of items whose rating is higher than the average review rating of all items. ### Query: SELECT T1...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE c...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE txmzjzjlb ( 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 DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS varchar(20), DEPT_EXTENSION varchar(4) ) CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CRE...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, K...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_9960 ( "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 medals for the Nation of Turkey with a Total of less than 2? ##...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, coun...
### Context: CREATE TABLE table_29535057_4 ( time VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time of the games that took place at the cassell coliseum blacksburg, va? ### Query: SELECT time FROM table_29535057_4 WHERE loca...
### Context: CREATE TABLE table_68285 ( "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 that has macdonald smith as the player? ### Query: SELECT "To par" FROM ta...
### 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 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_name_99 ( time VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was the match that had an attendance of 22,329? ### Query: SELECT time FROM table_name_99 WHERE attendance = "22,329"
### Context: CREATE TABLE table_name_70 ( opponent VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the match against at the PRIDE 31 event? ### Query: SELECT opponent FROM table_name_70 WHERE event = "pride 31"
### 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 chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, ...
### Context: CREATE TABLE table_201_48 ( id number, "title" text, "year" number, "peak chart positions\nus" number, "peak chart positions\nus\nalt." number, "peak chart positions\nus\nmain. rock" number, "peak chart positions\naus" number, "peak chart positions\naut" number, "peak ch...
### Context: CREATE TABLE table_25214321_1 ( winner VARCHAR, third_place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner when Mateus Rocha finished in 3rd place? ### Query: SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Ro...
### Context: CREATE TABLE table_19745 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the team's opponent of October 25, 1970? ...
### Context: CREATE TABLE table_name_72 ( senator VARCHAR, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the senator in kentucky ### Query: SELECT senator FROM table_name_72 WHERE state = "kentucky"
### Context: CREATE TABLE table_49424 ( "Player" text, "Team" text, "Matches" real, "Overs" real, "Wickets" real, "Economy Rate" real, "Average" real, "Strike Rate" real, "Best Bowling" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### Context: CREATE TABLE table_35712 ( "Province" text, "Kibaki" text, "Raila" text, "Wamalwa" text, "Ngilu" text, "Others" text, "Registered Voters" text, "Turnout %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's listed for the...
### Context: CREATE TABLE services ( service_name VARCHAR, service_id VARCHAR ) CREATE TABLE first_notification_of_loss ( service_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of services that have been used for more than 2 times in fi...
### Context: CREATE TABLE table_61124 ( "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 Player won the PGA in 1989? ### Query: SELECT "Player" FROM tab...
### Context: CREATE TABLE table_name_85 ( population INTEGER, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Population of the Parish with an Area km 2 of 236.76? ### Query: SELECT MIN(population) FROM table_name_85 WHERE area_km_2 = 2...
### Context: CREATE TABLE table_name_73 ( series VARCHAR, visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the series score of the game with Vancouver as the visiting team on April 16? ### Query: SELECT series FROM table_name...
### Context: CREATE TABLE table_name_92 ( region VARCHAR, label VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the region when the label was the universal music group? ### Query: SELECT region FROM table_name_92 WHERE label = "universal music group...
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_18592 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many races involve incumbent Pat Cannon? ### Query: SE...
### Context: CREATE TABLE table_49397 ( "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 was part 2 when part 4 was *bl tanaz? ### Query: SELECT "Part 2" FROM table_49397 WHERE ...
### Context: CREATE TABLE table_27479 ( "Rank" real, "Rank w/o Hydropower" real, "State" text, "% Renewable" text, "% Renewable w/o Hydro" text, "Renewable electricity (GW\u00b7h)" real, "Renewable electricity w/o Hydro (GW\u00b7h)" real, "Total electricity (GW\u00b7h)" real ) -- Using...
### Context: CREATE TABLE table_13352 ( "Parameter" text, "Symbol" text, "Best fit (WMAP only)" text, "Best fit (WMAP, extra parameter)" text, "Best fit (all data)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the parameter when the best f...
### Context: CREATE TABLE table_28286776_52 ( cap_s_ VARCHAR, club_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many caps figures for the Doncaster Rovers? ### Query: SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Doncaster Rovers"
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, ...
### 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 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 table_67917 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the 2014 FIFA World Cup Qual. competition? ### Query: SELECT "Score"...
### Context: CREATE TABLE table_name_4 ( opponent VARCHAR, points VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points? ### Query: SELECT opponent...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ...
### Context: CREATE TABLE table_name_41 ( number VARCHAR, males VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which number has 11 males? ### Query: SELECT number FROM table_name_41 WHERE males = "11"
### 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varc...
### Context: CREATE TABLE table_10032 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date with home team of Stockport County? ### Query: SELECT "Date" FROM table_...
### Context: CREATE TABLE table_2589963_1 ( institution VARCHAR, women VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What institution is represented by the lady saints? ### Query: SELECT institution FROM table_2589963_1 WHERE women = "Lady Saints"
### Context: CREATE TABLE table_204_693 ( id number, "place" text, "total" number, "men" number, "women" number, "children" number, "elderly" number, "serbs" number, "jews" number, "romani" number, "rusyns" number, "hungarians" number, "russians" number ) -- Using v...
### Context: CREATE TABLE table_6578 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who plays the right wing position? ### Query: SELECT "Player...
### Context: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which athlete belongs to rank 10 ? ### Query: SELECT "athlete" FROM table_204_262 ...
### Context: CREATE TABLE table_34131 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Gold that has the Silver of south korea, and the Year of 1986? ### Query: ...
### 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_25736 ( "Rank" real, "Team" text, "Total Points" real, "2008-09 Points" real, "2007-08 Points" real, "2006-07 Points" real, "2005-06 Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the points is 1, w...
### Context: CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) -- Using valid SQLite, answer the following questions...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, Revie...
### 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 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 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 FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ...
### Context: CREATE TABLE table_1342338_5 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many districts was the incumbent David Delano Glover? ### Query: SELECT COUNT(district) FROM table_1342338_5 WHERE incumbent = "Dav...
### Context: CREATE TABLE table_name_76 ( team VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has brad miller (8) as the high assists? ### Query: SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)"
### Context: CREATE TABLE table_4718 ( "Player" text, "Nationality" text, "Position" text, "From" real, "School/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of players from Duquesne? ### Query: SELECT AVG("From...
### Context: CREATE TABLE table_name_44 ( date VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what date did tie number 5 occur? ### Query: SELECT date FROM table_name_44 WHERE tie_no = "5"
### 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_name_39 ( bulgarian_commander VARCHAR, battle VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Bulgarian Commander of the Battle of Rusion? ### Query: SELECT bulgarian_commander FROM table_name_39 WHERE battle = "ba...
### Context: CREATE TABLE table_20745754_1 ( _number VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game number had an attendance of 2813? ### Query: SELECT _number FROM table_20745754_1 WHERE attendance = 2813
### Context: CREATE TABLE table_58156 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points has a draw greater than 3 and 3rd place? ### Query: SELECT "Points" FROM table_58...
### Context: CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_det...
### Context: CREATE TABLE table_name_18 ( source VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the source for Laird? ### Query: SELECT source FROM table_name_18 WHERE name = "laird"
### Context: CREATE TABLE table_49839 ( "Rank" real, "Player" text, "Country" text, "Events" real, "Prize money( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the prize money for the player ranked 1? ### Query: SELECT MAX("Prize money...
### Context: CREATE TABLE table_1553485_1 ( channel_tv___dt__ VARCHAR, station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What channel tv (dt) plays the KPIX station? ### Query: SELECT channel_tv___dt__ FROM table_1553485_1 WHERE station = "KPIX"
### Context: CREATE TABLE table_name_88 ( parent_magazine VARCHAR, first_published VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the parent magazine of the magazine that was first published on december 16, 2004? ### Query: SELECT parent_magazine F...
### Context: CREATE TABLE table_3537 ( "Series #" real, "Season #" real, "Episode Title" text, "Original airdate" text, "Prod. No." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes had production number 2x13? ### Query: SELECT COUNT...
### Context: CREATE TABLE table_48069 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, ...
### Context: CREATE TABLE table_61804 ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average 2003 with 2,154...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, f...
### Context: CREATE TABLE table_14143 ( "Manufacturer" text, "Transmission" text, "Engine Capacity" real, "Fuel Type" text, "L/100km Urban (Cold)" real, "L/100km Extra-Urban" real, "L/100km Combined" real, "mpg-UK Urban (Cold)" real, "mpg-UK Extra-Urban" real, "mpg-UK Combined" r...
### Context: CREATE TABLE table_79357 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date had a tie no of replay, and an away team of watford? ### Query: SELECT "Date" F...
### Context: CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNotice...
### Context: CREATE TABLE table_25277262_2 ( title VARCHAR, no_in_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the episode # 11 in the season? ### Query: SELECT title FROM table_25277262_2 WHERE no_in_season = 11
### Context: CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE days ( days_code varchar, day_name ...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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 jobs ( JOB_ID varchar(...
### Context: CREATE TABLE table_24293 ( "Date" text, "Time" text, "ACC Team" text, "Big Ten Team" text, "Location" text, "Television" text, "Attendance" real, "Winner" text, "Challenge Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE pitching ( player_id text, year number, stint number, team_id text, league_id text, w number, l number, g number, gs number, cg number, sho number, sv number, ipouts number, h number, er number, hr number, bb number, so nu...
### Context: CREATE TABLE table_name_63 ( release_price___usd__ VARCHAR, socket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Socket of without quickassist has what release price? ### Query: SELECT release_price___usd__ FROM table_name_63 WHERE socket = "w...
### Context: CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE technician ( technician_id ...
### Context: CREATE TABLE table_31989 ( "Sixes" text, "Player" text, "Opponent" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date when Canada played? ### Query: SELECT "Date" FROM table_31989 WHERE "Opponent...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description tex...
### 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_44495 ( "Archbishop" text, "Born" text, "Ordained Priest" text, "Ordained Bishop" text, "Appointed Archbishop" text, "Vacated throne" text, "Died" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the ar...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, ...
### Context: CREATE TABLE table_15180 ( "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 is the average silver with a Rank smaller than 2 and more than 1 gold? ##...