text
stringlengths
197
8.39k
### Context: CREATE TABLE table_44106 ( "Model" text, "Years" text, "Engine" text, "Displacement" text, "Power" text, "Fuel system" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much power does the 1500 model have with a displacement of 149...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medicat...
### Context: CREATE TABLE gyb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_203_440 ( 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. -- which player paid the most in transfe...
### 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 ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE FlagTy...
### Context: CREATE TABLE table_44863 ( "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 STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...
### Context: CREATE TABLE table_name_33 ( manager VARCHAR, home_city VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the manager in the city of Osijek? ### Query: SELECT manager FROM table_name_33 WHERE home_city = "osijek"
### Context: CREATE TABLE table_71540 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the game that had a loss of Mercker (3-1)? ### Query: SELECT "At...
### Context: CREATE TABLE salary ( year number, team_id text, league_id text, player_id text, salary number ) CREATE TABLE player_award ( player_id text, award_id text, year number, league_id text, tie text, notes text ) CREATE TABLE hall_of_fame ( player_id text, y...
### Context: CREATE TABLE table_29583818_3 ( place VARCHAR, couple VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the couple kerry & daniel? ### Query: SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Kerry & Daniel"
### Context: CREATE TABLE table_name_7 ( opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has an attendance of 20,456? ### Query: SELECT opponent FROM table_name_7 WHERE attendance = "20,456"
### Context: CREATE TABLE table_name_93 ( final_episode VARCHAR, actor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the last episode featuring Rob Estes? ### Query: SELECT final_episode FROM table_name_93 WHERE actor = "rob estes"
### Context: CREATE TABLE table_32351 ( "Name" text, "Took office" text, "Left office" text, "Party" text, "Governor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which governor took office on January 13, 1877 ### Query: SELECT "Governor" FROM ta...
### Context: CREATE TABLE table_61882 ( "Tie no" text, "Home team" text, "Score 1" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Attendance at the Hereford United Away game? ### Query: SELECT "Atten...
### Context: CREATE TABLE table_27622417_1 ( prod_code VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the production code when the number of the episode in series is 87? ### Query: SELECT prod_code FROM table_27622417_1 WHERE ...
### Context: CREATE TABLE table_74226 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (million)" text, "Rank (week)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wher...
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int...
### 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 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 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 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_26815674_1 ( wins VARCHAR, final_placing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 12th is the final placing what is the wins? ### Query: SELECT wins FROM table_26815674_1 WHERE final_placing = "12th"
### Context: CREATE TABLE table_10608 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Channel" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the week 17 game played on? ### Query: SELECT "Date" FRO...
### Context: CREATE TABLE table_name_11 ( game INTEGER, march VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest game number of the game after March 2 with the minnesota north stars as the opponent? ### Query: SELECT MIN...
### 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_26561506_1 ( _number INTEGER, patient_portrayer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest numbered episode with patient portrayer doug savant? ### Query: SELECT MAX(_number) FROM table_26561506_1 WHER...
### Context: CREATE TABLE table_31180 ( "#" real, "Title" text, "Author" text, "Doctor" text, "Featuring" text, "Read by" text, "Published" text, "ISBN" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The Ring of Steel possesses what ISBN...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_name_87 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on July 28? ### Query: SELECT record FROM table_name_87 WHERE date = "july 28"
### Context: CREATE TABLE table_35380 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Partnering of franco ferreiro had what tournament? ### Query: SE...
### Context: CREATE TABLE table_203_399 ( id number, "pos." text, "driver" text, "co-driver" text, "car" text, "time" text, "difference" text, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what driver was the only one to scor...
### Context: CREATE TABLE table_32345 ( "Rank" real, "Player" text, "Nation" text, "Shutouts" real, "Games" real, "Years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has less than 201 games, is ranked 2, and played between 2007-2...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, Belong...
### Context: CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number )...
### Context: CREATE TABLE table_name_10 ( country VARCHAR, city VARCHAR, rank VARCHAR, capacity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of 32,...
### Context: CREATE TABLE table_26806 ( "Episode no." real, "Airdate" text, "Viewers" text, "BBC Three weekly ranking" text, "Cable rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode had bbc ranking and canle ranking of n/a? ### Que...
### Context: CREATE TABLE table_2822193_1 ( poles INTEGER, races VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many poles are there with 2 races? ### Query: SELECT MAX(poles) FROM table_2822193_1 WHERE races = 2
### 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 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 qtb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name v...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ...
### Context: CREATE TABLE table_74202 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables pr...
### Context: CREATE TABLE table_3467 ( "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 season mvp is larger than 1.0 what ...
### Context: CREATE TABLE table_55517 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the european indoor championships after 1974? ### Query: SELECT "Resul...
### Context: CREATE TABLE apartment_facilities ( apt_id number, facility_code text ) CREATE TABLE apartment_buildings ( building_id number, building_short_name text, building_full_name text, building_description text, building_address text, building_manager text, building_phone text...
### Context: CREATE TABLE table_72917 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the census ranking(s) of maugerville? ### Query: SELECT "Cens...
### Context: CREATE TABLE table_79033 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a total of 11, what is the score points? ### Query: SELECT "Score points" FRO...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_name_37 ( label VARCHAR, date VARCHAR, format VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What label released a CD in 1988? ### Query: SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd"
### Context: CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) 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, XLM...
### Context: CREATE TABLE table_16951593_1 ( written_by VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name who wrote the episode that had 7.56 million viewers ### Query: SELECT written_by FROM table_16951593_1 WHERE us_viewer...
### Context: CREATE TABLE table_68162 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points have a Year larger than 1966? ### Query: SELECT COUNT("Points") FROM table_6...
### Context: 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, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text...
### Context: CREATE TABLE table_name_20 ( hometown VARCHAR, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown for the player that is defensive back and went to alabama? ### Query: SELECT hometown FROM table_na...
### Context: CREATE TABLE table_2182562_2 ( winnings VARCHAR, avg_finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different amounts of winnings were there for the year when the team had an average finish of 17.4? ### Query: SELECT COUNT(winni...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE member_of ( facid number, dno number, appt_type text ) CREATE TABLE minor_in ( stuid number, dno number ) CRE...
### Context: CREATE TABLE table_69115 ( "City" text, "Jan." text, "Feb." text, "Mar." text, "Apr." text, "Jun." text, "Jul." text, "Aug." text, "Sep." text, "Oct." text, "Nov." text, "Dec." text ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_name_48 ( round INTEGER, college VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average round that the player from USF was picked in when his draft pick number was less than 24? ### Query...
### Context: CREATE TABLE table_9820 ( "Division" text, "1999" real, "2000" real, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real ) -- Using valid SQLite, answer the fo...
### Context: CREATE TABLE table_46454 ( "Date" text, "Venue" text, "Score" text, "Competition" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE VENUE ON MARCH 28, 2008? ### Query: SELECT "Venue" FROM table_46454 WHERE "Date...
### Context: CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE PostsWithDeleted ( Id number...
### Context: CREATE TABLE table_56718 ( "Athlete" text, "Event" text, "Round of 16" text, "Quarterfinal" text, "Semifinal" text, "Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Hossein Ojaghi participated in what semifinal. ### Query: SE...
### Context: CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) -- Using valid SQLite, answer the following questions...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE...
### Context: CREATE TABLE 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 SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostFeedbac...
### 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 Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, P...
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE dat...
### Context: CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_d...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, ...
### Context: CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) -- Using valid SQLite...
### 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 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_45528 ( "Rider" text, "Manufacturer" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps does grid 4 have? ### Query: SELECT "Laps" FROM table_45528 WHERE "Grid...
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(1...
### Context: CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE airport ( airport_code varchar, airpo...
### Context: CREATE TABLE table_name_7 ( round VARCHAR, venue VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round was at the A venue with a attendance more than 14,314? ### Query: SELECT round FROM table_name_7 WHERE venue = "a...
### Context: CREATE TABLE table_24233 ( "Name" text, "Municipal status" text, "Census division" 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...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id num...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_name_73 ( assist_pass VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Assist/pass has a Result of 6-2? ### Query: SELECT assist_pass FROM table_name_73 WHERE result = "6-2"
### Context: CREATE TABLE table_22514845_4 ( trophy_presentation VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the trophy presentation in the year 1987? ### Query: SELECT trophy_presentation FROM table_22514845_4 WHERE year = 1987
### Context: CREATE TABLE table_name_75 ( model VARCHAR, sail_area VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Model has a Sail Area of 24.5 m ? ### Query: SELECT model FROM table_name_75 WHERE sail_area = "24.5 m²"
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE table_15463188_7 ( position VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the position for san beda ### Query: SELECT position FROM table_15463188_7 WHERE school_club_team = "San Beda"
### Context: CREATE TABLE table_name_14 ( wins VARCHAR, engine VARCHAR, racing_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Super Nova Racing win with a zytek engine? ### Query: SELECT wins FROM table_name_14 WHERE engine = "zy...
### Context: CREATE TABLE table_name_3 ( country VARCHAR, to_par VARCHAR, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has a To par larger than 3, and a Year(s) won of 1979? Question 1 ### Query: SELECT country FROM table_nam...
### Context: CREATE TABLE table_58397 ( "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Grand Prix for pole position of kimi...
### Context: CREATE TABLE table_name_34 ( election VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st party during the 1857 election? ### Query: SELECT 1 AS st_party FROM table_name_34 WHERE election = "1857"
### Context: CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostNoticeTypes ( Id number, ClassId n...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDat...
### Context: CREATE TABLE table_name_96 ( director VARCHAR, gross VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director grossed $200,512,643 ### Query: SELECT director FROM table_name_96 WHERE gross = "$200,512,643"
### Context: CREATE TABLE table_59961 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What status has France as the opposing teams? ### Query: SELECT "Status" FROM table_59...
### Context: CREATE TABLE table_43271 ( "Position" real, "Artist" text, "Song" text, "Lyrics (l) / Music (m)" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest Position for the Song, 'If I Can't Find My Love'? ### Que...