text
stringlengths
197
8.39k
### 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_70743 ( "Year" real, "Chassis" text, "Engine" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the highest points that have a Mugen V8 engine and happened in 1991? ### Query: SELEC...
### Context: CREATE TABLE table_24910733_1 ( written_by VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many writers are listed when the U.S viewers are 11.21 million? ### Query: SELECT COUNT(written_by) FROM table_24910733...
### Context: CREATE TABLE table_17850 ( "Candidate" text, "Background" text, "Original Team" text, "Age" real, "Hometown" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the real estate agent from? ### Query: SELECT "Home...
### Context: CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float(8) ) CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS ...
### Context: CREATE TABLE table_33469 ( "Year" real, "Network" text, "Play-by-play" text, "Color commentator(s)" text, "Sideline reporter(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What network hosted Al Michaels, Dan Fouts and Dennis Miller...
### Context: CREATE TABLE table_name_46 ( bronze INTEGER, gold INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of bronze medals for nations with under 0 golds? ### Query: SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0
### 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_903 ( id number, "title" text, "character" text, "broadcaster" text, "episodes" number, "date" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which broadcaster hosted 3 titles but they had only 1 episode ? ...
### Context: CREATE TABLE table_name_52 ( year_opened INTEGER, main_span_feet VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the oldest year with a main span feet of 1,640 in South Korea? ### Query: SELECT MIN(year_opened) FROM ...
### Context: CREATE TABLE Performers ( Performer_ID INTEGER, Address_ID INTEGER, Customer_Name VARCHAR(255), Customer_Phone VARCHAR(255), Customer_Email_Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Service_Types ( Service_Type_Code CHAR(15), Parent_Service_Type_Co...
### Context: CREATE TABLE table_1973729_2 ( founded INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest founded year? ### Query: SELECT MAX(founded) FROM table_1973729_2
### Context: CREATE TABLE table_name_16 ( days INTEGER, launch_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Highest Days, when Launch Date is 23 January 2010? ### Query: SELECT MAX(days) FROM table_name_16 WHERE launch_date = "23 january 2010...
### Context: CREATE TABLE table_name_85 ( icelandic VARCHAR, german VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Icelandic word for the German word for hand? ### Query: SELECT icelandic FROM table_name_85 WHERE german = "hand"
### Context: CREATE TABLE table_20010140_9 ( high_assists VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the game against Iowa, who had the most assists? ### Query: SELECT high_assists FROM table_20010140_9 WHERE team = "Iowa"
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytim...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE flight_fare ( flight_...
### Context: CREATE TABLE table_20121 ( "Rd" real, "Race" text, "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Winning team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which race was the winning team mat...
### Context: CREATE TABLE table_name_56 ( manner_of_departure VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How did the manager replaced by Michael Oenning depart? ### Query: SELECT manner_of_departure FROM table_name_56 WHERE replaced...
### Context: CREATE TABLE table_name_9 ( catalog VARCHAR, label VARCHAR, format VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Catalog was formated as a CD under the label Alfa Records? ### Query: SELECT catalog FROM table_name_9 WHERE label = "al...
### Context: CREATE TABLE table_591 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the numbers of the players currently playing for Ironi Nahar...
### Context: CREATE TABLE table_name_21 ( year VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which year did he compete in the Universiade? ### Query: SELECT year FROM table_name_21 WHERE competition = "universiade"
### Context: CREATE TABLE table_28090 ( "Entered [A ]" text, "Weeks in top 10" real, "Single" text, "Artist" text, "Peak" real, "Peak reached [A ]" text, "Weeks at number 1" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the song rel...
### Context: CREATE TABLE table_22155 ( "Year (Ceremony)" text, "Original title" text, "Film title used in nomination" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year for not nominated for alberto aruelo ...
### 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 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time...
### Context: CREATE TABLE table_29572583_19 ( seed VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seed entries are there when points are 2175? ### Query: SELECT COUNT(seed) FROM table_29572583_19 WHERE points = 2175
### Context: CREATE TABLE table_12031 ( "Race" text, "Length" text, "Class" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What circuit was on June 1 with a class of both? ### Query: SELECT "Circuit" FROM table_12031 WH...
### Context: CREATE TABLE table_name_74 ( weeks_on_top INTEGER, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the longest weeks on top when the Artist was Bruce Hornsby and the Range? ### Query: SELECT MAX(weeks_on_top) FROM table_name_74 WH...
### Context: CREATE TABLE table_29946 ( "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 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 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 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 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 catalog_contents ( catalog_entry_id number, catalog_level_number number, parent_entry_id number, previous_entry_id number, next_entry_id number, catalog_entry_name text, product_stock_number text, price_in_dollars number, price_in_euros number, price_in_...
### Context: CREATE TABLE table_2866 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates were played at the ...
### Context: CREATE TABLE table_name_43 ( high_rebounds VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the High rebounds of washington Team? ### Query: SELECT high_rebounds FROM table_name_43 WHERE team = "washington"
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid n...
### Context: CREATE TABLE table_17564 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text, "Intergiro classification" text, "Trofeo Fast Team" text ) -- Using valid SQLite, answer...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long...
### Context: CREATE TABLE table_2303 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real, "Others%" text, "Others#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Obama# when McCain% is 64.4%? ### Query...
### Context: CREATE TABLE table_14468 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the engine in 1961? ### Query: SELECT "Engine" FROM table_14468 WHERE "Y...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE...
### Context: CREATE TABLE table_656 ( "Department" text, "Acronym" text, "Office" text, "Incumbent" text, "in Office since" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the department with acronym being deped (ked) ### Query: SELECT "Depar...
### Context: CREATE TABLE table_41449 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average total has a gold greater than 0, and a silver greater than 0, with...
### Context: CREATE TABLE Residents_Services ( resident_id INTEGER, service_id INTEGER, date_moved_in DATETIME, property_id INTEGER, date_requested DATETIME, date_provided DATETIME, other_details VARCHAR(255) ) CREATE TABLE Timed_Locations_of_Things ( thing_id INTEGER, Date_and_Time...
### Context: CREATE TABLE table_13812785_8 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record where the score is w 102 81 (ot)? ### Query: SELECT record FROM table_13812785_8 WHERE score = "W 102–81 (OT)"
### Context: CREATE TABLE table_46099 ( "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 musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE table_38609 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a TV Time of cb...
### 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 table_48613 ( "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 Result of the game with an Attendance of 55,353? ### Query: SELECT "Result" FR...
### Context: CREATE TABLE WINE ( Price INTEGER, Score INTEGER, Appelation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the maximum price and score of wines produced by St. Helena appelation? ### Query: SELECT MAX(Price), MAX(Score) FROM WINE ...
### Context: CREATE TABLE table_29077342_19 ( general_classification VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the general classification for steven kruijswijk ### Query: SELECT general_classification FROM table_29077342_19 WHERE w...
### Context: CREATE TABLE table_30982 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what surface was it the year when the score ...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE Badges ( Id number, UserId number, ...
### 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_30337 ( "No. in series" real, "Title" text, "Directed by" text, "Story & Storyboards by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the ep...
### Context: CREATE TABLE table_27537870_5 ( score VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for 29 game ### Query: SELECT score FROM table_27537870_5 WHERE game = 29
### Context: CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE field ( fieldid int ) CRE...
### Context: CREATE TABLE table_name_99 ( record VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Record has an Opponent of vs washington wizards? ### Query: SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards"
### Context: CREATE TABLE table_16231 ( "1st players choice" text, "2nd players choice" text, "Probability 1st player wins" text, "Probability 2nd player wins" text, "Probability of a draw" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How high is ...
### 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_name_83 ( player VARCHAR, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player who won in 1993? ### Query: SELECT player FROM table_name_83 WHERE year_s__won = "1993"
### Context: CREATE TABLE table_21043 ( "Poll Source" text, "Dates administered" text, "Democrat: Vivian Davis Figures" text, "Republican: Jeff Sessions" text, "Lead Margin" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On July 31, 2008, what are t...
### Context: CREATE TABLE table_28570 ( "Name" text, "Population (2011)" real, "Population (2006)" real, "Change (%)" text, "Area (km\u00b2)" text, "Population density" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every population dens...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity tex...
### Context: CREATE TABLE table_name_1 ( catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada? ##...
### Context: CREATE TABLE table_203_497 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference in total number of medals bet...
### Context: CREATE TABLE table_122 ( "Club" text, "Position in 2012" text, "First season" text, "Number of seasons" real, "First season of current spell" real, "Titles" real, "Last title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ...
### Context: CREATE TABLE representative ( Representative_ID int, Name text, State text, Party text, Lifespan text ) CREATE TABLE election ( Election_ID int, Representative_ID int, Date text, Votes real, Vote_Percent real, Seats real, Place real ) -- Using valid SQLite...
### Context: CREATE TABLE table_11677100_3 ( position VARCHAR, hometown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the position of the player from Germantown, TN? ### Query: SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN"
### Context: CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_10023387_1 ( years_played VARCHAR, singles_w_l VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the years played with singles w-l of 3 2 ### Query: SELECT years_played FROM table_10023387_1 WHERE singles_w_l = "3–2"
### Context: CREATE TABLE table_3012 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the vacator for the district of Nebraska at-large? ##...
### Context: CREATE TABLE table_65990 ( "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 Total has a Rank of 5, and a Bronze smaller than 0? ### Query: SELECT AV...
### Context: CREATE TABLE table_69493 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for february 25 ### Query: SELECT "R...
### Context: CREATE TABLE table_19294 ( "Series #" real, "Title" text, "Story by" text, "Teleplay by" text, "Directed by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed series #4 that was teleplayed by Davi...
### Context: CREATE TABLE table_2668347_17 ( candidates VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of candidates for samuel d. ingham ### Query: SELECT COUNT(candidates) FROM table_2668347_17 WHERE incumbent = "Samuel ...
### Context: CREATE TABLE table_18392 ( "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. -- Who were the candidates in the election that featured incum...
### Context: CREATE TABLE table_203_125 ( id number, "club" text, "winners" number, "runner-ups" number, "winning years" text, "runner-up years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many teams have not ever won the supercup ? ### ...
### 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 Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName T...
### Context: CREATE TABLE table_2186447_1 ( opponents VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was playing when the score was 5 7, 5 7? ### Query: SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 5–7"
### Context: CREATE TABLE school_bus ( School_ID int, Driver_ID int, Years_Working int, If_full_time bool ) CREATE TABLE driver ( Driver_ID int, Name text, Party text, Home_city text, Age int ) CREATE TABLE school ( School_ID int, Grade text, School text, Location t...
### Context: CREATE TABLE table_26038 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" text, "U.S. Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables...
### Context: CREATE TABLE Rooms ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rooms are there? ### Query: SELECT COUNT(*) FROM Rooms
### Context: CREATE TABLE table_45119 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest diameter for Eirene Tholus? ### Query: SELECT MIN("Diamet...
### Context: CREATE TABLE table_16431 ( "Rnd" real, "Race Name" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In Round 6, how many winning ...
### Context: CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE writes ( paperid int, authorid int ) ...
### Context: CREATE TABLE table_1868929_1 ( fuel_gas VARCHAR, upper_index_mj__nm_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the fuel gas for upper index mj/nm3 for 92.32 ### Query: SELECT fuel_gas FROM table_1868929_1 WHERE upper_index_mj__nm_3 =...
### Context: CREATE TABLE table_36118 ( "Album#" text, "English title" text, "Chinese title" text, "Released" text, "Label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Album # of 1st was released on what date? ### Query: SELECT "Released" FROM t...
### 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 Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE...
### Context: CREATE TABLE table_60836 ( "Player" text, "Pos." text, "Nationality" text, "Previous team" text, "Years of NBA experience [a ]" real, "Career with the franchise" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the career with...
### Context: CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE tip ( tip_id int, business_id va...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...