text
stringlengths
197
8.39k
### 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 ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description ...
### Context: CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) -- Using valid SQLite, answer the following questions...
### 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 zzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_23284271_11 ( high_assists VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high assists for 1-2 series ### Query: SELECT high_assists FROM table_23284271_11 WHERE series = "1-2"
### Context: CREATE TABLE table_8053 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the player in round 1? ### Query: SELECT "Player" FROM table_8053 WHERE "Round" = '1'
### Context: CREATE TABLE table_76040 ( "Year" real, "Championship" text, "Winning score" text, "Margin" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What margin was in after 1981, and was Roberto De Vicenzo runner-up? ### Qu...
### Context: CREATE TABLE table_23910822_1 ( frequency VARCHAR, callsign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which frequency is DYMY? ### Query: SELECT frequency FROM table_23910822_1 WHERE callsign = "DYMY"
### Context: CREATE TABLE table_name_71 ( cdt___5_utc_ VARCHAR, edt___4_utc_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time is CDT when EDT is 4:55 a.m.? ### Query: SELECT cdt___5_utc_ FROM table_name_71 WHERE edt___4_utc_ = "4:55 a.m."
### 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 table_name_72 ( accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware M...
### Context: CREATE TABLE table_43058 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Cover Model was featured on 8-03? ### Query: SELECT "Cov...
### Context: CREATE TABLE table_name_57 ( team VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points? ### Query: SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE te...
### Context: CREATE TABLE table_name_77 ( almalı__qax_ VARCHAR, süskən VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Almali village with the S sk n village z rn ? ### Query: SELECT almalı__qax_ FROM table_name_77 WHERE süskən = "zərnə"
### Context: CREATE TABLE table_16253 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which series with 62 points? ### Q...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE flight ( aircraft_...
### Context: CREATE TABLE table_name_32 ( date VARCHAR, result VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Date that had a Result of draw, with Oval as a venue? ### Query: SELECT date FROM table_name_32 WHERE result = "draw" AND v...
### Context: CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male t...
### Context: CREATE TABLE table_50349 ( "World Record" text, "Press" text, "103.5" text, "Roger Fran\u00e7ois" text, "Paris ( FRA )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total amount of world records for Roger Francois? ### Qu...
### Context: CREATE TABLE table_name_58 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2012 for 2011 being qf ### Query: SELECT 2012 FROM table_name_58 WHERE 2011 = "qf"
### 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_19 ( nationality VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nationality is Rob Nicholson? ### Query: SELECT nationality FROM table_name_19 WHERE player = "rob nicholson"
### Context: CREATE TABLE table_train_65 ( "id" int, "intention_to_arterial_catheter" bool, "steroid_therapy" bool, "intention_to_central_venous_catheter" bool, "central_venous_pressure_cvp" int, "receiving_vasopressor" bool, "pulmonary_artery_occlusive_pressure_paop" int, "septic_shock"...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_11621747_1 ( tournament VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tournament on Jul 11? ### Query: SELECT tournament FROM table_11621747_1 WHERE date = "Jul 11"
### Context: CREATE TABLE table_12159115_3 ( us_viewers__millions_ VARCHAR, series__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many U.S Viewers, in millions, were for series # 26? ### Query: SELECT us_viewers__millions_ FROM table_12159115_3 ...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Locati...
### Context: CREATE TABLE table_203_165 ( 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. -- how many nations won no silver medals at all ? ### ...
### Context: CREATE TABLE table_name_91 ( winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Winning driver of mercedes on 22 august? ### Query: SELECT winning_driver FROM table_name_91 WHER...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_de...
### Context: CREATE TABLE table_name_43 ( tournament_location VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament location has south korea as the country? ### Query: SELECT tournament_location FROM table_name_43 WHERE country = "...
### Context: CREATE TABLE table_name_30 ( year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average year that has a win less than 1, yamaha as the team, with points greater than 2? ### Query:...
### Context: CREATE TABLE table_17514 ( "Chapter" real, "Chinese" text, "Pinyin" text, "Translation" text, "Subject" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pinyin for explaining beasts? ### Query: SELECT "Pinyin" FROM table_1751...
### Context: CREATE TABLE table_54126 ( "Date of Issue" text, "Denomination" text, "Design" text, "Paper Type" text, "First Day Cover Cancellation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's listed as the First Day Cover Cancellation with...
### Context: CREATE TABLE table_name_97 ( lead VARCHAR, third VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who holds the lead role when Aanders Brorson is third? ### Query: SELECT lead FROM table_name_97 WHERE third = "aanders brorson"
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### 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 jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_204_373 ( id number, "wager" text, "winner" text, "loser" text, "location" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- number of mocho cota matches held in mexico city in 1983 or 1984 ### Query: S...
### Context: CREATE TABLE table_name_96 ( game INTEGER, february VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game is the highest one that has a February of 25? ### Query: SELECT MAX(game) FROM table_name_96 WHERE february = 25
### Context: CREATE TABLE Customers ( Customer_ID VARCHAR(100), Address_ID INTEGER, Customer_Name VARCHAR(255), Customer_Phone VARCHAR(255), Customer_Email_Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Invoice_Items ( Invoice_Item_ID INTEGER, Invoice_ID INTEGER, Or...
### Context: CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, ...
### Context: CREATE TABLE stock ( Shop_ID int, Device_ID int, Quantity int ) CREATE TABLE shop ( Shop_ID int, Shop_Name text, Location text, Open_Date text, Open_Year int ) CREATE TABLE device ( Device_ID int, Device text, Carrier text, Package_Version text, Applica...
### Context: CREATE TABLE table_203_393 ( id number, "year" number, "film" text, "director" text, "cast" text, "details" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- prema katha won more than how many awards compared to aaha ? ### Query: SELE...
### 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_41413 ( "Club" text, "Position in 2013" text, "First season" real, "First season of current spell" real, "Number of seasons in Superettan" real, "Number of seasons in second tier" real ) -- Using valid SQLite, answer the following questions for the tables provid...
### 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 store_district ( Store_ID int, District_ID int ) CREATE TABLE store ( Store_ID int, Store_Name text, Type text, Area_size real, Number_of_product_category real, Ranking int ) CREATE TABLE product ( product_id int, product text, dimensions text, ...
### Context: CREATE TABLE table_38101 ( "Version" text, "Length" text, "Album" text, "Remixed by" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Version before 2001 with a Length of 7:42? ### Query: SELECT "Version" FROM ta...
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_12163387_1 ( mens_doubles VARCHAR, womens_singles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the mens doubles the year Alison Humby won the womens singles? ### Query: SELECT mens_doubles FROM table_12163387_1 WHER...
### Context: CREATE TABLE table_204_17 ( id number, "region" text, "date" text, "format" text, "version(s)" text, "label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country had a release with the same label as germany ? ### Query: SEL...
### Context: CREATE TABLE table_name_5 ( score_composer VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the score composer of the film released in 1967? ### Query: SELECT score_composer FROM table_name_5 WHERE year = 1967
### Context: CREATE TABLE table_56774 ( "Date" text, "Opponents" text, "Score" text, "Competition" text, "Match Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the competition with opponents of Sv Werder Bremen and a score...
### Context: CREATE TABLE table_970 ( "Season" text, "Oberliga Bayern" text, "Oberliga Hessen" text, "Oberliga Baden-W\u00fcrttemberg" text, "Oberliga S\u00fcdwest" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the oberliga bayern for sv sandh...
### 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_31529 ( "Player" text, "Current singles ranking" text, "Current doubles ranking" text, "First year played" real, "Ties played" real, "Total W\u2013L" text, "Singles W\u2013L" text, "Doubles W\u2013L" text ) -- Using valid SQLite, answer the following que...
### Context: CREATE TABLE table_68537 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Loss when the Record was 50-54? ### Query: SELECT "Loss" FROM table_68537 WHERE "R...
### Context: CREATE TABLE table_name_82 ( rank INTEGER, album VARCHAR, peak_position VARCHAR, certification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest rank when the peak position is 2, certification is platinum and the album is...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE offering_instructor ( ...
### Context: CREATE TABLE table_name_26 ( foreign_population INTEGER, population__2004_ INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Foreign population has a Population (2004) larger than 234733? ### Query: SELECT AVG(foreign_population) FROM table_...
### 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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) C...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE airport ( airport_code varchar, airport_name text, ...
### Context: CREATE TABLE table_44632 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is To Par, when Money ( $ ) is Playoff, and when Score is 68-73-7...
### Context: CREATE TABLE table_71208 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg score when US Mbila Nzambi is team 1? ### Query: SELECT "1st leg" FROM t...
### Context: CREATE TABLE table_3032 ( "Series No." real, "Episode No." real, "Title" text, "Directed by" text, "Written by" text, "UK Ratings (BBC2 Rank)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the lea...
### Context: CREATE TABLE Person ( city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different cities are they from? ### Query: SELECT COUNT(DISTINCT city) FROM Person
### Context: CREATE TABLE table_25058 ( "South American Rank" real, "World Rank" real, "Nation" text, "2011 (IMF)" text, "2008 (CIA Factbook)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the south american rank for venezuela ### Query: SELE...
### Context: CREATE TABLE table_name_44 ( year VARCHAR, production VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what year was Wicked associated with the Green Room Awards? ### Query: SELECT year FROM table_name_44 WHERE productio...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( co...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### 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_43 ( opponent VARCHAR, week INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent after week 16? ### Query: SELECT opponent FROM table_name_43 WHERE week > 16
### Context: CREATE TABLE table_50301 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Total, when Gold is less than 1, when Silver is gre...
### Context: CREATE TABLE table_22815568_13 ( market_income_per_capita VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the market income per capita where the county is hancock? ### Query: SELECT market_income_per_capita FROM table_228...
### 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_name_29 ( entrant VARCHAR, engine VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Entrant has a 1952 maserati straight-6 engine? ### Query: SELECT entrant FROM table_name_29 WHERE engine = "maserati stra...
### 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 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 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 PostTags ( PostId number, TagId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDa...
### Context: CREATE TABLE wrestler ( Name VARCHAR, Days_held VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of wrestlers in descending order of days held. ### Query: SELECT Name FROM wrestler ORDER BY Days_held DESC
### Context: CREATE TABLE table_31219 ( "Skip (Club)" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is listed un...
### Context: 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_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_name_8 ( bore VARCHAR, cyl VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bore for a 9-cyl radial on a 9 AD? ### Query: SELECT bore FROM table_name_8 WHERE cyl = "9-cyl radial" AND name = "9 ad"
### Context: CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD...
### Context: CREATE TABLE table_36870 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Opponent that has the Date of october 11, 1953? ### ...
### Context: CREATE TABLE table_79243 ( "Year" real, "Winners" text, "Runner-up" text, "Third place" text, "Fourth place" text, "Best goalkeeper" text, "Top goal scorer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the winners ...
### Context: CREATE TABLE table_64216 ( "Rank" real, "Athletes" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the Athletes with a Time of 3:43.491? ### Query: SELECT COUNT("Rank") FROM...
### Context: CREATE TABLE table_74339 ( "Team" text, "Stadium" text, "Home Games" real, "Average Attendance" real, "Total Attendance" real, "Capacity Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the capacity percentage whe...
### Context: CREATE TABLE table_204_667 ( id number, "year" number, "film title" text, "genre" text, "cast" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what movie did sunil kumar desai star in before marma ? ### Query: SELECT "...
### Context: CREATE TABLE table_43931 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player was from the British Columbia college? ### Query: SELECT "Player" FROM tabl...
### Context: CREATE TABLE table_46873 ( "Date" text, "Result" text, "Opponent" text, "Event" text, "Location" text, "Method" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the event when the result is loss and the reco...
### Context: CREATE TABLE table_name_44 ( location VARCHAR, res VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the match that resulted in a win in 4:16 held? ### Query: SELECT location FROM table_name_44 WHERE res = "win" AND tim...
### Context: CREATE TABLE table_name_74 ( length VARCHAR, year VARCHAR, version VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long was the instrumental version in 1986? ### Query: SELECT length FROM table_name_74 WHERE year = 1986 AND version = "in...