text
stringlengths
197
8.39k
### Context: CREATE TABLE table_name_57 ( round VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of rounds with a 4-0 record? ### Query: SELECT COUNT(round) FROM table_name_57 WHERE record = "4-0"
### Context: CREATE TABLE table_24039 ( "Episode #" real, "Episode" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "U.S. airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the director of the 'Adam's...
### 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 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( ...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZB...
### Context: CREATE TABLE table_26614365_5 ( galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Galician (reintegrationist) word of the Galician (Official) is bo d a / bos d as? ### Query:...
### Context: CREATE TABLE table_9779 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a silver greater than 0, gold of 9 and a bronze less than 9, what is the lowest total listed? ...
### Context: CREATE TABLE table_65600 ( "Year (Ceremony)" text, "Category" text, "Film title used in nomination" text, "Original title" text, "Language" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What title was used in the nom...
### 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_69242 ( "Date" text, "Time" text, "Round" text, "Opponent" text, "Ground" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the game played at home against the opponent Siena? ### Quer...
### 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_23 ( song VARCHAR, film VARCHAR, year VARCHAR, music_director VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii ##...
### Context: CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) C...
### Context: CREATE TABLE table_44148 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on the date of september 15, 1...
### Context: CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int ) -- Using valid SQLite, answer the following quest...
### 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 hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE ftxmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZT...
### Context: CREATE TABLE table_23157997_13 ( winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points...
### Context: CREATE TABLE table_72314 ( "Year" real, "Population (Region total)" real, "Population (Mareeba)" real, "Population (Atherton)" real, "Population (Herberton)" real, "Population (Eacham)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. --...
### Context: CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_10944 ( "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 crowd total for glenfer...
### Context: CREATE TABLE table_64614 ( "Name" text, "Nationality" text, "1.85" text, "1.93" text, "Height" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1.93 for Svetlana Shkolina? ### Query: SELECT "1.93" FROM table_64614 WHERE "Name...
### Context: CREATE TABLE table_40985 ( "Class" real, "Date" text, "Builder" text, "No. built" real, "1919 nos." text, "LMS Class" text, "LMS nos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1879-81 with number built 4, what is the LM...
### Context: 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 TABLE swimmer ( ID int, name text, Nationality text, meter_100 real,...
### Context: CREATE TABLE table_35487 ( "Position" real, "Team" text, "Points" real, "Played" real, "Won by 2 or more goals difference" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided...
### Context: CREATE TABLE table_48785 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result F-A on 5 August 1990? ### Query: SELECT "Result F \u2013 A...
### Context: CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Eve...
### Context: CREATE TABLE table_70063 ( "Value" text, "Khmer" real, "Word Form" text, "UNGEGN" text, "ALA-LC" text, "Other" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the word form for the ALA-LC transliteration of ...
### Context: CREATE TABLE table_57463 ( "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 home team has a home score of...
### Context: CREATE TABLE table_19028 ( "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. -- who is the the mens doubles with mixed do...
### Context: CREATE TABLE table_12292 ( "Triples" real, "Player" text, "Team" text, "Year" real, "Years Record Stood" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the years record stood from the Pittsburgh Pirates in 1902? ### Query: SELE...
### Context: CREATE TABLE table_60100 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round had a amtch against cyprus and an edition ...
### Context: CREATE TABLE table_name_43 ( round VARCHAR, opponents VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the round for southampton opponents ### Query: SELECT round FROM table_name_43 WHERE opponents = "southampton"
### Context: CREATE TABLE table_4284 ( "Umpire" text, "Country" text, "Panel" text, "Matches" real, "WC Matches" real, "2011 WC" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of the least matches ### Query: SELECT MIN("Match...
### Context: CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, ...
### Context: CREATE TABLE table_name_74 ( inflation__percentage_annual__2012_ INTEGER, public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest inflation % annual in...
### Context: CREATE TABLE table_13393 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what total was 37.410 (4) the 1st run? ### Query: SELECT "Total" FROM t...
### Context: CREATE TABLE table_name_93 ( tv_time VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which TV Time has a Result of w 24 17? ### Query: SELECT tv_time FROM table_name_93 WHERE result = "w 24–17"
### Context: CREATE TABLE table_name_47 ( muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the muzzle device with a 1:7 barrel twist and a stock 4th generation? ### Query: SELECT muzzle_device FRO...
### Context: CREATE TABLE table_name_89 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2005, when 1998 is 'F', and when 2002 is '2R'? ### Query: SELECT 2005 FROM table_name_89 WHERE 1998 = "f" AND 2002 = "2r"
### Context: CREATE TABLE member_attendance ( member_id number, performance_id number, num_of_pieces number ) CREATE TABLE member ( member_id text, name text, nationality text, role text ) CREATE TABLE performance ( performance_id number, date text, host text, location text...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text...
### Context: CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number,...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE airports ( apid integer, name text, city text, country text, x real, y real, elevation bigint, iata character varchar(3), icao character varchar(4) ) CREATE TABLE routes ( rid integer, dst_apid integer, dst_ap varchar(4), src_apid bigint, ...
### Context: CREATE TABLE table_name_98 ( film VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the film for award of 3,740 ### Query: SELECT film FROM table_name_98 WHERE award = "£3,740"
### Context: CREATE TABLE airline ( airline_code varchar, airline_name text, note text ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE class_of_service ( booking_class varchar, rank int, class_description text ) CREATE TABLE time_zone ( ...
### Context: CREATE TABLE table_1973816_1 ( nickname VARCHAR, founded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the nickname of the students of the school founded in 1933? ### Query: SELECT nickname FROM table_1973816_1 WHERE founded = 1933
### Context: CREATE TABLE table_11076 ( "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. -- When the home team score was 6.11 (...
### 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 hz_info ( KH text, KLX number, YLJGDM text ) 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, XLMC text, XM text, ...
### Context: CREATE TABLE table_2080 ( "Year" real, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables p...
### 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_204 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Kickoff [a ]" text, "Venue" text, "TV" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rec...
### Context: CREATE TABLE table_14132239_3 ( rookie VARCHAR, transition VARCHAR, offensive VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given...
### Context: CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, app...
### Context: CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE route ( trai...
### Context: CREATE TABLE table_name_91 ( att INTEGER, avg VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the greatest att with an avg of 4.3 ### Query: SELECT MAX(att) FROM table_name_91 WHERE avg = 4.3
### 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 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_22718 ( "interval name" text, "size (steps)" real, "size (cents)" real, "just ratio" text, "just (cents)" text, "error" text, "audio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the just ratio is 11:8 an...
### Context: CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagn...
### Context: CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 ...
### Context: CREATE TABLE Ref_Address_Types ( address_type_code VARCHAR(15), address_type_description VARCHAR(80) ) CREATE TABLE Ref_Incident_Type ( incident_type_code VARCHAR(10), incident_type_description VARCHAR(80) ) CREATE TABLE Behavior_Incident ( incident_id INTEGER, incident_type_code ...
### 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 building ( building_id text, name text, street_address text, years_as_tallest text, height_feet number, floors number ) CREATE TABLE protein ( common_name text, protein_name text, divergence_from_human_lineage number, accession_number text, sequence...
### 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 lab ( subject_id text, hadm...
### Context: CREATE TABLE table_3308 ( "Circuit" text, "Location" text, "Date" text, "Series" text, "Winning driver" text, "Winning team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What circuit was the FR3.5 11 series on? ### Query: SELECT ...
### 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 ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_...
### 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 Order_Items ( order_item_id INTEGER, product_id INTEGER, order_id INTEGER, order_item_status VARCHAR(10), order_item_details VARCHAR(255) ) CREATE TABLE Invoices ( invoice_number INTEGER, invoice_date DATETIME, invoice_details VARCHAR(255) ) CREATE TABLE Custo...
### Context: CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) C...
### 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 table_73801 ( "City / Municipality" text, "No. of s Barangay" real, "District" real, "Area (km\u00b2)" text, "Population (2010)" real, "Income class (2007)" text, "ZIP code" real, "Mayor" text ) -- Using valid SQLite, answer the following questions for the tab...
### Context: CREATE TABLE table_204_589 ( id number, "season" text, "tier" number, "division" text, "pos." text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many were in the first tier ? ### Query: SELECT COUNT(*) FROM table_204_...
### Context: CREATE TABLE table_73532 ( "Episode" text, "First broadcast" text, "Seans team" text, "Jasons team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the broadcast date where Jason's team is Rhod Gilbert and Shappi K...
### Context: CREATE TABLE table_41379 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the team 1 in the match that had a 1st leg score of 3-0 and a 2nd leg of 1-2? ### Qu...
### Context: CREATE TABLE table_1965650_7 ( nhl_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams have a player named Denis Andersen? ### Query: SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = "Denis Andersen"
### Context: CREATE TABLE table_test_9 ( "id" int, "ejection_fraction_ef" int, "anemia" bool, "child_pugh_class" string, "systolic_blood_pressure_sbp" int, "leukopenia" int, "heart_disease" bool, "stroke" bool, "av_block" bool, "renal_disease" bool, "hepatic_disease" bool, ...
### Context: CREATE TABLE staff ( staff_id number, gender text, first_name text, last_name text, email_address text, phone_number text ) CREATE TABLE products ( product_id number, parent_product_id number, product_category_code text, date_product_first_available time, date_p...
### Context: CREATE TABLE table_18183850_12 ( score VARCHAR, opponent_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the opposing team was from Belgium? ### Query: SELECT score FROM table_18183850_12 WHERE opponent_team = "Belgi...
### Context: CREATE TABLE DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS varchar(20), DEPT_EXTENSION varchar(4) ) CREATE TABLE CLASS ( CLASS_CODE varchar(5), CRS_CODE varchar(10), CLASS_SECTION varchar(2), CLASS_TIME ...
### 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_203_473 ( id number, "no." number, "date" text, "tournament" text, "winning score" text, "margin\nof victory" text, "runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was the margin o...
### Context: CREATE TABLE table_name_48 ( class VARCHAR, qual_pos VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which class has a Qual position of 30? ### Query: SELECT class FROM table_name_48 WHERE qual_pos = 30
### Context: CREATE TABLE table_38775 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is donovan's surname? ### Query: SELECT "Surname" FROM table_38775 W...
### Context: CREATE TABLE table_78147 ( "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 total Crowd number for ...
### Context: CREATE TABLE enroll ( class_code VARCHAR ) CREATE TABLE CLASS ( class_code VARCHAR, crs_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many students enrolled in class ACCT-211? ### Query: SELECT COUNT(*) FROM CLASS AS T1 JOIN enro...
### Context: CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid n...
### Context: CREATE TABLE table_name_26 ( game INTEGER, november VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the game when on november 27? ### Query: SELECT SUM(game) FROM table_name_26 WHERE november = 27
### Context: CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy V...
### Context: CREATE TABLE table_23465864_4 ( sat_29_aug VARCHAR, mon_24_aug VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August? ### Query: SELECT ...
### Context: 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, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE jyjgzbb ( BGDH text,...
### 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_19839 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text ) -- Using valid SQLite, answer the following questions for th...
### Context: CREATE TABLE equipment_sequence ( aircraft_code_sequence varchar, aircraft_code varchar ) CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name ...
### Context: CREATE TABLE table_1014319_1 ( tonioli VARCHAR, goodman VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many songs received a 10 from Goodman and were rated by Tonioli? ### Query: SELECT COUNT(tonioli) FROM table_1014319_1 WHERE goodman = "1...
### Context: CREATE TABLE table_8674 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance for the game with an away team of Hispano? ### Query: SELECT "Attendance...