text
stringlengths
197
8.39k
### Context: CREATE TABLE table_22291 ( "Departure" text, "Going to" text, "Calling at" text, "Arrival" text, "Operator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the arrival time of the train that departed at 18.16? ### Query: SELECT...
### Context: CREATE TABLE table_15927 ( "County" text, "English name" text, "Irish name" text, "Population" real, "Irish speakers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population for County Mayo with the English Name Carrowteig...
### Context: CREATE TABLE table_23248869_8 ( high_assists VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the high assists when the score was l 85 118 (ot) ### Query: SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (O...
### Context: CREATE TABLE table_name_26 ( class VARCHAR, part_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class for Geholfen Gedroschen in part 4? ### Query: SELECT class FROM table_name_26 WHERE part_4 = "geholfen gedroschen"
### Context: CREATE TABLE table_21256 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE table_67706 ( "Years" text, "Coach" text, "Seasons" real, "Wins" real, "Losses" real, "Ties" text, "Pct." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning percent of Notre Dame in 1905? ### Query...
### Context: CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, ...
### Context: CREATE TABLE table_2383498_4 ( first_year_in_qld_cup VARCHAR, home_ground VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium? ### Quer...
### Context: CREATE TABLE table_name_71 ( away_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the away team's score at windy hill? ### Query: SELECT away_team AS score FROM table_name_71 WHERE venue = "windy hill"
### Context: CREATE TABLE table_45360 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Record, when Event is 'Independent Event', and ...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_39 ( country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is Paul Lawrie from? ### Query: SELECT country FROM table_name_39 WHERE player = "paul lawrie"
### Context: CREATE TABLE table_26564 ( "DVD Name" text, "Ep #" text, "Region 1 (US)" text, "Region 1 (CAN)" text, "Region 2 (UK)" text, "Region 2 (Germany)" text, "Region 4 (Australia)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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...
### Context: CREATE TABLE table_name_51 ( player VARCHAR, country VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player from United States is in place of t6? ### Query: SELECT player FROM table_name_51 WHERE country = "united states...
### Context: CREATE TABLE table_29752 ( "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 Ref_Hotel_Star_Ratings ( star_rating_code CHAR(15), star_rating_description VARCHAR(80) ) CREATE TABLE Street_Markets ( Market_ID INTEGER, Market_Details VARCHAR(255) ) CREATE TABLE Tourist_Attraction_Features ( Tourist_Attraction_ID INTEGER, Feature_ID INTEGER ) CRE...
### Context: CREATE TABLE table_31879 ( "Played in" text, "Matches" text, "Lost" text, "Drawn" text, "Points for" text, "Points against" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The 51 points against, how many are for? ### Query: SELECT "...
### Context: CREATE TABLE table_26454128_9 ( points VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the point value(s) for when the athlete was Barney Berlinger? ### Query: SELECT points FROM table_26454128_9 WHERE athlete = "Barney...
### Context: CREATE TABLE table_56766 ( "Grade" text, "Points" real, "Sit-up (reps)" text, "Standing Broad Jump (cm)" text, "Chin-up (reps)" text, "Shuttle Run (sec)" text, "2.4km Run (min:sec)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDura...
### Context: CREATE TABLE table_34396 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the Tournament named danny thomas memphis...
### Context: CREATE TABLE table_2989 ( "Year" real, "Kentucky Derby" real, "The Preakness Stakes" text, "Kentucky Oaks" text, "Belmont Stakes" text, "Travers Stakes" text, "Breeders Cup Saturday" text, "Breeders Cup Friday" text ) -- Using valid SQLite, answer the following questions f...
### Context: CREATE TABLE table_15476 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality with less than 9 heat, and a time of 1:01.87? ### Query: SELECT "Nation...
### 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 table_32593 ( "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. -- What day is essendon the home team?...
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE 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 table_name_65 ( year INTEGER, rank VARCHAR, floors VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the earliest year with rank 20 and less than 60 floors? ### Query: SELECT MIN(year) FROM table_name_65 WHERE rank = 20 A...
### Context: CREATE TABLE table_16188 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_39767 ( "Season" text, "1st Place" text, "2nd Place" text, "3rd Place" text, "4th Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season had a 3rd place of CSKA Moscow and 1st place of Panathinaikos? ### ...
### Context: CREATE TABLE table_77035 ( "Athlete" text, "Event" text, "100 m" real, "400 m" real, "110H" real, "1500 m" text, "Final" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 100m that the 110H was less than 14.52 and the ...
### 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 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_name_69 ( interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony? ### Query: SELECT i...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean )...
### Context: CREATE TABLE table_14638077_2 ( circuit VARCHAR, rnd VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the circuit with rnd being 5 ### Query: SELECT circuit FROM table_14638077_2 WHERE rnd = 5
### Context: CREATE TABLE table_33246 ( "Rank" text, "State" text, "Population" real, "Area (km\u00b2)" real, "Density" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The state of Aguascalientes has an area (km ) larger than 151,571 and a density gr...
### Context: CREATE TABLE table_45948 ( "Ethnicity" text, "Islam" text, "Christianity" text, "Judaism" text, "Buddhism" text, "Other" text, "Atheism" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value of other religions associa...
### Context: CREATE TABLE table_name_75 ( dist__f_ VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Dist (f) has a Race of irish derby? ### Query: SELECT dist__f_ FROM table_name_75 WHERE race = "irish derby"
### Context: CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE table_name_55 ( driver VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver had a grid number of 18? ### Query: SELECT driver FROM table_name_55 WHERE grid = "18"
### 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 table_77121 ( "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 3 when day 4 is fr.? ### Query: SELECT "Day 3" FROM table_7...
### Context: CREATE TABLE table_203_241 ( id number, "name" text, "founded" number, "defunct" number, "country" text, "publisher" text, "topics" text, "external link" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which magazine was foun...
### Context: CREATE TABLE Allergy_type ( allergytype VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which allergy type has least number of allergies? ### Query: SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY COUNT(*) LIMIT 1
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### Context: CREATE TABLE table_2849 ( "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 above...
### Context: CREATE TABLE table_25215 ( "Year" text, "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 ...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program ( program_id in...
### Context: CREATE TABLE diagnoses ( 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, reli...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) 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 tex...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ...
### Context: CREATE TABLE mzjzjlb_jybgb ( YLJGDM_MZJZJLB text, BGDH number, YLJGDM number ) 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, ...
### Context: CREATE TABLE table_name_75 ( rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18...
### Context: CREATE TABLE table_3290 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: CREATE TABLE table_63919 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Silver medals did the Nation with 10 or more Bronze receive? ### Quer...
### Context: CREATE TABLE table_71916 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was owner Michael E. Pegram's last win? ### Query: SELECT MAX("Year...
### Context: CREATE TABLE table_41404 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Rebounds did Maccabi Tel Aviv Team get after Game 6? ### Query: SELECT COUNT("Rebounds")...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname va...
### 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_3743 ( "Version" text, "Codename" text, "Edition" text, "Code Base" text, "Compatible repository" text, "Default desktop environment" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is...
### Context: CREATE TABLE table_name_11 ( final VARCHAR, no5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the final result of the team that has Simara as No.5? ### Query: SELECT final FROM table_name_11 WHERE no5 = "simara"
### Context: CREATE TABLE CMI_Cross_References ( cmi_cross_ref_id INTEGER, master_customer_id INTEGER, source_system_code CHAR(15) ) CREATE TABLE Electoral_Register ( electoral_register_id INTEGER, cmi_cross_ref_id INTEGER ) CREATE TABLE Customer_Master_Index ( master_customer_id INTEGER, ...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, ...
### Context: CREATE TABLE table_32878 ( "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. -- Who was the home team for the Essen...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_6950 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Yumie Hayashi was third for which club? ### Query: SELECT "...
### 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 table_name_67 ( meet VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the meet when the date is 3 august 2012? ### Query: SELECT meet FROM table_name_67 WHERE date = "3 august 2012"
### Context: CREATE TABLE table_80372 ( "2002/ 03" text, "2004/ 05" text, "2006/ 07" text, "2007/ 08" text, "2008/ 09" text, "2009/ 10" text, "2010/ 11" text, "2011/ 12" text, "2012/ 13" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### 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_50728 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Loris Capirossi's time? ### Query: SELECT "Time" FROM table_50728 WHERE "Rider" = 'lo...
### 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 table_name_55 ( date VARCHAR, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game when St. Louis was the home team? ### Query: SELECT date FROM table_name_55 WHERE home = "st. louis"
### Context: CREATE TABLE table_name_60 ( high_assists VARCHAR, game INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With the game that was less than 16 what was the high assists? ### Query: SELECT high_assists FROM table_name_60 WHERE game < 16
### Context: CREATE TABLE order_items ( product_id VARCHAR, order_quantity INTEGER ) CREATE TABLE products ( product_details VARCHAR, product_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name and ID of the product whose total order qua...
### Context: CREATE TABLE table_name_56 ( gold INTEGER, total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average gold medals for countries with more than 0 bronze, more than 0 silver, ...
### Context: CREATE TABLE table_204_105 ( id number, "#" number, "name" text, "height" text, "weight (lbs.)" number, "position" text, "class" text, "hometown" text, "previous team(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wh...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE course_tags_count ( course_id int, clear_grading ...
### Context: CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Nu...
### Context: CREATE TABLE table_25913 ( "Episode" text, "First broadcast" text, "Seans team" text, "Daves team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode has boy george and lee mack on dave's team? ### Query: SELEC...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid n...
### Context: CREATE TABLE table_57760 ( "Tournament" 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 2006 value with 3r in 2007? ### Q...
### Context: CREATE TABLE table_name_16 ( film_or_television_series_or_miniseries VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the film, television series, or miniseries with a nomination in 2001? ### Query: SELECT film_or_television...
### 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_204_240 ( id number, "name" text, "current use" text, "completed" text, "namesake" text, "info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which building was the first completed ? ### Query: SELECT "name" FRO...
### Context: CREATE TABLE table_36128 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the score for December of 30? ### Query: SELECT "Score" FROM tabl...
### Context: CREATE TABLE table_name_20 ( lost INTEGER, points VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses have points less than 3, with a drawn greater than 0? ### Query: SELECT SUM(lost) FROM table_name_20 WHERE point...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...
### 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_75323 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of all the touchdowns when the player had more than 0 extra po...
### Context: CREATE TABLE table_45134 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08...
### 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 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 station ( name VARCHAR, long VARCHAR, id VARCHAR ) CREATE TABLE trip ( duration INTEGER, start_station_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For each station, return its longitude and the average duration of...
### Context: CREATE TABLE table_1531 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How...