text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_67 ( year_built INTEGER, parish___prestegjeld__ VARCHAR, location_of_the_church VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year Built has a Parish (Prestegjeld) of bremanger parish, and a Location of the Chu...
### Context: CREATE TABLE table_8040 ( "Year started" real, "Number of cars" real, "Current car" text, "Car #" real, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR? ### Query: S...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate tim...
### Context: CREATE TABLE table_1569625_1 ( margin_of_victory VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the margin of victory when tournament is algarve open de portugal ### Query: SELECT margin_of_victory FROM table_1569625_1 ...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, un...
### Context: CREATE TABLE table_name_11 ( date VARCHAR, visitor VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance? ### Query: SELE...
### 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE table_48971 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the tom watson is playing for the United States and the To par is under 14, what's ...
### Context: CREATE TABLE table_14450 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### 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_7238 ( "Name" text, "Japanese" text, "Population ( 2012 )" real, "Date of designation" text, "Region" text, "Prefecture" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What region has the symbol ? ### Query: SELE...
### Context: CREATE TABLE table_6870 ( "Institution" text, "Location" text, "Affiliation" text, "Enrollment" real, "Mascot" text, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Public Institution is in Black River Falls? ### Query...
### 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_23681 ( "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 mixed doubles when zhou mi won wo...
### Context: CREATE TABLE table_22815568_2 ( market_income_per_capita VARCHAR, poverty_rate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the market income per capita of the county with the 9.4% poverty rate? ### Query: SELECT market_income_per_cap...
### Context: CREATE TABLE table_2930244_3 ( number_of_hurricanes INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest overall number of hurricanes? ### Query: SELECT MIN(number_of_hurricanes) FROM table_2930244_3
### 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 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 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 weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interv...
### Context: CREATE TABLE table_15070 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the 2011 performance for the US open? ### Query: SELECT "2011" FROM table_15070 WHERE "T...
### Context: CREATE TABLE table_36980 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest round of the player with a pick number lower than 34?...
### Context: CREATE TABLE table_name_67 ( valid_poll VARCHAR, seats VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of valid poll with seats more than 4 and candidates more than 9 ### Query: SELECT COUNT(valid_po...
### Context: CREATE TABLE table_65529 ( "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 Silver has a Total of 11, and a Gold smaller than 8? ### Query: SELECT M...
### Context: CREATE TABLE table_63394 ( "Year" real, "Competition Description" text, "Location" text, "Apparatus" text, "Rank-Final" real, "Score-Final" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year is the first one that has an Appar...
### Context: CREATE TABLE table_18503 ( "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. -- What was the final result for Craig Hosmer? ### Query: SEL...
### Context: CREATE TABLE table_37596 ( "Date" text, "Event" text, "Circuit" text, "Driver" text, "Race" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Driver has a Date of 16th september 1951, and a Race of dns? ### Query: SELECT "Driver" FR...
### Context: CREATE TABLE table_31718 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the owner of the branding gx94? ### Query: SELECT "Owner" FROM table_31718 WHE...
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### 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_20520 ( "Member State" text, "Population in millions" text, "Population % of EU" text, "Area km 2" real, "Area % of EU" text, "Pop. density People/km 2" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the popu...
### Context: CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departure_time int, dual_carrier text, flight_days text, flight_id int, flight_number int, from_airport varchar, meal_code text, ...
### Context: CREATE TABLE table_38691 ( "Career Card" text, "Starting career/salary" text, "2nd career/salary" text, "3rd career/salary" text, "4th career/salary" text, "5th career/salary" text, "6th career/salary" text ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, ...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate...
### Context: CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE state ( state_code text, state_name text, country_name tex...
### Context: CREATE TABLE table_48706 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Home Team of san francisco, and a Date of april 22? ### Query: SELECT "Ga...
### Context: CREATE TABLE table_52930 ( "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. -- When did the home team score 19.17 ...
### Context: CREATE TABLE table_48029 ( "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 was the score when the away team was brighton & hove albion? ### Query: SELECT "Scor...
### Context: CREATE TABLE table_name_64 ( new_conference VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which new conference is located in Greentown? ### Query: SELECT new_conference FROM table_name_64 WHERE location = "greentown"
### Context: CREATE TABLE table_56390 ( "Product" text, "2004" text, "2003" text, "2002" text, "2001" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the amount of grain in 2001? ### Query: SELECT "2001" FROM table_56390 WHERE "Product" = '...
### Context: CREATE TABLE table_203_573 ( id number, "name" text, "rank - 2000" number, "number" number, "country of origin" text, "england - 2001" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which name had the highest number ? ### Query: SE...
### Context: CREATE TABLE table_name_9 ( read_by VARCHAR, un__abridged VARCHAR, author VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who read the unabridged book written by Gary Paulsen? ### Query: SELECT read_by FROM table_name_9 WHERE un__abridged = ...
### Context: CREATE TABLE table_19744915_22 ( total VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different total points does the couple ranked at number 5 have? ### Query: SELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5
### Context: CREATE TABLE book ( book_id number, title text, issues number, writer text ) CREATE TABLE publication ( publication_id number, book_id number, publisher text, publication_date text, price number ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term v...
### Context: CREATE TABLE table_name_96 ( location VARCHAR, opponent VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the Lightning play the NY Rangers at 7:00 pm? ### Query: SELECT location FROM table_name_96 WHERE opponent = "ny ...
### Context: CREATE TABLE Fault_Log_Parts ( fault_log_entry_id INTEGER, part_fault_id INTEGER, fault_status VARCHAR(10) ) CREATE TABLE Maintenance_Engineers ( engineer_id INTEGER, company_id INTEGER, first_name VARCHAR(50), last_name VARCHAR(50), other_details VARCHAR(255) ) CREATE TAB...
### Context: CREATE TABLE table_name_24 ( played VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many matches have Rhymney RFC played? ### Query: SELECT played FROM table_name_24 WHERE club = "rhymney rfc"
### Context: CREATE TABLE table_name_48 ( country VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE COUNTRY WITH NAME OF KANU? ### Query: SELECT country FROM table_name_48 WHERE name = "kanu"
### Context: CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, pr...
### Context: CREATE TABLE table_75436 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which December has a Record of 4-3-6? ### Query: SELECT "December" FROM table_75436 WHERE "...
### Context: CREATE TABLE table_name_69 ( name VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bridge is in Mcville? ### Query: SELECT name FROM table_name_69 WHERE location = "mcville"
### Context: CREATE TABLE table_name_2 ( gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, adelaide VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- yes or no for the gold coast with yes for melbourne, yes for adelaide, yes for auckland? ### Qu...
### 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 d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE admissions ( ...
### 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 table_204_561 ( id number, "fence" number, "name" text, "jockey" text, "age" number, "handicap (st-lb)" text, "starting price" text, "fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which horse was older , ...
### Context: CREATE TABLE table_204_296 ( id number, "rank" number, "athlete" text, "qual" number, "final" number, "total" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which athlete has the most total ? ### Query: SELECT "...
### Context: CREATE TABLE table_22893781_6 ( score VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for madison square garden 18,828 ### Query: SELECT score FROM table_22893781_6 WHERE location_attendance = "Madison...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDa...
### Context: CREATE TABLE table_1817879_2 ( length__miles_ VARCHAR, endpoints VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? ### Query: SELECT length__miles_ FROM table_1817...
### Context: CREATE TABLE table_31396 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who ...
### Context: CREATE TABLE table_train_280 ( "id" int, "fpg" float, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "renal_disease" bool, "hba1c" float, "body_mass_index_bmi" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_197638_6 ( player VARCHAR, us_open VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the US Open in 1937? ### Query: SELECT player FROM table_197638_6 WHERE us_open = 1937
### Context: CREATE TABLE table_20782 ( "Week" real, "Date" text, "Kickoff" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the kickoff...
### 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_25321 ( "Game" text, "Date" text, "Champion" text, "Score" text, "Runner Up" text, "Stadium" text, "City" text, "Ted Morris Memorial Trophy (Game MVP)" text, "Bruce Coulter Award" text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_62404 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par for Fred Couples when the score is 68-66=134? ### Query: SELECT "To par" F...
### Context: CREATE TABLE table_name_25 ( northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by W...
### Context: CREATE TABLE table_204_177 ( id number, "player" text, "years played" text, "total w-l" text, "singles w-l" text, "doubles w-l" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who played for the most years ? ### Query: SELECT "playe...
### Context: CREATE TABLE table_46998 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_48458 ( "Year" text, "Date" text, "Circuit" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which circuit did Peter Whitehead win? ### Query: SELEC...
### Context: CREATE TABLE table_18871 ( "District" text, "2010 Population (000)" real, "2008 GDP (USD bn) a" text, "2008 GDP per capita (USD) a" real, "Agri culture b" text, "Mining b" text, "Manufac turing b" text, "Services & cons truction b" text, "Exports (USD mn) 2011" real, ...
### Context: CREATE TABLE table_name_52 ( model VARCHAR, cpu_speed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which model has a CPU speed of 133mhz? ### Query: SELECT model FROM table_name_52 WHERE cpu_speed = "133mhz"
### Context: CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text ) CREATE TABLE...
### Context: CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_...
### 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_name_82 ( points INTEGER, game INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points was before game 14? ### Query: SELECT SUM(points) FROM table_name_82 WHERE game < 14
### Context: CREATE TABLE table_name_69 ( pole_position VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had Pole position for the French Grand Prix? ### Query: SELECT pole_position FROM table_name_69 WHERE race = "french grand prix"
### Context: CREATE TABLE table_name_15 ( category VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the category for 2013 ### Query: SELECT category FROM table_name_15 WHERE year = "2013"
### Context: CREATE TABLE table_78890 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_46818 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who scored 74-70-67=211 and placed t5? ### Query: SELECT "Player" FROM table_46818 WHERE "Pla...
### Context: CREATE TABLE table_name_60 ( total INTEGER, to_par VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the average Total that has the To par smaller than 10, and the Country of south korea? ### Query: SELECT AVG(...
### Context: CREATE TABLE table_name_77 ( rider_status VARCHAR, team_country VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rider status for the 1971 netherlands team? ### Query: SELECT rider_status FROM table_name_77 WHERE tea...
### Context: CREATE TABLE table_name_36 ( stage INTEGER, finish VARCHAR, year VARCHAR, leader_at_the_summit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest stage number for a year later than 1948, leader at the summit was group, an...
### 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 hz_info ( KH text, ...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, ...
### Context: CREATE TABLE order_items ( order_item_id number, order_id number, product_id number ) CREATE TABLE customer_addresses ( customer_id number, address_id number, date_from time, date_to time ) CREATE TABLE staff ( staff_id number, staff_gender text, staff_name text ) ...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback in...
### Context: CREATE TABLE table_44706 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the away team that scored 63-69? ### Que...
### Context: CREATE TABLE Premises ( premise_id INTEGER, premises_type VARCHAR(15), premise_details VARCHAR(255) ) CREATE TABLE Mailshot_Campaigns ( mailshot_id INTEGER, product_category VARCHAR(15), mailshot_name VARCHAR(80), mailshot_start_date DATETIME, mailshot_end_date DATETIME ) ...
### 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 Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) -- Using valid SQLite...
### 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_name_43 ( winner VARCHAR, year VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winning team before 1956 on October 21? ### Query: SELECT winner FROM table_name_43 WHERE year < 1956 AND date = "oct...
### Context: CREATE TABLE table_5402 ( "Score" real, "Opposition" text, "Venue" text, "City" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score is the lowest one that has a Year of 1868? ### Query: SELECT MIN("Score") FROM tabl...
### Context: CREATE TABLE qtb ( 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 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, ...