text
stringlengths
197
8.39k
### Context: CREATE TABLE player ( player_id text, birth_year number, birth_month number, birth_day number, birth_country text, birth_state text, birth_city text, death_year number, death_month number, death_day number, death_country text, death_state text, death_city...
### Context: CREATE TABLE table_24652 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original U.S. air date" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote epi...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_name_66 ( country VARCHAR, rank INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country is ranked more than 4? ### Query: SELECT country FROM table_name_66 WHERE rank > 4
### 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 customers ( id INTEGER, first_name VARCHAR(40), last_name VARCHAR(20), company VARCHAR(80), address VARCHAR(70), city VARCHAR(40), state VARCHAR(40), country VARCHAR(40), postal_code VARCHAR(10), phone VARCHAR(24), fax VARCHAR(24), email VARCHAR(...
### Context: CREATE TABLE table_31293 ( "Eliminated" real, "Wrestler" text, "Entered" real, "Eliminated by" text, "Method of elimination" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries are shown for entered at 21:09...
### Context: CREATE TABLE Customers_cards ( card_type_code VARCHAR, card_id VARCHAR ) CREATE TABLE Financial_transactions ( card_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the card type codes and the number of transactions. ### Query: SELEC...
### Context: CREATE TABLE table_41137 ( "S No" real, "Team (A)" text, "Team (B)" text, "Winner" text, "Margin" text, "Match Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of S No(s), when the Margin is 16 runs? ##...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_23619005_3 ( player VARCHAR, cfl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different players got drafted for the Ottawa Renegades? ### Query: SELECT COUNT(player) FROM table_23619005_3 WHERE cfl_team = "Ott...
### Context: CREATE TABLE table_204_624 ( id number, "school" text, "team name" text, "town" text, "county" text, "enrollment (2010-11 & 2011-12)" number, "primary mshsaa class*" number, "football class" number ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_name_47 ( gold INTEGER, nation VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Gold has a Nation of malaysia, and a Silver smaller than 0? ### Query: SELECT MIN(gold) FROM table_name_47 WHERE nation =...
### Context: CREATE TABLE table_16459 ( "No. in season" real, "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What w...
### 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_train_208 ( "id" int, "anemia" bool, "serum_bicarbonate" int, "hemoglobin_a1c_hba1c" float, "temperature" float, "dementia" bool, "electrolyte_imbalances" bool, "impaired_sensorium" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_69518 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the qualifying time of Jim Rathmann in 1959? ### Query: SELECT "Qual" FRO...
### Context: CREATE TABLE student_course_enrolment ( registration_id number, student_id number, course_id number, date_of_enrolment time, date_of_completion time ) CREATE TABLE courses ( course_id number, author_id number, subject_id number, course_name text, course_description ...
### 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_26 ( venue VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team played in the Darida venue? ### Query: SELECT venue FROM table_name_26 WHERE team = "darida"
### 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_name_26 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result on 8 October 1961? ### Query: SELECT result FROM table_name_26 WHERE date = "8 october 1961"
### Context: CREATE TABLE table_203_303 ( id number, "tribunal" text, "number of autos da fe" number, "executions in persona" number, "executions in effigie" number, "penanced" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE Project_Staff ( date_from VARCHAR, date_to VARCHAR, project_id VARCHAR, role_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List from which date and to which date these staff work: project staff of the project which hir...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### Context: CREATE TABLE table_76293 ( "Name" text, "City" text, "Years as tallest" text, "Height ft / m" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What building in Louisville had more than 35 floors? ### Query: SELECT "Name" F...
### Context: CREATE TABLE table_name_89 ( result VARCHAR, opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the april 6, 2002 game against the greensboro prowlers? ### Query: SELECT result FROM table_name_89 WH...
### Context: CREATE TABLE bdmzjzjlb ( 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_74433 ( "Pick #" real, "MLS team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pick number is Kevan George? ### Query: SELECT "Pick #" FROM table_74433 WHERE...
### Context: CREATE TABLE Order_Items ( order_item_id INTEGER, order_id INTEGER, product_id INTEGER, product_quantity VARCHAR(50), other_order_item_details VARCHAR(255) ) CREATE TABLE Invoice_Line_Items ( order_item_id INTEGER, invoice_number INTEGER, product_id INTEGER, product_tit...
### Context: CREATE TABLE table_name_36 ( county VARCHAR, median_household_income VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What County has a Median household income of $46,872? ### Query: SELECT county FROM table_name_36 WHERE median_household_income ...
### Context: CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE station ( id int, network_name text, services te...
### Context: CREATE TABLE table_45265 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score ...
### 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_26250189_1 ( song_choice VARCHAR, original_artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the choice of song where the original artist was Stevie Wonder? ### Query: SELECT song_choice FROM table_26250189_1 WHE...
### Context: CREATE TABLE month ( month_number int, month_name text ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, ...
### 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_204_147 ( id number, "#" number, "date" text, "opponent" text, "score" text, "win" text, "loss" text, "save" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how m...
### Context: CREATE TABLE table_17484 ( "Rd." real, "Grand Prix" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the grand prix...
### Context: CREATE TABLE table_13995 ( "Medal" text, "Name" text, "Sport" text, "Event" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the sport of athletics on a date earlier than 16? ### Query: SELECT "Name" FROM table_13995...
### Context: CREATE TABLE table_57488 ( "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 South Melbourne's score as...
### Context: CREATE TABLE table_34439 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release Date of the 7' single in Catalog 87184? ### Query: SELECT "Date" FROM tabl...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, Accepted...
### Context: CREATE TABLE table_19517621_4 ( original_airdate VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original air date of the episode written by Michelle Offen? ### Query: SELECT original_airdate FROM table_19517621_...
### Context: CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Lo...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE table_2562572_5 ( population__2002_ INTEGER, urban_settlement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the population for 2002 being ada ### Query: SELECT MIN(population__2002_) FROM table_2562572_5 WHERE urban_settlemen...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE requirement ( requirement_id int...
### Context: CREATE TABLE table_203_615 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" number, "result" text, "candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of these congressmen were re e...
### 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 election ( Election_ID int, Representative_ID int, Date text, Votes real, Vote_Percent real, Seats real, Place real ) CREATE TABLE representative ( Representative_ID int, Name text, State text, Party text, Lifespan text ) -- Using valid SQLite...
### Context: CREATE TABLE table_23180 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the school from Logan Township, Pe...
### Context: CREATE TABLE table_184 ( "Information" text, "Dysart" text, "Shadow Ridge" text, "Valley Vista" text, "Willow Canyon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many informations does Michael Hawkins have? ### Query: SELECT COU...
### Context: CREATE TABLE table_name_57 ( dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the distance from origin in Azumino including Toyoshina IC? ### Query: SELECT dist_from_or...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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...
### Context: CREATE TABLE table_name_88 ( against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smal...
### Context: CREATE TABLE item ( i_id number, title text ) CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust number ) CREATE TABLE useracct ( u_id number, name te...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text...
### Context: CREATE TABLE table_65070 ( "Project" text, "License" text, "Date" text, "Protocol" text, "Technology" text, "Server" text, "Client" text, "Web Client" text, "Multiple Sessions" text, "Encryption" text, "Authentication" text, "Data Compression" text, "Imag...
### Context: CREATE TABLE table_name_30 ( date VARCHAR, attendance VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the game with fewer than 6650 in attendance, that finished 0:1? ### Query: SELECT date FROM table_name_30 W...
### Context: CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text, RZBQDM text, RZBQMC text, RYCWH text, CYKSDM text, CYKSMC text, ...
### Context: CREATE TABLE table_75888 ( "Heat" real, "Lane" real, "Name" text, "Country" text, "Mark" text, "React" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country, when Lane is 5, and when React is greater than 0.166? ### Query:...
### Context: CREATE TABLE table_17687 ( "Track Name" text, "Location" text, "Length" text, "Seating" real, "Year Opened" real, "Year Acquired [A ]" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the track that opened in 1...
### 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 time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE flight_stop ( ...
### Context: CREATE TABLE table_5225 ( "Team" text, "Copa Libertadores 1992" text, "Supercopa Sudamericana 1992" text, "Copa CONMEBOL 1992" text, "Recopa Sudamericana 1992" text, "Intercontinental Cup 1992" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### 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_33 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At the match in windy hill, how much did the home team score? ### Query: SELECT home_team AS score FROM table_name_33 WHERE venue = "windy hill...
### Context: CREATE TABLE table_51975 ( "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. -- What is the record of the game on February 25, ...
### Context: CREATE TABLE table_name_88 ( silver INTEGER, bronze VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals? ### Query: ...
### Context: CREATE TABLE table_27811 ( "Position" real, "Sail number" text, "Yacht" text, "State/country" text, "Yacht type" text, "LOA (Metres)" text, "Skipper" text, "Elapsed time d:hh:mm:ss" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_20908 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seaso...
### Context: CREATE TABLE table_47411 ( "Circuit" text, "Location" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Winner, when Circuit is June 8? ### Query: SELECT "W...
### Context: CREATE TABLE phone ( model_name VARCHAR, chip_model VARCHAR, Accreditation_type VARCHAR ) CREATE TABLE chip_model ( model_name VARCHAR, chip_model VARCHAR, Accreditation_type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find t...
### Context: CREATE TABLE table_16021 ( "Episode #" real, "Production code" real, "Title" text, "Directed by" text, "Written by" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the episode # for production code 227 ### Qu...
### Context: CREATE TABLE table_name_79 ( season VARCHAR, final_placing VARCHAR, podiums VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a Final Place of 8th and 8 Podiums? ### Query: SELECT season FROM table_name_79 WHERE final_placing ...
### Context: CREATE TABLE table_name_17 ( south_dakota VARCHAR, oklahoma VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What South Dakota has Bush of Oklahoma? ### Query: SELECT south_dakota FROM table_name_17 WHERE oklahoma = "bush"
### Context: CREATE TABLE table_name_69 ( laps INTEGER, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the lowest laps of Tarso Marques? ### Query: SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques"
### 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 area ( course_id int, area varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, country...
### 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 Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_21995 ( "No. in series" real, "No. in season" real, "Title" text, "Country" text, "Project" text, "Status at production" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what country...
### 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturet...
### Context: CREATE TABLE table_name_46 ( name VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Name has a Time of 01:56:52? ### Query: SELECT name FROM table_name_46 WHERE time = "01:56:52"
### Context: CREATE TABLE table_73984 ( "Name" text, "Park" text, "Length (ft)" real, "Height (ft)" real, "Speed (mph)" text, "Opened" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many parks are called mt. olympus ### Q...
### Context: CREATE TABLE table_name_25 ( res VARCHAR, record VARCHAR, time VARCHAR, method VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which res has a Time of 5:00, and a Method of decision (unanimous), and a Record of 1 0? ### Query: SELECT res...
### Context: CREATE TABLE table_12591 ( "Year" real, "Date" text, "Home Team" text, "Result" text, "Visiting Team" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the game at the Los Angeles Memo...
### Context: CREATE TABLE table_75869 ( "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 lowest total when the rank is 14 and the gold medals is larger than...
### Context: CREATE TABLE table_10248 ( "Sun Belt" text, "Lost" real, "Tied" real, "Pct." real, "Years" real, "Total Games" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the low loss total for teams with under 3 years and a less than 0....
### Context: CREATE TABLE genre ( genreid number, name text ) CREATE TABLE mediatype ( mediatypeid number, name text ) CREATE TABLE track ( trackid number, name text, albumid number, mediatypeid number, genreid number, composer text, milliseconds number, bytes number, ...
### Context: CREATE TABLE table_name_69 ( opponent VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent in week 12? ### Query: SELECT opponent FROM table_name_69 WHERE week = 12
### 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 table_203_564 ( id number, "hand" text, "1 credit" number, "2 credits" number, "3 credits" number, "4 credits" number, "5 credits" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference of payout on...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City t...
### Context: CREATE TABLE Stores ( Store_ID VARCHAR(100), Address_ID INTEGER, Marketing_Region_Code CHAR(15), Store_Name VARCHAR(255), Store_Phone VARCHAR(255), Store_Email_Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Bookings_Services ( Order_ID INTEGER, Product_...
### 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...