text
stringlengths
197
8.39k
### Context: CREATE TABLE table_71134 ( "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 the score 73-71=144? ### Query: SELECT "To par" FROM table_71134 WHERE...
### Context: 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, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_12142298_2 ( second_baseman VARCHAR, first_baseman VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played 2nd base when nomar garciaparra was at 1st base? ### Query: SELECT second_baseman FROM table_12142298_2 WHERE first_...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varc...
### Context: CREATE TABLE table_name_65 ( digital_channel VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which digital channel is named Storm Tracker? ### Query: SELECT digital_channel FROM table_name_65 WHERE name = "storm tracker"
### Context: CREATE TABLE albums ( title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List every album ordered by album title in ascending order. ### Query: SELECT title FROM albums ORDER BY title
### 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 Organizations ( organization_id INTEGER, parent_organization_id INTEGER, organization_details VARCHAR(255) ) CREATE TABLE Properties ( property_id INTEGER, property_type_code CHAR(15), property_address VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Custom...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info ( KH text, ...
### 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_204_713 ( id number, "rank" number, "bib" number, "athlete" text, "country" text, "time" text, "deficit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- marcus hellner and calle halfvarsson both came from which...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, aller...
### Context: CREATE TABLE table_name_66 ( country VARCHAR, catalogue__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country had a cad 4011 catalogue #? ### Query: SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"
### Context: CREATE TABLE table_73068 ( "Episode title" text, "Air date" text, "Reward" text, "Immunity" text, "Eliminated" text, "Vote" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rewards are there for air date Oc...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, ...
### Context: CREATE TABLE Project_Staff ( role_code VARCHAR, date_from VARCHAR, date_to VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the staff roles of the staff who ### Query: SELECT role_code FROM Project_Staff WHERE date_from > '2003-04-19...
### Context: CREATE TABLE table_77657 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the away team's score at P...
### Context: CREATE TABLE table_19930660_2 ( winner VARCHAR, rufus_guest VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the episode in which Sean Lock was Rufus's guest? ### Query: SELECT winner FROM table_19930660_2 WHERE rufus_guest = "Sean Lock"
### Context: CREATE TABLE film ( Film_ID int, Title text, Studio text, Director text, Gross_in_dollar int ) CREATE TABLE film_market_estimation ( Estimation_ID int, Low_Estimate real, High_Estimate real, Film_ID int, Type text, Market_ID int, Year int ) CREATE TABLE mar...
### Context: CREATE TABLE table_74611 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the home team's score at t...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### 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 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_52027 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is Andre Owens in Year for Jazz? ### Query: SELECT "Ye...
### 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_203_778 ( id number, "representative" text, "title" text, "presentation\nof credentials" text, "termination\nof mission" text, "appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total represent...
### Context: CREATE TABLE table_58163 ( "Platform" real, "Frequency (per hour)" real, "Destination" text, "Operator" text, "Line" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the platform when the frequency (per hour) is 4 and the destinat...
### Context: CREATE TABLE table_name_50 ( date VARCHAR, opposing_teams VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date when France is the opposing team? ### Query: SELECT date FROM table_name_50 WHERE opposing_teams = "france"
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE txmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTM...
### Context: CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE table_name_54 ( crowd INTEGER, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of people that attended a game at Moorabbin Oval? ### Query: SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabb...
### Context: CREATE TABLE table_12715053_1 ( trademark VARCHAR, molecular_target VARCHAR, clinical_status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many trademarks list a molecular target of minor groove of dna and a clinical status value of pha...
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, ...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_locatio...
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( YLJGDM tex...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decim...
### 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 table_25084227_1 ( no INTEGER, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the episode was directed by Michael Offer, what was the episode number? ### Query: SELECT MIN(no) FROM table_25084227_1 WHERE directed_by ...
### Context: CREATE TABLE table_57500 ( "City of license/market" text, "Station" text, "Channel TV ( RF )" text, "Year of affiliation" real, "Year of disaffiliation" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most recent year of disa...
### Context: CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARC...
### Context: CREATE TABLE table_1272844_2 ( episode_title VARCHAR, eliminated VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the episode in which Jenn is eliminated? ### Query: SELECT episode_title FROM table_1272844_2 WHERE eliminated =...
### Context: CREATE TABLE table_76272 ( "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 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, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE table_40808 ( "Frequency" text, "Station" text, "Operator" text, "Language" text, "Genre" text, "Coverage Area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What station has a genre of talk music and is in Malay Engli...
### Context: CREATE TABLE table_54988 ( "Driver" text, "Car #" real, "Make" text, "Points" real, "Laps" real, "Winnings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the car # of the Chevrolet that complete 363 laps? ### Query: SELECT...
### Context: CREATE TABLE Plays_Games ( StuID INTEGER, GameID INTEGER, Hours_Played INTEGER ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTEGER, OnScholarship VARCHAR(1) ) CREATE TABLE Video_Games ( GameID INTEGER, GName V...
### Context: CREATE TABLE table_19444 ( "School Year" text, "Class A" text, "Class AA" text, "Class AAA" text, "Class AAAA" text, "Class AAAAA" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the AAAA classes in the schools years 200...
### Context: CREATE TABLE table_70563 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest points value for the 500cc class in years after 1962 with 0 wins? ### Query: SE...
### Context: CREATE TABLE genre ( g_name varchar2(20), rating varchar2(10), most_popular_in varchar2(50) ) CREATE TABLE artist ( artist_name varchar2(50), country varchar2(20), gender varchar2(20), preferred_genre varchar2(50) ) CREATE TABLE files ( f_id number(10), artist_name var...
### Context: CREATE TABLE TRANSACTIONS ( transaction_id VARCHAR, share_count VARCHAR, transaction_type_code VARCHAR ) CREATE TABLE TRANSACTIONS_LOTS ( transaction_id VARCHAR ) CREATE TABLE LOTS ( lot_details VARCHAR, lot_id VARCHAR ) -- Using valid SQLite, answer the following questions for ...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE month ( month_number int, month_name text...
### Context: CREATE TABLE table_2443 ( "Barangay" text, "Area (km 2 )" text, "Population ( 2007 census )" real, "Households" real, "Barangay Captain ( 2010 - 2013)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most households ### Query: ...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JSBBRQ...
### 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ...
### Context: CREATE TABLE table_5110 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has 3-2 as the score, and anderson (2-6) as a loss? ### Que...
### Context: CREATE TABLE table_19275 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What positions does Tom Hammond play?...
### 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 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 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_name_32 ( established VARCHAR, championships VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the West Coast League established than the championships are greater than 0? ### Query: SELECT esta...
### Context: CREATE TABLE table_43731 ( "Internet Plan" text, "Downstream" text, "Upstream" text, "Bandwidth Included" text, "Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the provider that costs 266 sar, what is the Bandwidth Included? ...
### Context: CREATE TABLE table_18025024_7 ( save VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6? ### Query: SELECT save FROM table_18025024_7 WHERE score = "7-...
### Context: CREATE TABLE table_1601792_4 ( television_station VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many stations have a 35 uhf frequency? ### Query: SELECT COUNT(television_station) FROM table_1601792_4 WHERE frequency = "3...
### 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 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 Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), ...
### Context: CREATE TABLE table_35783 ( "Rank" real, "Airport" text, "Metropolitan area" text, "Passengers" real, "Carriers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Metropolitan area has an Airport of toronto pearson international airpo...
### 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_45908 ( "Winner" text, "Country" text, "Winter Olympics" text, "FIS Nordic World Ski Championships" text, "Holmenkollen" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has a FIS Nordic World Ski Champion...
### Context: CREATE TABLE table_27616663_1 ( order__number VARCHAR, theme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the order # of the theme Male Singers? ### Query: SELECT order__number FROM table_27616663_1 WHERE theme = "Male Singers"
### Context: CREATE TABLE aircraft ( aircraft_id number, aircraft text, description text, max_gross_weight text, total_disk_area text, max_disk_loading text ) CREATE TABLE pilot ( pilot_id number, name text, age number ) CREATE TABLE airport ( airport_id number, airport_nam...
### Context: CREATE TABLE table_name_10 ( assists INTEGER, scorer VARCHAR, rank VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average amount of assists with a rank higher than 6 and goals 10 and the scorer is Robert Ukrop ...
### Context: CREATE TABLE table_25983027_1 ( infiltration__km_3__year_ VARCHAR, region VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the Central region, what was the infiltration (km 3 /year)? ### Query: SELECT infiltration__km_3__year_ FROM table_25983...
### 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 d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, ic...
### Context: CREATE TABLE table_45846 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which years did the player from Providence play for Memphis? #...
### Context: CREATE TABLE table_202_85 ( id number, "club" text, "league" text, "sport" text, "venue" text, "established" number, "championships" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which of the madison sports teams was establishe...
### Context: CREATE TABLE table_name_70 ( years VARCHAR, goals VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years have goals less than 229, and 440 as matches? ### Query: SELECT years FROM table_name_70 WHERE goals < 229 AND matc...
### Context: CREATE TABLE table_204_389 ( id number, "rnd." number, "pick #" number, "nfl team" text, "player" text, "pos." text, "college" text, "conf." text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did laron landry o...
### Context: CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH text, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, ...
### Context: CREATE TABLE table_21058 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter" text, "Year named" real, "Namesake" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latitude when the diameter is 184.0? ### Query: SE...
### 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_203_686 ( id number, "release date" text, "album" text, "record label" text, "uk albums chart" number, "u.s. billboard 200 chart" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what record label appears the most...
### Context: CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE field ( fieldi...
### Context: CREATE TABLE table_33187 ( "Positional or Automatic" text, "Opponents" text, "Suits" text, "Material or Non-material" text, "Count Rectified" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is the count rectified for single opponents, ei...
### Context: CREATE TABLE table_33361 ( "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 is the home team at Victoria Pa...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE ftxmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZT...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, i...
### Context: CREATE TABLE table_77567 ( "Locomotive" text, "Type" text, "Builder" text, "Builder's No." real, "Built" real, "Entered service" real, "Withdrawn" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years entered service whe...
### 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 table_name_38 ( outcome VARCHAR, opponents_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the match opponents in the final of Marius C lug ru Ciprian Petre Porumb? ### Query: SELECT outcome FROM...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE table_37350 ( "Week" real, "Date" text, "Opponent" text, "Time ( ET )" text, "Game site" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has a record of 6-9? ### Query: SE...
### Context: CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Nu...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_CLINIC_ID text, ME...
### Context: CREATE TABLE jybgb_jyjgzbb ( JYZBLSH number, YLJGDM text, jyjgzbb_id number ) 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, JZZT...
### 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 table_name_59 ( date VARCHAR, attendance INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game when attendance is more than 20,682? ### Query: SELECT date FROM table_name_59 WHERE attendance > 20 OFFSET 682