text
stringlengths
197
8.39k
### 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 aircraft ( aircraft_id number, aircraft text, description text, max_gross_weight text, total_disk_area text, max_disk_loading text ) CREATE TABLE airport ( airport_id number, airport_name text, total_passengers number, %_change_2007 text, internatio...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName tex...
### Context: CREATE TABLE greatermanchestercrime ( crimeid text, crimets time, location text, lsoa text, type text, outcome text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many crimes are still 'Under investigation' to date? ### Query: SELEC...
### Context: CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE...
### Context: CREATE TABLE station ( name VARCHAR, station_id VARCHAR ) CREATE TABLE train_station ( station_id VARCHAR, train_id VARCHAR ) CREATE TABLE train ( train_id VARCHAR, Name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are t...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_5509 ( "RBIs" real, "Player" text, "Team" text, "Date" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is associated with the date May 10, 1999? ### Query: SELECT "Player" FROM table_5509...
### Context: CREATE TABLE table_18274425_1 ( no_in_season VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes had a viewership of 2.65 million? ### Query: SELECT COUNT(no_in_season) FROM table_18274425_1 WHERE us_...
### Context: CREATE TABLE table_name_72 ( team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2nd leg for the team 2 Milano? ### Query: SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano"
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( ...
### Context: CREATE TABLE table_38945 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance for the game that was after week 4 and on November 14, 1954?...
### Context: CREATE TABLE table_72561 ( "Rank" text, "Common of" text, "Population" real, "Area (km 2 )" text, "Density (inhabitants/km 2 )" text, "Altitude (mslm)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the density of the common...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_name_87 ( date VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the date for 6 3, 6 2 ### Query: SELECT date FROM table_name_87 WHERE score = "6–3, 6–2"
### Context: CREATE TABLE table_name_87 ( score VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that had an attendance of 32,036? ### Query: SELECT score FROM table_name_87 WHERE attendance = "32,036"
### Context: CREATE TABLE table_name_66 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team's score at glenferrie oval? ### Query: SELECT home_team AS score FROM table_name_66 WHERE venue = "glenferrie oval"
### Context: CREATE TABLE table_43121 ( "Team" text, "Country" text, "Home" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the lead on the Europe team that has a Liudmila Privivko...
### Context: CREATE TABLE table_name_72 ( score VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the Spurs' record was 43-13? ### Query: SELECT score FROM table_name_72 WHERE record = "43-13"
### Context: CREATE TABLE table_42613 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Unit" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status where the notes are possible jr synon...
### Context: CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, ...
### Context: CREATE TABLE table_7067 ( "Date" text, "Opponent" text, "Location" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when the opponent was virginia? ### Query: SELECT SUM("Attendan...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varch...
### Context: CREATE TABLE table_27906667_2 ( legs_lost VARCHAR, high_checkout VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many legs were lost when the high checkout was 101? ### Query: SELECT COUNT(legs_lost) FROM table_27906667_2 WHERE high_checkout...
### Context: CREATE TABLE table_name_96 ( score VARCHAR, opponent VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for the game against Malacca at the Klfa Stadium, Cheras? ### Query: SELECT score FROM table_name_96 WHERE ...
### 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 table_name_31 ( high_points VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the High points with a Game that is 56? ### Query: SELECT high_points FROM table_name_31 WHERE game = 56
### Context: CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE faculty ( campus number, year number, faculty number ) ...
### Context: CREATE TABLE table_name_92 ( bronze INTEGER, silver VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest bronze number when silver is 0, and the total is smaller than 1? ### Query: SELECT MAX(bronze) FROM table_...
### Context: CREATE TABLE table_203_370 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first marathon juma ikangaa won ? ### Q...
### Context: CREATE TABLE table_8054 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Falcons points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the opponents with a record of 3-0? ##...
### 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_name_85 ( notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for the shirt that says +1 in the kit supplied by Rapido? ### Query: SELECT notes FROM table_...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid nu...
### 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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varc...
### Context: CREATE TABLE fgwyjzb ( 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, INSUR...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time 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, depa...
### Context: CREATE TABLE table_name_66 ( tie_no INTEGER, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the tie no when the attendance is 126? ### Query: SELECT AVG(tie_no) FROM table_name_66 WHERE attendance = 126
### Context: CREATE TABLE diagnoses ( 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, reli...
### Context: CREATE TABLE table_60945 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place of the player with 140,000 and a 68-68-75-68=27...
### Context: CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_...
### Context: CREATE TABLE table_8787 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much money does player ben crenshaw, who has a t4 place, have? ###...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) 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 ...
### Context: CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int,...
### Context: CREATE TABLE table_name_88 ( score VARCHAR, year VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Year is before 2007, and when Tournament is 'Sydney'? ### Query: SELECT score FROM table_name_88 WHERE y...
### Context: CREATE TABLE table_28742 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many 'series' w...
### Context: CREATE TABLE table_71255 ( "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 name of the venue when the competition was friendly, with a Result of 2 3? ### ...
### Context: CREATE TABLE table_22884 ( "Performer" text, "Performances" real, "Category" text, "First performance" text, "Last performance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last performance of leon varkas category:articles...
### Context: CREATE TABLE table_name_1 ( total INTEGER, country VARCHAR, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is United States total in the year(s) won of 2000 , 2005 , 2006? ### Query: SELECT MIN(total) FROM table_name_1 WHER...
### Context: CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, Creation...
### Context: CREATE TABLE diagnoses ( 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, reli...
### 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 table_name_16 ( game VARCHAR, road_team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Game on April 13 with Road Team St. Louis? ### Query: SELECT game FROM table_name_16 WHERE road_team = "st. louis"...
### Context: CREATE TABLE table_name_94 ( gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total? ### Query: SEL...
### 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 SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, ...
### Context: CREATE TABLE table_204_129 ( id number, "place" number, "team" text, "titles" number, "runners-up" number, "winning years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of runers up titles awarded ? ### Q...
### Context: CREATE TABLE table_14861 ( "Round" text, "Track" text, "Race 1" text, "Race 2" text, "Race 3" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton? ### Query: SELECT "Rac...
### Context: CREATE TABLE table_55475 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank for players with under 26 events and less th...
### Context: CREATE TABLE table_name_97 ( score VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of game 36? ### Query: SELECT score FROM table_name_97 WHERE game = 36
### Context: CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ...
### Context: CREATE TABLE table_name_6 ( time_retired VARCHAR, laps VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time/Retired with over 56 laps and a grid of 5? ### Query: SELECT time_retired FROM table_name_6 WHERE laps > 56...
### Context: CREATE TABLE table_name_72 ( school VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did delray brooks go to? ### Query: SELECT school FROM table_name_72 WHERE player = "delray brooks"
### Context: CREATE TABLE table_name_6 ( production_code INTEGER, written_by VARCHAR, season__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest production code when the writer was brian egeston after season 5? ### Query: SELECT M...
### Context: CREATE TABLE table_80243 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which representative was the Ambassador Ext...
### Context: CREATE TABLE table_8502 ( "Date" text, "Time" text, "Home" text, "Guest" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)? ### Query: SELECT "...
### Context: CREATE TABLE table_name_97 ( years VARCHAR, model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the years for the 250 model? ### Query: SELECT years FROM table_name_97 WHERE model = "250"
### Context: CREATE TABLE table_203_211 ( id number, "pos." number, "time" text, "athlete" text, "country" text, "venue" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many countries have at least one athlete who ranks in th...
### Context: CREATE TABLE table_name_5 ( date VARCHAR, away VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date with an Away that is broadview hawks? ### Query: SELECT date FROM table_name_5 WHERE away = "broadview hawks"
### Context: CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) 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,...
### Context: CREATE TABLE table_58046 ( "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 is the away team score at the ...
### Context: CREATE TABLE table_29084 ( "Round #" text, "Home Team" text, "Win/Loss" text, "Score" text, "Opposition" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opposition when the score is 37 - 28? ### Query: SE...
### Context: CREATE TABLE table_19206 ( "Elementary Schools" text, "Mascot" text, "Address" text, "Principal (2013-2014)" text, "Assistant Principal (2013-2014)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which elementary schools list Cort Monro...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_3631 ( "No. in series" real, "No. in season" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables pro...
### Context: CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, ...
### Context: CREATE TABLE table_44031 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Tie no when the Home team was Ramsgate? ### Query: SELECT "Tie no" FRO...
### Context: CREATE TABLE table_68019 ( "Sydney" text, "Melbourne" text, "Perth" text, "Adelaide" text, "Gold Coast" text, "Auckland" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Adelaide has an Auckland of yes, a Melbourne of yes, a Per...
### Context: CREATE TABLE table_name_58 ( weight VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the weight of the player with a height of 2.00m? ### Query: SELECT weight FROM table_name_58 WHERE height = "2.00"
### Context: CREATE TABLE table_4210 ( "Player" text, "Starts" real, "Cuts made" real, "Best finish" text, "Money list rank" text, "Earnings ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ranks on the money list had a best finish o...
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_name_8 ( high_rebounds VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is High Rebounds, when Date is 'March 12'? ### Query: SELECT high_rebounds FROM table_name_8 WHERE date = "march 12"
### Context: CREATE TABLE table_22573 ( "Episode #" real, "Air date" text, "Team 1" text, "Players left after Round 1" text, "Team 2" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date that had the wykeham wonderers as team...
### 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_train_215 ( "id" int, "hemoglobin_a1c_hba1c" float, "hgba1c" float, "estimated_glomerular_filtration_rate_egfr" int, "kidney_disease" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions fo...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE labe...
### Context: CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, A...
### Context: CREATE TABLE table_44331 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the grid when the rider is mika kallio? ### Query: SELECT MAX("Grid") FROM table_4433...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE city ( city_code varchar, city_n...
### Context: CREATE TABLE table_27654988_1 ( opponent VARCHAR, competition VARCHAR, scorers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent in the Women's Cup 0 0 where Branc o Couto 0 is the scorer? ### Query: SELECT opponent FROM t...
### Context: CREATE TABLE table_59702 ( "Place" real, "Nation" text, "All Around" real, "Final" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average final with an all around larger than 19.4 and total more than 39.9? ###...
### 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 procedures ( 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_...
### Context: CREATE TABLE table_name_20 ( week INTEGER, date VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended? ### Query: SELECT SUM...
### Context: CREATE TABLE table_name_86 ( rank INTEGER, goals VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean rank number when goals are 230 and there are more than 535? ### Query: SELECT AVG(rank) FROM table_name_86 WHE...
### Context: CREATE TABLE table_72501 ( "Shirt No" real, "Nationality" text, "Player" text, "Birth Date" text, "Height" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How tall is Maksim Botin? ### Query: SELECT "Height" FROM ta...
### Context: CREATE TABLE table_24291 ( "Episode number" real, "Total episodes" real, "Title" text, "Original UK broadcast by" text, "Original UK airdate" text, "DVD reference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is episode is 'B...