text
stringlengths
197
8.39k
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE patients ( row_id number, s...
### 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_77 ( losses INTEGER, club VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Cobden has more than 1487 against and what average of losses? ### Query: SELECT AVG(losses) FROM table_name_77 WHERE club = "c...
### Context: CREATE TABLE table_name_58 ( start_term INTEGER, end_term VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Start term with a 1912 end term? ### Query: SELECT AVG(start_term) FROM table_name_58 WHERE end_term = 1912
### Context: CREATE TABLE table_name_79 ( director VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the movie The Star Packer? ### Query: SELECT director FROM table_name_79 WHERE title = "the star packer"
### 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 book ( Book_ID int, Title text, Issues real, Writer text ) CREATE TABLE publication ( Publication_ID int, Book_ID int, Publisher text, Publication_Date text, Price real ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_7605 ( "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. -- Which Tie has a Score of 5 1? ### Query: SELECT "Tie no" FROM table_7605 WHERE "Score" = '...
### Context: CREATE TABLE table_25716399_1 ( written_by VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode where the original air date is july20,2007? ### Query: SELECT written_by FROM table_25716399_1 WHERE orig...
### Context: CREATE TABLE table_name_41 ( byes VARCHAR, losses VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of byes that has 13 losses and wins less than 5? ### Query: SELECT COUNT(byes) FROM table_name_41 WHERE ...
### 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_name_12 ( position INTEGER, name VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest position when the name is esv t rkheim, and Drawn more than 0? ### Query: SELECT MIN(position) FROM table_n...
### 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 table_name_56 ( week INTEGER, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average week for result of l 28 17 ### Query: SELECT AVG(week) FROM table_name_56 WHERE result = "l 28–17"
### Context: CREATE TABLE table_25474825_1 ( description VARCHAR, software VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the description of the intact software? ### Query: SELECT description FROM table_25474825_1 WHERE software = "IntAct"
### Context: CREATE TABLE table_name_77 ( surface VARCHAR, outcome VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997? ### Query: SELECT surface FROM ta...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) C...
### Context: CREATE TABLE table_name_56 ( streak VARCHAR, game INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Streak has a Game larger than 49? ### Query: SELECT streak FROM table_name_56 WHERE game > 49
### Context: CREATE TABLE table_name_34 ( ubigeo INTEGER, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Chep n's average UBIGEO? ### Query: SELECT AVG(ubigeo) FROM table_name_34 WHERE province = "chepén"
### Context: CREATE TABLE table_name_81 ( played VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Played, when Tries Against is '63'? ### Query: SELECT played FROM table_name_81 WHERE tries_against = "63"
### Context: CREATE TABLE table_21021796_1 ( torque VARCHAR, stroke VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the torque possible when the stroke is 88.4mm? ### Query: SELECT torque FROM table_21021796_1 WHERE stroke = "88.4mm"
### Context: CREATE TABLE table_62469 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" text, "Location of the Church" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Parish (Prestegjeld) was built in 190...
### Context: CREATE TABLE table_name_90 ( builder VARCHAR, works_number VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the builder for 4/1906 and works number more than 199 ### Query: SELECT builder FROM table_name_90 WHERE works_numb...
### Context: CREATE TABLE policies ( policy_type_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of records of each policy type and its type code. ### Query: SELECT policy_type_code, COUNT(*) FROM policies GROUP BY policy_type_code
### Context: CREATE TABLE table_72226 ( "Member" text, "Week Arrived On Main Island" text, "Week Sent To Third Island" text, "Original Tribe" text, "Tribe They Chose To Win" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many members arrived on ...
### Context: CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) -- Using valid SQLite, answer the ...
### 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_64847 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner at Milan Circuit Race? ### Query: SELECT "Winner" FROM table_64847 WHERE "C...
### Context: CREATE TABLE table_12119 ( "Mininera DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE HIGHEST WINS WITH AGAINST SMALLER THAN 924, LOSSES SMALLER T...
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, Cre...
### Context: CREATE TABLE table_203_305 ( id number, "round" number, "#" number, "player" text, "nationality" text, "college/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list each player drafted from canada . ### Qu...
### Context: CREATE TABLE table_42156 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Series in 2009? ### Query: SELECT "Series" F...
### Context: CREATE TABLE table_name_50 ( date VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when the away team was carlisle united? ### Query: SELECT date FROM table_name_50 WHERE away_team = "carlisle united"
### Context: CREATE TABLE table_30578 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nationality is listed when the college/jun...
### Context: CREATE TABLE table_name_18 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the away team that played home team Geelong? ### Query: SELECT away_team AS score FROM table_name_18 WHERE home_team =...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, even...
### Context: CREATE TABLE table_name_20 ( country VARCHAR, airport VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has the Narita International Airport? ### Query: SELECT country FROM table_name_20 WHERE airport = "narita international airport"
### Context: CREATE TABLE table_14655 ( "City" text, "Province/Region" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city has an IATA of tsa? ### Query: SELECT "City" FROM table_1...
### Context: CREATE TABLE table_name_89 ( played INTEGER, lost VARCHAR, goal_difference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number played when there were less than 13 losses and a goal difference of +46? ### Query: SELECT ...
### Context: CREATE TABLE dependent ( Dependent_name VARCHAR, relationship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- find all dependent names who have a spouse relation with some employee. ### Query: SELECT Dependent_name FROM dependent WHERE relations...
### Context: CREATE TABLE table_name_52 ( constructor VARCHAR, engine_† VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What constructor has an engine of cosworth cr-2 and a driver of luciano burti? ### Query: SELECT constructor FROM tabl...
### Context: CREATE TABLE table_204_886 ( id number, "rank" number, "swimmer" text, "country" text, "time" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitors from venezuela qualified for the final ? ### Query: SELE...
### Context: CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEG...
### Context: CREATE TABLE table_29005 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the nhl team for the player john maclea...
### Context: CREATE TABLE table_name_42 ( original_name VARCHAR, singer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original name for the song performed by Brad Kavanagh? ### Query: SELECT original_name FROM table_name_42 WHERE singer_s_ ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost ...
### Context: CREATE TABLE table_name_73 ( mountain_peak VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the mountain peak when the location is 37.5775 n 105.4856 w? ### Query: SELECT mountain_peak FROM table_name_73 WHERE location =...
### Context: CREATE TABLE table_46332 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which the highest Round has a Player of mike williams, and a Pick # larger than 4? ### Que...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Badges ( Id number, UserId number, Name t...
### 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 ref_colors ( color_code text, color_description text ) CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text ) CREATE TABLE ref_characteris...
### Context: CREATE TABLE table_80283 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does Mario Kasun play? ### Query: SELECT "Position" FROM table_8028...
### Context: CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE student_record ( student_id int, course_id int, ...
### 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_45684 ( "Wicket" text, "Runs" text, "Batting partners" text, "Batting team" text, "Fielding team" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the batting team in the 200...
### Context: CREATE TABLE table_35054 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which round was Robert Deciantis taken in? ### Query: SELECT "Round"...
### Context: CREATE TABLE artist ( artist_name varchar2(50), country varchar2(20), gender varchar2(20), preferred_genre varchar2(50) ) CREATE TABLE song ( song_name varchar2(50), artist_name varchar2(50), country varchar2(20), f_id number(10), genre_is varchar2(20), rating numbe...
### 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 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 student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ) CREATE TABLE video_games ( gameid number, gna...
### Context: CREATE TABLE College ( cName VARCHAR, enr VARCHAR, state VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment. ### Query: SELECT c...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( row_id number...
### Context: CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Apartments ( apt_i...
### Context: CREATE TABLE table_23292220_13 ( scores VARCHAR, seans_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team? ### Query: SELECT scores FROM table_23292220_...
### Context: CREATE TABLE table_2208838_4 ( team VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had an average of 20.4? ### Query: SELECT team FROM table_2208838_4 WHERE average = "20.4"
### Context: CREATE TABLE table_24329520_4 ( fate_in_1832 VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the fate in 1832 for pembrokeshire ### Query: SELECT fate_in_1832 FROM table_24329520_4 WHERE county = "Pembrokeshire"
### Context: CREATE TABLE basketball_match ( team_id number, school_id number, team_name text, acc_regular_season text, acc_percent text, acc_home text, acc_road text, all_games text, all_games_percent number, all_home text, all_road text, all_neutral text ) CREATE TABLE...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_name_80 ( build_date VARCHAR, prr_class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the build date for PRR Class gf30a? ### Query: SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a"
### Context: CREATE TABLE table_2581397_4 ( distance VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the distance in the Manikato Stakes race? ### Query: SELECT distance FROM table_2581397_4 WHERE race = "Manikato Stakes"
### Context: CREATE TABLE table_31507 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many acres does the area of Lissagroom with Bandon as its poor law...
### Context: CREATE TABLE Guests ( guest_first_name VARCHAR, guest_last_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Return the first names and last names of all guests ### Query: SELECT guest_first_name, guest_last_name FROM Guests
### Context: CREATE TABLE table_178242_7 ( season VARCHAR, the_mole VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season is it when Milouska was the show's mole ? ### Query: SELECT season FROM table_178242_7 WHERE the_mole = "Milouska"
### Context: CREATE TABLE table_train_248 ( "id" int, "anemia" bool, "prostate_specific_antigen_psa" float, "hemoglobin_a1c_hba1c" float, "body_weight" float, "fasting_triglycerides" int, "hyperlipidemia" bool, "hgb" int, "fasting_total_cholesterol" int, "fasting_ldl_cholesterol"...
### Context: CREATE TABLE table_31537 ( "Place" real, "Title" text, "Platform" text, "Publisher" text, "Units sold" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the average units sold for square enix ### Query: SELECT AVG("Units sold") FR...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_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_23585197_3 ( position VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position of the song thar genjor mcnell performed? ### Query: SELECT position FROM table_23585197_3 WHERE artist = "Genjor McNel...
### Context: CREATE TABLE table_name_19 ( year VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year for the United Arab Emirates? ### Query: SELECT COUNT(year) FROM table_name_19 WHERE country = "united arab emirates"
### Context: CREATE TABLE table_204_11 ( id number, "year" number, "fbs opponent" text, "result" text, "opponent's conference" text, "opponent's head coach" text, "charleston southern's head coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_31075 ( "Train Number" real, "Train Name" text, "Departure Pune" text, "Arrival Lonavla" text, "Frequency" text, "Origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what time does the train that arrives in lon...
### Context: CREATE TABLE table_3459 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for the...
### Context: CREATE TABLE table_20527 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What conference doe...
### Context: CREATE TABLE table_67637 ( "Episode" text, "First aired" text, "Entrepreneur(s)" text, "Company or product name" text, "Money requested (\u00a3)" text, "Investing Dragon(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much mo...
### Context: CREATE TABLE table_39275 ( "Year" real, "Class" text, "Team" text, "Points" real, "Rank" text, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rank has a team of Suzuki with under 16 points? ### Query: SELECT "Rank" FRO...
### 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 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 table_43987 ( "Name" text, "Location" text, "Country" text, "Longest span" text, "Pylons" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the third bridge over panama canal? ### Query: SELECT "Location" FROM table...
### Context: CREATE TABLE table_37600 ( "Rank" real, "Airport" text, "Code (IATA/ICAO)" text, "Total Cargo (Metric Tonnes)" real, "% Change" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average total cargo in metric tonnes that has an 1...
### Context: CREATE TABLE table_36964 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent has a Time of 2:31? ### Query: SELECT "Oppo...
### Context: CREATE TABLE table_49351 ( "Average population (x 1000)" text, "Live births 1" text, "Deaths 1" text, "Natural change 1" text, "Crude birth rate (per 1000)" real, "Crude death rate (per 1000)" real, "Natural change (per 1000)" real ) -- Using valid SQLite, answer the following...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), ...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE diagnoses_icd ( row_id number, ...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_11677100_18 ( school VARCHAR, hometown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did the player attend who's hometown was Montvale, NJ? ### Query: SELECT school FROM table_11677100_18 WHERE hometown = "Montva...
### Context: CREATE TABLE table_name_72 ( player VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player placed t10? ### Query: SELECT player FROM table_name_72 WHERE place = "t10"
### 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE table_name_82 ( wins INTEGER, points VARCHAR, draws VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of wins for club Cd Orense, with points greater than 36 and more than 4 draws? ### ...
### Context: CREATE TABLE table_22883210_7 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total score for january 18? ### Query: SELECT COUNT(score) FROM table_22883210_7 WHERE date = "January 18"