text
stringlengths
197
8.39k
### Context: CREATE TABLE table_9369 ( "Year" text, "Starts" real, "Wins" real, "Top Fives" real, "Top Tens" real, "Poles" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of wins for casey mears when the player ra...
### Context: CREATE TABLE table_78353 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest round number with a time of 4:39? #...
### Context: CREATE TABLE table_35019 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average points that have a December less than 6, with a game ...
### Context: CREATE TABLE playlist ( playlistid number, name text ) CREATE TABLE genre ( genreid number, name text ) CREATE TABLE artist ( artistid number, name text ) CREATE TABLE mediatype ( mediatypeid number, name text ) CREATE TABLE invoiceline ( invoicelineid number, in...
### Context: CREATE TABLE table_75708 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Result of 2 1, and a Competition of friendly, and a Goal ...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real,...
### Context: CREATE TABLE table_61368 ( "Number" real, "Time" real, "Aircraft" text, "Opponent" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is number 21's highest time? ### Query: SELECT MAX("Time") FROM table_61368 WHERE "...
### Context: CREATE TABLE table_17218 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The fighting knights has what type of nickn...
### Context: CREATE TABLE table_24491 ( "Week of" text, "Tournament" text, "Champion" text, "Runner-up" text, "Semifinalists" text, "Quarterfinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the quarterfinalists for runner-up jimm...
### Context: CREATE TABLE table_57704 ( "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 Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Da...
### Context: CREATE TABLE table_21491 ( "Cartridge" text, "Bullet weight" text, "Muzzle velocity" text, "Muzzle energy" text, "Max pressure" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max pressure of the .38 long colt cartridge? ###...
### Context: CREATE TABLE table_11630008_5 ( directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode written by Lamont Ferrell? ### Query: SELECT directed_by FROM table_11630008_5 WHERE written_by = "Lamont Fe...
### Context: CREATE TABLE Behavior_Incident ( incident_type_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many distinct incident type codes are there? ### Query: SELECT COUNT(DISTINCT incident_type_code) FROM Behavior_Incident
### Context: CREATE TABLE table_59795 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had a league of regionalliga s d? ### Query: SELECT "Teams" FROM table_59795 WHERE "Le...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_2454550_1 ( track VARCHAR, race_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what track is the Argent mortgage Indy 300 held? ### Query: SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300"
### Context: CREATE TABLE table_1876825_3 ( production_code VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production code for episode 26 in the series? ### Query: SELECT production_code FROM table_1876825_3 WHERE no_in_ser...
### 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_1610 ( "Game" real, "Date" text, "Opponent" 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 a...
### 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_73232 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Wildcats points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins or losses were there when the r...
### Context: CREATE TABLE table_name_76 ( score_in_the_final VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score in the final has november 3, 2002 as the date? ### Query: SELECT score_in_the_final FROM table_name_76 WHERE date = "novembe...
### Context: CREATE TABLE table_204_597 ( id number, "main author" text, "no. of patients" number, "duration of follow-up years" number, "linearized rate of infection" text, "actuarial freedom from infective endocarditis" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_15097 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest points of British Racing after 1963? ### Query: SELECT MIN("Points") FRO...
### Context: CREATE TABLE table_name_87 ( poll_source VARCHAR, lead_margin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which poll source has a lead of 17? ### Query: SELECT poll_source FROM table_name_87 WHERE lead_margin = 17
### Context: CREATE TABLE table_name_33 ( county VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what county is the Canyon Padre Bridge? ### Query: SELECT county FROM table_name_33 WHERE name = "canyon padre bridge"
### Context: CREATE TABLE table_3174 ( "Place Name" text, "County(ies) [A ]" text, "Population (2010)" real, "Land Area (2010)" text, "Density (2010)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum 2010 population of Edgewater? ...
### Context: CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, La...
### Context: CREATE TABLE 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_name_92 ( school_club_team VARCHAR, years_in_orlando VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School/Club Team has a Years in Orlando of 1997 1998? ### Query: SELECT school_club_team FROM table_name_92 WHERE years...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text, person_info_CSD text, person_info_CSRQ time, person_info_GJDM text, person_info_GJMC text, person_info_JGDM text, person_info_JGMC text, person_info_MZDM text, person_info_MZMC text, pers...
### Context: CREATE TABLE table_29836557_2 ( pick__number VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pick number is Kevan George? ### Query: SELECT pick__number FROM table_29836557_2 WHERE player = "Kevan George"
### Context: CREATE TABLE table_48485 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE COUNTRY WITH NAME OF KANU? ### Query: SELECT...
### Context: CREATE TABLE table_name_98 ( no_2 VARCHAR, no_4 VARCHAR, no_7 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the No. 2 of the person with a No. 5 of Ethan and NO. 7 of Jackson? ### Query: SELECT no_2 FROM table_name_98 WHERE no_4 = ...
### Context: CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm...
### Context: CREATE TABLE Documents_with_expenses ( budget_type_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the budget type code with most number of documents. ### Query: SELECT budget_type_code FROM Documents_with_expenses GROUP BY budget_type_...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE table_68928 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average points of a Cosworth v8 engine in 1973. ### Query: SELECT AVG("Points") ...
### Context: CREATE TABLE table_name_77 ( f_laps VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which F/Laps have 27 Points? ### Query: SELECT f_laps FROM table_name_77 WHERE points = "27"
### Context: CREATE TABLE table_59863 ( "Atomic property" text, "Helium" text, "Neon" text, "Argon" text, "Krypton" text, "Xenon" text, "Radon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Atomic property has Helium of 4.16? ### Que...
### 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intake...
### Context: CREATE TABLE table_35908 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Tournament has a Winning score of +3 (71-72-70=213)? ### Quer...
### Context: CREATE TABLE loan ( loan_ID varchar(3), loan_type varchar(15), cust_ID varchar(3), branch_ID varchar(3), amount int ) CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE customer ( cust_I...
### 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 table_name_73 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team with West Ham United as the home team? ### Query: SELECT away_team FROM table_name_73 WHERE home_team = "west ham uni...
### Context: CREATE TABLE table_38283 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opponents on January 27? ### Query: SELECT "Opponent" FROM table_38283 WHERE "J...
### 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 t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) 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, ...
### Context: CREATE TABLE table_203_57 ( id number, "year" number, "round" text, "against" text, "score" text, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- based on the table of brazil 's results at the fifa world cup between 1930 an...
### 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, ...
### Context: CREATE TABLE table_name_63 ( score VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the match on December 19, 2009? ### Query: SELECT score FROM table_name_63 WHERE date = "december 19, 2009"
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int ) -- Using valid SQLit...
### Context: CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE airport ( airport_code varchar, airport_name text, ...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUs...
### Context: CREATE TABLE table_32247 ( "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 is the total crowd size that s...
### Context: CREATE TABLE table_46829 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Opponent that has the November larger than 26, and the Game larger than ...
### Context: CREATE TABLE table_name_42 ( address VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the address in 1974? ### Query: SELECT address FROM table_name_42 WHERE year = "1974"
### Context: CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text ) CREATE TABLE region ( Region_ID int, Region_name te...
### Context: CREATE TABLE table_10749 ( "Date" text, "Name" text, "Flag" text, "Tonnage (GRT)" real, "Sunk by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who sunk the ship with the flag of Norway? ### Query: SELECT "Sunk by" FROM table_10749 WH...
### Context: CREATE TABLE fgwyjzb ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSUR...
### Context: CREATE TABLE table_name_78 ( race VARCHAR, fastest_lap VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Brands Hatch race had Niki Lauda as its Fastest Lap? ### Query: SELECT race FROM table_name_78 WHERE fastest_lap = ...
### Context: CREATE TABLE table_10020178_1 ( year_of_construction INTEGER, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is year of construction of spitallamm? ### Query: SELECT MIN(year_of_construction) FROM table_10020178_1 WHERE name = "Spital...
### 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_21311525_1 ( round VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round number for the date 19/06/2009? ### Query: SELECT round FROM table_21311525_1 WHERE date = "19/06/2009"
### Context: CREATE TABLE table_name_51 ( score VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's bob tway's score? ### Query: SELECT score FROM table_name_51 WHERE player = "bob tway"
### Context: CREATE TABLE table_name_65 ( to_par VARCHAR, year_s__won VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par for the player that won in 2003, with a total larger than 145? ### Query: SELECT COUNT(to_par) FROM ta...
### 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 Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel_ID INTEGER, Event_Type_Code CHAR(15), Finance_ID INTEGER...
### Context: CREATE TABLE table_name_28 ( ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of NGC that has a Declination ( J2000 ) of 15 55 , and an Apparent magn...
### Context: CREATE TABLE table_72858 ( "1st throw" real, "2nd throw" real, "3rd throw" text, "Equation" text, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the equation is (10 times 8) + 4, what would be the 2nd throw? ### Query: SELE...
### Context: CREATE TABLE table_1576 ( "Constituency" text, "Electorate" real, "Votes" real, "Turnout" text, "Yes" real, "No" real, "Spoilt" real, "Percent Yes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most number of leitr...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, ...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name v...
### Context: CREATE TABLE table_70773 ( "Year" real, "Points" text, "Rebounds" text, "Assists" text, "Steals" text, "Blocks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the leader in Points with Assists of 2 tied (5) and Steals of 3 t...
### 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_name_67 ( silver INTEGER, bronze VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number of silver that had 0 bronzes and total less than 1? ### Query: SELECT MAX(silver) FROM table_name_6...
### Context: CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE PostHistoryTypes ( Id number, Name te...
### Context: CREATE TABLE Web_client_accelerator ( id int, name text, Operating_system text, Client text, Connection text ) CREATE TABLE browser ( id int, name text, market_share real ) CREATE TABLE accelerator_compatible_browser ( accelerator_id int, browser_id int, compat...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(1...
### Context: CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number...
### Context: CREATE TABLE table_name_4 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had A in 2008, and a 1r in 2010? ### Query: SELECT tournament FROM table_name_4 WHERE 2008 = "a" AND 2010 = "1r"
### Context: CREATE TABLE table_60154 ( "Team" text, "Opponent" text, "Score" text, "Venue" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue of the match with cronulla sharks as the opponent? ### Query: SELECT "Venue" ...
### Context: CREATE TABLE table_name_14 ( club_source_ VARCHAR, i_ VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Club Source [I ], when Name is 'Andrew McCombie Category:Articles With hCards'? ### Query: SELECT club_source_ AS "i_...
### Context: CREATE TABLE table_51729 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What School/Club Team is Player Howard Wood from? ### Query: SELECT...
### 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 patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### 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_52293 ( "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 team scored 14.14 (98) at an ...
### Context: CREATE TABLE table_68242 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the qual 1 for jan heylen ### Query: SELECT "Qual 1" FROM table_68242 WHERE "Name" = 'jan ...
### Context: CREATE TABLE table_name_98 ( total VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total for danny allsopp? ### Query: SELECT total FROM table_name_98 WHERE name = "danny allsopp"
### Context: CREATE TABLE table_name_20 ( lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which LNER 1946 number is from 1892 and has an LNER number of 7347 7356? ### Query: SELECT lner_1946_no FROM table_name_...
### Context: CREATE TABLE table_47920 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE 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 Posts ( Id number, PostTypeId number, A...
### Context: CREATE TABLE table_name_23 ( result VARCHAR, rank_number VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for Rank 2 on December 6, 1969? ### Query: SELECT result FROM table_name_23 WHERE rank_number = "2" AN...
### Context: CREATE TABLE table_name_97 ( strike_rate VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What strike rate is 9 the matches? ### Query: SELECT strike_rate FROM table_name_97 WHERE matches = "9"
### Context: CREATE TABLE table_204_887 ( id number, "district" number, "representative" text, "party" text, "residence" text, "counties represented" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of democratic representatives...