text
stringlengths
197
8.39k
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, econo...
### Context: CREATE TABLE table_44592 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Points" real, "Final Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the lowest Rac...
### Context: CREATE TABLE table_23292220_4 ( daves_team VARCHAR, first_broadcast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many daves team entries are there on 27 october 2006? ### Query: SELECT COUNT(daves_team) FROM table_23292220_4 WHERE first_b...
### Context: CREATE TABLE table_name_6 ( country VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has a loan as the type? ### Query: SELECT country FROM table_name_6 WHERE type = "loan"
### 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE dat...
### Context: CREATE TABLE table_69465 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of ranking when the nationalits is England with more than 53 goals? ###...
### Context: CREATE TABLE table_74624 ( "Year" real, "Player" text, "Nation of citizenship" text, "Team represented" text, "Position primarily played" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of all the years that Landon Donova...
### Context: CREATE TABLE WINE ( Name VARCHAR, Appelation VARCHAR, price VARCHAR ) CREATE TABLE APPELLATIONS ( Appelation VARCHAR, County VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the wines that have prices lower than 50 and have a...
### Context: CREATE TABLE table_54052 ( "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 venue features an away side sc...
### Context: CREATE TABLE table_67894 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average Total has a Gold award of 13 and a Bronze award less than 13? ###...
### Context: CREATE TABLE Catalogs ( catalog_id INTEGER, catalog_name VARCHAR(50), catalog_publisher VARCHAR(80), date_of_publication DATETIME, date_of_latest_revision DATETIME ) CREATE TABLE Attribute_Definitions ( attribute_id INTEGER, attribute_name VARCHAR(30), attribute_data_type V...
### Context: CREATE TABLE debate_people ( Debate_ID int, Affirmative int, Negative int, If_Affirmative_Win bool ) CREATE TABLE debate ( Debate_ID int, Date text, Venue text, Num_of_Audience int ) CREATE TABLE people ( People_ID int, District text, Name text, Party text,...
### Context: CREATE TABLE table_29538 ( "Members" text, "Country" text, "Year Established" real, "World Rank by THE-WUR , 2013" text, "World Rank by ARWU , 2013" text, "World Rank by QS , 2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What...
### Context: CREATE TABLE table_name_84 ( date VARCHAR, against VARCHAR, opposing_teams VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has fewer than 32 against and the opposing team of Australia? ### Query: SELECT date FROM table_name_84 WHER...
### Context: CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comme...
### Context: CREATE TABLE table_name_53 ( series VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Series are on september 15, 2007? ### Query: SELECT series FROM table_name_53 WHERE date = "september 15, 2007"
### 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_25 ( outcome VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome in 1975? ### Query: SELECT outcome FROM table_name_25 WHERE year = 1975
### Context: CREATE TABLE party_host ( party_id number, host_id number, is_main_in_charge others ) CREATE TABLE party ( party_id number, party_theme text, location text, first_year text, last_year text, number_of_hosts number ) CREATE TABLE host ( host_id number, name text,...
### Context: CREATE TABLE table_10962 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the height for the center posit...
### 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_24 ( nation VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the total is larger than 1,and the bronze is less than 3, and silver larger than 2, ...
### Context: CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Tags ( Id number, TagName tex...
### Context: CREATE TABLE table_74543 ( "Class" text, "Date" text, "Race" text, "Driver" text, "Position" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what driver has a team of officine alfieri maserati and belongs to the class of...
### Context: CREATE TABLE table_46043 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "Club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Club team has a Pick larger than 139? ### Query: SELECT "Clu...
### Context: CREATE TABLE table_name_72 ( country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country Scored 66-69=135? ### Query: SELECT country FROM table_name_72 WHERE score = 66 - 69 = 135
### 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 Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId ...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE prescriptions ( row_id number, subje...
### Context: CREATE TABLE Faculty_participates_in ( FacID VARCHAR ) CREATE TABLE Faculty ( FacID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the ids of the faculty who don't participate in any activity. ### Query: SELECT FacID FROM Faculty EXCEPT S...
### Context: CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, enter...
### Context: CREATE TABLE table_3943 ( "Finish" real, "Start" real, "Car" real, "Driver" text, "Make" text, "Sponsor" text, "Pts/bns" text, "Laps" real, "Status" text, "Winnings" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How...
### 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_11617 ( "Rank" real, "Movie" text, "Year" real, "Studio(s)" text, "Opening Weekend Net Gross" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the sum of Opening Weekend Net Gross at the Studio of UTV Motion Pict...
### Context: CREATE TABLE parking_fines ( council_tax_id number, cmi_cross_ref_id number ) CREATE TABLE benefits_overpayments ( council_tax_id number, cmi_cross_ref_id number ) CREATE TABLE business_rates ( business_rates_id number, cmi_cross_ref_id number ) CREATE TABLE rent_arrears ( co...
### Context: CREATE TABLE table_49272 ( "Name" text, "Type" text, "Themed area" text, "Manufacturer" text, "Opened" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the dreamworks experience from Ferrari? ### Query: SELECT "Name" ...
### Context: CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text,...
### Context: CREATE TABLE table_204_970 ( id number, "year" number, "award" text, "category" text, "title" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which did he win more , best foreign actor or best actor ? ### Query: SELEC...
### Context: CREATE TABLE table_15637071_1 ( headquarters VARCHAR, icao VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the headquarters of the airline which has the ICAO code of AAU? ### Query: SELECT headquarters FROM table_15637071_1 WHERE icao =...
### Context: CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) 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...
### Context: CREATE TABLE hz_info_zyjzjlb ( JZLSH number, YLJGDM number, zyjzjlb_id number ) CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XL...
### 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_13080 ( "Date (dd.mm.yyyy)" text, "Soviet Unit" text, "Aircraft flown" text, "Enemy Aircraft" text, "Axis Unit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Soviet Unit when the Enemy Aircraft was bf.10...
### Context: CREATE TABLE table_35612 ( "Rank" text, "Margin" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue has 2 as the rank? ### Query: SELECT "Venue" FROM table_35612 WHERE "Rank" = '2'
### Context: CREATE TABLE table_204_488 ( id number, "order in\nposition" number, "president of\nthe republic" text, "length of\nthe presidential\naction" text, "rank by\nlength\nof term(s)" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
### Context: CREATE TABLE table_360 ( "Rocket launch" text, "Launch Date" text, "Mission" text, "Institutional authority" text, "Launch Site" text, "Outcomes" text, "Derivatives" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which authority...
### Context: CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE class ( class_code text, crs_code text, ...
### Context: CREATE TABLE table_35420 ( "Name" text, "Innhabitants" real, "Area" real, "Mayor" text, "Party" text, "Municipal code" real, "Language form" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the area of ask y, with a Municip...
### 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_16551 ( "Engine" text, "Power, continuous" text, "Critical altitude This is the highest altitude at which the engine can achieve its full continuous power rating. Above this altitude, power falls off with height as with a naturally aspirated engine . See Supercharger#Altitude...
### Context: CREATE TABLE table_203_358 ( id number, "pos." number, "athlete" text, "run 1" number, "run 2" number, "total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the slowest athlete in run 2 ? ### Query: SELECT "athlete" FROM ta...
### Context: CREATE TABLE table_40456 ( "Election" real, "First member" text, "First party" text, "Second member" text, "Second party" text, "Third member" text, "Third party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the third m...
### Context: CREATE TABLE table_203_536 ( id number, "#" number, "date" text, "opponent" text, "score" text, "win" text, "loss" text, "save" text, "crowd" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was t...
### Context: CREATE TABLE table_22825 ( "Team #1" text, "Agg. score" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 2nd leg result in the round where team #1 is Iraklis? ### Query: SELECT "...
### Context: CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varc...
### Context: CREATE TABLE table_name_93 ( bronze VARCHAR, gold VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Bronze when gold is more than 1 and nation is total? ### Query: SELECT COUNT(bronze) FROM table_nam...
### Context: CREATE TABLE table_15038373_1 ( operating_systems VARCHAR, software VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the operating systems for sbagen? ### Query: SELECT operating_systems FROM table_15038373_1 WHERE software = "SBaGen...
### Context: CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_mana...
### Context: CREATE TABLE Customer ( CustomerId integer, FirstName varchar(40), LastName varchar(20), Company varchar(80), Address varchar(70), City varchar(40), State varchar(40), Country varchar(40), PostalCode varchar(10), Phone varchar(24), Fax varchar(24), Email varc...
### Context: CREATE TABLE table_1360997_3 ( jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the jockey at Rosehill and the weight was 57.5 kg? ### Query: SELECT jockey FROM table_1360997_3 WHERE venue = ...
### Context: CREATE TABLE Locations ( Location_ID INTEGER, Location_Name VARCHAR(255), Address VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Royal_Family ( Royal_Family_ID INTEGER, Royal_Family_Details VARCHAR(255) ) CREATE TABLE Photos ( Photo_ID INTEGER, Tourist_Attraction_...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, ce...
### Context: CREATE TABLE table_name_52 ( home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team score for St Kilda? ### Query: SELECT home_team AS score FROM table_name_52 WHERE home_team = "st kilda"
### Context: CREATE TABLE table_30329 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote episode number 19 in the seri...
### 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 diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TAB...
### Context: CREATE TABLE table_name_78 ( venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012? ### Query: SELECT venue F...
### Context: CREATE TABLE table_44482 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the surface on 26 May 1996? ### Query: SELECT "Surface" FROM...
### Context: CREATE TABLE table_24223834_3 ( no_in_series VARCHAR, us_viewers__in_millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number in the series had 2.528 million u.s. viewers? ### Query: SELECT no_in_series FROM table_24223834_3...
### Context: CREATE TABLE table_15895 ( "Name" text, "Canton" text, "Height (meters)" real, "Crest length (meters)" real, "Type" text, "Year of construction" real, "Name of the Lake" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the...
### Context: CREATE TABLE table_51612 ( "Date" text, "Opponents" text, "Score" text, "Competition" text, "Match Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the GC competition when the opponents are 1. FC Nuremberg? ##...
### 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 table_75045 ( "Outcome" text, "Event" text, "Year" text, "Venue" text, "Opponent in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Outcome when All England Open is the Opponent in the final? ### Quer...
### Context: CREATE TABLE table_30608 ( "Callsign" text, "City of license" text, "Virtual channel" text, "Digital channel" text, "Network" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What digital channel corresponds to virtual channel 5.2? ### Q...
### Context: CREATE TABLE table_name_6 ( founded INTEGER, affiliation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Founded which has a Affiliation of private/methodist? ### Query: SELECT MAX(founded) FROM table_name_6 WHERE affiliation = "private...
### Context: CREATE TABLE market ( Market_ID int, Country text, Number_cities int ) CREATE TABLE film ( Film_ID int, Title text, Studio text, Director text, Gross_in_dollar int ) CREATE TABLE film_market_estimation ( Estimation_ID int, Low_Estimate real, High_Estimate real,...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE table_name_55 ( visitor VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visiting team on May 7? ### Query: SELECT visitor FROM table_name_55 WHERE date = "may 7"
### Context: CREATE TABLE table_34864 ( "Year" text, "Title" text, "Role" text, "Producer" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Title has a Director of rowell santiago? ### Query: SELECT "Title" FROM table_34864 WHE...
### Context: CREATE TABLE table_24546 ( "Year" real, "Horse" text, "Driver" text, "Trainer" text, "Country of owner" text, "Odds of winner" text, "Winning time (km rate)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many countries did ...
### 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 procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE transfers ( row_id number, subject_i...
### Context: CREATE TABLE MEMBER_OF ( FacID VARCHAR, DNO VARCHAR ) CREATE TABLE FACULTY ( Fname VARCHAR, Lname VARCHAR, FacID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the full names of faculties who are members of department with depa...
### Context: CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTEGER, OnScholarship VARCHAR(1) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advi...
### Context: CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE instructor...
### Context: CREATE TABLE table_62914 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Attendance of the game on November 6, 1966? ### Query: SELECT "Attendance" FRO...
### Context: CREATE TABLE table_35916 ( "Year" real, "Location" text, "Gold" text, "Silver" text, "Bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the bronze medal when the Asian Games were held in Busan? ### Query: SELECT "Bronze" F...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_days text ) CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE T...
### Context: CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE train_station ( Train_ID int, Station_ID int ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Lo...
### Context: CREATE TABLE table_24850630_4 ( group VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the group in the British Champion Stakes? ### Query: SELECT group FROM table_24850630_4 WHERE race = "British Champion Stakes"
### Context: CREATE TABLE table_12657 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency where the power is 25kw? ### Query: SELECT "Frequency" FR...
### Context: CREATE TABLE table_77423 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average To Par, when Score is '72-67-71-72=282'? ### Quer...
### Context: CREATE TABLE table_name_91 ( socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket? ### Query: SELECT socket FROM tabl...
### Context: CREATE TABLE table_name_72 ( outcome VARCHAR, partner VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome on 11 October 2009, when his partner was Jordan Kerr? ### Query: SELECT outcome FROM table_name_72 WHERE...
### Context: CREATE TABLE device ( Device_ID int, Device text, Carrier text, Package_Version text, Applications text, Software_Platform text ) CREATE TABLE stock ( Shop_ID int, Device_ID int, Quantity int ) CREATE TABLE shop ( Shop_ID int, Shop_Name text, Location text,...
### Context: CREATE TABLE table_34517 ( "Year" real, "Champion" text, "Country" text, "Venue" text, "Location" text, "Score" text, "To par" text, "Purse ( $ )" real, "Winner's share ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE table_name_89 ( bronze VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation had 135 Bronze medals? ### Query: SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135
### Context: CREATE TABLE Engineer_Visits ( engineer_visit_id INTEGER, contact_staff_id INTEGER, engineer_id INTEGER, fault_log_entry_id INTEGER, fault_status VARCHAR(10), visit_start_datetime DATETIME, visit_end_datetime DATETIME, other_visit_details VARCHAR(255) ) CREATE TABLE Asset_P...
### Context: CREATE TABLE table_19663 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of years for womens doubl...
### Context: CREATE TABLE table_38349 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Week had a Result of w 10-0, and an Attendance smaller than 58,571? ### Query: SELEC...