text
stringlengths
197
8.39k
### 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_32354 ( "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 score of the team that ...
### Context: CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_...
### Context: CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Tags ( Id number, TagNam...
### Context: CREATE TABLE table_name_29 ( team_2 VARCHAR, team_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the team 2 when the team 1 is sestese(e16)? ### Query: SELECT team_2 FROM table_name_29 WHERE team_1 = "sestese(e16)"
### 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_name_4 ( game INTEGER, october VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average game number that was on october 19? ### Query: SELECT AVG(game) FROM table_name_4 WHERE october = 19
### Context: CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Desc...
### Context: CREATE TABLE table_55762 ( "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 when the grid is 9? ### Query: SELECT "Time/Retired" FROM ta...
### Context: CREATE TABLE table_name_49 ( ihsaa_class VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which IHSAA Class has a Location of columbia city? ### Query: SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"
### 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 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, TXBZ number, ZZBZ number, WDBZ number, JZKSBM text, JZKSMC text, ...
### Context: CREATE TABLE table_49170 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place has a to par of E? ### Query: SELECT "Place" FROM table_49170 WHERE "To par" = 'e'
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) 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 T...
### Context: CREATE TABLE table_7517 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total attendance October 22, 1972? ### Query: SELECT SUM("Attendance") FROM ta...
### 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 Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName T...
### Context: CREATE TABLE TRANSACTIONS ( investor_id VARCHAR, share_count INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the average share count of transactions each each investor, ordered by average share count. ### Query: SELECT investor_id, AVG(shar...
### Context: CREATE TABLE table_name_16 ( score VARCHAR, decision VARCHAR, home VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the home Dallas game that had a decision of Legace? ### Query: SELECT score FROM table_name_16 WHERE dec...
### Context: CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text, RYBH text ) CREATE TABLE zyjzjlb ( YLJGDM text, JZLSH text, MZJZLSH text, KH text, KLX number, HZXM text, WDBZ number, RYDJSJ time, RYTJDM number, RYTJMC text, JZKSDM text, JZKSMC text,...
### Context: CREATE TABLE EMPLOYEE ( EMP_NUM int, EMP_LNAME varchar(15), EMP_FNAME varchar(12), EMP_INITIAL varchar(1), EMP_JOBCODE varchar(5), EMP_HIREDATE datetime, EMP_DOB datetime ) CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PRO...
### Context: CREATE TABLE table_63294 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Channel" text, "Stadium" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Week has an Attendance of 63,447? ### Query:...
### Context: CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMEN...
### Context: CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER...
### 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 transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREAT...
### Context: CREATE TABLE browser ( id int, name text, market_share real ) CREATE TABLE accelerator_compatible_browser ( accelerator_id int, browser_id int, compatible_since_year int ) CREATE TABLE Web_client_accelerator ( id int, name text, Operating_system text, Client text, ...
### Context: CREATE TABLE table_name_31 ( year INTEGER, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- waht is the last year with a mclaren mp4/10b chassis ### Query: SELECT MAX(year) FROM table_name_31 WHERE chassis = "mclaren mp4/10b"
### Context: CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text ) CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real ) CREATE TABLE head ( head_ID int, name text, b...
### Context: CREATE TABLE table_61536 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year the world junior championships has 1500 m notes? ### Query: SEL...
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) 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 te...
### 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_52847 ( "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 average number in attendance on September 16? ### Query: SEL...
### Context: CREATE TABLE circuits ( circuitId INTEGER, circuitRef TEXT, name TEXT, location TEXT, country TEXT, lat REAL, lng REAL, alt TEXT, url TEXT ) CREATE TABLE qualifying ( qualifyId INTEGER, raceId INTEGER, driverId INTEGER, constructorId INTEGER, number ...
### Context: CREATE TABLE table_20867295_2 ( season VARCHAR, winner VARCHAR, third_place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When twente came in third place and ajax was the winner what are the seasons? ### Query: SELECT season FROM table_208...
### Context: CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_st...
### 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_36 ( bike VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bike has an accident time, less than 9 laps, and a 5 grid? ### Query: SELECT bike FROM table_name_36 WHERE t...
### Context: CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalp...
### Context: CREATE TABLE table_41868 ( "Peel" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Losses has an Against of 1101, and a Byes smaller than 0? ### Query: SELE...
### Context: CREATE TABLE table_203_27 ( id number, "number" number, "serial no" number, "entered service" text, "withdrawn" text, "kilometres travelled" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what serial numbers traveled more than 440...
### 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 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_name_71 ( loss VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Loss has a Date of july 2? ### Query: SELECT loss FROM table_name_71 WHERE date = "july 2"
### Context: CREATE TABLE table_7031 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of rank when silver is 1, and gold is less than 7, and bronze is...
### Context: CREATE TABLE table_name_49 ( ihsaa_class VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IHSAA class for Chesterton? ### Query: SELECT ihsaa_class FROM table_name_49 WHERE school = "chesterton"
### Context: CREATE TABLE Companies ( Industry VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Please show the industries of companies in descending order of the number of companies. ### Query: SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) D...
### Context: CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses_i...
### Context: CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, m...
### Context: CREATE TABLE table_32727 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rider finished with a speed of 80.18mph? ### Query: SELECT "Rider" FROM table_32727 WHERE "Spe...
### Context: CREATE TABLE table_46923 ( "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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ...
### Context: CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE course_offering ( offering_id int, cou...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE table_1342331_6 ( result VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result in the election in which Ralph R. Eltse was the incumbent? ### Query: SELECT result FROM table_1342331_6 WHERE incumbent...
### Context: CREATE TABLE music_festival ( Category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Please show the categories of the music festivals with count more than 1. ### Query: SELECT Category FROM music_festival GROUP BY Category HAVING COUNT(*) > 1
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE...
### Context: CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE allergy ...
### Context: CREATE TABLE table_name_63 ( vacated_throne VARCHAR, archbishop VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Archbishop Albert Daeger vacate the throne? ### Query: SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert d...
### Context: CREATE TABLE weather ( date text, max_temperature_f number, mean_temperature_f number, min_temperature_f number, max_dew_point_f number, mean_dew_point_f number, min_dew_point_f number, max_humidity number, mean_humidity number, min_humidity number, max_sea_level...
### Context: CREATE TABLE table_name_78 ( award VARCHAR, year VARCHAR, representative_work VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the award for 1998 with Representative Work of city beat? ### Query: SELECT award FROM table_name_78 WHERE ...
### Context: CREATE TABLE table_71733 ( "Year" real, "Date" text, "Title" text, "Format(s)" text, "Award Description(s)" text, "Result(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Give me the result for a format saying album with 1994 as t...
### Context: CREATE TABLE table_7385 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest Attendance on 8 October 1986? ### Query: SELECT MIN("Attendance") FROM...
### Context: CREATE TABLE table_name_19 ( away_team VARCHAR, ground VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Away Team, when Ground is Colonial Stadium? ### Query: SELECT away_team FROM table_name_19 WHERE ground = "colonial stadium"
### Context: CREATE TABLE Ref_Incident_Type ( incident_type_code VARCHAR(10), incident_type_description VARCHAR(80) ) CREATE TABLE Addresses ( address_id INTEGER, line_1 VARCHAR(120), line_2 VARCHAR(120), line_3 VARCHAR(120), city VARCHAR(80), zip_postcode VARCHAR(20), state_provinc...
### Context: CREATE TABLE table_name_77 ( constructor VARCHAR, entrant VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani? ### Query: SELECT constru...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, dep...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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 ...
### Context: CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_71797 ( "Manager" text, "Years" text, "Games" real, "Wins" real, "Losses" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the sum of Richie Hebner winning games that were smaller 34? ### Query: SELECT SUM("Ga...
### Context: CREATE TABLE table_204_985 ( id number, "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many more home victories did this...
### Context: CREATE TABLE table_23160 ( "Year" text, "Number of Candidates" real, "Total votes" real, "Average voters per candidate" real, "Percentage of vote" text, "Saved deposits" real, "Change (percentage points)" text, "Number of MPs" real ) -- Using valid SQLite, answer the follo...
### Context: CREATE TABLE table_name_5 ( heat VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of Heat recorded for the british virgin islands? ### Query: SELECT COUNT(heat) FROM table_name_5 WHERE country = "british v...
### Context: CREATE TABLE table_28334498_3 ( no_in_season INTEGER, directed_by VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes were directed by Jeff Melman and 1.21million viewers? ### Query: SELECT MIN(no...
### Context: CREATE TABLE table_62939 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total against on 08/12/1992? ### Query: SELECT SUM("Against") FROM table_629...
### Context: CREATE TABLE table_20016339_1 ( fastest_laps VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many fastest laps did I.C. Team have? ### Query: SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. team"
### Context: CREATE TABLE management ( department_id number, head_id number, temporary_acting text ) CREATE TABLE department ( department_id number, name text, creation text, ranking number, budget_in_billions number, num_employees number ) CREATE TABLE head ( head_id number, ...
### 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_25711913_2 ( touchdowns INTEGER, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the minimum touchdowns of the Fullback player? ### Query: SELECT MIN(touchdowns) FROM table_25711913_2 WHERE position = "Fullba...
### Context: CREATE TABLE table_76018 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who scored with a grid of 10 and the highest amount of laps? ### Query: S...
### Context: CREATE TABLE table_name_23 ( position VARCHAR, goals VARCHAR, level VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Position of the winner with 18 Goals and Level of 5? ### Query: SELECT position FROM table_name_23 WHERE goals = ...
### Context: CREATE TABLE table_27539272_7 ( location_attendance VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location and attendance for game 41? ### Query: SELECT location_attendance FROM table_27539272_7 WHERE game = 41
### Context: 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_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Apartments ( apt_i...
### Context: CREATE TABLE table_24442 ( "Day" text, "Stage" text, "Time (CET)" text, "Name" text, "Length" text, "Winner" text, "Time" text, "Avg. spd." text, "Rally leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which days h...
### Context: CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ...
### Context: CREATE TABLE table_name_59 ( attendance INTEGER, home VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Attendance when the Home team was Montreal, on the Date of March 24? ### Query: SELECT SUM(attendance) FROM tabl...
### Context: CREATE TABLE table_name_31 ( team_s_ INTEGER, top_goalscorer_s_ VARCHAR, champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest team (s) that have tvmk as top scorer (s) and flora as the champion? ### Query: SELECT MIN(t...
### Context: CREATE TABLE table_61840 ( "Air Date" text, "Rating" text, "18-49" text, "Viewers" text, "Weekly Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Viewers, when Air Date is 'July 4, 2008'? ### Query: SELECT "Viewers" FROM ...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, ...
### Context: CREATE TABLE table_12810 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is T4 Place Player Nick Price's Score? ### Query: SELECT "Score" FROM table_12810 WHERE ...
### Context: CREATE TABLE table_59192 ( "Location" text, "Year" real, "Champion" text, "Runner-up" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the champion earlier than 1978 when the runner-up was Jimmy Connors? ### Query: ...
### Context: CREATE TABLE table_80310 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of lane with a rank more than 2 for Louise rnstedt? ### Query: SELECT COUNT(...
### Context: CREATE TABLE table_203_695 ( id number, "draw" number, "artist" text, "song" text, "points" number, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in the irish national final for the eurovision song contest in 1990 , which a...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number...
### Context: CREATE TABLE table_54244 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue hosted a race in 1967? ### Query: SELECT "Venue" FROM table_54244 WHERE "Year" =...
### Context: CREATE TABLE table_79576 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is from the College of Alabama? ### Query: SELECT "Player" FROM table_79576 WHER...
### Context: CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, Mark...
### 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_203_244 ( id number, "pos" text, "rider" text, "manufacturer" text, "time/retired" text, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many points did the first place finisher receive ? ### Query:...
### Context: CREATE TABLE table_204_101 ( id number, "#" number, "title" text, "producer(s)" text, "performer (s)" text, "sample(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the number of times e swift appears u...