text
stringlengths
197
8.39k
### 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_name_33 ( genre VARCHAR, developer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game was developed by Naughty Dog? ### Query: SELECT genre FROM table_name_33 WHERE developer_s_ = "naughty dog"
### Context: CREATE TABLE table_50514 ( "Rank" real, "Name" text, "Team(s)" text, "Birth date" text, "Death date" text, "Age (as of 1 February 2014)" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is at rank 9? ### Q...
### Context: CREATE TABLE table_name_2 ( event VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Event that has an Opponent of kendall grove? ### Query: SELECT event FROM table_name_2 WHERE opponent = "kendall grove"
### Context: CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER,...
### Context: CREATE TABLE table_15436 ( "Week" text, "Theme" text, "Song choice" text, "Original artist" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For Vegas Verdicts week, what was the result? ### Query: SELECT "Result" FROM tab...
### Context: CREATE TABLE table_54003 ( "Player" text, "Pos." text, "From" real, "School/Country" text, "Rebs" real, "Asts" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the school for player who began in 1986, has fewer rebounds than 7...
### Context: CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyin...
### Context: CREATE TABLE table_11963601_11 ( series VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series count at for game 5? ### Query: SELECT series FROM table_11963601_11 WHERE game = 5
### Context: CREATE TABLE table_name_40 ( points INTEGER, record VARCHAR, november VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Record of 12 2 4 1, and a November larger than 22? ### Query: SELECT AVG(points) FROM table_name_40 WHE...
### 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_65 ( draw VARCHAR, points VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the points 8 and the place larger than 8? ### Query: SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AN...
### Context: CREATE TABLE table_78051 ( "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. -- Which away team has a home score of...
### Context: CREATE TABLE movie ( budget_million INTEGER, YEAR INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average, maximum, and minimum budget for all movies before 2000. ### Query: SELECT AVG(budget_million), MAX(budget_million), MIN(budget...
### Context: CREATE TABLE table_name_61 ( label VARCHAR, catalogue_number_s_ VARCHAR, country VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Label has a Country of united kingdom, a Date of 22 september 2008, and a Catalogue numbe...
### Context: CREATE TABLE table_203_675 ( id number, "match" number, "date" text, "round" text, "home/away" text, "opponent team" text, "score" text, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the score of each mat...
### Context: CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_coun...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm...
### Context: CREATE TABLE allergy_type ( allergy text, allergytype text ) CREATE TABLE has_allergy ( stuid number, allergy text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) -- Using...
### Context: CREATE TABLE table_17392 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the se...
### Context: CREATE TABLE table_28815 ( "Western" text, "Central" text, "Eastern" text, "Old Galician (13th\u201315th c.)" text, "Portuguese" text, "Spanish" text, "Latin" text, "English" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: CREATE TABLE table_name_62 ( average INTEGER, interview VARCHAR, evening_gown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of averages with an interview of 8.75 when the evening gown number was bigger than 8.75? #...
### Context: CREATE TABLE table_name_90 ( tournaments INTEGER, highest_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Tournaments, when Highest Rank is 'Maegashira 1'? ### Query: SELECT AVG(tournaments) FROM table_name_90 WHERE high...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospital...
### Context: CREATE TABLE table_66460 ( "District" text, "s Barangay" real, "Population (2010 census)" real, "Area ( has .)" real, "Pop. density (per km2)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest population density for the ...
### Context: CREATE TABLE table_5090 ( "Station Code" text, "Station Name" text, "Arrival" text, "Departure" text, "Platform" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Station Name of the Arrival Starting Station? ### Query: SELECT...
### Context: CREATE TABLE table_36563 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School/Club Team has a Round larger than 16? ### Query: SELECT "School/Club T...
### Context: CREATE TABLE table_27653955_1 ( ihsa_music_class VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IHSA music class for the mascot that is the lancers? ### Query: SELECT ihsa_music_class FROM table_27653955_1 WHERE masc...
### 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum numb...
### Context: 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, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TAB...
### Context: CREATE TABLE table_55984 ( "Name" text, "Current version" text, "System" text, "Platform" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Platform has a Current Version 0.6.2? ### Query: SELECT "Platform" FROM table...
### Context: CREATE TABLE table_name_7 ( score VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the Competition with a Result of 5-0? ### Query: SELECT score FROM table_name_7 WHERE result = "5-0"
### Context: CREATE TABLE employees ( first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- display the department ID, full name (first and last name), salary for those employees who is hi...
### 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 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 table_53257 ( "Player" text, "Car." real, "Yards" text, "Avg." text, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a highest Long with 26 Yards and less than 9 Car? ### Query: SELECT MAX("Long") FROM table_...
### Context: CREATE TABLE cinema ( LOCATION VARCHAR, capacity INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all the locations with at least two cinemas with capacity above 300. ### Query: SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCAT...
### Context: CREATE TABLE table_22875369_3 ( irish_points VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the irish points for 23-1 record ### Query: SELECT irish_points FROM table_22875369_3 WHERE record = "23-1"
### 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, it...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, ...
### Context: CREATE TABLE table_36183 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest points value that have draws under 2 and 2 losses? ### Query: SE...
### Context: CREATE TABLE table_37910 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game with a record of 33 25 9? ### Query: SELECT "Score" FROM table_37...
### 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. -- Count the number of students ...
### 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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) C...
### Context: CREATE TABLE table_name_36 ( score VARCHAR, tie_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when there were 7 ties? ### Query: SELECT score FROM table_name_36 WHERE tie_no = "7"
### Context: CREATE TABLE table_52520 ( "Ceremony" text, "Award" text, "Category" text, "Nominee" text, "Outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ceremony was leela chitnis nominated at? ### Query: SELECT "Ceremony" FROM table_5...
### Context: CREATE TABLE table_name_2 ( week VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the week number with attendance of 44,132? ### Query: SELECT COUNT(week) FROM table_name_2 WHERE attendance = 44 OFFSET 132
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosi...
### Context: CREATE TABLE 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 d_labitems ( row_id number, itemid number, label text ) CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto tex...
### Context: CREATE TABLE customer_address_history ( customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR ) CREATE TABLE customers ( customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided...
### Context: CREATE TABLE table_47316 ( "Title" text, "Parent magazine" text, "Magazine type" text, "Frequency" text, "First published" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the type of the magazine that was named dengeki game appl...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, Belong...
### 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_204_362 ( id number, "episode" number, "airdate" text, "game 1" text, "game 2" text, "game 3" text, "viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the airdates for episode 1 and 2 ? ### Que...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE procedure...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE d_icd_diagnoses ( 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, ...
### Context: CREATE TABLE table_name_11 ( artist VARCHAR, issue_price VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Artist has an Issue Price of $8,159.95? ### Query: SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"
### Context: CREATE TABLE Attribute_Definitions ( attribute_id INTEGER, attribute_name VARCHAR(30), attribute_data_type VARCHAR(10) ) CREATE TABLE Catalog_Structure ( catalog_level_number INTEGER, catalog_id INTEGER, catalog_level_name VARCHAR(50) ) CREATE TABLE Catalog_Contents_Additional_Att...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagn...
### Context: CREATE TABLE table_5409 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the competition take place at on August 3, 2005 with a score of 5-0? ### Query: SE...
### Context: CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_36341 ( "Wind Farm" text, "Scheduled" text, "Capacity (MW)" real, "Turbines" real, "Type" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the scheduled value for the farm having a capacity ...
### 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 table_27397948_2 ( title VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all titles with a 57 series number. ### Query: SELECT title FROM table_27397948_2 WHERE no_in_series = 57
### Context: CREATE TABLE table_2492 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE table_50311 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Status is Second Test? ### Query: SELECT "Date" FROM table_50311 WHE...
### Context: CREATE TABLE table_name_33 ( team VARCHAR, laps VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has Laps of 100, and a Time/Retired of +8.6 secs? ### Query: SELECT team FROM table_name_33 WHERE laps = 100 AND...
### Context: CREATE TABLE table_38395 ( "Name" text, "Years of Operation" text, "Location" text, "Historical Photos" text, "Year Clubhouse Constructed" text, "Sign-in/Bicker" text, "Year co-ed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
### 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 jyjgzbb ( BGDH text,...
### Context: CREATE TABLE table_name_29 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who visited on november 17? ### Query: SELECT visitor FROM table_name_29 WHERE date = "november 17"
### Context: CREATE TABLE table_9194 ( "Member" text, "Party" text, "Electorate" text, "State" text, "Term of office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the term of office for noel beaton? ### Query: SELECT "Term of office" FRO...
### Context: CREATE TABLE table_16640 ( "Rd." real, "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rd for the canadi...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number...
### Context: CREATE TABLE table_11754 ( "Block A" text, "Gran Hamada" text, "Koji Kanemoto" text, "Jushin Liger" text, "Masaaki Mochizuki" text, "Super Shocker" text, "Tatsuhito Takaiwa" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which T...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, ...
### Context: CREATE TABLE table_59646 ( "Golden Rivers" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total losses when Hay is the golden river and there are mor...
### 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 demographic ( subject_id 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 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_name_19 ( engine VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine was for the vehicle with a cooper t43 chassis? ### Query: SELECT engine FROM table_name_19 WHERE chassis = "cooper t43"
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ...
### Context: CREATE TABLE Employee ( eid VARCHAR ) CREATE TABLE Certificate ( eid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show ids for all employees who don't have a certificate. ### Query: SELECT eid FROM Employee EXCEPT SELECT eid FROM Certificate
### Context: CREATE TABLE table_50879 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest lab for Gilera with a grid less than 12? ### Query: SELECT MIN("Laps") FR...
### Context: CREATE TABLE table_47287 ( "Tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tournament with a...
### Context: CREATE TABLE mountain ( Range VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the range that has the most number of mountains. ### Query: SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE student ( student_id int, lastname ...
### Context: CREATE TABLE table_28293 ( "Browser" text, "Operating system" text, "Latest stable release" text, "Theora" text, "H.264" text, "VP8 ( WebM )" text, "VP9 ( WebM )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When vp8 ( webm ) ...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTas...
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, R...
### Context: CREATE TABLE table_37884 ( "States" text, "Fall 05" real, "Fall 06" real, "Fall 07" real, "Fall 08" real, "Fall 09" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number is Fall 06 from the state with 34 for Fall 09? ### Query...
### Context: CREATE TABLE table_name_29 ( year_built VARCHAR, location_of_the_church VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was the church located in flor built? ### Query: SELECT year_built FROM table_name_29 WHERE location_of_the_chur...
### Context: CREATE TABLE table_29141354_5 ( first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were episodes first broadcast with jessica ennis as andrew and jacks guest? ### Query: SELECT first_broadcast FR...
### Context: CREATE TABLE table_name_19 ( gold VARCHAR, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gold medals were awarded to the team with more than 2 bronze and exactly 29 silver medals? ### Query: SELECT gold FROM...
### Context: CREATE TABLE table_10231 ( "Date" text, "Venue" text, "Opponent" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue for the game on 10-09-2012? ### Query: SELECT "Venue" FROM table_1023...