text
stringlengths
197
8.39k
### 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 table_58589 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time did the ferrari car that finished 62 laps have? ### Query: SELECT "Time/Ret...
### Context: CREATE TABLE table_20540 ( "Species" text, "Indole" text, "Methyl Red" text, "Voges-Proskauer" text, "Citrate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for salmonella spp. if you use citrate? ### Query: SELECT ...
### Context: CREATE TABLE time_interval ( period text, begin_time int, end_time int ) 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 ...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) C...
### Context: CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE fare ( fare_id int, from_airport varchar, to_airport varchar, fare_basis_code text, fare_airline text, restriction_code text, one_direction_cost int, round_trip_cost int, ...
### Context: CREATE TABLE table_12399 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score when the to par was 5, for Peter Jacobsen? ### Query: SELECT SUM("Score") F...
### Context: CREATE TABLE table_name_48 ( attendance INTEGER, week VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest attendance for week 1? ### Query: SELECT MIN(attendance) FROM table_name_48 WHERE week = 1
### Context: CREATE TABLE table_58258 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team is Lake Oval home to? #...
### 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 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_52201 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rebounds occurred in a rank 4 game? ### Query: SELECT "Rebounds" FROM table_52201 WHERE ...
### Context: CREATE TABLE table_204_614 ( id number, "date announced" text, "plant name" text, "location" text, "date of closing" text, "products" text, "employees" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the top company tha...
### Context: CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE writes ( paperid...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point...
### Context: CREATE TABLE table_74163 ( "Warrior" text, "Close ranged weapons" text, "Mid ranged weapons" text, "Long ranged weapons" text, "Armor" text, "Special weapon" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the special weapon is th...
### 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 table_name_34 ( record VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which record happened on the date of May 7? ### Query: SELECT record FROM table_name_34 WHERE date = "may 7"
### Context: CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, ...
### Context: CREATE TABLE table_5837 ( "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 that also has a save of Smith (26)? ### Query: SELECT "Opponent" FROM table_5...
### Context: CREATE TABLE table_32863 ( "Club" text, "Played" real, "Lost" real, "Drawn" real, "Against" real, "Diff." real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum number of draws when the diff is smaller...
### 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 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, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE...
### Context: CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, IDENTITY_CARD text, INPT_AREA_BED text, INSURED_IDENTITY number, INSURE...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniq...
### 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 course_tags_count ( course_id int, clear_grading int, pop...
### Context: CREATE TABLE table_name_67 ( year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year of Valdimir Poel...
### Context: CREATE TABLE table_32281 ( "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. -- Who was the home team when Footscra...
### Context: CREATE TABLE table_name_98 ( date VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Winning score of 15 (71-69-68-65=273)? ### Query: SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 68 - 6...
### Context: CREATE TABLE table_19011 ( "Rank" real, "Airport" text, "Total Passengers" real, "% Change 2008/2009" text, "International Passengers" real, "Domestic Passengers" real, "Transit Passengers" real, "Aircraft Movements" real, "Freight ( Metric Tonnes )" real ) -- Using va...
### Context: CREATE TABLE table_name_44 ( events VARCHAR, top_25 INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of events with a top-25 less than 0? ### Query: SELECT COUNT(events) FROM table_name_44 WHERE top_25 < 0
### Context: CREATE TABLE table_79285 ( "TV Station (Operator)" text, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011 1H" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many 2011 1H values have a 2...
### Context: CREATE TABLE table_name_33 ( total INTEGER, name VARCHAR, vuelta VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total for miguel indur in with a Vuelta larger than 1? ### Query: SELECT MIN(total) FROM table_name_33 WHERE name = ...
### Context: CREATE TABLE table_17323092_5 ( team VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whic teams scored l 97 107 (ot) ### Query: SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (OT)"
### Context: CREATE TABLE table_36029 ( "Team" text, "Location" text, "Venue" text, "Capacity" real, "Position in 2001" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the venue of belshina ### Query: SELECT "Venue" FROM table_36029 WHERE "T...
### Context: CREATE TABLE table_49731 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has fewer than 3 rounds and the position of (g)...
### Context: CREATE TABLE table_12995531_3 ( total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total viewers where the date of first broadcast is 28 january 2010 and the epis...
### Context: CREATE TABLE table_54645 ( "Event" text, "Data" text, "Athlete" text, "Date" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did Chris Maddocks compete in the 35000 m? ### Query: SELECT "Date" FROM table_54645 WHE...
### Context: CREATE TABLE table_78780 ( "Edition" text, "Date" text, "Winner" text, "Country" text, "Time ( h : m : s )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner of the 23rd Edition? ### Query: SELECT "Winner" FROM table_78...
### Context: CREATE TABLE table_71127 ( "Year" real, "Entrant" text, "Class" text, "Chassis" text, "Engine" text, "Tyres" text, "Rank" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Chassis ranked 18th? ### Query: SE...
### Context: CREATE TABLE Trained_In ( Physician INTEGER, Treatment INTEGER, CertificationDate DATETIME, CertificationExpires DATETIME ) CREATE TABLE Affiliated_With ( Physician INTEGER, Department INTEGER, PrimaryAffiliation BOOLEAN ) CREATE TABLE Room ( RoomNumber INTEGER, RoomTy...
### 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_7967 ( "Player" text, "League" real, "Scottish Cup" real, "League Cup" real, "Challenge Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum for the Scottish cup that has player Damon ...
### Context: CREATE TABLE mzjybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH number, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JY...
### Context: CREATE TABLE table_73145 ( "Tournament" text, "Also currently known as" text, "City" text, "Country" text, "Court surface" text, "Defending champion" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament is in katowice? ##...
### Context: CREATE TABLE table_name_37 ( driver VARCHAR, season VARCHAR, tuner VARCHAR, governing_body VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the driver in season 2003 with a tuner of N. Leelakrishnan and a Mai governing body? ### Qu...
### Context: CREATE TABLE diagnoses ( 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, reli...
### 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 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 table_name_44 ( home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Home Team, when Tie No is Replay, and when Attendance is 2,048? ### Query: SELECT home_team FROM table_name_44...
### Context: CREATE TABLE table_28688 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How...
### 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_12113888_1 ( built VARCHAR, name_as_rebuilt VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the built data for Knocklayd rebuild? ### Query: SELECT built FROM table_12113888_1 WHERE name_as_rebuilt = "Knocklayd"
### Context: CREATE TABLE address ( district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which districts have at least two addresses? ### Query: SELECT district FROM address GROUP BY district HAVING COUNT(*) >= 2
### Context: CREATE TABLE table_73247 ( "Barangay" text, "Population (2004)" real, "Population (2010)" real, "Area (km 2 )" text, "District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the area where barangay is guadalupe viejo? ### Quer...
### 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_38001 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which round has the scorer of Di Matteo? ### Query:...
### Context: CREATE TABLE table_name_28 ( language VARCHAR, network VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Language for Network PTC Punjabi? ### Query: SELECT language FROM table_name_28 WHERE network = "ptc punjabi"
### Context: CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, ...
### Context: CREATE TABLE table_name_52 ( time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999? ### Qu...
### Context: CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) CREATE TABLE hz_info ( KH text, KLX number, YLJGDM text ) CREATE TABLE mzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ t...
### Context: CREATE TABLE table_name_88 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record of the game that went 3-5? ### Query: SELECT record FROM table_name_88 WHERE score = "3-5"
### Context: CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details...
### Context: CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed in...
### Context: CREATE TABLE table_name_52 ( points INTEGER, games VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest value for Points, when Games is 21, and when Rank is greater than 2? ### Query: SELECT MAX(points) FROM tabl...
### Context: CREATE TABLE table_1900 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" text, "Water (sqmi)" text, "Latitude" text, "Longitude" text, "GEO ID" real, "ANSI code" real ) -- Using valid SQLite, answer the following questions for the tables provided a...
### Context: CREATE TABLE diagnoses ( 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, reli...
### Context: CREATE TABLE table_name_63 ( formula VARCHAR, refractive_index_es__5893nm VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which formula has a refractive index 589.3 at 1.97? ### Query: SELECT formula FROM table_name_63 WHERE refractive_index_es_...
### Context: CREATE TABLE table_16710971_2 ( result VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the 1978 Atlanta Falcons season when the record was 1-2? ### Query: SELECT result FROM table_16710971_2 WHERE record = ...
### 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 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 publication_keyword ( kid int, pid int ) CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year in...
### Context: CREATE TABLE table_name_33 ( failures INTEGER, orbital_regime VARCHAR, launches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total failures of heliocentric orbit orbital regimes and launches less than 1? ### Query: SELECT SUM(...
### Context: CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made...
### 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 Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ...
### Context: CREATE TABLE phone ( Company_name text, Hardware_Model_name text, Accreditation_type text, Accreditation_level text, Date text, chip_model text, screen_mode text ) CREATE TABLE chip_model ( Model_name text, Launch_year real, RAM_MiB real, ROM_MiB real, Slots...
### Context: CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, ...
### Context: CREATE TABLE table_22330 ( "Serial No." real, "District" text, "Headquartered City" text, "City Population (2009)" real, "City Area(km 2 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest city area? ### Query: SELEC...
### Context: CREATE TABLE table_77253 ( "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 winning score when the tournament is safeco classic? #...
### Context: CREATE TABLE table_203_855 ( id number, "date" text, "city" text, "venue" text, "member" text, "performance" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- were the matinee and evening performances held earlier tha...
### Context: CREATE TABLE table_name_76 ( lost INTEGER, position VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lost has a Position of 3, and a Drawn larger than 3? ### Query: SELECT SUM(lost) FROM table_name_76 WHERE position = 3 A...
### Context: CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE microbiologyevents ( row_id number, subj...
### Context: CREATE TABLE table_51099 ( "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_39154 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games have Points smaller than 4, and an October smaller than 5? ...
### Context: CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE playlists ( id number, ...
### Context: CREATE TABLE zyb ( CLINIC_ID 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, INSURED_STS text, INSU_TYPE...
### Context: CREATE TABLE table_name_32 ( entered_service VARCHAR, delivered_as VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Entered service date of the T413? ### Query: SELECT entered_service FROM table_name_32 WHERE delivered_as = "t413"
### Context: CREATE TABLE table_40229 ( "Season" text, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "Podiums" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the points s...
### Context: CREATE TABLE table_74126 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Decision" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the december for record 14-17-4 #...
### Context: CREATE TABLE table_54507 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the average laps for jackie stewart? ### Query: SELECT AVG("Laps") FROM tabl...
### Context: CREATE TABLE products ( code number, name text, price number, manufacturer number ) CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) -- Using valid SQLite, answer the following questions for the tables provided abov...
### Context: CREATE TABLE table_31551 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was Patty Fendick an opponent? ### Query: SELECT "Date"...
### Context: CREATE TABLE table_24516 ( "Regional" text, "Champions" text, "Runners-up" text, "Third place" text, "Fourth place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who got the first place when the Japanese Regional Leagues was in hokushi...
### Context: CREATE TABLE table_10135 ( "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 away team score when Ho...
### 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_57755 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Visitor with a Score with 4 3? ### Query: SELECT "Visitor" FROM table_57755 WHERE "S...
### Context: CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varc...