text
stringlengths
197
8.39k
### Context: CREATE TABLE table_42806 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home of the team with a 16-8 record...
### Context: CREATE TABLE table_34724 ( "Country" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which skip has Oliver Dupont as a second? ### Query: SELECT "Skip" FROM table_34724 WHERE "Secon...
### Context: CREATE TABLE table_name_25 ( tournament VARCHAR, third_place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the tournament that has a third place of magnus gustafsson ### Query: SELECT tournament FROM table_name_25 WHERE third_pl...
### Context: CREATE TABLE table_name_91 ( region VARCHAR, date VARCHAR, format VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the region for an item on November 10, 2007 that's a cd? ### Query: SELECT region FROM table_name_91 WHERE date = "novem...
### Context: CREATE TABLE table_43378 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Set 4" text, "Set 5" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Set 3 when the Total was 62 - 75?...
### Context: CREATE TABLE table_23982399_1 ( overall_episode__number INTEGER, original_airdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number originally aired on November 21, 1993? ### Query: SELECT MAX(overall_episode__number) FROM tabl...
### Context: CREATE TABLE table_name_92 ( attendance INTEGER, opponent VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of people in attendance in the game against the Buffalo Bills in a week later than 14? ### Que...
### Context: CREATE TABLE table_7723 ( "Basin" text, "Outlet" text, "Total Area" text, "In-State Area" text, "% In-State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With an in-state area of 053 1,654km 2 639mi 2, what is the total area? ### Que...
### 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 PostTypes ( Id number, N...
### Context: CREATE TABLE table_64656 ( "English" text, "German" text, "Dutch" text, "Latin" text, "Romanian" text, "Portuguese" text, "Spanish" text, "Italian" text, "French" text, "Greek (Modern)" text, "Bulgarian" text, "Macedonian" text, "Polish (extinct)" text ) ...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, ...
### Context: CREATE TABLE gwyjzb ( CLINIC_ID text, CLINIC_TYPE 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, INSURE...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, disch...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE manufacturers ( revenue INTEGER, headquarter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the total revenue of companies whose revenue is larger than the revenue of some companies based in Austin. ### Query: SELECT SUM(reven...
### Context: CREATE TABLE table_5411 ( "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 result of the competition that had a score of 4-0? ### Query: SELECT "Result" F...
### Context: CREATE TABLE table_name_5 ( series VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series standing after game 1? ### Query: SELECT series FROM table_name_5 WHERE game = 1
### Context: CREATE TABLE table_name_26 ( total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average total number of medals when there were 4 bronze, more than 2 silver, and less than 7 gold...
### Context: CREATE TABLE table_name_42 ( crowd VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at Brunswick Street Oval? ### Query: SELECT COUNT(crowd) FROM table_name_42 WHERE venue = "brunswick street oval"
### Context: CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location text, state_code varchar, country_name varchar, time_zone_code varchar, minimum_connect_time int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text...
### Context: CREATE TABLE table_50827 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which class has *buranaz as Part 4? ### Query: SELECT "Class" FROM t...
### Context: CREATE TABLE table_name_11 ( pos VARCHAR, first_round INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pos has a First round smaller than 10? ### Query: SELECT pos FROM table_name_11 WHERE first_round < 10
### Context: CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName T...
### Context: CREATE TABLE table_67663 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent that led to a 10-13 record? ### Query: SELECT "Opponent" FROM table_67663 ...
### Context: CREATE TABLE table_59762 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team 1 has a 2nd leg of 1-3? ### Query: SELECT "Team 1" FROM table_59762 WHERE "2nd le...
### Context: CREATE TABLE table_201_27 ( id number, "#" number, "secretary of state" text, "prime minister" text, "tenure" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what secretary of state served under both prime minister laurier and prime mini...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, Cre...
### Context: CREATE TABLE table_name_10 ( format VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What formated cataloged alca-9196? ### Query: SELECT format FROM table_name_10 WHERE catalog = "alca-9196"
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_name_22 ( pick__number VARCHAR, position VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Picks have a Position of defensive end, and an Overall smaller than 33? ### Query: SELECT COUNT(pick__numbe...
### Context: CREATE TABLE table_name_95 ( car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4?...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE 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, INSURE...
### Context: CREATE TABLE table_203_875 ( id number, "#" number, "name" text, "birth and death" text, "office started" text, "office ended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- for how many years did hallgrimur sveinsson serve as the b...
### Context: CREATE TABLE table_204_137 ( id number, "race" number, "race name" text, "pole position" text, "fastest lap" text, "winning driver" text, "winning team" text, "yokohama winner" text, "jay-ten winner" text, "report" text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE Invoice_Line_Items ( order_item_id INTEGER, invoice_number INTEGER, product_id INTEGER, product_title VARCHAR(80), product_quantity VARCHAR(50), product_price DECIMAL(19,4), derived_product_cost DECIMAL(19,4), derived_vat_payable DECIMAL(19,4), derived_total...
### Context: CREATE TABLE table_48531 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Part 4, when Part 2 is 'batt'? ### Query: SELECT "Part 4" FROM table_48531 WHERE "Par...
### Context: CREATE TABLE table_name_78 ( weight INTEGER, year VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Weight of the Senior Player with a Height of 6 10? ### Query: SELECT SUM(weight) FROM table_name_78 WHERE year = "s...
### Context: CREATE TABLE table_name_66 ( position VARCHAR, drawn VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of positions for teams with more than 7 draws and under 40 played? ### Query: SELECT COUNT(position...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_33929 ( "Model Number" text, "Stepping" text, "Frequency" text, "L2 Cache" text, "Multi 1" text, "V Core" text, "Socket" text, "Release Date" text, "Part Number(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_13306 ( "Period" text, "Internet Explorer" text, "Firefox" text, "Safari" text, "Opera" text, "Netscape" text, "Other Mozilla" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of users were using...
### 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 jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_49790 ( "Tournament" text, "2008" text, "2010" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament has a 2010 of 1r, and a 2008 of 1r? ### Query: SELECT "Tourname...
### Context: CREATE TABLE table_8963 ( "Tournament" text, "Country" text, "Location" text, "Began" real, "Court surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the earliest began when the court surface is clay in hamburg? ### Query:...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country...
### 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 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_203_291 ( id number, "round" number, "pick" number, "player" text, "position" text, "school/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the only player picked in the top ten ? ### Query: SEL...
### Context: CREATE TABLE table_name_95 ( season INTEGER, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average of seasons for 10th place finishes? ### Query: SELECT AVG(season) FROM table_name_95 WHERE position = "10th"
### Context: CREATE TABLE table_52383 ( "Hand" text, "1 credit" text, "2 credits" text, "3 credits" text, "4 credits" text, "5 credits" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What does full house have as a 5 credits? ### Query: SELECT "...
### Context: CREATE TABLE table_65164 ( "Album#" text, "English Title" text, "Chinese (Traditional)" text, "Chinese (Simplified)" text, "Release date" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the traditional Chinese n...
### 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 CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE table_58069 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which winner won by a score of 6 7(4), 7 6(3), [11 9]? ### Query: SELECT "Winner"...
### Context: CREATE TABLE table_name_15 ( rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total Rank for mit karan when Apps is more than 39 and Rate is more than 0.58? ### Query: SELECT SU...
### Context: CREATE TABLE table_47480 ( "Company name" text, "Hardware Model" text, "Accreditation type" text, "Accreditation level" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What company makes the Nokia 700? ### Query: SELECT "Co...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, rel...
### Context: CREATE TABLE table_50500 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much money does the player with a to par less than 4 and a score o...
### Context: CREATE TABLE table_73203 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "Television order" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What w...
### Context: CREATE TABLE table_61359 ( "Rank by average" real, "Place" real, "Couple" text, "Total points" real, "Number of dances" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank by average for 2 dances, w...
### Context: CREATE TABLE batting ( player_id TEXT, year INTEGER, stint INTEGER, team_id TEXT, league_id TEXT, g INTEGER, ab NUMERIC, r NUMERIC, h NUMERIC, double NUMERIC, triple NUMERIC, hr NUMERIC, rbi NUMERIC, sb NUMERIC, cs NUMERIC, bb NUMERIC, so ...
### Context: CREATE TABLE table_204_35 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times did sd ponferradina b compete in division 3a ? ### Query: SELECT COUNT(*) FROM ...
### Context: CREATE TABLE table_18239 ( "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. -- Who were the candidates when Lamar S. Smith was incumbent? ...
### Context: CREATE TABLE table_17383 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the womens doubles when wu jianqu...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE 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, INSURE...
### Context: CREATE TABLE Employee ( name VARCHAR, salary VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show name and salary for all employees sorted by salary. ### Query: SELECT name, salary FROM Employee ORDER BY salary
### Context: CREATE TABLE table_23316 ( "Verbs" text, "Yo" text, "T\u00fa" text, "Vos (*)" text, "\u00c9l / Ella / Usted" text, "Nosotros / Nosotras" text, "Vosotros / Vosotras" text, "Ellos / Ellas / Ustedes" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE table_28059992_6 ( player VARCHAR, cfl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player was drafted by Winnipeg? ### Query: SELECT player FROM table_28059992_6 WHERE cfl_team = "Winnipeg"
### Context: CREATE TABLE table_name_27 ( laps INTEGER, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average laps that had a time/retired of +5 laps? ### Query: SELECT AVG(laps) FROM table_name_27 WHERE time_retired = "+5 laps"
### Context: CREATE TABLE table_26007767_1 ( localities VARCHAR, population_density__per_km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many time is the population density (per km ) is 2.5? ### Query: SELECT COUNT(localities) FROM table_26007767_1 ...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar )...
### 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 gwyjzb ( CLINIC_ID text, CLINIC_TYPE 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, INSURE...
### Context: CREATE TABLE table_name_53 ( county VARCHAR, opposition VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What County has an Opposition of Antrim and the Player Bernie Forde? ### Query: SELECT county FROM table_name_53 WHERE op...
### Context: CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advi...
### Context: CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE ...
### 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, cul...
### Context: CREATE TABLE table_name_10 ( date VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date with score of 66-62? ### Query: SELECT date FROM table_name_10 WHERE score = "66-62"
### Context: CREATE TABLE Maintenance_Contracts ( maintenance_contract_id INTEGER, maintenance_contract_company_id INTEGER, contract_start_date DATETIME, contract_end_date DATETIME, other_contract_details VARCHAR(255) ) CREATE TABLE Engineer_Skills ( engineer_id INTEGER, skill_id INTEGER ) ...
### Context: CREATE TABLE table_29887 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_17864 ( "Constituency" text, "Electorate" real, "s Spoilt vote" real, "Total poll (%)" text, "For (%)" text, "Against (%)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the smallest possible spoilt vote with...
### Context: CREATE TABLE table_11703336_1 ( display_size VARCHAR, year_released VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the display size for the calculator released in 1997? ### Query: SELECT display_size FROM table_11703336_1 WHERE year_rel...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE 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, ...
### Context: CREATE TABLE table_19930660_2 ( first_broadcast VARCHAR, episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was episode 2x11 aired for the first time? ### Query: SELECT first_broadcast FROM table_19930660_2 WHERE episode = "2x11"
### Context: CREATE TABLE table_name_83 ( played INTEGER, years VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games did they play in 1905? ### Query: SELECT AVG(played) FROM table_name_83 WHERE years = "1905"
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_2076490_1 ( school VARCHAR, enrollment__2005_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school had an enrollment in 2005 of 69? ### Query: SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69"
### 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 compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE time_interval ( ...
### Context: CREATE TABLE accounts ( account_id number, statement_id number, account_details text ) CREATE TABLE statements ( statement_id number, statement_details text ) CREATE TABLE documents_with_expenses ( document_id number, budget_type_code text, document_details text ) CREATE ...
### 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 microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatme...
### Context: CREATE TABLE table_72935 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game when the opponent wa...
### 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 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 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age 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 ...