text
stringlengths
197
8.39k
### Context: CREATE TABLE table_62968 ( "play" text, "author" text, "company" text, "base" text, "country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Author's Company is Ruth Kanner Theatre Group? ### Query: SELECT "author" FROM table_629...
### Context: CREATE TABLE table_53592 ( "Rank" real, "Name" text, "Nation" text, "Placings" real, "Figures" real, "Free" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average figure score of the skater with a free...
### 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 Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DA...
### Context: CREATE TABLE table_56344 ( "Grand Prix" text, "Date" text, "Location" 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. -- Which w...
### Context: CREATE TABLE table_58789 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Raiders points" real, "Opponents" real, "Raiders first downs" real, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### Context: CREATE TABLE table_54754 ( "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 an Away team sc...
### Context: CREATE TABLE table_20236726_2 ( builder VARCHAR, serial_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the builder for serial number being 377 ### Query: SELECT builder FROM table_20236726_2 WHERE serial_no = 377
### Context: CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int ) CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) -- Using valid SQLite, answer the followi...
### Context: CREATE TABLE table_203_206 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country won the most medals ? ### Query: SELEC...
### Context: CREATE TABLE table_62877 ( "Team" text, "Matches" real, "Wins" real, "Wins %" text, "Draws" real, "Draws %" text, "Losses" real, "Losses %" text, "Against" real, "For & Against Ratio" text ) -- Using valid SQLite, answer the following questions for the tables provi...
### Context: CREATE TABLE table_204_4 ( id number, "date" text, "race" text, "competition" text, "rider" text, "country" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the giro d'italia race after wouter weylandt ? ...
### Context: CREATE TABLE mzb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### 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 intakeo...
### Context: CREATE TABLE table_name_56 ( population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the communities name is Balmoral and the area is over 43.51 kilometers squared, what's the total population...
### 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_20940 ( "Number" real, "Name" text, "Kilometer" real, "Pavement" text, "Length (m)" real, "Average climb (%)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many have a length of 375? ### Query: SELECT COUNT(...
### 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_68153 ( "Race" text, "Dist (f)" real, "Course" text, "Class" text, "Prize (\u00a3K)" real, "Odds" text, "Runners" real, "Placing" real, "Margin" real, "Time" text, "Jockey" text, "Trainer" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_name_59 ( score VARCHAR, tie_no VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the tie number was a replay and the home team was mansfield town? ### Query: SELECT score FROM tabl...
### Context: CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int ) CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male t...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
### Context: CREATE TABLE Lots ( lot_id INTEGER, investor_id INTEGER, lot_details VARCHAR(255) ) CREATE TABLE Ref_Transaction_Types ( transaction_type_code VARCHAR(10), transaction_type_description VARCHAR(80) ) CREATE TABLE Transactions_Lots ( transaction_id INTEGER, lot_id INTEGER ) CRE...
### Context: CREATE TABLE table_25572068_1 ( series VARCHAR, winning_team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what series was TDS Racing the winning team on 9 October? ### Query: SELECT series FROM table_25572068_1 WHERE winn...
### Context: CREATE TABLE table_52106 ( "Superlative" text, "Director" text, "Record Set" text, "Year" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Superlative had a record set of 12 nominations? ### Query: SELECT "Superlative"...
### Context: CREATE TABLE table_41767 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Points" text, "Final Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the 2005 season, how many r...
### Context: CREATE TABLE table_74138 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the record that had a score of 5-...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid...
### Context: CREATE TABLE table_14036 ( "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 when the away team is bolton wanderers? ### Query: SELECT "Date" FROM ta...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### 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 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 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_dev_18 ( "id" int, "bleeding" int, "chronic_anticoagulant_therapy" bool, "renal_disease" bool, "hyperlipidemia" bool, "creatinine_clearance_cl" float, "chronic_hemostasis_disorders" bool, "significant_proteinuria" bool, "platelet_count" float, "tot...
### Context: CREATE TABLE table_name_70 ( spacecraft VARCHAR, end_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the spacecraft with end time of 4 September 04:51? ### Query: SELECT spacecraft FROM table_name_70 WHERE end_time = "4 september 04...
### Context: CREATE TABLE Customers ( customer_id INTEGER, customer_details VARCHAR(255) ) CREATE TABLE Residents ( resident_id INTEGER, property_id INTEGER, date_moved_in DATETIME, date_moved_out DATETIME, other_details VARCHAR(255) ) CREATE TABLE Things ( thing_id INTEGER, organi...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_i...
### Context: CREATE TABLE table_name_73 ( year_set VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year had a 100m freestyle event? ### Query: SELECT COUNT(year_set) FROM table_name_73 WHERE event = "100m freestyle"
### Context: CREATE TABLE table_name_99 ( score VARCHAR, time VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Score which has a Time of 18:00 and a Venue of african union? ### Query: SELECT score FROM table_name_99 WHERE time = "1...
### Context: CREATE TABLE table_name_21 ( country VARCHAR, package_option VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has a qualsiasi tranne sky hd package/option? ### Query: SELECT country FROM table_name_21 WHERE package_option = "qualsia...
### Context: CREATE TABLE table_name_16 ( year INTEGER, us_cham_rank INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year is the lowest one that has a US Cham Rank smaller than 1? ### Query: SELECT MIN(year) FROM table_name_16 WHERE us_cham_rank < 1
### Context: CREATE TABLE table_2190919_1 ( poles VARCHAR, team_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the poles is #08 Miller racing? ### Query: SELECT poles FROM table_2190919_1 WHERE team_s_ = "#08 Miller Racing"
### Context: CREATE TABLE table_41348 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was Leo Mainoldi (24) the leading scorer? ### Query: SELECT...
### Context: CREATE TABLE table_4241 ( "Train number" real, "Train name" text, "Origin" text, "Destination" text, "Service" text, "Route/Via." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many route/via's are there for the ernad express? ...
### Context: CREATE TABLE table_name_43 ( bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Were there Bulletins to all contacts of the proprietary license cre...
### Context: CREATE TABLE building ( building_id text, Name text, Street_address text, Years_as_tallest text, Height_feet int, Floors int ) CREATE TABLE protein ( common_name text, protein_name text, divergence_from_human_lineage real, accession_number text, sequence_length ...
### Context: CREATE TABLE table_25764073_3 ( title VARCHAR, season__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the title for season number 35 ### Query: SELECT title FROM table_25764073_3 WHERE season__number = 35
### Context: CREATE TABLE table_46925 ( "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 home team had an away team of Aston Villa? ### Query: SELECT "Home team" FROM table_...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname 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_64 ( title VARCHAR, released VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What CD was released in 2009? ### Query: SELECT title FROM table_name_64 WHERE released = 2009
### Context: CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment...
### Context: CREATE TABLE table_3549 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the couple on the bottom two? ### Query: ...
### Context: CREATE TABLE table_8559 ( "Episode Number" real, "Air Date" text, "Event 1" text, "Event 2" text, "Event 3" text, "Event 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode had sumo ball for event 3 and the wall for event...
### Context: CREATE TABLE table_name_24 ( attendance INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance for all events held at Palmerston Park venue? ### Query: SELECT AVG(attendance) FROM table_name_24 WHERE venue ...
### Context: CREATE TABLE table_77119 ( "Day 1" text, "Day 2" text, "Day 3" text, "Day 4" text, "Day 5" text, "Wednesday" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the day 1 when the day 3 is math? ### Query: SELECT "Day 1" FROM ta...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE flight_fare ( flight_id int, far...
### 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_69786 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release date of a CD with the catalog number ALCA-9206? ### Query: SELECT "Date" F...
### 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 table_74952 ( "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 Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6? ##...
### 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_DIRE_CD text, MED_...
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( ...
### Context: CREATE TABLE table_14903081_1 ( began INTEGER, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the tournament first held in Italy? ### Query: SELECT MIN(began) FROM table_14903081_1 WHERE country = "Italy"
### 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 d_labitems ( row_id number, itemid number, label text ) CREATE TABLE diagnoses_icd ( ...
### Context: CREATE TABLE table_name_17 ( oricon INTEGER, romaji_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Oricon has a Romaji title of nakitakunalu? ### Query: SELECT MAX(oricon) FROM table_name_17 WHERE romaji_title = "nakitakunalu"
### 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_31434 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people wrote the episode directed...
### Context: CREATE TABLE table_5585 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pick # is the highest one that has a Name of lawrence sidbury, and a...
### Context: CREATE TABLE table_name_28 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the away score at the Princes Park game? ### Query: SELECT away_team AS score FROM table_name_28 WHERE venue = "princes park"
### Context: CREATE TABLE media_types ( id number, name text ) CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number ) CREATE TABLE ...
### Context: CREATE TABLE table_62159 ( "Rank" text, "Name" text, "Height ft ( m )" text, "Floors" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the height of the the building ranked 13= with fewer than 28 floors? ### Query: S...
### Context: CREATE TABLE table_203_653 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country is last on the table ? ### Query: SEL...
### Context: CREATE TABLE table_name_69 ( home VARCHAR, away VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home has 1-5 as the away? ### Query: SELECT home FROM table_name_69 WHERE away = "1-5"
### Context: CREATE TABLE table_name_21 ( first_branch_opened VARCHAR, branch VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the First Branch Opened, when Branch is Belmont Library? ### Query: SELECT first_branch_opened FROM table_name_21 WHERE bran...
### Context: CREATE TABLE table_31473 ( "Rank" real, "Rider" text, "Sat 20 Aug" text, "Mon 22 Aug" text, "Tues 23 Aug" text, "Wed 24 Aug" text, "Thurs 25 Aug" text, "Fri 26 Aug" text, "Sat 27 Aug" text, "Mon 29 Aug" text, "Wed 31 Aug" text ) -- Using valid SQLite, answer th...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, even...
### Context: CREATE TABLE table_name_29 ( week VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week were there 56,023 people in attendance? ### Query: SELECT COUNT(week) FROM table_name_29 WHERE attendance = 56 OFFSET 023
### Context: CREATE TABLE table_204_236 ( id number, "title" text, "release date" text, "developer(s)" text, "publisher(s)" text, "genre(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- number of gangster games released by developer rockstar n...
### Context: CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4), PROF_HIGH_DEGREE varchar(5) ) CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(1), EMP_JOBCODE varc...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostFeedbac...
### Context: CREATE TABLE table_name_23 ( time VARCHAR, set_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time when the set 3 score is 31 29? ### Query: SELECT time FROM table_name_23 WHERE set_3 = "31–29"
### Context: CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number ) CREATE TABLE region ( region_id number, region_code text, region_name text ) CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, da...
### Context: CREATE TABLE table_61709 ( "Pos." text, "Class" text, "Entrant" text, "Drivers" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver had 101 laps? ### Query: SELECT "Drivers" FROM table_61709 WHERE "Laps" = '101'
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_55691 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the constructor with the grid of 8? ### Query: SELECT "Constructor" FROM table...
### Context: CREATE TABLE table_19705 ( "Prefix size" text, "Network mask" text, "Available subnets" real, "Usable hosts per subnet" real, "Total usable hosts" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the network mask is 255.255.255.128 w...
### Context: CREATE TABLE table_46651 ( "Draw" real, "Song" text, "Performer" text, "Televotes" real, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10? ### Query: SEL...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, ...
### Context: CREATE TABLE table_53055 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was at home on april 14? ### Query: SELECT "Home...
### Context: CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int ) CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes tex...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_38234 ( "Nation" text, "T Score" real, "A Score" real, "E Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number of A scores for Japan when the T score was more than 4? ### Quer...
### Context: CREATE TABLE table_name_6 ( team VARCHAR, long VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has a long of 67? ### Query: SELECT team FROM table_name_6 WHERE long = "67"
### Context: CREATE TABLE table_42122 ( "City" text, "State" text, "AAM Accredited" text, "AAM Member" text, "ASTC Member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is City, when ASTC Member is No, when State is California, and when AAM Me...
### Context: CREATE TABLE table_1341843_15 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the incumbent of Indiana 4 district? ### Query: SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4"