text
stringlengths
197
8.39k
### Context: CREATE TABLE table_38896 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Catalog 573 194-2? ### Query: SELECT "Date" FROM table_38896 WHERE "Catalo...
### Context: CREATE TABLE table_55162 ( "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. -- On the game where the home team sco...
### Context: CREATE TABLE table_23158 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real, "Current Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_name_73 ( date_of_appointment VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of appointment for the replaced manager, reiner geyer? ### Query: SELECT date_of_appointment FROM table_name_...
### Context: CREATE TABLE table_25246990_5 ( original_us_air_date VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original U.S. air date of the episode directed by Julian Petrillo? ### Query: SELECT original_us_air_date FROM...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) 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, J...
### Context: CREATE TABLE table_1660 ( "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_49 ( tournament VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tournament, when Opponent In The Final is 'Andre Agassi'? ### Query: SELECT tournament FROM table_name_49 WHERE oppone...
### 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_51 ( races VARCHAR, top_5 VARCHAR, avg_start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of races having top 5s over 2 and average starts of 6.5? ### Query: SELECT races FROM table_name_51 WHERE...
### 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_24673888_1 ( station_type VARCHAR, callsign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the station type of DWZM-TV? ### Query: SELECT station_type FROM table_24673888_1 WHERE callsign = "DWZM-TV"
### Context: CREATE TABLE table_name_75 ( isbn VARCHAR, series VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast? ### Query: SELECT isbn FROM t...
### Context: CREATE TABLE table_39906 ( "Number" real, "Builder" text, "Type" text, "Date" text, "Works number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Nu...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decim...
### Context: CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE status ( ...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_10812293_3 ( high_assists VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had high assists when they played against San Antonio? ### Query: SELECT high_assists FROM table_10812293_3 WHERE team = "San Antonio"
### Context: CREATE TABLE table_name_54 ( suburb VARCHAR, date_first_settled_as_a_suburb VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Suburb was First Settled as a Suburb in 1962? ### Query: SELECT suburb FROM table_name_54 WHERE date_first_settled_...
### Context: CREATE TABLE table_name_97 ( opponent VARCHAR, round VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent of the match in round sf with a result of 0-0? ### Query: SELECT opponent FROM table_name_97 WHERE roun...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDa...
### Context: CREATE TABLE Accounts ( other_account_details VARCHAR, account_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show other account details for account with name 338. ### Query: SELECT other_account_details FROM Accounts WHERE account_name = ...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comme...
### 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 table_name_2 ( opponents VARCHAR, kick_off VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT OPPONENT HAD A KICKOFF OF 2007-03-06, 20:45? ### Query: SELECT opponents FROM table_name_2 WHERE kick_off = "2007-03-06, 20:45"
### 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 PostsWithDeleted ( Id number...
### Context: CREATE TABLE table_16552 ( "#" real, "Episode" text, "Air Date" text, "Timeslot" text, "Viewers" text, "Weekly Rank for Living" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes aired on october 27, 2008 ### Query: S...
### Context: CREATE TABLE table_54953 ( "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. -- In fitzroy's match where they were ...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respir...
### Context: CREATE TABLE table_name_72 ( nationality VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the center? ### Query: SELECT nationality FROM table_name_72 WHERE position = "center"
### Context: CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, round_trip_required varchar ) CREATE TABLE days ( days_code varchar, day_name ...
### Context: CREATE TABLE table_8697 ( "Season" real, "Champion" text, "Motorcycle" text, "Wins" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had more than 10 wins with a champion of Mat Mladin? ### Query: SELECT "Team" FR...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, C...
### Context: CREATE TABLE table_name_82 ( try_bonus VARCHAR, points_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- That is the value for Try bonus when the value for Points is 418? ### Query: SELECT try_bonus FROM table_name_82 WHERE points_for = "418"
### 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments (...
### Context: CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM 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, XLM...
### Context: CREATE TABLE table_name_59 ( opera VARCHAR, internet_explorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of users were using Opera during the period in which 63.67% were using Internet Explorer? ### Query: SELECT opera FROM ...
### Context: CREATE TABLE table_37280 ( "Rocket" text, "Country" text, "Type" text, "Launches" real, "Successes" real, "Failures" real, "Partial failures" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of successfu...
### Context: CREATE TABLE table_name_76 ( pick INTEGER, draft VARCHAR, player VARCHAR, round VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average pick of player josh green from Canada from round 2 with a draft a...
### Context: CREATE TABLE table_1342149_6 ( result VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results does the California 29 voting district have? ### Query: SELECT COUNT(result) FROM table_1342149_6 WHERE district = "Californ...
### Context: CREATE TABLE table_36797 ( "Body" text, "Equatorial diameter" text, "Polar diameter" text, "Equatorial bulge" text, "Flattening ratio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Flattening ratio associated with the Equat...
### Context: CREATE TABLE table_name_63 ( rank VARCHAR, bronze INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank when the bronze is less than 0? ### Query: SELECT COUNT(rank) FROM table_name_63 WHERE bronze < 0
### 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 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 table_name_88 ( name VARCHAR, team VARCHAR, best VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Name, when Team is 'Herdez Competition', and when Best is 1:27.432? ### Query: SELECT name FROM table_name_88 WHERE team = ...
### Context: CREATE TABLE table_name_14 ( song_title VARCHAR, writer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What song title was written by Kal Mann and Bernie Lowe? ### Query: SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and b...
### 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_14882588_3 ( sail_number VARCHAR, yacht VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all sail numbers for the yacht Yendys? ### Query: SELECT sail_number FROM table_14882588_3 WHERE yacht = "Yendys"
### Context: CREATE TABLE table_name_19 ( played INTEGER, points VARCHAR, draw VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5? ### Query: SELECT MAX(played) FROM tab...
### Context: CREATE TABLE table_name_11 ( location VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the Conquista Fight 1? ### Query: SELECT location FROM table_name_11 WHERE event = "conquista fight 1"
### Context: CREATE TABLE table_25271777_1 ( index INTEGER, forcible_rape VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the largest index the year/s forcible rapes numbered 1084? ### Query: SELECT MAX(index) FROM table_25271777_1 WHERE forcible_ra...
### Context: CREATE TABLE table_60374 ( "Nation" text, "Distance" text, "Athlete" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Distance, when Date is '2008-01-12'? ### Query: SELECT "Distance" FROM table_60374 W...
### Context: CREATE TABLE table_1566852_6 ( interview_subject VARCHAR, cover_model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the interview subjects on those occasions where Bai Ling was the cover model? ### Query: SELECT interview_subject FRO...
### Context: CREATE TABLE table_5944 ( "Draw" real, "Artist" text, "Song" text, "Jury" real, "Televote" real, "Total" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which average Total has a Place smaller than 2, and a Draw sma...
### 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE...
### Context: CREATE TABLE table_name_30 ( outcome VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the Tournament in Buenos Aires? ### Query: SELECT outcome FROM table_name_30 WHERE tournament = "buenos aires"
### Context: CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Reviewer ( rID int, name text ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_204_854 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the largest days held ...
### Context: CREATE TABLE table_65273 ( "Position" text, "Name" text, "Year at CU" text, "Experience" real, "Alma Mater" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The graduate assistant who was in the 1st year at CU has what experience? ### Qu...
### Context: CREATE TABLE table_203_576 ( 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. -- who won more total medals ? japan or china ? ### Qu...
### Context: CREATE TABLE table_54224 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Trofeo Fast Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner that had a Points Classification o...
### Context: CREATE TABLE table_78076 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total grid with laps less than 2? ### Query: SELECT SUM("Grid") FROM tabl...
### Context: CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEG...
### Context: CREATE TABLE 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_68 ( player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player in t8 place with a 75-71=146 score? ### Query: SELECT player FROM table_name_68 WHERE place = "t8" AND score ...
### Context: CREATE TABLE table_name_69 ( sacks VARCHAR, solo VARCHAR, ttkl VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many sacks have 72 as the solo and a TTkl less than 112? ### Query: SELECT COUNT(sacks) FROM table_name_69 WHERE solo = 72 AND...
### Context: CREATE TABLE table_name_52 ( date VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the game being played at Schaeffer Stadium? ### Query: SELECT date FROM table_name_52 WHERE game_site = "schaeffer stadium"
### Context: CREATE TABLE table_name_84 ( date VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the Opponent Chicago Bears? ### Query: SELECT date FROM table_name_84 WHERE opponent = "chicago bears"
### Context: CREATE TABLE table_22287 ( "No. overall" real, "No. in series" real, "Title" text, "Director" text, "Writer" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed 'episode ...
### 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_22648285_1 ( date VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the race in 1968 run on? ### Query: SELECT date FROM table_22648285_1 WHERE year = 1968
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( ...
### Context: CREATE TABLE table_12936521_2 ( location VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the University at Albany located? ### Query: SELECT location FROM table_12936521_2 WHERE institution = "University at Albany"
### Context: CREATE TABLE table_name_34 ( m_r_romaja VARCHAR, capital VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the M-R Romaja for the province having a capital of Cheongju? ### Query: SELECT m_r_romaja FROM table_name_34 WHERE capital = "cheon...
### Context: CREATE TABLE table_32693 ( "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 what venue was the away team Fit...
### Context: CREATE TABLE table_name_42 ( civil_liberties_2012 INTEGER, political_rights_2011 VARCHAR, status_2011 VARCHAR, political_rights_2012 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average 2012 civil liberties value associated...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE CloseReasonTypes ( Id number, Name text, ...
### Context: CREATE TABLE table_name_63 ( player VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player with pick number of 7 ### Query: SELECT player FROM table_name_63 WHERE pick__number = 7
### Context: CREATE TABLE table_name_76 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Player is 'Dow Finsterwald'? ### Query: SELECT score FROM table_name_76 WHERE player = "dow finsterwald"
### Context: CREATE TABLE table_train_8 ( "id" int, "white_blood_cell_count_wbc" int, "systolic_blood_pressure_sbp" int, "active_infection" bool, "intention_to_arterial_catheter" bool, "temperature" float, "intention_to_central_venous_catheter" bool, "sepsis" bool, "heart_rate" int, ...
### Context: CREATE TABLE employment ( company_id number, people_id number, year_working number ) CREATE TABLE people ( people_id number, age number, name text, nationality text, graduation_college text ) CREATE TABLE company ( company_id number, name text, headquarters tex...
### 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_28300 ( "Shortscale comparison" text, "Chuquet" text, "Peletier" text, "Systematics" text, "Base 10" text, "SI Prefix" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of peletier for shortscal...
### Context: CREATE TABLE table_name_94 ( mountains_classification VARCHAR, winner VARCHAR, sprints_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of ...
### Context: CREATE TABLE table_46353 ( "Date" text, "Venue" text, "Opponents" text, "Score" text, "Competition" text, "Match Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Score is '0-2', and when Opponents is 'Bayer ...
### Context: CREATE TABLE table_name_7 ( presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the presentation of credentials date of ra l h. castro, who has a title of ambassador extra...
### 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 SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PendingFlags ( Id number, FlagTypeId n...
### Context: CREATE TABLE table_48990 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Country that has the To par larger than 9, and the Year(s) won of 19...
### Context: CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid nu...
### Context: CREATE TABLE assignedto ( scientist number, project text ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE projects ( code text, name text, hours number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name...
### Context: CREATE TABLE table_48783 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the H/A when Cork City is the opponent? ### Query: SELECT "H / A" FRO...
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE table_70828 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of David Toms? ### Query: SELECT SUM("Total") FROM...
### Context: CREATE TABLE table_29783 ( "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_13534 ( "Place" real, "Team" text, "Played" real, "Draw" real, "Lost" real, "Goals Scored" real, "Goals Conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total goals score...
### Context: CREATE TABLE table_20765 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the home team scores when...
### Context: CREATE TABLE table_30651 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "U.S. air date" text, "Production code" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who ...
### Context: CREATE TABLE table_19182 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was in home (2nd leg) when Talleres was in home (1st leg) ### Query...
### Context: CREATE TABLE table_21172 ( "Religion" text, "Chester" text, "Congleton" text, "Crewe and Nantwich" text, "Ellesmere Port and Neston" text, "Macclesfield" text, "Vale Royal" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided a...