text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_6 ( score VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has an opponent gan teik chai lin woon fui? ### Query: SELECT score FROM table_name_6 WHERE opponent = "gan teik chai lin woon fui"
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate tim...
### Context: CREATE TABLE table_name_76 ( chicken_wing VARCHAR, steal_intercept_ball VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Chicken wing has no steal/intercept ball? ### Query: SELECT chicken_wing FROM table_name_76 WHERE steal_intercept_ball ...
### Context: CREATE TABLE table_name_97 ( home_team VARCHAR, road_team VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home Team has a Road Team of rochester, and a Result of 71-78? ### Query: SELECT home_team FROM table_name_97 WHE...
### Context: CREATE TABLE table_10420426_1 ( podiums VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the podium for 144 points? ### Query: SELECT podiums FROM table_10420426_1 WHERE points = 144
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline te...
### Context: CREATE TABLE table_43970 ( "Pilot" text, "Date" text, "Place" text, "Weapon" text, "Effect" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Place, when Weapon is '35mm/Small arms fire'? ### Query: SELECT "Place" FROM table_43970...
### Context: CREATE TABLE table_61848 ( "Poison/Klesha" text, "Sanskrit" text, "Pali" text, "Tibetan" text, "Alternate translations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the poison/klesha word for moha avijja in pali? ### Query: S...
### Context: CREATE TABLE table_63391 ( "Year" real, "Competition Description" text, "Location" text, "Apparatus" text, "Rank-Final" real, "Score-Final" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score-Final has a Rank-Final of 2, and ...
### Context: CREATE TABLE table_name_71 ( in_service INTEGER, vessel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest listed In service for a vessel of xavery czernicki class? ### Query: SELECT MIN(in_service) FROM table_name_71 WHERE vesse...
### Context: CREATE TABLE Financial_Transactions ( transaction_id INTEGER, previous_transaction_id INTEGER, account_id INTEGER, card_id INTEGER, transaction_type VARCHAR(15), transaction_date DATETIME, transaction_amount DOUBLE, transaction_comment VARCHAR(255), other_transaction_det...
### Context: CREATE TABLE table_22063 ( "Story No." text, "Episode" real, "Title" text, "Directed by" text, "Written by" text, "UK viewers (million)" text, "AI (%)" real, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_labitems ...
### Context: CREATE TABLE table_name_39 ( no_5 VARCHAR, no_6 VARCHAR, no_2 VARCHAR, no_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is No. 5, when No. 2 is Olivia, when No. 4 is Ava, and when No. 6 is Abigail? ### Query: SELECT no_5 FROM ta...
### Context: CREATE TABLE table_name_47 ( b_score INTEGER, position VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the average B Score that has the Position of 2nd, and the Total smaller than 15.525? ### Query: SELECT AVG(...
### Context: CREATE TABLE table_name_82 ( mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the mountains classification of Stage 7 when Kim Kirchen was the general classificatio...
### Context: CREATE TABLE table_name_7 ( home VARCHAR, visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the game on 11 March 2008 with a visiting team of Bucks, who was the home team? ### Query: SELECT home FROM table_name_7 WHERE...
### Context: CREATE TABLE table_name_13 ( population INTEGER, _percentage_lds VARCHAR, total_congregations VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Population, when % LDS is 0.54%, and when Total Congregations is greater than 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 hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XL...
### Context: CREATE TABLE Employee ( EmployeeId integer, LastName varchar(20), FirstName varchar(20), Title varchar(30), ReportsTo integer, BirthDate datetime, HireDate datetime, Address varchar(70), City varchar(40), State varchar(40), Country varchar(40), PostalCode var...
### Context: CREATE TABLE table_10389 ( "Round" text, "Pick" text, "Player" text, "Position" text, "Nationality" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the player from Round 2, ...
### Context: CREATE TABLE table_name_44 ( goals_against VARCHAR, team VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals against did Clitheroe have when the loss was larger than 2? ### Query: SELECT COUNT(goals_against) FROM tab...
### Context: CREATE TABLE table_10451 ( "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. -- At which venue did an away team pla...
### Context: CREATE TABLE table_44121 ( "Rank" real, "Title" text, "Studio" text, "Director" text, "Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank of the movie from Paramount Studios that grossed $200,512,643? ### Qu...
### Context: CREATE TABLE table_name_5 ( surface VARCHAR, outcome VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the surface played on when they were a runner-up in 2007? ### Query: SELECT surface FROM table_name_5 WHERE outcome =...
### Context: CREATE TABLE table_name_61 ( mintage INTEGER, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of all mintage created by Pierre Leduc? ### Query: SELECT SUM(mintage) FROM table_name_61 WHERE artist = "pierre leduc"
### Context: CREATE TABLE t_kc24 ( ACCOUNT_DASH_DATE time, ACCOUNT_DASH_FLG number, CASH_PAY number, CIVIL_SUBSIDY number, CKC102 number, CLINIC_ID text, CLINIC_SLT_DATE time, COMP_ID text, COM_ACC_PAY number, COM_PAY number, DATA_ID text, ENT_ACC_PAY number, ENT_PAY ...
### Context: CREATE TABLE table_39093 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### 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_68118 ( "Margin" real, "Score" text, "Opponent" text, "Venue" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average year for brookvale oval and margin more than 46 ### Query: SELECT AVG("Year")...
### Context: CREATE TABLE table_63346 ( "House" text, "Abbr." text, "Type" text, "Colour" text, "Boarding/Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which house has an abbreviation of G? ### Query: SELECT "House" FROM table_63346 WHERE "Ab...
### 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_203_655 ( id number, "goal" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the number of goals scored...
### Context: CREATE TABLE table_71920 ( "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 when their record was 36-20? ### Query: SELECT "Loss" FROM table_...
### Context: CREATE TABLE table_name_77 ( years VARCHAR, win_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the Win percentage 60%? ### Query: SELECT years FROM table_name_77 WHERE win_percentage = "60%"
### Context: CREATE TABLE table_33974 ( "Date" text, "Site" text, "Sport" text, "Winning team" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date had a site of N/A? ### Query: SELECT "Date" FROM table_33974 WHERE "Site" = 'n/a...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) ...
### Context: CREATE TABLE table_2795 ( "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 above...
### Context: CREATE TABLE table_name_86 ( birthplace VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the birthplace of the player who weighs 98 KG and was born on May 1, 1984? ### Query: SELECT birthplace ...
### Context: CREATE TABLE table_13416 ( "Round" real, "Date" text, "Home" text, "Result" text, "Visitor" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has an Attendance larger than 5,804, and a Re...
### Context: CREATE TABLE table_name_28 ( losses INTEGER, team VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of losses for Nottingham City with fewer than 0 wins? ### Query: SELECT MIN(losses) FROM table_name_28 ...
### 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_203_603 ( id number, "service" text, "service id" text, "bit rate" text, "audio channels" text, "description" text, "analogue availability" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the first service afte...
### Context: CREATE TABLE services ( service_name VARCHAR ) CREATE TABLE party_services ( service_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find name of the services that has never been used. ### Query: SELECT service_name FROM services EXCEPT SELE...
### 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 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 table_2196127_1 ( miles__km_ VARCHAR, race_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers were recorded under miles for the 3:00:46 race time? ### Query: SELECT COUNT(miles__km_) FROM table_2196127_1 WHERE rac...
### Context: CREATE TABLE Staff_Department_Assignments ( staff_id VARCHAR, date_assigned_to INTEGER, job_title_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is id of the staff who had a Staff Department Assignment earlier than any Clerical Sta...
### Context: CREATE TABLE table_14002 ( "City" text, "System" text, "Category" text, "Daily ridership" real, "As of" text, "Opened" real, "Stations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opened has a Category of diesel light r...
### Context: CREATE TABLE table_name_60 ( name VARCHAR, rank VARCHAR, placings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a rank great than 3 and a placing of 64? ### Query: SELECT name FROM table_name_60 WHERE rank > 3 AND placings = "64"
### Context: CREATE TABLE table_35764 ( "Date" text, "Venue" text, "Opponents" text, "Score" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Competition of fa cup rd 1 had what venue? ### Query: SELECT "Venue" FROM table_35764 WH...
### Context: CREATE TABLE table_61204 ( "Name" text, "Years" text, "Goals" real, "Apps" real, "Ratio" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Apps for the player with 150 Goals and a Ratio of 0.52? ### Query: SELECT "Apps" FROM t...
### Context: CREATE TABLE table_17190 ( "Country" text, "Population" real, "Area (km\u00b2)" real, "GDP (nominal)" text, "GDP per capita (nominal)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area (km ) for the country with a populati...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, cul...
### 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 diagnoses ( 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 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 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 patients ( row_id number, subject_id number, gender text, dob time, dod time ) 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, ...
### Context: CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text ) CR...
### 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 table_name_24 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the 1958 when 1957 is dnf-9 ### Query: SELECT 1958 FROM table_name_24 WHERE 1957 = "dnf-9"
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_...
### Context: CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Doc...
### Context: CREATE TABLE table_name_23 ( election VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 1st Member has an Election of 1895? ### Query: SELECT 1 AS st_member FROM table_name_23 WHERE election = "1895"
### Context: CREATE TABLE table_45627 ( "Date" text, "H/A/N" text, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Opponent in the game with a Score of 102-125? ### Query: SELECT "Opponent" FROM t...
### Context: CREATE TABLE table_26467 ( "Confederation" text, "Teams started" text, "Teams that have secured qualification" text, "Teams that can still qualify" text, "Teams that have been eliminated" text, "Remaining places in finals" text, "Total places in finals" text, "Qualifying sta...
### Context: CREATE TABLE table_name_69 ( circuit VARCHAR, length VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what circuit is there a race that lasts 2 hours? ### Query: SELECT circuit FROM table_name_69 WHERE length = "2 hours"
### 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 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 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_43187 ( "Team" text, "Match" text, "Points" text, "Draw" text, "Lost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the team that lost but had 10 points? ### Query: SELECT "Lost" FROM table_43187 WHERE "Poin...
### Context: CREATE TABLE table_name_50 ( venue VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue had the result 7-1? ### Query: SELECT venue FROM table_name_50 WHERE result = "7-1"
### Context: CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id...
### Context: CREATE TABLE table_70628 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_name_15 ( player VARCHAR, opponent VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What richmond player played against st kilda? ### Query: SELECT player FROM table_name_15 WHERE opponent = "st kilda" AND tea...
### Context: CREATE TABLE table_203_252 ( id number, "draw" number, "country" text, "language" text, "artist" text, "song" text, "english translation" text, "place" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- di...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean,...
### Context: CREATE TABLE table_name_67 ( points INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the Points in the game with a Score of 2 7? ### Query: SELECT SUM(points) FROM table_name_67 WHERE score = "2–7"
### Context: CREATE TABLE hz_info_mzjzjlb ( JZLSH number, YLJGDM number, mzjzjlb_id number ) 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, ...
### 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 college ( college_id text, name_full text, city text, state text, country text ) CREATE TABLE player_college ( player_id text, college_id text, year number ) CREATE TABLE home_game ( year number, league_id text, team_id text, park_id text, ...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### 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 Users ( Id number, Reput...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE...
### Context: CREATE TABLE table_33632 ( "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. -- Who was the away team at the game a...
### Context: CREATE TABLE table_name_70 ( total VARCHAR, silver VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0? ### Query: SELECT COUNT(total) ...
### Context: CREATE TABLE table_17403 ( "Vendor and type" text, "Models" text, "NetFlow Version" text, "Implementation" text, "Comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the comments when the vendor and type is alcatel-lucent ...
### Context: CREATE TABLE table_67807 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Score that has the Opponent of brewers, and the Atten...
### Context: CREATE TABLE table_62341 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Total, when Silver is less than 65, when Bronze is greater than 4, and ...
### Context: CREATE TABLE table_204_899 ( id number, "event" text, "date" text, "area" text, "tornadoes" number, "casualties" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which tornado event occurred after the late may 1965 t...
### Context: CREATE TABLE table_31207 ( "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 table_204_248 ( 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. -- which nation won the most gold medals ? ### Query: ...
### Context: CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number,...
### Context: CREATE TABLE table_37569 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wins have a Year of 1963, and a Class of 50cc? ### Query: SELECT AVG("Wins") FROM table_37569...
### Context: CREATE TABLE table_16125 ( "No." real, "#" real, "Title" text, "Director" text, "Writer" text, "US air date" text, "Storyteller" text, "Villains" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many have the number 8 ###...
### Context: CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender tex...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, ad...