text
stringlengths
197
8.39k
### Context: CREATE TABLE table_13766 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which College/junior/club team has a Round of 4? ### Query: SELECT "Coll...
### Context: CREATE TABLE table_name_52 ( opponent VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell mem the opponent for result of w 31-21 ### Query: SELECT opponent FROM table_name_52 WHERE result = "w 31-21"
### Context: CREATE TABLE table_24859 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the table...
### Context: CREATE TABLE bdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC tex...
### Context: CREATE TABLE table_name_67 ( pick VARCHAR, round VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pick number for the tight end who was picked after round 6? ### Query: SELECT COUNT(pick) FROM table_name_67 WHERE...
### 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_30166 ( "Series episode" real, "Season episode" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (in million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
### 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 table_3283 ( "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 is the smallest number of extra p...
### Context: CREATE TABLE table_name_68 ( winner VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the women's win when Norway was the winner overall in season 2001/02? ### Query: SELECT winner AS Women FROM table_name_68 WHERE winner =...
### Context: CREATE TABLE driverstandings ( driverstandingsid number, raceid number, driverid number, points number, position number, positiontext text, wins number ) CREATE TABLE qualifying ( qualifyid number, raceid number, driverid number, constructorid number, number...
### Context: CREATE TABLE table_name_44 ( males VARCHAR, percentage___percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which language do 87.5% of males speak? ### Query: SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5"
### Context: CREATE TABLE table_77980 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which height is associated with Franklin High School? ### Query: SE...
### Context: CREATE TABLE table_3260 ( "Date" text, "Time (ET)" text, "Event #" real, "Event" text, "Winner" text, "Prize" text, "Entries" text, "Prize Pool" text, "Elapsed Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name th...
### Context: CREATE TABLE table_1969634_1 ( enrollment VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total enrollment for the school in garden city, new york? ### Query: SELECT enrollment FROM table_1969634_1 WHERE location = ...
### Context: CREATE TABLE table_20494 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Bills points" real, "Opponents" real, "Bills first downs" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points di...
### Context: CREATE TABLE table_26758262_1 ( judges_residence VARCHAR, municipalities_served VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside? ### Query: SELECT judges_res...
### Context: CREATE TABLE table_14606 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Blue Jays lose to on July 16? ### Query: SELECT "Loss" FROM table_14606 WHERE "Date...
### Context: CREATE TABLE Behavior_Incident ( incident_id INTEGER, incident_type_code VARCHAR(10), student_id INTEGER, date_incident_start DATETIME, date_incident_end DATETIME, incident_summary VARCHAR(255), recommendations VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Ref_Add...
### Context: CREATE TABLE table_79810 ( "Club" text, "Manager" text, "Captain" text, "Manufacturer" text, "Sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the captain of Middlesbrough? ### Query: SELECT "Captain" FROM table_79810 WHE...
### Context: CREATE TABLE zzmzjzjlb ( 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_75857 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with a Home that is hamilton wildcats? ### Query: SELECT "Date" F...
### Context: CREATE TABLE table_name_46 ( venue VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue is the home field of Richmond? ### Query: SELECT venue FROM table_name_46 WHERE home_team = "richmond"
### Context: CREATE TABLE table_57423 ( "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 Venue has an Away Team Score o...
### Context: CREATE TABLE table_9969 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of March, when Score is '2 - 2', and when Game is greater than 67? ### Query: S...
### Context: CREATE TABLE table_79861 ( "Game" real, "Date" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- yankee stadium (i), and a Time of 3:00 has what attendance for this location? ### Query: SEL...
### Context: CREATE TABLE table_67021 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" text, "Entrant" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Engine had a Finish of 27? ### Query: SELECT "Engine" FROM table_6702...
### Context: CREATE TABLE table_70364 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average total for gold less than 1 and rank less than 5 ### Query: SELECT AVG("Total") F...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE table_30049462_4 ( location_attendance VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location and it's corresponding attendance during the game against Los Angeles? ### Query: SELECT location_attendance ...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGui...
### Context: CREATE TABLE table_204_318 ( id number, "date" text, "opponent" text, "venue" text, "result" text, "attendance" number, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people attended the game in november again...
### 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_61671 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player has a To par of 2? ### Query: SELECT "Player" FROM table_61671 WHERE "To par" = '...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) ...
### Context: CREATE TABLE table_16966 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which located featured the first prize o...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info ( KH text, ...
### Context: CREATE TABLE table_16449 ( "1973 Democratic initial primary" text, "Manhattan" text, "The Bronx" text, "Brooklyn" text, "Queens" text, "Richmond [Staten Is.]" text, "Total" real, "%" text ) -- Using valid SQLite, answer the following questions for the tables provided above...
### Context: CREATE TABLE table_63326 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the tie number of Chelsea when they were home? ### Query: SELECT "Tie no" FROM tab...
### Context: CREATE TABLE table_50038 ( "Year" real, "Round" text, "Player" text, "Nationality" text, "Position" text, "College/High School/Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round of the pf position player from 199...
### Context: CREATE TABLE table_29285 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many date of appointme...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ...
### Context: CREATE TABLE table_80078 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the school with state authority that has a roll of...
### Context: CREATE TABLE table_name_44 ( opponents_in_the_final VARCHAR, partnering VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the finals opponents for the match with partner Ricardo Hocevar? ### Query: SELECT opponents_in_the_final FROM table_...
### Context: CREATE TABLE table_204_775 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the only nation to receive three gold medals...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE table_name_27 ( republican_ticket VARCHAR, prohibition_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of Republican ticket has a Prohibition ticket of stephen mead wing? ### Query: SELECT republican_ticket FROM tab...
### Context: CREATE TABLE table_16429 ( "Rnd" real, "Race Name" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drove the fastest lap at ...
### 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 PostTypes ( Id number, N...
### Context: CREATE TABLE table_name_82 ( visitor VARCHAR, leading_scorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was the visitor when Milt Palacio (15) was the leading scorer? ### Query: SELECT visitor FROM table_name_82 WHERE leading_sco...
### Context: CREATE TABLE table_226619_12 ( points VARCHAR, respect_toward_opponents VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the points for 212 respect toward opponents ### Query: SELECT points FROM table_226619_12 WHERE respect_toward_opponents...
### 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_76307 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Wins" real, "Poles" real, "F.L." real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_43314 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the pick number for the wide receiver drafted from Michigan State? ### Query: ...
### Context: CREATE TABLE table_1140117_5 ( report VARCHAR, race_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the report for the race name, XIII Grand Prix de l'Albigeois? ### Query: SELECT report FROM table_1140117_5 WHERE race_name = "XIII G...
### Context: CREATE TABLE table_46750 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country is Rocco Mediate from? ### Query: SELECT "Country" FROM table_46750 WHERE "Playe...
### Context: CREATE TABLE table_28116528_1 ( original_air_date VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the episode with a production code of 3x6316 originally air? ### Query: SELECT original_air_date FROM table_...
### Context: CREATE TABLE table_name_68 ( attendance INTEGER, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest attendance at a game when Pittsburgh was the home team? ### Query: SELECT MIN(attendance) FROM table_name_68 WHERE home = "...
### Context: CREATE TABLE table_31528 ( "Episode no." real, "US Airdate" text, "US Total viewers" text, "UK Airdate" text, "UK Total viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers in the UK did episode 50 have? ### Query: ...
### 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_1165 ( "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 PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time...
### Context: CREATE TABLE table_name_37 ( opponent VARCHAR, home_away VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the opponent when the result is w 16-15 and has home/away of home ### Query: SELECT opponent FROM table_name_37 WHE...
### Context: CREATE TABLE table_name_79 ( notes VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for Happy Camp? ### Query: SELECT notes FROM table_name_79 WHERE title = "happy camp"
### Context: CREATE TABLE table_36968 ( "Frequency (kHz)" real, "Call letters" text, "Licensed location" text, "Type" text, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest frequency (kHz) that is in the location of Longv...
### Context: CREATE TABLE table_8818 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Raymond Floyd's score? ### Query: SELECT "Score" FROM table_8818 WHERE "Player" = 'ra...
### Context: CREATE TABLE table_name_18 ( score VARCHAR, record VARCHAR, game VARCHAR, decision VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the score for a game over 56 with a record of 29-24-7 with a lundqvist decision? ### Query: SELECT ...
### Context: CREATE TABLE WINE ( Name VARCHAR, price VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of all distinct wines ordered by price. ### Query: SELECT DISTINCT Name FROM WINE ORDER BY price
### Context: CREATE TABLE table_name_95 ( tournament VARCHAR, opponents_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament had an opponent of Els Callens Nancy Feber? ### Query: SELECT tournament FROM table_name_95 WHERE opponents_i...
### 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_10015132_9 ( school_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school/club team is Trey Johnson on? ### Query: SELECT school_club_team FROM table_10015132_9 WHERE player = "Trey Johnson"
### Context: CREATE TABLE table_19130829_4 ( team__number2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 2nd leg result in the round where Panionios is team #2? ### Query: SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number2 = "Panionios"
### Context: CREATE TABLE table_name_61 ( total_seats INTEGER, share_of_votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the share of votes equals 21.8%, what's the sum of the total amount of seats? ### Query: SELECT SUM(total_seats) FROM table_nam...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_204_938 ( id number, "year" number, "edmonton\nhundred" number, "elthorne\nhundred" number, "gore\nhundred" number, "isleworth\nhundred" number, "ossulstone\nhundred\nholborn\ndivision" number, "ossulstone\nhundred\nfinsbury\ndivision" number, "ossulst...
### Context: CREATE TABLE table_name_28 ( number_ VARCHAR, _name VARCHAR, date INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number & name for the date after 1954? ### Query: SELECT number_ & _name FROM table_name_28 WHERE date > 1954
### 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_33181 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance in week 6? ### Query: SELECT "Attendance" FROM table_33181 WHERE "...
### 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 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 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_67030 ( "Number" text, "Player" text, "Position" text, "Height" text, "Weight" text, "Home Town" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player's home town is Swift Current, AB? ### Query: SELECT "Pl...
### 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 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_train_83 ( "id" int, "systolic_blood_pressure_sbp" int, "renal_disease" bool, "diabetic" string, "estimated_glomerular_filtration_rate_egfr" int, "iq" int, "geriatric_depression_scale_gds" int, "NOUSE" float ) -- Using valid SQLite, answer the following ...
### Context: CREATE TABLE city ( Status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Please show the different statuses, ordered by the number of cities that have each. ### Query: SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*)
### Context: CREATE TABLE table_name_58 ( long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129? ### Query: SELECT SUM(...
### 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 table_name_79 ( perfect_stem VARCHAR, future_stem VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the perfect stem for the word that has a future stem of emango? ### Query: SELECT perfect_stem FROM table_name_79 WHERE future...
### Context: CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Coun...
### Context: CREATE TABLE table_75591 ( "Tournament" text, "Wins" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is his low win total when he has over 3 top 25s and under 9 cuts...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number i...
### Context: CREATE TABLE Addresses ( address_id INTEGER, address_details VARCHAR(255) ) CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_status_code VARCHAR(10), order_date DATETIME ) CREATE TABLE Department_Store_Chain ( dept_store_chain_id INTEGER, dept_st...
### Context: CREATE TABLE table_75388 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Game smaller than 34, and a December smaller than 14, and a Score of 10 - 6 has what opponen...
### Context: CREATE TABLE table_31649 ( "Year" real, "Championship" text, "Winning score" text, "Margin" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the margin at the Nabisco Championship? ### Query: SELECT "Margin" ...
### Context: CREATE TABLE table_name_27 ( bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average bronze with silver more than 0, total of 6 and gold more than 0 ### Query: SELECT AVG(bronz...
### Context: CREATE TABLE table_57476 ( "Name" text, "Block" text, "Launch date/time (UTC)" text, "COSPAR ID" text, "Rocket" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What block has a COSPAR ID of 1995-060a? ### Query: SELECT "Block" FROM tabl...
### Context: CREATE TABLE table_45790 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date is Jerilyn Britz the runner-up? ### Query: SELECT "Da...
### Context: CREATE TABLE table_2718 ( "Conference" text, "Regular Season Winner" text, "Conference Player of the Year" text, "Conference Tournament" text, "Tournament Venue (City)" text, "Tournament Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
### 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...