text
stringlengths
197
8.39k
### Context: CREATE TABLE table_437 ( "Series #" real, "Season #" real, "Episode title" text, "Writer(s)" text, "Director" text, "U.S. viewers (millions)" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the n...
### Context: CREATE TABLE table_name_53 ( assists INTEGER, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least number of assists among players ranked 2? ### Query: SELECT MIN(assists) FROM table_name_53 WHERE rank = 2
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_80381 ( "Year" text, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the Women's singles, in the y...
### Context: CREATE TABLE table_5386 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on december 8 when the boston bruins visited? ### Query: SELECT "Record" FROM...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, ...
### Context: CREATE TABLE table_39660 ( "Number" real, "Result" text, "Date" text, "Score" text, "Opponent" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of the game played on January 2, 1936? ### Query: SELECT...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE table_48380 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Home for away of hispano? ### Query: SELECT "Home" FROM table_48380 WHERE "Away" = 'hispano'
### Context: CREATE TABLE table_35213 ( "Year" real, "Group" text, "Award" text, "Film" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Film has a Result of nominated, and a Year of 2001? ### Query: SELECT "Film" FROM table_3521...
### Context: CREATE TABLE table_name_43 ( date VARCHAR, attendance INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Attendance is less than 521? ### Query: SELECT date FROM table_name_43 WHERE attendance < 521
### Context: CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_name_58 ( venue VARCHAR, competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Venue of the Friendly Competition with a Score of 1 4? ### Query: SELECT venue FROM table_name_58 WHERE compet...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_name_38 ( heat INTEGER, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Heat for anjelika solovieva? ### Query: SELECT AVG(heat) FROM table_name_38 WHERE name = "anjelika solovieva"
### Context: CREATE TABLE table_51136 ( "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 Country, when Score is 71-71-69=211? ### Query: SELECT "Country" FROM table_51136 WHE...
### Context: CREATE TABLE table_14 ( "#" text, "Shipyard" text, "Laid down" text, "Launched" text, "Commissioned" text, "Fleet" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were the ships launched that were laid down on...
### Context: CREATE TABLE table_name_28 ( geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and...
### Context: CREATE TABLE organizations ( organization_name VARCHAR, date_formed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all the name of organizations in order of the date formed. ### Query: SELECT organization_name FROM organizations ORDER BY d...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, dep...
### Context: CREATE TABLE table_name_17 ( north_american_release_date VARCHAR, japanese_release_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is North American Release Date, when Japanese Release Date is '2011-06-23'? ### Query: SELECT north_amer...
### Context: CREATE TABLE table_40025 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result when there's less than 2 goals? ### Query: SELECT "Resu...
### Context: CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number ) -- Using valid SQLi...
### Context: CREATE TABLE table_46302 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the Boston Celtics play at Richfield Coliseum? ### Query: SE...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE table_17632217_2 ( fourth_placed VARCHAR, total_wins VARCHAR, third_place VARCHAR, winners VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and...
### Context: CREATE TABLE table_69202 ( "2003/ 04" text, "2004/ 05" text, "2007/ 08" text, "2009/ 10" text, "2010/ 11" text, "2011/ 12" text, "2012/ 13" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was held in 2003/04 when Former Rank...
### Context: CREATE TABLE table_name_27 ( registrations VARCHAR, type VARCHAR, station_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the registration of the station with a retained type and a station number of c03? ### Query: SELECT regi...
### Context: CREATE TABLE table_204_661 ( id number, "team" text, "location" text, "home ground" text, "first year in\nqld cup" number, "last year in\nqld cup" number, "qld cup\npremierships" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wh...
### Context: CREATE TABLE table_2887 ( "Rank" real, "Rider" text, "Mon 24 Aug" text, "Tues 25 Aug" text, "Wed 26 Aug" text, "Thurs 27 Aug" text, "Fri 28 Aug" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for Monday Augus...
### Context: CREATE TABLE table_13771 ( "School" text, "Location" text, "Mascot" text, "County" text, "Year joined" real, "Previous Conference" text, "Year Left" real, "Conference joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: CREATE TABLE table_name_85 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 2006 of 10 4 is in which 2000? ### Query: SELECT 2000 FROM table_name_85 WHERE 2006 = "10–4"
### Context: CREATE TABLE table_26559 ( "Model number" text, "Frequency" text, "L1 Cache" text, "FSB" text, "Mult." text, "Voltage" text, "TDP" text, "Socket" text, "Release date" text, "Part number(s)" text, "sSpec number" text ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE jyjgzbb ( JYZBLSH text, YLJGDM text, BGDH text, BGRQ time, JYRQ time, JCRGH text, JCRXM text, SHRGH text, SHRXM text, JCXMMC text, JCZBDM text, JCFF text, JCZBMC text, JCZBJGDX text, JCZBJGDL number, JCZBJGDW text, SBBM text, ...
### 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_25014 ( "English name" text, "Georgian name" text, "Transliteration" text, "Date" text, "Author" text, "Period covered" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the auther when the english name was hi...
### 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 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_66 ( period VARCHAR, other_mozilla VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What period has 0.25% as the other mozilla? ### Query: SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%"
### 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_DIRE_CD text, MED_...
### Context: CREATE TABLE table_55299 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text, "Apparent magnitude" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the s...
### Context: CREATE TABLE table_26352332_4 ( cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? ### Q...
### 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 table_21287 ( "June 10-11" text, "March 27-29" text, "January 15-16" text, "November 3" text, "August 21-22" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name march 27-29 where january 15-16 is january 15, 1991 ### Query...
### Context: CREATE TABLE table_51501 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the guard for Wisconsin? ### Query: SELECT "Player" FROM table_51501 WHERE "Position" ...
### 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 demographic ( subject_id text, ...
### Context: CREATE TABLE zyb ( 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_60297 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the driver from Audi Sport North America finish in the race a...
### Context: CREATE TABLE table_229917_2 ( tail_number VARCHAR, brief_description VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the tail number of the airplane involved in the accident described as crashed? ### Query: SELECT tail_number FROM table_2...
### 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_13516 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time for the match that r...
### 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_21183 ( "Show" text, "Last Aired" real, "Previous Network" text, "Retitled as/Same" text, "New/Returning/Same Network" text, "Returning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which show as previously on T...
### Context: CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABL...
### Context: CREATE TABLE table_11351 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of laps for grid 8? ### Query: SELECT AVG("Laps") FROM tab...
### Context: CREATE TABLE table_name_19 ( wins VARCHAR, pct VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins when the pct, is .848? ### Query: SELECT wins FROM table_name_19 WHERE pct = ".848"
### Context: CREATE TABLE table_13051 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 2nd leg has pelister as team 1? ### Query: SELECT "2nd leg" FROM table_13051 WHERE "Tea...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosis...
### Context: CREATE TABLE table_17427 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the womens singles when Marc Zwie...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CR...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id...
### Context: CREATE TABLE table_name_27 ( bulls VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number for the Bulls when they were at Old Trafford? ### Query: SELECT COUNT(bulls) FROM table_name_27 WHERE venue = "old traffo...
### Context: CREATE TABLE table_5938 ( "Medium" text, "Title" text, "Date" text, "Theatre, Studio, or Network" text, "Role" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What production was created by Monogram? ### Query: SELECT "Title" FROM table...
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID ot...
### 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 table_69 ( "Rank" real, "Member Association" text, "Points" text, "Group stage" real, "Play-off" real, "AFC Cup" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many countries earned 177.2 points? ### Query: SELECT ...
### Context: CREATE TABLE table_name_27 ( opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the opponents for runner-up and surface of grass ### Query: SELECT opponents_in_the_final FROM tabl...
### Context: CREATE TABLE table_5552 ( "Affiliation" text, "Life peers" text, "Hereditary peers" text, "Lords spiritual" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Hereditary peer of , and a Lords spiritual of , a...
### 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_72665 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "To par" text, "Margin of victory" text, "Purse ( US$ )" real, "Winners share" real ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### 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 diagnosi...
### Context: CREATE TABLE table_40664 ( "Player" text, "Club" text, "League" real, "FA Cup" real, "FA Trophy" real, "League Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which League has a League Cup smaller than 0? ### ...
### Context: CREATE TABLE table_57399 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the score for december 3 ### Query: SELECT "Score" FROM table_57399 WHERE "Date" = 'dece...
### Context: CREATE TABLE table_13388681_1 ( purse___$__ VARCHAR, margin_of_victory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much is the purse ( $ ) when the margin of victory is 1 stroke? ### Query: SELECT purse___$__ FROM table_13388681_1 WHERE ...
### Context: CREATE TABLE table_57602 ( "Index" text, "Organization" text, "Year" text, "Rank" real, "Out of" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the year for rank more than 35 and out of 167 ### Query: SELECT "Year" FROM table_5...
### Context: CREATE TABLE table_20803065_1 ( senator VARCHAR, religion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the presbyterian members of the senate. ### Query: SELECT senator FROM table_20803065_1 WHERE religion = "Presbyterian"
### Context: CREATE TABLE Regular_Order_Products ( regular_order_id INTEGER, product_id INTEGER ) CREATE TABLE Employees ( employee_id INTEGER, employee_address_id INTEGER, employee_name VARCHAR(80), employee_phone VARCHAR(80) ) CREATE TABLE Delivery_Route_Locations ( location_code VARCHAR...
### Context: CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80),...
### Context: CREATE TABLE table_16395 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many CFL teams are from York college? ### Query: SELECT COUNT("CFL Team") FROM tabl...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requireme...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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 te...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal ...
### Context: CREATE TABLE table_75920 ( "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 Discount_Coupons ( coupon_id INTEGER, date_issued DATETIME, coupon_amount DECIMAL(19,4) ) CREATE TABLE Payments ( payment_id INTEGER, booking_id INTEGER, customer_id INTEGER, payment_type_code VARCHAR(15), amount_paid_in_full_yn VARCHAR(1), payment_date DAT...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE table_47268 ( "Name" text, "Years" text, "League" real, "Scottish Cup" real, "League Cup" real, "Europe" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Name of eoin jess category:arti...
### Context: CREATE TABLE table_name_45 ( loss VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During which loss was the record 48-50? ### Query: SELECT loss FROM table_name_45 WHERE record = "48-50"
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, rel...
### Context: CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Products ( Product_ID INTEGER, Product_Type_Code CHAR(15), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4...
### Context: CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE state ( state_code text, state_name text, country_name...
### Context: CREATE TABLE table_59133 ( "Station Name" text, "Opening Year" text, "Municipality" text, "Park and Ride Lot" text, "Free Fare Zone" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the Temple Square station, what is the park & ride l...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE food_service ( meal_code text, meal_number i...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, ...
### Context: CREATE TABLE table_14223 ( "T-35" text, "T-100" text, "KV-1 M1940" text, "KV-1 M1941" text, "KV-1 M1942" text, "KV-1S M1942" text, "KV-85 M1943" text, "IS-2 M1945" text, "IS-3 M1945" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE student_course_registrations ( course_id VARCHAR, student_id VARCHAR ) CREATE TABLE student_course_attendance ( course_id VARCHAR, student_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the id of courses which are r...
### Context: CREATE TABLE table_35431 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the player with a pick # less than 5 and an overall o...
### Context: CREATE TABLE table_11873 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what venue did the 1982 FIFA World Cup Qualification take place? ### Query: SELECT "Venu...
### Context: CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE college ( cname text, state text, enr number ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewT...
### Context: CREATE TABLE table_name_23 ( airport VARCHAR, icao VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Airport's ICAO is ENTO? ### Query: SELECT airport FROM table_name_23 WHERE icao = "ento"