text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_37 ( purse___us$__ VARCHAR, track VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Purse in Sunland Park Track? ### Query: SELECT purse___us$__ FROM table_name_37 WHERE track = "sunland park"
### Context: CREATE TABLE table_28898 ( "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 is the result when the candidates are alexander smyth ...
### Context: CREATE TABLE farm_competition ( Competition_ID int, Year int, Theme text, Host_city_ID int, Hosts text ) CREATE TABLE city ( City_ID int, Official_Name text, Status text, Area_km_2 real, Population real, Census_Ranking text ) CREATE TABLE farm ( Farm_ID int...
### Context: CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, ...
### 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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text...
### Context: CREATE TABLE table_name_33 ( goals INTEGER, apps INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the Apps were smaller than 22, what's the lowest amount of goals scored in a game? ### Query: SELECT MIN(goals) FROM table_name_33 WHERE apps <...
### Context: CREATE TABLE table_203_687 ( id number, "#" number, "title" text, "time" text, "performer(s)" text, "songwriters" text, "producer(s)" text, "samples and notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which track is lo...
### Context: CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) -- Using valid SQLite, answer the ...
### Context: CREATE TABLE table_19096 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who owns the station on channel 3...
### Context: CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE cost ( row_i...
### Context: CREATE TABLE table_name_56 ( launched VARCHAR, spacecraft VARCHAR, time_elapsed VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Launched has both a Spacecraft of Ulysses and 491 days (1 yr, 4 mo, 3 d) as Time elapsed? ### Query: SELECT ...
### Context: CREATE TABLE table_49955 ( "Season" real, "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Competition round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score of the copa libertadores...
### Context: CREATE TABLE table_25058269_1 ( runner_up VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In season 2007 08 who is the runner-up? ### Query: SELECT runner_up FROM table_25058269_1 WHERE season = "2007–08"
### Context: CREATE TABLE table_11960610_10 ( date VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date deng (20) had high points? ### Query: SELECT date FROM table_11960610_10 WHERE high_points = "Deng (20)"
### 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 PostNotices ( Id number, PostId number...
### Context: CREATE TABLE table_name_77 ( crowd INTEGER, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average crowd size for the game when the Gold Coast Blaze was the home team? ### Query: SELECT AVG(crowd) FROM table_name_77 WHERE...
### Context: CREATE TABLE table_75577 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest week number where they played against the Detroit Lion...
### Context: CREATE TABLE table_74345 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the draft pick playe...
### Context: CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, ...
### Context: CREATE TABLE table_name_82 ( nationality VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the person who played small forward? ### Query: SELECT nationality FROM table_name_82 WHERE position = "small f...
### Context: CREATE TABLE table_name_67 ( grid INTEGER, name VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest grid that Paul Tracy had when he had over 4 points? ### Query: SELECT MIN(grid) FROM table_name_67 WHERE name ...
### Context: CREATE TABLE table_17356205_1 ( title VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many titles are given for the episode directed by Joanna Kerns? ### Query: SELECT COUNT(title) FROM table_17356205_1 WHERE directed_by...
### Context: CREATE TABLE table_67448 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was average attendance during week 15? ### Query: SELECT AVG("Attendance") FROM table...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_8243 ( "Team" text, "Gold" real, "Silver" real, "Bronze" real, "Overall" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average bronze when the team is northwest territories and gold is more than 34? ### ...
### Context: CREATE TABLE field ( fieldid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid in...
### Context: CREATE TABLE table_3669 ( "#" real, "Title" text, "Timeslot" text, "Air date" text, "Viewers (000s)" real, "Weekly Rank Sky1" real, "Weekly Rank Virgin Media" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- A what time was the ti...
### 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_14342210_14 ( field_goals__5_points_ INTEGER, total_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many field goals were made by the person with 100 points in total? ### Query: SELECT MAX(field_goals__5_points_) FR...
### Context: CREATE TABLE table_name_6 ( race_2 VARCHAR, race_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Race 2, when Race 1 is 30? ### Query: SELECT race_2 FROM table_name_6 WHERE race_1 = "30"
### Context: CREATE TABLE table_14098_1 ( area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What unit of measurement for uruguay? ### Query: SELECT area__km²___per_sqmi_ FROM table_14098_1 WHERE cou...
### Context: CREATE TABLE table_9915 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player with a t10 place, from the United States, and has a score of 69-70-76=215? #...
### Context: CREATE TABLE table_10075 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the country with a 70-74-69=213 score? ### Query: SELECT "Country" FROM table_10075 W...
### Context: CREATE TABLE table_13732 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest tonnage for a ship from Great Britain named Newton Ash? ### Query: SELEC...
### Context: CREATE TABLE table_65914 ( "Hampden FL" 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 highest number of wins when draws are larger than 1, and byes ...
### Context: CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE comment_instructor ( instructor_id int, student_i...
### Context: CREATE TABLE table_282413_3 ( ethnic_group VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest 2001 population when the ethnic group is white: british? ### Query: SELECT MAX(2001 AS _population) FROM table_282413_3 WHERE ethnic_group...
### Context: CREATE TABLE dorm_amenity ( amenid number, amenity_name text ) CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE has_amenity ( dormid num...
### Context: CREATE TABLE table_1341472_40 ( first_elected INTEGER, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year where the result of the election was a retired republican hold? ### Query: SELECT MIN(first_elected) FROM tab...
### Context: CREATE TABLE table_17796 ( "Year" real, "Road Opened" text, "Road Closed" text, "Freight Carried s Tonne" real, "Super B Capacity Reached [ citation needed ]" text, "Number of Truck Loads North" real ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE course_offering ( offering_id int, course_id int, semester int, section_number ...
### Context: CREATE TABLE table_1914090_2 ( europe INTEGER, australia VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most members Europe had when Australia had 94615? ### Query: SELECT MAX(europe) FROM table_1914090_2 WHERE australia = 94615
### Context: CREATE TABLE table_name_29 ( finish VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place did Jimmy Reece finish in 1957? ### Query: SELECT finish FROM table_name_29 WHERE year = "1957"
### Context: CREATE TABLE table_51564 ( "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 with the catalogue # cocy-80093? ### Query: SELECT "Date" FROM table_515...
### Context: CREATE TABLE table_name_46 ( wkts INTEGER, ovrs VARCHAR, econ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the sum of the wkts when the ovrs were bigger than 2 and econ was bigger than 7.84? ### Query: SELECT SUM(wkts) FROM table_...
### Context: CREATE TABLE table_train_251 ( "id" int, "gender" string, "left_ventricular_ejection_fraction_lvef" int, "allergy_to_rabbit_proteins" bool, "recurring_alcohol_related_legal_problem" bool, "hyperlipidemia" bool, "fasting_ldl_cholesterol" int, "baseline_hemoglobin_hgb" float, ...
### Context: CREATE TABLE table_26914854_3 ( incoming_manager VARCHAR, date_of_appointment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the incoming manager when the date of appointment is 9 march 2011? ### Query: SELECT incoming_manager FROM table...
### Context: CREATE TABLE table_name_79 ( manufacturer VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the manufacter of the car with a time/retired of +0.122? ### Query: SELECT manufacturer FROM table_name_79 WHERE time_retired...
### 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 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. -- Draw a bar cha...
### Context: CREATE TABLE Aircraft ( name VARCHAR, distance INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show names for all aircrafts with distances more than the average. ### Query: SELECT name FROM Aircraft WHERE distance > (SELECT AVG(distance) FROM Ai...
### Context: CREATE TABLE table_1507431_1 ( date VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The tournament Buick Classic occured on what dates? ### Query: SELECT date FROM table_1507431_1 WHERE tournament = "Buick Classic"
### Context: CREATE TABLE table_44877 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time? ### Query: SELECT "Qual 2" FROM ...
### Context: CREATE TABLE table_19313 ( "Model" text, "Year" text, "Die Size (mm 2 ) [1]" text, "Config core [2]" text, "MTriangles/s [1]" real, "MPixel/s [1]" real, "Bus width ( bit )" text, "DirectX" text, "OpenGL" text, "OpenGL ES" text, "GFLOPS(@ 200MHz)" text, "Frequ...
### Context: CREATE TABLE table_name_54 ( result VARCHAR, venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Venue of home, and a Date of 3 october 1987? ### Query: SELECT result FROM table_name_54 WHERE venue = "home"...
### Context: CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admissi...
### Context: CREATE TABLE table_24172157_3 ( date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool? ### Quer...
### Context: CREATE TABLE table_60844 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank has a Gold larger than 1, and a Bronze of 4, and a Silver smaller than 1? ### Query: S...
### Context: CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE offering_instructor ( ...
### Context: CREATE TABLE table_12134383_1 ( date_of_birth VARCHAR, end_of_term VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the date of birth with end of term being 2april1969 ### Query: SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term...
### Context: CREATE TABLE table_name_72 ( matches VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Matches, when Year is '2003'? ### Query: SELECT matches FROM table_name_72 WHERE year = "2003"
### Context: CREATE TABLE table_55327 ( "Driver" text, "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which engine has the entrant scuderia ferrari and is driven by Raymon...
### 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 review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE item ( i_id number, title text ) CREATE TABLE useracct ( u_id number, name text ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug...
### 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_name_88 ( byes INTEGER, draws VARCHAR, losses VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which byes are high when losses are larger than 7, wins smaller than 6, and draws are smaller than 0? ### Quer...
### Context: CREATE TABLE table_17466 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position does Jim Johnston play? ### Quer...
### Context: CREATE TABLE table_38090 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text, "10:30" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 7:30 feature with an 8:30 feature Melr...
### 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_name_98 ( year VARCHAR, nominated_work_title VARCHAR, organisation VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year when then organisation is star awards, the result is won and the nomina...
### Context: CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, ...
### Context: CREATE TABLE table_256286_45 ( _percentage_yes VARCHAR, no_votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the percentage of yes votes for the measure where the no votes number 199174? ### Query: SELECT _percentage_yes FROM table_...
### Context: CREATE TABLE table_11744 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for pfc: put up or ...
### Context: CREATE TABLE table_65564 ( "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 is the Runner(s)-up of the Kemper Open Tournament? ### Query:...
### Context: CREATE TABLE table_name_94 ( transfer_fee VARCHAR, type VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the transfer fee for Gravgaard? ### Query: SELECT transfer_fee FROM table_name_94 WHERE type = "transfer" AND name ...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, in...
### 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 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 treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid n...
### Context: CREATE TABLE table_name_76 ( laps INTEGER, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of laps when the Time/Retired is differential? ### Query: SELECT MAX(laps) FROM table_name_76 WHERE time_retired =...
### Context: CREATE TABLE table_name_31 ( outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the outcome of the election with edward mahama as a candidate and 73,494 votes? ### Query: S...
### Context: CREATE TABLE table_19210115_1 ( location VARCHAR, conference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the University that plays in the American Athletic Conference? ### Query: SELECT location FROM table_19210115_1 WHERE conferenc...
### Context: CREATE TABLE table_name_50 ( attendance INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average attendance from june 11 ### Query: SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11"
### Context: CREATE TABLE table_33561 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Kickoff" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the kickoff time for the Miami Dolphins? ...
### Context: CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_zone ( time_zone_code text, ...
### Context: CREATE TABLE table_65628 ( "Club" text, "Total points" text, "Bonus points" text, "Match points" text, "Games" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Diff" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_63857 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" real, "Water (sqmi)" real, "Latitude" real, "Longitude" real, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided ...
### Context: CREATE TABLE table_name_90 ( home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team with an Away team that is wrexham? ### Query: SELECT home_team FROM table_name_90 WHERE away_team = "wrexham"
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE mzjzjlb ( YLJGDM text, JZLSH text, KH text, KLX number, MJZH text, HZXM text, NLS number, NLY number, ZSEBZ number, JZZTDM number, JZZTMC text, JZJSSJ time, ...
### Context: CREATE TABLE table_63964 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ran has noel patterson as the rider? ### Query: SELECT "Rank" FROM table_63964 WHERE "Rider" = ...
### Context: CREATE TABLE table_55877 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team on the May 2 game? ### Query: SELECT "Home" FROM ...
### Context: CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), ...
### Context: CREATE TABLE table_33336 ( "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 HOME TEAM'S SCORE WHEN...
### Context: CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostTags ( ...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagn...
### Context: CREATE TABLE table_56290 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on September 28? ### Query: SELECT "Opponent" FROM table_56290 WHERE "Date" ...
### Context: CREATE TABLE Customers ( customer_id INTEGER, customer_details VARCHAR(255) ) CREATE TABLE Organizations ( organization_id INTEGER, parent_organization_id INTEGER, organization_details VARCHAR(255) ) CREATE TABLE Things ( thing_id INTEGER, organization_id INTEGER, Type_of_...
### Context: CREATE TABLE table_77598 ( "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. -- Where was the game played with an a...