text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_99 ( total INTEGER, rank VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least total number with a rank of 4 and a total silver number bigger than 3? ### Query: SELECT MIN(total) FROM table...
### 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_204_402 ( id number, "rank" number, "player" text, "from" text, "to" text, "transfer fee\n(\u20ac million)" number, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference between rank 5...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostHistoryTypes ( ...
### Context: CREATE TABLE table_7484 ( "Name" text, "Start of Reign" real, "End of Reign" text, "Birth Name" text, "Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Title's Start of Reign is 1993? ### Query: SELECT "Title" FROM table_7484...
### Context: CREATE TABLE table_name_68 ( builder VARCHAR, order_year VARCHAR, fuel_propulsion VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 2005? ...
### 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_33406 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis was used with the Chevrolet engine in 1991? ### Query: SELECT "C...
### Context: CREATE TABLE table_8202 ( "Team" text, "Head coach" text, "Team captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the head coach for the team, arminia bielefeld? ### Query: SELECT "He...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ...
### Context: CREATE TABLE table_58304 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver has 62 laps? ### Query: SELECT "Driver" FROM table_58304 WHERE "Laps" = ...
### Context: CREATE TABLE table_name_83 ( gold INTEGER, nation VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Turkey's lowest gold when there were less than 2 bronze? ### Query: SELECT MIN(gold) FROM table_name_83 WHERE nation =...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, K...
### Context: CREATE TABLE table_54825 ( "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 essendon play away? ### Q...
### Context: CREATE TABLE table_name_58 ( system VARCHAR, current_version VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the System with the Current version 3.0.0? ### Query: SELECT system FROM table_name_58 WHERE current_version = "3.0.0"
### Context: CREATE TABLE table_57018 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type has rest day as a course and was on 21 may? ### Query: SELECT "Type" FROM table_5701...
### Context: CREATE TABLE table_16278349_1 ( language VARCHAR, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the language for kunar ### Query: SELECT language FROM table_16278349_1 WHERE province = "Kunar"
### Context: CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, name text, year number, price number, score number, cases number, drink text ) CREATE TABLE appellations ( no number, appelation text, county text, state text, ...
### Context: CREATE TABLE table_54647 ( "Event" text, "Data" text, "Athlete" text, "Date" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a walking data of 3:10:48+? ### Query: SELECT "Athlete" FROM table_54647 WHERE "Data" = '...
### Context: CREATE TABLE table_name_96 ( gold INTEGER, bronze INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the highest gold that has a bronze greater than 4? ### Query: SELECT MAX(gold) FROM table_name_96 WHERE bronze > 4
### Context: CREATE TABLE table_name_23 ( surface VARCHAR, score_in_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Surface, when Score in Final is 3-6, 6-3, 6-2? ### Query: SELECT surface FROM table_name_23 WHERE score_in_final = "3-6, 6-3, 6-...
### 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 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 table_name_87 ( date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Hawthorn play as the away team? ### Query: SELECT date FROM table_name_87 WHERE away_team = "hawthorn"
### Context: CREATE TABLE table_27723526_10 ( score VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game against portland? ### Query: SELECT score FROM table_27723526_10 WHERE team = "Portland"
### Context: CREATE TABLE table_5835 ( "Round" real, "Selection" text, "Name" text, "Position" text, "College" text, "Contract" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does the College of Louisiana State have? ### Query: SE...
### Context: CREATE TABLE fzzmzjzjlb ( 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 tex...
### Context: CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country varchar, zip int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, insp...
### Context: CREATE TABLE table_63544 ( "Children of Earth" text, "Run time" text, "Writer" text, "Director" text, "Original airdate" text, "Viewers (including HD) in millions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers were...
### 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_92 ( tourist_arrivals__2011___millions_ INTEGER, tourism_competitiveness__2011___ttci_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest tourism arri...
### Context: CREATE TABLE table_name_92 ( rank INTEGER, matches VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank for players with under 205 matches and under 100 goals? ### Query: SELECT AVG(rank) FROM table_name_92...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE table_52617 ( "Club" text, "Premier League" text, "Championship/First Division" text, "League One/Second Division" text, "League Two/Third Division" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the league one/secon...
### Context: CREATE TABLE table_name_91 ( required_os VARCHAR, developer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the minimum operating system required by Stunlock Studios' game? ### Query: SELECT required_os FROM table_name_91 WHERE devel...
### Context: CREATE TABLE table_70311 ( "Classification" text, "Fastest time (s)" real, "Athlete" text, "Country" text, "Date" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of Classification of T12? ### Qu...
### Context: CREATE TABLE table_name_66 ( females VARCHAR, language VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of females that has the Polish language? ### Query: SELECT females FROM table_name_66 WHERE language = "polish"
### Context: CREATE TABLE table_51996 ( "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 at VFL Park? ...
### Context: CREATE TABLE table_52718 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number in attendance for when th...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### Context: CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, U...
### Context: CREATE TABLE table_4549 ( "Team" text, "Chassis" text, "Engine" text, "Tyre" text, "Drivers" text, "Races" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine did Casey Mears use on the Reynard 01i Chassis? ### Query: SELECT...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_name_28 ( location_attendance VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location has an attendance and a score of l 90 91 (ot)? ### Query: SELECT location_attendance FROM table_name_28 WHERE score = "...
### Context: CREATE TABLE table_43460 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance when the opponent is the San Francisco 49ers? ### Query: SELECT "At...
### Context: CREATE TABLE table_name_8 ( team VARCHAR, chassis VARCHAR, champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis? ### Query: SELECT team FROM table_name_8 WHER...
### Context: CREATE TABLE shop ( shop_id VARCHAR, address VARCHAR, score INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the id and address of the shops whose score is below the average score. ### Query: SELECT shop_id, address FROM shop WHERE score...
### Context: CREATE TABLE table_39549 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total gold medals did India receive? ### Query: SELECT "Gold" FROM ta...
### Context: CREATE TABLE table_name_18 ( long INTEGER, player VARCHAR, avg VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average long that Ramon Richardson played and an average greater than 5.5? ### Query: SELECT AVG(long) FROM table_name...
### Context: CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text ) CREATE TABLE stadium ( id int, name text, Home_Games int, Average_Attendance real, Total_Attendance real, Capacity_Perce...
### Context: CREATE TABLE table_name_83 ( country VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is Relax-Gam from? ### Query: SELECT country FROM table_name_83 WHERE team = "relax-gam"
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code...
### Context: CREATE TABLE table_name_99 ( position VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has a Pick # of 18? ### Query: SELECT position FROM table_name_99 WHERE pick__number = 18
### Context: CREATE TABLE table_15122 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Venue of Adelaide Oval? ### Query: SELECT "Date" FROM table_15122 WHERE ...
### Context: CREATE TABLE table_52496 ( "Block A" text, "BLACK BUSHI" text, "BUSHI" text, "Kaz Hayashi" text, "Kenny Omega" text, "Minoru" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the BUSHI when it has kenny omega of yang (7:27) ### ...
### Context: CREATE TABLE table_3465 ( "Player" text, "Number Of Selections" real, "First Team" real, "Second Team" real, "Season MVP" real, "Final Four MVP" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when number of selection is 2 and first ...
### Context: CREATE TABLE table_name_11 ( females VARCHAR, language VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many females speak Ukrainian? ### Query: SELECT females FROM table_name_11 WHERE language = "ukrainian"
### Context: CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, ...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_name_60 ( percent_of_slovenes_1951 VARCHAR, number_of_people_1991 VARCHAR, village__german_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Vil...
### Context: CREATE TABLE table_name_34 ( year INTEGER, pts VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year did Ecurie Bleue score more than 0 points? ### Query: SELECT AVG(year) FROM table_name_34 WHERE pts > 0 AND entrant = "...
### Context: CREATE TABLE table_9235 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game with 6...
### Context: CREATE TABLE bdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC tex...
### Context: CREATE TABLE table_46319 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Bonus Points" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### 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 medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gende...
### Context: CREATE TABLE Organisations ( organisation_id VARCHAR, organisation_type VARCHAR ) CREATE TABLE organisation_Types ( organisation_type VARCHAR, organisation_type_description VARCHAR ) CREATE TABLE Grants ( organisation_id VARCHAR ) -- Using valid SQLite, answer the following question...
### Context: CREATE TABLE table_71325 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What League of VSL Sport was Established in 1935? ### Query: SELECT "Sport" FROM table_7132...
### 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_name_34 ( version VARCHAR, developer VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Version has a Developer of dino games, and a Title of metronome? ### Query: SELECT version FROM table_name_34 WHERE d...
### Context: CREATE TABLE table_34004 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has a Date of 16 nove...
### Context: CREATE TABLE table_name_29 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What in 2013 has a 2009 of 3r? ### Query: SELECT 2013 FROM table_name_29 WHERE 2009 = "3r"
### Context: CREATE TABLE table_18600760_10 ( geo_id INTEGER, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the geo id for Logan county? ### Query: SELECT MAX(geo_id) FROM table_18600760_10 WHERE county = "Logan"
### Context: CREATE TABLE table_name_85 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for 2002 when 2010 shows 69? ### Query: SELECT 2002 FROM table_name_85 WHERE 2010 = "69"
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) CREATE TABLE t_kc21 ( 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, ...
### Context: CREATE TABLE Problem_Status_Codes ( problem_status_code VARCHAR(20), problem_status_description VARCHAR(80) ) CREATE TABLE Problems ( problem_id INTEGER, product_id INTEGER, closure_authorised_by_staff_id INTEGER, reported_by_staff_id INTEGER, date_problem_reported DATETIME, ...
### Context: CREATE TABLE table_23119 ( "Fleet #" text, "Year" real, "Manufacture" text, "Model" text, "Length (ft)" real, "Engine" text, "Transmission" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fleet number when the transmi...
### 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 table_55193 ( "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 team plays at Punt Road Oval?...
### Context: CREATE TABLE table_2252 ( "Date" text, "Location" text, "Discipline" text, "Winner" text, "2nd place" text, "3rd place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the cup on 30.11.2008? ### Query: SELECT "Winner" FROM t...
### 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 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_68776 ( "Name" text, "Street Address" text, "Years as tallest" text, "Height ft / m" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During what years did the tallest building, located at 211 Union Stree...
### 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_203_523 ( id number, "state" text, "swimsuit" number, "interview" number, "evening gown" number, "average" number, "finalists" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who scored the highest in the swi...
### Context: CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number ) CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, damage_millions_usd number, number_deaths number ) CREATE TABLE region ( region_id ...
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code...
### Context: CREATE TABLE table_name_8 ( change__12_11_ VARCHAR, city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the city is agadir what is the change (12/11)? ### Query: SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir"
### Context: CREATE TABLE table_name_66 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Result on October 27, 2002? ### Query: SELECT result FROM table_name_66 WHERE date = "october 27, 2002"
### Context: CREATE TABLE table_13026799_3 ( scoring_average VARCHAR, money_list_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of scoring average for money list rank of 174 ### Query: SELECT COUNT(scoring_average) FROM table_1302...
### Context: CREATE TABLE table_name_26 ( home_team VARCHAR, road_team VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team played against Los Angeles in game 1? ### Query: SELECT home_team FROM table_name_26 WHERE road_team = "l...
### Context: CREATE TABLE table_3005999_1 ( provider VARCHAR, destination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are all providers with destination of Liverpool? ### Query: SELECT provider FROM table_3005999_1 WHERE destination = "Liverpool"
### Context: CREATE TABLE table_name_46 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for 2002 when the 1991 is w? ### Query: SELECT 2002 FROM table_name_46 WHERE 1991 = "w"
### 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_name_58 ( overall INTEGER, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is arizona state overall lowest? ### Query: SELECT MIN(overall) FROM table_name_58 WHERE school_club_team = "arizona state"
### Context: CREATE TABLE table_name_13 ( name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14? ### ...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE table_16446652_1 ( season VARCHAR, president VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was Jonny Leadbeater President? ### Query: SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater"
### Context: CREATE TABLE table_31443 ( "Series #" real, "Season #" 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. -- Who directed the epis...