text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_98 ( builder VARCHAR, kanji VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which builder has the the kanji of ? ### Query: SELECT builder FROM table_name_98 WHERE kanji = "曙"
### Context: CREATE TABLE table_9994 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country does david gilford play for? ### Query: SELECT "Country" FROM table_9994 WHERE "P...
### Context: CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE venue ( venueid i...
### 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 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_27671835_3 ( new_membership_total INTEGER, members_lost INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the new membership total if the members lost is bigger than 1.0? ### Query: SELECT MAX(new_membership_total) FROM ...
### Context: CREATE TABLE table_38070 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest week that has t 35-35 as the result? ### Query: SELECT MAX("Week") FRO...
### Context: CREATE TABLE table_75122 ( "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 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_name_58 ( to_par VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the to par for the t1 place with a score of 70-72-73-72=287? ### Query: SELECT to_par FROM table_name_58 WHERE place = "...
### 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 PostFeedback ( Id number, PostId numbe...
### Context: CREATE TABLE table_78137 ( "D 41 O" text, "D 42 O" text, "D 43 O" text, "D 44 O" text, "D 45 +" text, "R 55 +" text, "R 54 +" text, "R 53 +" text, "R 52 O" text, "R 51 O" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE table_37452 ( "Team" text, "Driver" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid of driver jo o urbano? ### Query: SELECT SUM("Grid") FROM table_37452 WHERE "Driver...
### Context: CREATE TABLE professor ( prof_office VARCHAR, emp_num VARCHAR ) CREATE TABLE CLASS ( prof_num VARCHAR, crs_code VARCHAR ) CREATE TABLE course ( crs_description VARCHAR, crs_code VARCHAR ) CREATE TABLE employee ( emp_fname VARCHAR, emp_num VARCHAR ) -- Using valid SQLite...
### Context: CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_P...
### Context: CREATE TABLE table_204_419 ( id number, "year" text, "tournament" text, "venue" text, "played" number, "won" number, "lost" number, "tied" number, "n/r" number, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_60113 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the United Kingdom with an LP format? ### Query: SELECT "Date" FROM ...
### Context: CREATE TABLE table_64260 ( "Class" text, "Railway number(s)" text, "Quantity" text, "Year(s) of manufacture" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the quantity of the aw class? ### Query: SELECT "Quantity"...
### Context: CREATE TABLE table_204_496 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- at the 2006 gran...
### Context: CREATE TABLE table_name_68 ( competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Competition on July 7? ### Query: SELECT competition FROM table_name_68 WHERE date = "july 7"
### Context: CREATE TABLE table_name_29 ( location_attendance VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location and attendance of game 63? ### Query: SELECT location_attendance FROM table_name_29 WHERE game = 63
### Context: CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, ...
### Context: CREATE TABLE table_name_43 ( withdrawn INTEGER, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a Type of 4-6-4t, what is the sum Withdrawn? ### Query: SELECT SUM(withdrawn) FROM table_name_43 WHERE type = "4-6-4t"
### Context: CREATE TABLE table_49559 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Jim Furyk place? ### Query: SELECT "Place" FROM table_49559 WHERE "Player" = 'jim f...
### Context: CREATE TABLE table_204_734 ( id number, "first name" text, "surname" text, "death year" number, "beginning of\nservice" text, "end of\nservice" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference ...
### Context: CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, adm...
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employee...
### Context: CREATE TABLE table_name_13 ( series_1 VARCHAR, series_11 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Series 1 has a Series 11 of peter jones? ### Query: SELECT series_1 FROM table_name_13 WHERE series_11 = "peter jones"
### Context: CREATE TABLE table_name_63 ( date VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score of 3 6, 7 5, 6 4 included what date? ### Query: SELECT date FROM table_name_63 WHERE score = "3–6, 7–5, 6–4"
### Context: CREATE TABLE table_name_18 ( rank INTEGER, country VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most rank for the United States with wins less than 1 ### Query: SELECT MAX(rank) FROM table_name_18 WHERE country = "u...
### Context: CREATE TABLE table_name_1 ( event VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did Cristina Iovu participate in? ### Query: SELECT event FROM table_name_1 WHERE name = "cristina iovu"
### Context: CREATE TABLE table_28068063_3 ( eliminated_from_competition VARCHAR, points_margin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams had a point margin of 48? ### Query: SELECT COUNT(eliminated_from_competition) FROM table_28068063_...
### Context: CREATE TABLE wdmzjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH number, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC tex...
### 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 patients ( row_id number, subject_id number, gender text, dob ...
### Context: CREATE TABLE table_71747 ( "Year" real, "Opponent" text, "Competition" text, "Score" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the average attendance 80,388? ### Query: SELECT AVG...
### Context: CREATE TABLE table_name_9 ( year INTEGER, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Year is the Location of the Festival Koror, Palau? ### Query: SELECT SUM(year) FROM table_name_9 WHERE location = "koror, palau"
### 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime ...
### Context: CREATE TABLE table_26107 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. Code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number...
### Context: CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE ) CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER,...
### Context: CREATE TABLE table_45710 ( "Year" real, "Games played" real, "Games won" real, "Games drawn" real, "Games lost" real, "Points for" real, "Points against" real, "Points difference" real, "Bonus points" real, "Table points" real ) -- Using valid SQLite, answer the fo...
### Context: CREATE TABLE table_6595 ( "Locomotive" text, "Delivered as" text, "Entered service" text, "Owner" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Entered service date of the H1 Locomotive? ### Query: SELECT "E...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_name_25 ( country VARCHAR, score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country is player Sandy Lyle from when she scored less than 69? ### Query: SELECT country FROM table_name_25 WHERE score...
### Context: CREATE TABLE table_21321804_1 ( cfl_team VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which cfl team is manitoba college? ### Query: SELECT cfl_team FROM table_21321804_1 WHERE college = "Manitoba"
### Context: CREATE TABLE table_34647 ( "Date" text, "Tournament Name" text, "Location" text, "Partner" text, "Score in Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Partner in the United Airlines Tournament (1)? ### Query: SELE...
### Context: CREATE TABLE table_204_946 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many points ...
### Context: CREATE TABLE table_28768469_10 ( high_assists VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In game 73, what were the total number of high assists? ### Query: SELECT COUNT(high_assists) FROM table_28768469_10 WHERE game = 73
### Context: CREATE TABLE table_name_64 ( total_goals INTEGER, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total goals for Mark Ward? ### Query: SELECT MIN(total_goals) FROM table_name_64 WHERE name = "mark ward"
### Context: CREATE TABLE table_name_65 ( played VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the played with lost of 5 ### Query: SELECT played FROM table_name_65 WHERE lost = "5"
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, dep...
### Context: CREATE TABLE table_name_49 ( pole INTEGER, flap VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest pole with a Flap larger than 5, and a before race 155? ### Query: SELECT MIN(pole) FROM table_name_49 WHERE flap...
### 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_68783 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home Team has an Attendance of 1,859? ### Query: SELECT "Home team" FROM tabl...
### Context: CREATE TABLE table_40322 ( "Party" text, "1985" real, "1987" real, "1990" real, "1995" real, "1999" real, "2003" real, "2007" real, "2011" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest 2003 value wit...
### Context: CREATE TABLE table_204_850 ( id number, "name" text, "railway" text, "series" text, "maker" text, "dates" text, "drive" text, "wheel arrangement" text, "weight" text, "power" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### 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 ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean )...
### Context: CREATE TABLE table_name_71 ( state VARCHAR, frequency VARCHAR, city_of_license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state is the radio station in that has a frequency of 90.1 FM and a city license in New Castle? ### Query: SE...
### Context: CREATE TABLE table_28924 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district was John Dawson from? ### Query: SELECT "Dis...
### Context: CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROV...
### Context: CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM...
### Context: CREATE TABLE table_12608427_8 ( started VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did De Vries start? ### Query: SELECT started FROM table_12608427_8 WHERE name = "de Vries"
### Context: CREATE TABLE college ( College_ID int, Name text, Leader_Name text, College_Location text ) CREATE TABLE round ( Round_ID int, Member_ID int, Decoration_Theme text, Rank_in_Round int ) CREATE TABLE member ( Member_ID int, Name text, Country text, College_ID...
### Context: CREATE TABLE table_name_20 ( pick INTEGER, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest pick number of the player who went to LSU in college? ### Query: SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu"
### Context: CREATE TABLE table_79594 ( "Rank" real, "Total Population (2010)" real, "Indian American Population (2010)" real, "% Indian American" real, "Asian American Population (2010)" real, "% Asian American" real ) -- Using valid SQLite, answer the following questions for the tables provi...
### 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 table_5324 ( "Bullet weight gram (grain)" text, "8.23 g (127 gr)" real, "9.72 g (150 gr)" real, "11.34 g (175 gr)" real, "12.96 g (200 gr)" real, "14.26 g (220 gr)" real, "Case capacity (%)" real ) -- Using valid SQLite, answer the following questions for the tabl...
### Context: CREATE TABLE table_name_24 ( venue VARCHAR, competition VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue hosts the Olympic Games for DNQ position? ### Query: SELECT venue FROM table_name_24 WHERE competition = "o...
### 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_41788 ( "Landfill" text, "Location" text, "Acres" real, "Opened" real, "Capacity" text, "Status" text, "Rehab Period" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of acres at Sai Tso...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Tags...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details...
### 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 table_name_71 ( silver VARCHAR, bronze VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of silver medals when there are 0 Bronze medals, and the nation is the United Kingdom? ### Query: SE...
### Context: CREATE TABLE customers ( address_line_1 VARCHAR, address_line_2 VARCHAR, email_address VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the address line 1 and 2 of the customer with email 'vbogisich@example.org'. ### Query: SELECT addres...
### Context: CREATE TABLE table_204_821 ( id number, "speed [km/h (mph)]" text, "train" text, "type" text, "location" text, "date" text, "comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference in speed number of the ...
### Context: CREATE TABLE table_74920 ( "Race" text, "Class(es)" text, "Length/Duration" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the race that lasted 6 hours? ### Query: SELECT "Date" FROM ta...
### Context: CREATE TABLE table_name_60 ( nominated VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the performance nominated for a Capif Award. ### Query: SELECT nominated FROM table_name_60 WHERE award = "capif award"
### Context: CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps ...
### Context: CREATE TABLE table_46289 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is time of manufacturer with grid 21? ### Query: SELECT "Time" FROM table_46289 WHERE "G...
### Context: CREATE TABLE table_2413292_1 ( semifinal_matches VARCHAR, commercial_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played in the semi finals matches at the Buick WCT finals? ### Query: SELECT semifinal_matches FROM table_2413292_1 WHE...
### 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 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_CLINIC_ID text, ME...
### Context: CREATE TABLE table_11341 ( "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 team had Pick 2? ### Query: SELECT "Team" FROM...
### Context: CREATE TABLE table_name_96 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team score when the away team is Collingwood? ### Query: SELECT home_team AS score FROM table_name_96 WHERE away_team = "c...
### Context: CREATE TABLE table_59703 ( "Name" text, "Dates active" text, "Windspeeds" text, "Pressure" text, "Deaths" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the storm active during season aggregates? ### Query: SELECT "...
### Context: CREATE TABLE table_20558 ( "#" real, "Date" text, "at/vs." text, "Opponent" text, "Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many were in attendance during the game on January 9,...
### Context: CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### Context: CREATE TABLE table_name_98 ( gb_ VARCHAR, c_ VARCHAR, reds_season VARCHAR, win_percentage VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]? #...
### Context: CREATE TABLE all_documents ( document_id number, date_stored time, document_type_code text, document_name text, document_description text, other_details text ) CREATE TABLE document_locations ( document_id number, location_code text, date_in_location_from time, date...
### Context: CREATE TABLE table_203_781 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number of competitions were held in 2010 ? ### Query: SELECT COUN...
### Context: CREATE TABLE table_74786 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Patriots play in week 4? ### Query: SELECT "Opponent" FROM table_74786 WHERE "...
### Context: CREATE TABLE table_train_210 ( "id" int, "serum_potassium" float, "serum_calcium" float, "estimated_glomerular_filtration_rate_egfr" int, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided abo...
### Context: CREATE TABLE table_203_308 ( id number, "athlete" text, "nation" text, "olympics" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who has won the most total sno...
### Context: CREATE TABLE table_204_763 ( id number, "county" text, "km" number, "intersecting road" text, "notes" text, "coordinates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total km for this xhart ### Query: SELECT SUM("km...