text
stringlengths
197
8.39k
### Context: CREATE TABLE table_68150 ( "Race" text, "Dist (f)" real, "Course" text, "Class" text, "Prize (\u00a3K)" real, "Odds" text, "Runners" real, "Placing" real, "Margin" real, "Time" text, "Jockey" text, "Trainer" text ) -- Using valid SQLite, answer the followin...
### Context: CREATE TABLE table_204_200 ( id number, "iso/iec standard" text, "title" text, "status" text, "description" text, "wg" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last standard published ? ### Query: SELECT "iso/i...
### Context: CREATE TABLE table_204_53 ( id number, "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "round" number, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many events did ...
### Context: CREATE TABLE table_name_44 ( qual VARCHAR, rank VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the qual for rank 18 in 1964? ### Query: SELECT qual FROM table_name_44 WHERE rank = "18" AND year = "1964"
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, d...
### Context: CREATE TABLE table_62133 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the party affiliation of Virginia Foxx? ### Query: SELECT "Party" FROM t...
### Context: CREATE TABLE table_51963 ( "Train No." text, "Train Name" text, "Origin" text, "Destination" text, "Frequency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency of the Chennai Egmore Dibrugarh Express to Dibrugarh? #...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, h...
### Context: CREATE TABLE table_224837_4 ( date_successor_seated VARCHAR, reason_for_change VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date successor seated for contested election; served until february 14, 1794 ### Query: SELECT date_successor...
### Context: CREATE TABLE table_73518 ( "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 ( h VARCHAR, c__max_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the h when c max is 99 ### Query: SELECT h FROM table WHERE c__max_ = 99
### Context: 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(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2...
### Context: CREATE TABLE table_28000 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original airdate" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the guests for the episo...
### Context: CREATE TABLE table_name_51 ( position VARCHAR, pick VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is position of the player with a pick number greater than 315 and a round of 30? ### Query: SELECT position FROM table_na...
### Context: CREATE TABLE table_name_6 ( player VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player is from Iowa State? ### Query: SELECT player FROM table_name_6 WHERE college = "iowa state"
### Context: CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program ( program_id in...
### Context: CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, ...
### Context: CREATE TABLE table_7139 ( "Model number" text, "Frequency" text, "L2 cache" text, "Multi 1" text, "Voltage" real, "Socket" text, "Release date" text, "Order part number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which m...
### Context: CREATE TABLE table_name_43 ( medal VARCHAR, name VARCHAR, games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Medal had a Name of f lix s nchez, and a Games of 2012 london? ### Query: SELECT medal FROM table_name_43 WHERE name = "fél...
### Context: CREATE TABLE table_65434 ( "Date" text, "Location" text, "Lineup" text, "Assist/pass" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the result 3-1 in Hague? ### Qu...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_ti...
### Context: CREATE TABLE 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 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_43793 ( "Region (year)" text, "No. 1" text, "No. 2" text, "No. 3" text, "No. 4" text, "No. 5" text, "No. 6" text, "No. 7" text, "No. 8" text, "No. 9" text, "No. 10" text ) -- Using valid SQLite, answer the following questions for the tables p...
### Context: CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed ...
### Context: CREATE TABLE table_name_3 ( team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 1st leg when Team 2 was Aurora? ### Query: SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora"
### Context: CREATE TABLE Purchases ( purchase_transaction_id INTEGER, purchase_details VARCHAR(255) ) CREATE TABLE Transactions ( transaction_id INTEGER, investor_id INTEGER, transaction_type_code VARCHAR(10), date_of_transaction DATETIME, amount_of_transaction DECIMAL(19,4), share_cou...
### Context: CREATE TABLE table_name_39 ( losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses for the team with less than 4 wins, more than 0 byes and 2510 against? ### Query: SELECT AVG...
### Context: CREATE TABLE table_225093_4 ( district VARCHAR, vacator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which district has John Culpepper (f) as the vacator? ### Query: SELECT district FROM table_225093_4 WHERE vacator = "John Culpepper (F)"
### Context: CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE flight_stop ( flight_id int, stop_...
### Context: CREATE TABLE table_2379 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original title for not nominated result wit...
### Context: CREATE TABLE table_1274 ( "School" text, "Nickname" text, "Colors" text, "League" text, "Class" text, "Division" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league does Delaware Military Academy belong to ### Query: SELECT ...
### Context: CREATE TABLE table_name_50 ( artist VARCHAR, place VARCHAR, percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Artist has a Place of 3 or less with a Percentage of 38.60%? ### Query: SELECT artist FROM table_name_50 WHERE place ...
### Context: CREATE TABLE table_name_31 ( position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less ...
### Context: CREATE TABLE table_name_7 ( school_club_team VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School/Club Team has a Pick of 198? ### Query: SELECT school_club_team FROM table_name_7 WHERE pick = 198
### Context: CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE member_of ( facid number, dno number, appt_type text ) CREATE TABLE faculty ( facid number, lname text, fn...
### Context: CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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), ...
### Context: CREATE TABLE table_name_75 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visitor on October 31? ### Query: SELECT visitor FROM table_name_75 WHERE date = "october 31"
### Context: CREATE TABLE table_name_10 ( party VARCHAR, member VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which party is sydney sampson a member of? ### Query: SELECT party FROM table_name_10 WHERE member = "sydney sampson"
### Context: CREATE TABLE table_42279 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did the Dallara chassis with a 5 start in 2006 finish? ### Query: SELECT...
### 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_...
### Context: CREATE TABLE table_31381 ( "Value" text, "Dimensions" text, "Main Color" text, "Obverse" text, "Reverse" text, "Watermark" text, "Date of issue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different dates of issue ar...
### Context: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for the t...
### Context: CREATE TABLE table_name_62 ( years VARCHAR, character VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years have joyce couwenberg as the character? ### Query: SELECT years FROM table_name_62 WHERE character = "joyce couwenberg"
### 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 swimmer ( id number, name text, nationality text, meter_100 number, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, time text ) CREATE TABLE record ( id number, result text, swimmer_id numb...
### Context: CREATE TABLE table_2651755_1 ( independent_regional_force VARCHAR, democratic_coalition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the independent regional force when democratic coalition is (r) jorge tarud ( ppd )? ### Query: SELECT...
### Context: CREATE TABLE table_48778 ( "Title" text, "Season" real, "Director" text, "Teleplay" text, "First Broadcast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Teleplay, when Director is 'George McCowan', when Season is less than 1.1...
### 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_name_38 ( airport VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2011 has an Airport of bole international airport? ### Query: SELECT MAX(2011) FROM table_name_38 WHERE airport = "bole international airport"
### 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_60085 ( "Year" real, "Round" real, "Pick" real, "Overall" real, "Player name" text, "Position" text, "AFL team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest Pick with Overall larger than...
### Context: CREATE TABLE table_9826 ( "Model number" text, "sSpec number" text, "Frequency" text, "GPU frequency" text, "L2 cache" text, "I/O bus" text, "Memory" text, "Voltage" text, "Socket" text, "Release date" text, "Part number(s)" text ) -- Using valid SQLite, answer...
### Context: CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_cod...
### 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 table_name_23 ( number INTEGER, player VARCHAR, yards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Larry Centers' average number when there were less than 600 yards? ### Query: SELECT AVG(number) FROM table_name_23 WH...
### 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 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 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_name_3 ( penanced VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many were penanced when the number with known sentences was 71 (1600 1773)? ### Query: SELECT penanced F...
### Context: CREATE TABLE table_40501 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Team w...
### Context: CREATE TABLE table_52601 ( "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. -- Which General classification has a Stage of 7? ### Q...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icu...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeo...
### Context: CREATE TABLE table_43940 ( "Rank" text, "Event" text, "Place" text, "Name" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Prize, when Name is 'Valdemar Kwaysser'? ### Query: SELECT "Prize" FROM table_43940 WHERE "...
### 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_10416 ( "7:00 PM" text, "8:00 PM" text, "8:30 PM" text, "9:00 PM" text, "9:30 PM" text, "10:00 PM" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 9:30 PM when the 8:00 PM is l'auberge du chien noir? ### Query: SE...
### Context: CREATE TABLE table_1341604_39 ( candidates VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the candidates in the district whose incumbent is Gus Yatron? ### Query: SELECT candidates FROM table_1341604_39 WHERE incumbe...
### Context: CREATE TABLE table_name_97 ( outcome VARCHAR, opponent_in_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the outcome for aliz cornet janette hus rov being opponent in final ### Query: SELECT outcome FROM table_name_97 WHERE opponent_...
### Context: CREATE TABLE table_24955 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most rank for ...
### Context: CREATE TABLE table_204_161 ( id number, "name" text, "1968 cf\ndesignator" text, "place of\nmanufacture" text, "primary\nrole(s)" text, "service\nperiod" text, "#\nused" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- number of...
### Context: CREATE TABLE table_name_84 ( yacht VARCHAR, syndicate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht? ### Query: SELECT yacht AS Club FROM table_name_84 WHERE...
### Context: CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, ...
### 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 salary ( year INTEGER, team_id TEXT, league_id TEXT, player_id TEXT, salary INTEGER ) CREATE TABLE fielding_outfield ( player_id TEXT, year INTEGER, stint INTEGER, glf NUMERIC, gcf NUMERIC, grf NUMERIC ) CREATE TABLE batting_postseason ( year I...
### Context: CREATE TABLE table_74668 ( "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 home team for punt road...
### Context: CREATE TABLE table_name_4 ( district_residence VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name of choice b. Randell is the name of which District Residence? ### Query: SELECT district_residence FROM table_name_4 WHERE name = "...
### 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 artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number ) CREATE TABLE music_fest...
### Context: CREATE TABLE table_41386 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rank has canada as the country? ### Query: SELECT "Rank" FROM table_41386 WHERE "C...
### Context: CREATE TABLE table_5427 ( "Locale" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Ontario's highest Ends Lost? ### ...
### Context: CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time...
### 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_30 ( runner_up VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the runner-up for majorca ### Query: SELECT runner_up FROM table_name_30 WHERE tournament = "majorca"
### Context: CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDis...
### Context: CREATE TABLE table_27514362_7 ( pos VARCHAR, car_make VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the finish position for cars by Pontiac driven by Bobby Hamilton? ### Query: SELECT pos FROM table_27514362_7 WHERE...
### Context: CREATE TABLE table_38012 ( "Name" text, "Life" text, "Age at death" text, "First contact with Hitler" text, "Relationship" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the woman who died at 31 first contact Hitlers? ### Quer...
### Context: CREATE TABLE table_204_997 ( id number, "#" text, "title" text, "celebrity guest(s)" text, "directed by" text, "written by" text, "original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which episode aired after marion...
### Context: CREATE TABLE table_name_67 ( lost VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What lost has 86 points? ### Query: SELECT lost FROM table_name_67 WHERE points = "86"
### Context: CREATE TABLE table_name_75 ( silver INTEGER, rank VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals? ### Query: SELECT MA...
### 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 cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ...
### Context: CREATE TABLE table_name_27 ( winner_nominee_s_ VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the winner and nominees in 2001? ### Query: SELECT winner_nominee_s_ FROM table_name_27 WHERE year = 2001
### Context: CREATE TABLE table_68750 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total attendance at games with a score of 4-2? ### Query: SE...
### Context: CREATE TABLE table_2774 ( "Episode" text, "Location" text, "Headliner" text, "Comedians" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the comedians during the episode located in Birmingham Hippodrome? ### Que...
### Context: CREATE TABLE table_33636 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Browns record after they played the gam...
### Context: CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Return a bar c...
### Context: CREATE TABLE table_43741 ( "Season" real, "Overall" real, "Slalom" text, "Giant Slalom" real, "Super G" text, "Downhill" text, "Combined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season had a downhill of 35 and overal...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, ...