text
stringlengths
197
8.39k
### Context: CREATE TABLE table_11808 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method used when the opponent was Tyson Gri...
### Context: CREATE TABLE table_72330 ( "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, ans...
### Context: CREATE TABLE table_name_89 ( attendance VARCHAR, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance at the week 2 game? ### Query: SELECT attendance FROM table_name_89 WHERE week = 2
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ...
### Context: CREATE TABLE table_name_73 ( conference_semifinals VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Conference Semifinals has a Record of 55 27? ### Query: SELECT conference_semifinals FROM table_name_73 WHERE record = "55–2...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### 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_60378 ( "Date" text, "Time" text, "Round" text, "Opponent" text, "Ground" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has 32 as the round? ### Query: SELECT "Opponent" FROM table_60...
### Context: CREATE TABLE table_name_10 ( round INTEGER, position VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sum of the rounds for the player who had a position of LS and an overall draft pick bigger than 230? ### Query...
### Context: CREATE TABLE table_46145 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Result of 2 2, and a Venue of H? ### Query: SELECT "Da...
### Context: CREATE TABLE table_19387 ( "Region" text, "Capital" text, "Area (km\u00b2)" real, "Area (sq mi)" real, "Population" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the region where Milan is located? ### Query: SELECT "Region" FR...
### Context: CREATE TABLE table_71205 ( "Outcome" text, "Date" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score in the final with runner-up as the outcome and h...
### Context: CREATE TABLE table_75325 ( "NTFA Div 2" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of draws of the NTFA Div 2 Lilydale? ### Query:...
### 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_2562572_52 ( cyrillic_name VARCHAR, settlement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cyrillic name when the settlement is a anja? ### Query: SELECT cyrillic_name FROM table_2562572_52 WHERE settlement = "...
### 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 ROLES ( role_code VARCHAR, role_name VARCHAR ) CREATE TABLE Employees ( employee_id VARCHAR, role_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the employee ids for all employees with role name 'Human Resource' o...
### Context: CREATE TABLE table_15475116_1 ( league VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league does Delaware Military Academy belong to ### Query: SELECT league FROM table_15475116_1 WHERE school = "Delaware Military Academy"
### Context: CREATE TABLE table_name_19 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for 2000 when 2013 shows 3rd? ### Query: SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd"
### 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 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 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 outputevents ( row_id number, subject_id number, hadm_id number, icusta...
### Context: CREATE TABLE table_74995 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the Loser when the winner was new england patriots, and a...
### Context: CREATE TABLE table_name_74 ( score VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Score for the Game of 75? ### Query: SELECT score FROM table_name_74 WHERE game = 75
### Context: CREATE TABLE table_50616 ( "Game" text, "Day, Date" text, "Anand" text, "Gelfand" text, "Standing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the day and date of game 2? ### Query: SELECT "Day, Date" FROM table_50616 WHERE ...
### Context: CREATE TABLE table_682 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election in which the incumbent w...
### Context: CREATE TABLE table_33227 ( "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 smallest crowd that Me...
### Context: CREATE TABLE table_7519 ( "Heat" real, "Lane" real, "Name" text, "Country" text, "Mark" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1? ### Quer...
### Context: CREATE TABLE table_28947 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the district with the candidates leven powell (f) 6...
### 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 Catalog_Contents_Additional_Attributes ( catalog_entry_id INTEGER, catalog_level_number INTEGER, attribute_id INTEGER, attribute_value VARCHAR(255) ) CREATE TABLE Catalog_Contents ( catalog_entry_id INTEGER, catalog_level_number INTEGER, parent_entry_id INTEGER, ...
### Context: CREATE TABLE table_19481 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the defensive back attend? ### Query: SELECT "College" FROM table_1948...
### Context: CREATE TABLE table_20434 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" text, "Time" text, "Jockey" text, "Winner/2nd" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
### Context: CREATE TABLE table_204_208 ( id number, "year" text, "title" text, "role" text, "episodes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what title came directly after this morning ? ### Query: SELECT "title" FROM table_204_208 WHERE ...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE table_name_24 ( lost VARCHAR, points_difference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of losses for the team with a points difference of -25? ### Query: SELECT lost FROM table_name_24 WHERE points_differ...
### Context: CREATE TABLE table_28803 ( "English" text, "Galician ( Official )" text, "Galician ( Reintegrationist )" text, "Portuguese" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Galician (reintegrationist) word of t...
### Context: CREATE TABLE table_24915874_1 ( placing VARCHAR, jockey VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the placing when the jockey was Damien Oliver? ### Query: SELECT placing FROM table_24915874_1 WHERE jockey = "Damien Oliver"
### Context: CREATE TABLE table_8423 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the United States, which has a to par of +5? ### ...
### Context: CREATE TABLE table_72529 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of points for field g...
### Context: CREATE TABLE table_name_83 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 2012 during Wimbledon and had a Q3 in 2008? ### Query: SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
### Context: CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE program_requirement ( program_id int, category varchar,...
### 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_14189 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Name has a Number of electora...
### 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 mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_name_78 ( record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record of the game for game 31? ### Query: SELECT record FROM table_name_78 WHERE game = 31
### Context: CREATE TABLE table_67669 ( "Position" text, "Player" text, "County team" text, "Club team(s)" text, "Team Number" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which county team has jimmy finn as the player? ### Query: SELECT "County ...
### Context: CREATE TABLE table_name_71 ( game INTEGER, november VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the record is listed as 2-0-0, and the November date is less than 27, what is the sum of the game? ### Query: SELECT SUM...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, ...
### Context: CREATE TABLE table_51817 ( "Tournament" text, "1968" text, "1969" text, "1970" text, "1971" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text, "1979" text, "Career SR" text, "Career W\u2013L" text, ...
### 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 microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, ...
### Context: CREATE TABLE table_name_63 ( date VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was there a record of 13 17 3? ### Query: SELECT date FROM table_name_63 WHERE record = "13–17–3"
### 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 d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE admissions ( ...
### Context: CREATE TABLE table_28750142_1 ( jockey VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the jockey for Pink Gin? ### Query: SELECT jockey FROM table_28750142_1 WHERE name = "Pink Gin"
### Context: CREATE TABLE customers ( customer_id number, customer_first_name text, customer_middle_initial text, customer_last_name text, gender text, email_address text, login_name text, login_password text, phone_number text, town_city text, state_county_province text, ...
### Context: CREATE TABLE table_22457674_1 ( european_tier VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the european tier for rick springfield ### Query: SELECT european_tier FROM table_22457674_1 WHERE artist = "Rick Springfield"
### Context: CREATE TABLE table_12792876_3 ( drawn VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the drawn when the tries against was 89? ### Query: SELECT drawn FROM table_12792876_3 WHERE tries_against = "89"
### Context: CREATE TABLE table_10797 ( "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. -- Which Away team has a Home team sco...
### Context: CREATE TABLE table_12265 ( "Draft" real, "Round" text, "Pick" real, "Player" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round of player brad winton with a draft before 1983 and a pick less than 132? ...
### Context: CREATE TABLE table_28970 ( "Species" text, "Common Name" text, "Protein Name" text, "Accession Number" text, "NT Length" text, "NT Identity" text, "AA Length" text, "AA Identity" text, "E-Value" text ) -- Using valid SQLite, answer the following questions for the table...
### Context: CREATE TABLE bdmzjzjlb ( 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 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, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE...
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int,...
### Context: CREATE TABLE table_1346 ( "Num" real, "Team" text, "W" real, "L" real, "PCT" text, "PF" real, "PA" real, "Last appearance" real, "Last championship" real, "HOME games" real, "Home wins" real, "Home losses" real, "Home Win Pct." text, "ROAD games" real...
### Context: CREATE TABLE table_name_5 ( points INTEGER, february INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points a February smaller than 1 have? ### Query: SELECT MIN(points) FROM table_name_5 WHERE february < 1
### Context: CREATE TABLE table_name_91 ( completed VARCHAR, builder VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did chatham complete the Hmsmedusa? ### Query: SELECT completed FROM table_name_91 WHERE builder = "chatham" AND name ...
### Context: CREATE TABLE table_14209245_9 ( nationality VARCHAR, college_junior_club_team__league_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)? #...
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ) CREATE TABLE sportsinfo ( stuid number, sport...
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE class ( class_code text, crs_code text, class_section text, class_time text, class_room text, prof_num number ) ...
### 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gend...
### Context: CREATE TABLE table_25887826_17 ( avg VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures for 08 A points for the team with 1.1863 average? ### Query: SELECT COUNT(08 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.1863"
### Context: CREATE TABLE table_name_95 ( tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6 4, 6 2? ### Query:...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### 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 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 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 broadcast_share ( Channel_ID int, Program_ID int, Date text, Share_in_percent real ) CREATE TABLE program ( Program_ID int, Name text, Origin text, Launch real, Owner text ) CREATE TABLE broadcast ( Channel_ID int, Program_ID int, Time_of_day t...
### Context: CREATE TABLE table_16226 ( "1st players choice" text, "2nd players choice" text, "Probability 1st player wins" text, "Probability 2nd player wins" text, "Probability of a draw" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In Penney's ...
### Context: CREATE TABLE jybgb ( YLJGDM text, YLJGDM_MZJZJLB text, YLJGDM_ZYJZJLB text, BGDH text, BGRQ time, JYLX number, JZLSH text, JZLSH_MZJZJLB text, JZLSH_ZYJZJLB text, JZLX number, KSBM text, KSMC text, SQRGH text, SQRXM text, BGRGH text, BGRXM tex...
### Context: CREATE TABLE table_14160327_4 ( family_friendly VARCHAR, decade VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many family friendly games are in the 1990s? ### Query: SELECT COUNT(family_friendly) FROM table_14160327_4 WHERE decade = "1990s...
### Context: CREATE TABLE table_name_59 ( height VARCHAR, year VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Height of Junior Meghan Austin? ### Query: SELECT height FROM table_name_59 WHERE year = "junior" AND name = "meghan ...
### Context: CREATE TABLE table_name_32 ( position VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is Sal Martinez? ### Query: SELECT position FROM table_name_32 WHERE player = "sal martinez"
### 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 prescriptions ( subject_id text...
### Context: CREATE TABLE table_55269 ( "Round" text, "Date" text, "Matches" real, "Clubs" text, "New entries this round" text, "Prize money" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many matches were there in the round with 1,000,000 ...
### Context: CREATE TABLE table_name_89 ( grid INTEGER, laps VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest grid for Laps more than 137 and rank is less than 8 ### Query: SELECT MAX(grid) FROM table_name_89 WHERE laps > 13...
### Context: CREATE TABLE table_name_56 ( role VARCHAR, festival_organization VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What role was nominated at the Sydney Film Festival? ### Query: SELECT role FROM table_name_56 WHERE festival_organization = "sydney...
### Context: CREATE TABLE table_26688 ( "Episode number Production number" text, "Title" text, "Original airdate" text, "Time of airing" text, "Total viewers on Hallmark" real, "Total viewers on Hallmark+1" real, "Total viewers" real, "Rank on channel" text ) -- Using valid SQLite, ans...
### Context: CREATE TABLE table_name_64 ( opponent VARCHAR, time VARCHAR, ground VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Opponent playing at 20:00 GMT at Camp Nou? ### Query: SELECT opponent FROM table_name_64 WHERE time = "20:00 gmt" ...
### 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 d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE cost ( row_id number, subject_id num...
### Context: CREATE TABLE table_name_94 ( blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and ...
### 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 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 table_name_25 ( record VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the team's record when the NY rangers are at home with atlanta visting and lehtonen getting the d...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity tex...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquep...
### Context: CREATE TABLE table_16081 ( "Headstamp ID" text, "Primer Annulus Color" text, "Bullet Tip Color" text, "Other Features" text, "Functional Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the headstamp id of h2, what was the color...
### Context: CREATE TABLE table_54456 ( "Episode" text, "Rating" real, "Share" real, "Rating/Share (18-49)" text, "Viewers (millions)" real, "Rank (timeslot)" real, "Rank (night)" real, "Rank (week)" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, date_valid_to DATETIME, other_card_details VARCHAR(255) ) CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER,...