text
stringlengths
197
8.39k
### Context: CREATE TABLE table_203_38 ( id number, "#" number, "title" text, "producer(s)" text, "performer(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many songs are at least 4 minutes long ? ### Query: SELECT COUNT(...
### 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 purchase ( member_id number, branch_id text, year text, total_pounds number ) CREATE TABLE membership_register_branch ( member_id number, branch_id text, register_year text ) CREATE TABLE member ( member_id number, card_number text, name text, home...
### Context: CREATE TABLE round ( Round_ID int, Member_ID int, Decoration_Theme text, Rank_in_Round int ) CREATE TABLE college ( College_ID int, Name text, Leader_Name text, College_Location text ) CREATE TABLE member ( Member_ID int, Name text, Country text, College_ID...
### Context: CREATE TABLE table_name_30 ( pole_position VARCHAR, fastest_lap VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11? ### Query: SELEC...
### Context: CREATE TABLE table_76511 ( "Finished" text, "Horse" text, "Jockey" text, "Trainer" text, "Odds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Finished place for da'tara trained by Nick zito? ### Query: SELECT "Finished" FR...
### Context: CREATE TABLE table_5160 ( "Round" text, "Pick" real, "Overall" real, "Name" text, "Position" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the players name in the guard position? ### Query: SELECT "Name" FROM ...
### Context: CREATE TABLE museums ( museum_id number, museum_details text ) CREATE TABLE tourist_attraction_features ( tourist_attraction_id number, feature_id number ) CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE locations ( location_id number, locat...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### 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_17357929_1 ( lost INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fewest number of games lost? ### Query: SELECT MIN(lost) FROM table_17357929_1
### Context: CREATE TABLE table_55812 ( "Locomotive" text, "Serial No" text, "Entered service" text, "Gauge" text, "Livery" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the livery of the locomotive with a serial number 83-1010? ### Query:...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( ...
### Context: CREATE TABLE table_name_43 ( loss VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What loss happened june 8? ### Query: SELECT loss FROM table_name_43 WHERE date = "june 8"
### Context: CREATE TABLE diagnoses_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, admittime time, dischtime time, admission_type text, admission_locatio...
### Context: CREATE TABLE table_2327 ( "School" text, "Location(s)" text, "Control" text, "Type" text, "Enrollment (fall 2010)" real, "Founded" real, "Accreditation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the control for the ...
### 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 Tags ( Id number, TagNam...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE table_203_47 ( id number, "game" number, "date" text, "opponent" text, "location" text, "score" text, "ot" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which date had th...
### Context: CREATE TABLE table_name_53 ( bbc_two_rank VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rank of BBC 2 in 2005? ### Query: SELECT bbc_two_rank FROM table_name_53 WHERE year = "2005"
### 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVIN...
### Context: CREATE TABLE table_name_22 ( country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6? ...
### Context: CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE company ( Company_ID in...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, cla...
### Context: CREATE TABLE table_name_44 ( score VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game when there was a loss of Kern (0-2)? ### Query: SELECT score FROM table_name_44 WHERE loss = "kern (0-2)"
### Context: CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_t...
### Context: CREATE TABLE table_17848578_1 ( record VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record when the game was at the San Diego Stadium? ### Query: SELECT record FROM table_17848578_1 WHERE game_site = "San Diego ...
### Context: CREATE TABLE table_49258 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score at North Shore Events Centre? ...
### Context: CREATE TABLE table_5021 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Round that has a Position of Tackle and the Player Fred Neilsen? ...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalD...
### Context: CREATE TABLE table_10701133_1 ( directed_by VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode where u.s. viewers (million) is 12.90? ### Query: SELECT directed_by FROM table_10701133_1 WHERE u...
### Context: CREATE TABLE table_204_957 ( id number, "year" number, "team" text, "games" number, "combined tackles" number, "tackles" number, "assisted tackles" number, "sacks" number, "forced fumbles" number, "fumble recoveries" number, "fumble return yards" number, "int...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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...
### Context: CREATE TABLE table_name_23 ( ratings VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Ratings did the 2013 Year have? ### Query: SELECT ratings FROM table_name_23 WHERE year = 2013
### Context: CREATE TABLE table_68023 ( "Team" text, "Truck(s)" text, "Driver(s)" text, "Primary Sponsor(s)" text, "Owner(s)" text, "Crew Chief" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the crew chief, of driver Matt kurzejewski? #...
### Context: CREATE TABLE table_name_33 ( league VARCHAR, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league has a 3-1 home? ### Query: SELECT league FROM table_name_33 WHERE home = "3-1"
### Context: CREATE TABLE table_name_92 ( outcome VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The match against Paul-Henri Mathieu had what outcome? ### Query: SELECT outcome FROM table_name_92 WHERE opponent = "paul-henri mathieu"
### Context: CREATE TABLE table_name_45 ( apparent_magnitude INTEGER, ngc_number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Apparent magnitudes for an NGC number larger than 3293? ### Query: SELECT SUM(apparent_magnitude) FROM table...
### Context: CREATE TABLE table_29355 ( "Programs" text, "World" real, "Africa" real, "Americas" real, "Asia" real, "Australasia" real, "Europe" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Australasia received a program...
### Context: CREATE TABLE table_27189 ( "#" real, "Episode" text, "Air Date" text, "Timeslot (EST)" text, "Rating" text, "Share" real, "18-49 (Rating/Share)" text, "Viewers (m)" text, "Weekly Rank (#)" real ) -- Using valid SQLite, answer the following questions for the tables prov...
### Context: CREATE TABLE table_29200 ( "model" text, "Speed (GHz)" text, "L3 Cache (MB)" real, "QPI speed (GT/s)" text, "DDR3 Clock (MHz)" real, "TDP (W)" real, "Cores" real, "Threads" real, "Turbo-Boost" text ) -- Using valid SQLite, answer the following questions for the tables ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, h...
### Context: CREATE TABLE table_571 ( "Club" text, "Played" text, "Won" 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, answe...
### 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_50 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score on September 1, 1996? ### Query: SELECT result FROM table_name_50 WHERE date = "september 1, 1996"
### Context: CREATE TABLE table_12184 ( "Draft" text, "Round" text, "Pick" text, "Nationality" text, "Position" text, "College/High School/Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which year was the Pick #46? ### Query: SELECT "D...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, e...
### Context: CREATE TABLE table_name_54 ( surface VARCHAR, place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has a Place of lappeenranta? ### Query: SELECT surface FROM table_name_54 WHERE place = "lappeenranta"
### Context: CREATE TABLE table_name_73 ( ground VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Ground, when Away Team is Sydney? ### Query: SELECT ground FROM table_name_73 WHERE away_team = "sydney"
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, JCZB...
### Context: CREATE TABLE table_name_68 ( location_attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location and attendance for the game on December 12? ### Query: SELECT location_attendance FROM table_name_68 WHERE date ...
### Context: CREATE TABLE table_name_92 ( first_elected INTEGER, result VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average year Charles N. Felton was re-elected? ### Query: SELECT AVG(first_elected) FROM table_name_92 W...
### Context: CREATE TABLE table_name_17 ( home_team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Home team that has a Venue of Windy Hill? ### Query: SELECT home_team FROM table_name_17 WHERE venue = "windy hill"
### Context: CREATE TABLE table_15463188_7 ( school_club_team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Nametheh school team for norman gonzales ### Query: SELECT school_club_team FROM table_15463188_7 WHERE name = "Norman Gonzales"
### Context: CREATE TABLE table_70912 ( "Year" real, "Total Region" real, "Belyando" real, "Broadsound" real, "Nebo" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Total Region that has a Year after 2001, and a Broadsound greater ...
### Context: CREATE TABLE table_name_52 ( score VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score that has an Attendance of 4 679? ### Query: SELECT score FROM table_name_52 WHERE attendance = "4 679"
### Context: CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Country text ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps real, Tries real, Goals text, Points real ) CREATE TABLE competition_result ( ...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar )...
### Context: CREATE TABLE table_name_35 ( rank VARCHAR, player VARCHAR, titles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rankings are associated with giuseppe meazza holding over 3 titles? ### Query: SELECT COUNT(rank) FROM table_name_35 W...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE participates_in ( stuid number, actid number ) CREATE TABLE activity ( actid number, activity_name text ) CREATE ...
### Context: CREATE TABLE table_79695 ( "Tournament" text, "Wins" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of cuts made for events played more than 3 t...
### 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_procedures ( row_id numbe...
### Context: CREATE TABLE table_16651 ( "#" real, "Episode" text, "Air Date" text, "Rating" text, "Share" real, "Rating/Share 18\u201349" text, "Viewers (m)" text, "Timeslot Rank" real, "Night Rank" text, "Overall Rank" real ) -- Using valid SQLite, answer the following questio...
### Context: CREATE TABLE table_63453 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank and fc notes from South Africa? ### Query: SELECT COUNT("Rank") FROM tab...
### Context: CREATE TABLE table_203_420 ( id number, "#" number, "stadium" text, "capacity" number, "city" text, "home team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which city has the stadium that can hold the most people ? ### Query: SE...
### 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_67300 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows as the Time/Retired for Grid 8? ### Query: SELECT "Time/Retired" FROM tabl...
### Context: CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ number, HOSP_DOC_CD text, HOSP_DOC_NM text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_49485 ( "Rifle" text, "Danish Krag-J\u00f8rgensen 1889" text, "US Krag-J\u00f8rgensen M1892" text, "Norwegian Krag-J\u00f8rgensen M1894" text, "Japanese Type 38 Rifle" text, "German Gewehr 98" text, "British Lee-Enfield (data for late model)" text ) -- Using...
### Context: CREATE TABLE table_name_22 ( date VARCHAR, type VARCHAR, number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Type of 4-6-0, and a Number larger than 11? ### Query: SELECT date FROM table_name_22 WHERE type = "4-6-0" AND n...
### Context: CREATE TABLE Royal_Family ( Royal_Family_ID INTEGER, Royal_Family_Details VARCHAR(255) ) CREATE TABLE Locations ( Location_ID INTEGER, Location_Name VARCHAR(255), Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Theme_Parks ( Theme_Park_ID INTEGER, Theme_Par...
### Context: CREATE TABLE table_13619027_7 ( high_assists VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the player with high assists on january 22? ### Query: SELECT high_assists FROM table_13619027_7 WHERE date = "January 22"
### Context: CREATE TABLE table_54069 ( "Rank" real, "Name" text, "Location" text, "State" text, "Designer, Year" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is pine valley? ### Query: SELECT "Location" FROM table_54069 WHERE "Name" = 'pin...
### Context: CREATE TABLE table_58802 ( "Song" text, "International Jury" text, "Lule\u00e5" text, "Ume\u00e5" text, "Sundsvall" text, "Falun" text, "Karlstad" text, "\u00d6rebro" text, "Norrk\u00f6ping" text, "G\u00f6teborg" text, "V\u00e4xj\u00f6" text, "Malm\u00f6" tex...
### Context: CREATE TABLE table_name_56 ( constructor VARCHAR, time_retired VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who constructed the car that has a Time/Retired of engine, and over 50 laps? ### Query: SELECT constructor FROM tabl...
### Context: CREATE TABLE table_204_957 ( id number, "year" number, "team" text, "games" number, "combined tackles" number, "tackles" number, "assisted tackles" number, "sacks" number, "forced fumbles" number, "fumble recoveries" number, "fumble return yards" number, "int...
### Context: CREATE TABLE table_60109 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Attendance, when ...
### Context: CREATE TABLE hz_info_zyjzjlb ( JZLSH number, YLJGDM number, zyjzjlb_id number ) CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC ...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE...
### Context: CREATE TABLE table_21013 ( "Model number" text, "sSpec number" text, "Frequency" text, "GPU frequency" text, "L2 cache" text, "I/O bus" text, "Memory" text, "Voltage" text, "TDP" text, "Socket" text, "Release date" text, "Part number(s)" text, "Release pr...
### 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 candidate_assessments ( candidate_id VARCHAR, asessment_outcome_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find id of candidates whose assessment code is 'Pass'? ### Query: SELECT candidate_id FROM candidate_assessments WH...
### Context: CREATE TABLE table_1220 ( "Year" real, "Class" text, "Team name" text, "Bike" text, "Riders" text, "Races" text, "Wins" real, "Podiums" real, "Poles" real, "F.laps" real, "Points" text, "Pos." text ) -- Using valid SQLite, answer the following questions for...
### Context: CREATE TABLE table_5657 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Tournament of the Tour Championship take place? #...
### Context: CREATE TABLE table_305 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the hometown for the player that attended Shanley High School? ### Query: SELEC...
### Context: CREATE TABLE table_204_44 ( id number, "face value" number, "\u20ac0.01" number, "\u20ac0.02" number, "\u20ac0.05" number, "\u20ac0.10" number, "\u20ac0.20" number, "\u20ac0.50" number, "\u20ac1.00" number, "\u20ac2.00" number ) -- Using valid SQLite, answer the fo...
### Context: CREATE TABLE table_17118657_10 ( date VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which date was the location/attendance UIC Pavilion 3,829 respectively? ### Query: SELECT date FROM table_17118657_10 WHERE loc...
### Context: CREATE TABLE table_3551 ( "Year" real, "Timeslot" text, "Network" text, "Episodes" real, "Viewers (in millions/overall)" text, "Viewers (in millions/target group 14-49)" text, "Market share (overall)" text, "Market share (target group 14-49)" text ) -- Using valid SQLite, ...
### Context: CREATE TABLE table_name_68 ( mountain_range VARCHAR, mountain_peak VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which mountain range contains Sierra Blanca Peak? ### Query: SELECT mountain_range FROM table_name_68 WHERE mountain_peak = "sierr...
### Context: CREATE TABLE procedures ( 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, rel...
### Context: CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Participants ( P...
### Context: CREATE TABLE table_62945 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average number of silver medals for germany (GER) having more than 3...
### Context: CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_t...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresult...
### Context: CREATE TABLE Visitors ( Tourist_ID INTEGER, Tourist_Details VARCHAR(255) ) CREATE TABLE Shops ( Shop_ID INTEGER, Shop_Details VARCHAR(255) ) CREATE TABLE Royal_Family ( Royal_Family_ID INTEGER, Royal_Family_Details VARCHAR(255) ) CREATE TABLE Museums ( Museum_ID INTEGER, ...
### 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_58002 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What city of license has a Frequency under 107.7, and a...
### Context: CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER numeric, DEPT_CODE varchar(18), STU_PHONE varchar(4), PROF_NUM int ) CR...