text
stringlengths
197
8.39k
### Context: CREATE TABLE Allergy_type ( allergytype VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all allergy types. ### Query: SELECT DISTINCT allergytype FROM Allergy_type
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### 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 budget ( school_id number, year number, budgeted number, total_budget_percent_budgeted number, invested number, total_budget_percent_invested number, budget_invested_percent text ) CREATE TABLE school ( school_id text, school_name text, location text, ...
### Context: CREATE TABLE table_204_596 ( id number, "year" number, "winners" text, "score" text, "runners up" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team came in as runners up the most often between 1950 and 1960 ##...
### Context: CREATE TABLE table_204_835 ( id number, "rank" number, "lane" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many names are listed ? ### Query: SELECT COUNT("nam...
### Context: CREATE TABLE table_name_34 ( tournament VARCHAR, margin_of_victory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had a margin of victory of 6 strokes? ### Query: SELECT tournament FROM table_name_34 WHERE margin_of_victory = "...
### Context: CREATE TABLE checking ( custid number, balance number ) CREATE TABLE savings ( custid number, balance number ) CREATE TABLE accounts ( custid number, name text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name and checkin...
### 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 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 jybgb ( BBCJBW text,...
### Context: CREATE TABLE table_54163 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player had numbers of 20 ### Q...
### Context: CREATE TABLE table_29457 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE table_name_55 ( qual VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1966's Qual rating? ### Query: SELECT qual FROM table_name_55 WHERE year = "1966"
### Context: CREATE TABLE table_41260 ( "Rank" real, "Country" text, "Winner" real, "Runner -up" real, "Losing Semi- finalist" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank has a Runner -up smaller than 0? ### Query: SELECT MAX("Rank") ...
### Context: CREATE TABLE table_27030 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What championships were played on clay and the ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### Context: CREATE TABLE table_name_18 ( source VARCHAR, cardwell VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What source has a cardwell of 20%? ### Query: SELECT source FROM table_name_18 WHERE cardwell = "20%"
### 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_45418 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the race title when the winner is dick johnson and the circ...
### Context: CREATE TABLE table_name_19 ( opponent VARCHAR, march VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent's march was 31? ### Query: SELECT opponent FROM table_name_19 WHERE march = 31
### 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_78259 ( "Athlete" text, "Event" text, "Snatch" real, "Clean & Jerk" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event has a 122.5 snatch rate? ### Query: SELECT "Event" FROM table_78259 WHERE "S...
### Context: CREATE TABLE table_33378 ( "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 was the average size of the cr...
### Context: CREATE TABLE table_21284653_1 ( census_division VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the census division for the name Stratford? ### Query: SELECT census_division FROM table_21284653_1 WHERE name = "Stratford"
### Context: CREATE TABLE table_name_54 ( score VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the game against the Golden State Warriors? ### Query: SELECT score FROM table_name_54 WHERE opponent = "golden state war...
### Context: CREATE TABLE table_33999 ( "Rank" text, "Runs" text, "Player" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player was at Albion? ### Query: SELECT "Player" FROM table_33999 WHERE...
### Context: CREATE TABLE table_43690 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average score of player lee trevino, who has a t8 place? ### Query: SELECT AVG("S...
### Context: CREATE TABLE purchase ( member_id number, branch_id text, year text, total_pounds number ) CREATE TABLE member ( member_id number, card_number text, name text, hometown text, level number ) CREATE TABLE membership_register_branch ( member_id number, branch_id t...
### Context: CREATE TABLE table_name_20 ( rna_segment__gene_ INTEGER, protein VARCHAR, size___s_base_pair__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest RNA segment having a protein of vp2 and a base pair size over 2690? ### Query:...
### Context: CREATE TABLE table_26020 ( "#" real, "Title" text, "Original airdate" text, "Timeslot" text, "Viewers (millions)" text, "Nightly rank" real, "Weekly rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did 'Man in the Machi...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE table_68014 ( "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 Gold Coast has a Perth of no, a Sydney of yes, and an Auck...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE diagnos...
### Context: CREATE TABLE table_7446 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has a Difference of ...
### 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_26912 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was drafted by the calgary stampeders? ### Query: SELECT "Player" FROM table_26912 W...
### Context: CREATE TABLE products ( code number, name text, price number, manufacturer number ) CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_35335 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has final as the round? ### Query: SELECT "Opponent" FROM...
### Context: CREATE TABLE table_17785 ( "Day" text, "Sunday Surya (the Sun)" text, "Monday Soma (the Moon)" text, "Tuesday Mangala (Mars)" text, "Wednesday Budha (Mercury)" text, "Thursday Guru (Jupiter)" text, "Friday Shukra (Venus)" text, "Saturday Shani (Saturn)" text ) -- Using val...
### Context: CREATE TABLE table_name_43 ( total INTEGER, bronze VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals? ### Query: SELECT MAX(total...
### Context: CREATE TABLE table_60747 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the position of the event held in Valencia, Spain? ### Query: SELECT "Position" ...
### Context: CREATE TABLE table_10716893_3 ( lap_by_lap VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who does the lap-by-lap in 2011? ### Query: SELECT lap_by_lap FROM table_10716893_3 WHERE year = 2011
### Context: CREATE TABLE song ( artist_name VARCHAR, releasedate VARCHAR ) CREATE TABLE artist ( artist_name VARCHAR, gender VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the name and gender for all artists who released songs in March. ### Q...
### Context: CREATE TABLE table_16299 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE cost ( row_i...
### Context: CREATE TABLE table_67042 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did Ku Hyo-Jin rank? ### Query: SELECT COUNT("Rank") FROM table_67042 WHERE "Name" = 'ku h...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_1705 ( "Episode #" real, "Title" text, "Director" text, "Screenwriter" text, "Original airdate" text, "English airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the numbers of episodes that were bro...
### Context: CREATE TABLE table_29577 ( "Year" real, "Player" text, "Country" text, "Score" text, "To par" text, "Margin of victory" text, "Course" text, "Location" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE table_204_717 ( id number, "season" text, "level" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which season came in last place ? ### Query: SELECT "season" FROM table_204_717 ORDER BY "pl...
### Context: CREATE TABLE music_festival ( id number, music_festival text, date_of_ceremony text, category text, volume number, result text ) CREATE TABLE artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE volume (...
### Context: CREATE TABLE table_203_358 ( id number, "pos." number, "athlete" text, "run 1" number, "run 2" number, "total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which athlete took first place ? ### Query: SELECT "athlete" FROM table_2...
### Context: CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE comment_instructor ( inst...
### 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_29048 ( "Date" text, "Time" text, "Visiting team" text, "Home team" text, "Site" text, "Broadcast" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team in ...
### Context: CREATE TABLE table_name_30 ( tv_time VARCHAR, home_team VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the TV time for the road game against Phoenix where the score was 98-99? ### Query: SELECT tv_time FROM table_na...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, ...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE wdmzjzjlb ( 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JS...
### Context: CREATE TABLE table_51399 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of birth of Henry Qiodravu? ### Query: SELECT "Date of ...
### 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_name_94 ( party VARCHAR, votes_cast VARCHAR, seats_won VARCHAR, percent_of_seats VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast? ### Que...
### Context: CREATE TABLE table_name_30 ( method VARCHAR, result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the method when the result is loss on january 19, 2008? ### Query: SELECT method FROM table_name_30 WHERE result = "los...
### Context: CREATE TABLE table_name_67 ( color_code__with_fusible_link_ VARCHAR, temperature_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the color code with a temperature classification of ordinary? ### Query: SELECT color_code__w...
### Context: CREATE TABLE table_name_79 ( finish VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Australia s finish? ### Query: SELECT finish FROM table_name_79 WHERE country = "australia"
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( JYZBLSH te...
### Context: CREATE TABLE table_32336 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What circuit did Luigi Villoresi win the Lausanne Grand ...
### Context: CREATE TABLE table_18278508_6 ( scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the scores by the individual judges for Karanvir Bohra on August 13? #...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_name_67 ( visitor VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which visiting team had a record of 31 31 8? ### Query: SELECT visitor FROM table_name_67 WHERE record = "31–31–8"
### 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 table_49361 ( "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of ahaziah? ### Query: SELECT "Title" FROM table_49361 WHERE "Name" = 'ahazi...
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID ...
### Context: CREATE TABLE table_45737 ( "Season" text, "Team 1" text, "Score" text, "Team 2" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Team 2 of Yokohama F. Marinos in the n/a venue had what score? ### Query: SELECT "Score" FROM ...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar...
### Context: CREATE TABLE table_76140 ( "Title" text, "Season" text, "Winner" text, "Score" text, "Runner-up" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the winner when the runner-up shows b...
### Context: CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_...
### Context: CREATE TABLE table_30120761_1 ( area__acres__ VARCHAR, civil_parish VARCHAR, townland VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the acreage of the Maghereen in the civil parish of Macroom? ### Query: SELECT COUNT(area__acres__)...
### Context: CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE table_name_30 ( pick__number VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of picks for Calgary College? ### Query: SELECT COUNT(pick__number) FROM table_name_30 WHERE college = "calgary"
### Context: CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistoryTypes ( Id number, Name tex...
### 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_80309 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Rank for a lane smaller than 3 with a nationality of Australia? ### Query: ...
### Context: CREATE TABLE table_203_837 ( id number, "rank" number, "name" text, "height\nft / m" text, "floors" number, "year" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the tallest building in columbus ? ### Qu...
### 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 table_69993 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? ### Que...
### Context: CREATE TABLE table_35483 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" real, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ERP W has a Frequency MHz of 89.3 fm? ### Query: SELECT MAX("ERP W...
### 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 Votes ( Id number, PostI...
### Context: CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy V...
### Context: CREATE TABLE tags ( index number, id number, tag text ) CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) -- Using valid SQLite, answer the following questions for the tables ...
### 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_204_738 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in which years did they finish at least 3rd ? #...
### Context: CREATE TABLE table_35883 ( "Year" real, "Chassis" text, "Engine" text, "Start" real, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average finish that has a start greater than 3, with honda as the ...
### Context: CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit ...
### Context: CREATE TABLE table_25214321_1 ( contestants INTEGER, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many contestants were there when the runner-up was S rgio Abreu? ### Query: SELECT MAX(contestants) FROM table_25214321_1 WHERE ru...