VishalCh/book-train huggingface dataset:
Schema:
CREATE TABLE table_7726 (
    "Nat." text,
    "Name" text,
    "Moving from" text,
    "Type" text,
    "Transfer window" text,
    "Ends" real,
    "Transfer fee" text
)

Question: What was the transfer fee for the player moving in the winter window and ending in a year after 2010?

SQL:
SELECT "Transfer fee" FROM table_7726 WHERE "Ends" > '2010' AND "Transfer window" = 'winter'
Schema:
CREATE TABLE table_67776 (
    "Year" real,
    "Role" text,
    "Author" text,
    "Radio Station/Production Company" text,
    "Release/Air Date" text
)

Question: Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year?

SQL:
SELECT SUM("Year") FROM table_67776 WHERE "Role" = 'narrator' AND "Radio Station/Production Company" = 'bbc audiobooks' AND "Release/Air Date" = '13 november 2008'
Schema:
CREATE TABLE table_204_20 (
    id number,
    "represent" text,
    "contestant" text,
    "age" number,
    "height" text,
    "hometown" text
)

Question: what is the number of delegates younger than 20 ?

SQL:
SELECT COUNT("contestant") FROM table_204_20 WHERE "age" < 20
Schema:
CREATE TABLE table_65384 (
    "Team" text,
    "2002 Position" real,
    "2003 Position" real,
    "Total Position" real,
    "Qualification" text
)

Question: Which Team has a Qualification of entry to the 2004 chinese super league, and a 2002 Position smaller than 6, and a 2003 Position smaller than 9, and a Total Position larger than 3.5?

SQL:
SELECT "Team" FROM table_65384 WHERE "Qualification" = 'entry to the 2004 chinese super league' AND "2002 Position" < '6' AND "2003 Position" < '9' AND "Total Position" > '3.5'
Schema:
CREATE TABLE table_train_111 (
    "id" int,
    "mini_mental_state_examination_mmse" int,
    "liver_disease" bool,
    "geriatric_depression_scale_gds" int,
    "rosen_modified_hachinski_ischemic_score" int,
    "plasma_creatinine" float,
    "NOUSE" float
)

Question: current plasma creatinine >= 0.5 mg / dl

SQL:
SELECT * FROM table_train_111 WHERE plasma_creatinine >= 0.5
Schema:
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_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,
    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,
    admission_location text,
    discharge_location text,
    diagnosis text,
    dod text,
    dob_year text,
    dod_year text,
    admittime text,
    dischtime text,
    admityear text
)

CREATE TABLE lab (
    subject_id text,
    hadm_id text,
    itemid text,
    charttime text,
    flag text,
    value_unit text,
    label text,
    fluid text
)

Question: count the number of patients whose diagnoses short title is acute uri nos and lab test fluid is ascites?

SQL:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Acute uri NOS" AND lab.fluid = "Ascites"
Schema:
CREATE TABLE table_name_13 (
    winner VARCHAR,
    runner_up VARCHAR,
    season VARCHAR
)

Question: Which Winner has a Runner-up of larne, and a Season of 2003 04?

SQL:
SELECT winner FROM table_name_13 WHERE runner_up = "larne" AND season = "2003–04"
Schema:
CREATE TABLE table_262 (
    "University Name" text,
    "Acronym" text,
    "Date founded" real,
    "Website" text,
    "Official registration notes" text
)

Question: What year was USF founded?

SQL:
SELECT "Date founded" FROM table_262 WHERE "Acronym" = 'USF'
Schema:
CREATE TABLE table_204_183 (
    id number,
    "rank" number,
    "nation" text,
    "gold" number,
    "silver" number,
    "bronze" number,
    "total" number
)

Question: which country/countries has the same number of total metals as thailand ?

SQL:
SELECT "nation" FROM table_204_183 WHERE "nation" <> 'thailand' AND "total" = (SELECT "total" FROM table_204_183 WHERE "nation" = 'thailand')
Schema:
CREATE TABLE Minor_in (
    StuID INTEGER,
    DNO INTEGER
)

CREATE TABLE Enrolled_in (
    StuID INTEGER,
    CID VARCHAR(7),
    Grade VARCHAR(2)
)

CREATE TABLE Course (
    CID VARCHAR(7),
    CName VARCHAR(40),
    Credits INTEGER,
    Instructor INTEGER,
    Days VARCHAR(5),
    Hours VARCHAR(11),
    DNO INTEGER
)

CREATE TABLE Faculty (
    FacID INTEGER,
    Lname VARCHAR(15),
    Fname VARCHAR(15),
    Rank VARCHAR(15),
    Sex VARCHAR(1),
    Phone INTEGER,
    Room VARCHAR(5),
    Building VARCHAR(13)
)

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 Member_of (
    FacID INTEGER,
    DNO INTEGER,
    Appt_Type VARCHAR(15)
)

CREATE TABLE Department (
    DNO INTEGER,
    Division VARCHAR(2),
    DName VARCHAR(25),
    Room VARCHAR(5),
    Building VARCHAR(13),
    DPhone INTEGER
)

CREATE TABLE Gradeconversion (
    lettergrade VARCHAR(2),
    gradepoint FLOAT
)

Question: Visualize a scatter chart about the correlation between Credits and DNO .

SQL:
SELECT Credits, DNO FROM Course ORDER BY Credits
Schema:
CREATE TABLE table_204_633 (
    id number,
    "launch date" text,
    "operator" text,
    "name" text,
    "sample origin" text,
    "samples returned" text,
    "recovery date" text,
    "mission result" text
)

Question: what was the name of the mission previous to cosmos 300 ?

SQL:
SELECT "name" FROM table_204_633 WHERE id = (SELECT id FROM table_204_633 WHERE "name" = 'cosmos 300') - 1
Schema:
CREATE TABLE table_43494 (
    "Driver" text,
    "Constructor" text,
    "Laps" real,
    "Time/Retired" text,
    "Grid" real
)

Question: How many grids had a Time/Retired of +4 laps?

SQL:
SELECT COUNT("Grid") FROM table_43494 WHERE "Time/Retired" = '+4 laps'
Schema:
CREATE TABLE table_204_184 (
    id number,
    "#" number,
    "title" text,
    "producer(s)" text,
    "featured guest(s)" text,
    "length" text
)

Question: how many featured guests are there in total ?

SQL:
SELECT COUNT("featured guest(s)") FROM table_204_184
Schema:
CREATE TABLE table_name_60 (
    place VARCHAR,
    country VARCHAR
)

Question: In what place did the golfer representing Zimbabwe finish?

SQL:
SELECT place FROM table_name_60 WHERE country = "zimbabwe"
Schema:
CREATE TABLE table_21501518_1 (
    song_choice VARCHAR,
    order__number VARCHAR
)

Question: How many total songs has the order #1

SQL:
SELECT COUNT(song_choice) FROM table_21501518_1 WHERE order__number = "1"
Schema:
CREATE TABLE table_19441 (
    "Season" text,
    "Coach" text,
    "Overall" text,
    "Conference" text,
    "Standing" text,
    "Postseason" text
)

Question: In what season was the overall record 29-7?

SQL:
SELECT "Season" FROM table_19441 WHERE "Overall" = '29-7'
Schema:
CREATE TABLE table_68616 (
    "Year" text,
    "English title" text,
    "Original title" text,
    "Country" text,
    "Director" text
)

Question: What is the English title for Ansikte Mot Ansikte?

SQL:
SELECT "English title" FROM table_68616 WHERE "Original title" = 'ansikte mot ansikte'
Schema:
CREATE TABLE table_15328 (
    "Year" real,
    "Entrant" text,
    "Chassis" text,
    "Engine" text,
    "Tyres" text,
    "Points" real
)

Question: Which gc37-01 v10 engine has the fewest points?

SQL:
SELECT MIN("Points") FROM table_15328 WHERE "Engine" = 'gc37-01 v10'
Schema:
CREATE TABLE team (
    Team_id int,
    Name text
)

CREATE TABLE player (
    Player_ID int,
    Player text,
    Years_Played text,
    Total_WL text,
    Singles_WL text,
    Doubles_WL text,
    Team int
)

CREATE TABLE match_season (
    Season real,
    Player text,
    Position text,
    Country int,
    Team int,
    Draft_Pick_Number int,
    Draft_Class text,
    College text
)

CREATE TABLE country (
    Country_id int,
    Country_name text,
    Capital text,
    Official_native_language text
)

Question: How many players played each position Plot them as bar chart, and rank in asc by the y-axis.

SQL:
SELECT Position, COUNT(*) FROM match_season GROUP BY Position ORDER BY COUNT(*)
Schema:
CREATE TABLE table_name_5 (
    venue VARCHAR,
    against VARCHAR
)

Question: Which venue has 16 against?

SQL:
SELECT venue FROM table_name_5 WHERE against = 16
Schema:
CREATE TABLE table_30854 (
    "Pick #" real,
    "Player" text,
    "Position" text,
    "Nationality" text,
    "NHL team" text,
    "College/junior/club team" text
)

Question: What is the pick # when the new jersey devils is the nhl team?

SQL:
SELECT "Pick #" FROM table_30854 WHERE "NHL team" = 'New Jersey Devils'
Schema:
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,
    hospitaladmittime time,
    hospitaladmitsource text,
    unitadmittime time,
    unitdischargetime time,
    hospitaldischargetime time,
    hospitaldischargestatus text
)

CREATE TABLE intakeoutput (
    intakeoutputid number,
    patientunitstayid number,
    cellpath text,
    celllabel text,
    cellvaluenumeric number,
    intakeoutputtime time
)

CREATE TABLE microlab (
    microlabid number,
    patientunitstayid number,
    culturesite text,
    organism text,
    culturetakentime time
)

CREATE TABLE treatment (
    treatmentid number,
    patientunitstayid number,
    treatmentname text,
    treatmenttime time
)

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 lab (
    labid number,
    patientunitstayid number,
    labname text,
    labresult number,
    labresulttime time
)

CREATE TABLE medication (
    medicationid number,
    patientunitstayid number,
    drugname text,
    dosage text,
    routeadmin text,
    drugstarttime time,
    drugstoptime time
)

CREATE TABLE diagnosis (
    diagnosisid number,
    patientunitstayid number,
    diagnosisname text,
    diagnosistime time,
    icd9code text
)

CREATE TABLE cost (
    costid number,
    uniquepid text,
    patienthealthsystemstayid number,
    eventtype text,
    eventid number,
    chargetime time,
    cost number
)

CREATE TABLE allergy (
    allergyid number,
    patientunitstayid number,
    drugname text,
    allergyname text,
    allergytime time
)

Question: what is the mchc difference/difference of patient 032-17571 second measured on the last hospital visit compared to the first value measured on the last hospital visit?

SQL:
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-17571' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) AND lab.labname = 'mchc' ORDER BY lab.labresulttime LIMIT 1 OFFSET 1) - (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-17571' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) AND lab.labname = 'mchc' ORDER BY lab.labresulttime LIMIT 1)
Schema:
CREATE TABLE table_name_33 (
    score VARCHAR,
    attendance VARCHAR
)

Question: What is Score, when Attendance is 2,444?

SQL:
SELECT score FROM table_name_33 WHERE attendance = "2,444"
Schema:
CREATE TABLE table_name_43 (
    period VARCHAR,
    built VARCHAR,
    model VARCHAR
)

Question: Between which years were there 241 fokker 70 model cabins built?

SQL:
SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 70"
Schema:
CREATE TABLE table_21037 (
    "Poll Source" text,
    "Dates administered" text,
    "Democrat: Dick Durbin" text,
    "Republican: Steve Sauerberg" text,
    "Lead Margin" real
)

Question: Name the republican steve sauerberg for august 12, 2008

SQL:
SELECT "Republican: Steve Sauerberg" FROM table_21037 WHERE "Dates administered" = 'August 12, 2008'
Schema:
CREATE TABLE table_204_608 (
    id number,
    "name" text,
    "elected party" text,
    "constituency" text,
    "elected date" text,
    "military service" text
)

Question: how long did bernard pilon serve in the canadian army ?

SQL:
SELECT "military service" - "military service" FROM table_204_608 WHERE "name" = 'bernard pilon'
Schema:
CREATE TABLE table_name_64 (
    money___ INTEGER,
    place VARCHAR,
    score VARCHAR
)

Question: What is the Money of the T4 Place Player with a Score of 71-66-74-67=278?

SQL:
SELECT AVG(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND score = 71 - 66 - 74 - 67 = 278
Schema:
CREATE TABLE microlab (
    microlabid number,
    patientunitstayid number,
    culturesite text,
    organism text,
    culturetakentime time
)

CREATE TABLE medication (
    medicationid number,
    patientunitstayid number,
    drugname text,
    dosage text,
    routeadmin text,
    drugstarttime time,
    drugstoptime time
)

CREATE TABLE allergy (
    allergyid number,
    patientunitstayid number,
    drugname text,
    allergyname text,
    allergytime time
)

CREATE TABLE intakeoutput (
    intakeoutputid number,
    patientunitstayid number,
    cellpath text,
    celllabel text,
    cellvaluenumeric number,
    intakeoutputtime time
)

CREATE TABLE treatment (
    treatmentid number,
    patientunitstayid number,
    treatmentname text,
    treatmenttime time
)

CREATE TABLE lab (
    labid number,
    patientunitstayid number,
    labname text,
    labresult number,
    labresulttime time
)

CREATE TABLE diagnosis (
    diagnosisid number,
    patientunitstayid number,
    diagnosisname text,
    diagnosistime time,
    icd9code text
)

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 cost (
    costid number,
    uniquepid text,
    patienthealthsystemstayid number,
    eventtype text,
    eventid number,
    chargetime time,
    cost number
)

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,
    hospitaladmittime time,
    hospitaladmitsource text,
    unitadmittime time,
    unitdischargetime time,
    hospitaldischargetime time,
    hospitaldischargestatus text
)

Question: what is the number of hours elapsed since the last time patient 033-22108 had a d5w intake on the current intensive care unit visit?

SQL:
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-22108') AND patient.unitdischargetime IS NULL) AND intakeoutput.celllabel = 'd5w' AND intakeoutput.cellpath LIKE '%intake%' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
Schema:
CREATE TABLE table_51441 (
    "Date" text,
    "Visitor" text,
    "Score" text,
    "Home" text,
    "Decision" text,
    "Attendance" real,
    "Record" text
)

Question: What was the date of the game when Atlanta was the home team?

SQL:
SELECT "Date" FROM table_51441 WHERE "Home" = 'atlanta'
Schema:
CREATE TABLE table_name_33 (
    trainer VARCHAR,
    year VARCHAR
)

Question: Who is the Trainer with the Year of 2013?

SQL:
SELECT trainer FROM table_name_33 WHERE year = "2013"
Schema:
CREATE TABLE table_39413 (
    "Round" real,
    "Pick" real,
    "Player" text,
    "Nationality" text,
    "College" text
)

Question: In what Round was Pick 138?

SQL:
SELECT SUM("Round") FROM table_39413 WHERE "Pick" = '138'
Schema:
CREATE TABLE table_60790 (
    "Player" text,
    "Country" text,
    "Year(s) won" text,
    "Total" real,
    "To par" text,
    "Finish" text
)

Question: What years did the player with a t71 finish win?

SQL:
SELECT "Year(s) won" FROM table_60790 WHERE "Finish" = 't71'
Schema:
CREATE TABLE table_30897 (
    "Month Sequence" real,
    "Numbered Month" text,
    "Month Name" text,
    "Regular Year" text,
    "Defective Year" real,
    "Excessive Year" real
)

Question: What is the defective year for the regular year of 29 days and month sequence of 2?

SQL:
SELECT MAX("Defective Year") FROM table_30897 WHERE "Regular Year" = '29 days' AND "Month Sequence" = '2'
Schema:
CREATE TABLE repair (
    repair_ID int,
    name text,
    Launch_Date text,
    Notes text
)

CREATE TABLE machine (
    Machine_ID int,
    Making_Year int,
    Class text,
    Team text,
    Machine_series text,
    value_points real,
    quality_rank int
)

CREATE TABLE technician (
    technician_id real,
    Name text,
    Team text,
    Starting_Year real,
    Age int
)

CREATE TABLE repair_assignment (
    technician_id int,
    repair_ID int,
    Machine_ID int
)

Question: What is the name of the technician whose team is not 'NYY', and count them by a bar chart

SQL:
SELECT Name, COUNT(Name) FROM technician WHERE Team <> "NYY" GROUP BY Name
Schema:
CREATE TABLE jobs (
    JOB_ID varchar(10),
    JOB_TITLE varchar(35),
    MIN_SALARY decimal(6,0),
    MAX_SALARY decimal(6,0)
)

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),
    DEPARTMENT_ID decimal(4,0)
)

CREATE TABLE locations (
    LOCATION_ID decimal(4,0),
    STREET_ADDRESS varchar(40),
    POSTAL_CODE varchar(12),
    CITY varchar(30),
    STATE_PROVINCE varchar(25),
    COUNTRY_ID varchar(2)
)

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 varchar(10),
    DEPARTMENT_ID decimal(4,0)
)

CREATE TABLE departments (
    DEPARTMENT_ID decimal(4,0),
    DEPARTMENT_NAME varchar(30),
    MANAGER_ID decimal(6,0),
    LOCATION_ID decimal(4,0)
)

Question: For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart, and sort in desc by the y-axis.

SQL:
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(EMPLOYEE_ID) DESC
Schema:
CREATE TABLE table_2095 (
    "Season" text,
    "Final Venue" text,
    "Champion" text,
    "Result" text,
    "Finalist" text,
    "MVP" text
)

Question: Who was the finalist when the MVP was Romain Sato?

SQL:
SELECT "Finalist" FROM table_2095 WHERE "MVP" = 'Romain Sato'
Schema:
CREATE TABLE student (
    stuid number,
    lname text,
    fname text,
    age number,
    sex text,
    major number,
    advisor number,
    city_code text
)

CREATE TABLE member_of_club (
    stuid number,
    clubid number,
    position text
)

CREATE TABLE club (
    clubid number,
    clubname text,
    clubdesc text,
    clublocation text
)

Question: Which clubs have one or more members whose advisor is '1121'?

SQL:
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.advisor = 1121
Schema:
CREATE TABLE Investors (
    investor_id INTEGER,
    Investor_details VARCHAR(255)
)

CREATE TABLE Ref_Transaction_Types (
    transaction_type_code VARCHAR(10),
    transaction_type_description VARCHAR(80)
)

CREATE TABLE Sales (
    sales_transaction_id INTEGER,
    sales_details VARCHAR(255)
)

CREATE TABLE Transactions_Lots (
    transaction_id INTEGER,
    lot_id INTEGER
)

CREATE TABLE Lots (
    lot_id INTEGER,
    investor_id INTEGER,
    lot_details VARCHAR(255)
)

CREATE TABLE Transactions (
    transaction_id INTEGER,
    investor_id INTEGER,
    transaction_type_code VARCHAR(10),
    date_of_transaction DATETIME,
    amount_of_transaction DECIMAL(19,4),
    share_count VARCHAR(40),
    other_details VARCHAR(255)
)

CREATE TABLE Purchases (
    purchase_transaction_id INTEGER,
    purchase_details VARCHAR(255)
)

Question: Visualize the general trend of sum share count over the date of transaction, sort in descending by the X-axis.

SQL:
SELECT date_of_transaction, SUM(share_count) FROM Transactions ORDER BY date_of_transaction DESC
Schema:
CREATE TABLE table_28177800_5 (
    late_middle_english VARCHAR,
    late_old_english__anglian_ VARCHAR
)

Question: What is the Late Middle English equivalent of the Anglian g, g?

SQL:
SELECT late_middle_english FROM table_28177800_5 WHERE late_old_english__anglian_ = "æg, ǣg"
Schema:
CREATE TABLE table_24058 (
    "Episode No." real,
    "Title" text,
    "Directed by" text,
    "Written by" text,
    "Viewers (millions)" text,
    "Original airdate" text
)

Question: What was the episode number for 'Going Bodmin'?

SQL:
SELECT MAX("Episode No.") FROM table_24058 WHERE "Title" = 'Going Bodmin'
Schema:
CREATE TABLE table_39585 (
    "Player" text,
    "Touchdowns" real,
    "Extra points" real,
    "Field goals" real,
    "Points" real
)

Question: How many touchdowns were scored by William Cole?

SQL:
SELECT "Touchdowns" FROM table_39585 WHERE "Player" = 'william cole'
Schema:
CREATE TABLE table_65927 (
    "Team" text,
    "Car Spec." text,
    "Drivers" text,
    "Class" text,
    "Rounds" text
)

Question: What rounds did RML Racing Silverline and James Nash compete?

SQL:
SELECT "Rounds" FROM table_65927 WHERE "Team" = 'rml racing silverline' AND "Drivers" = 'james nash'
Schema:
CREATE TABLE table_11226 (
    "Date" text,
    "Visitor" text,
    "Score" text,
    "Home" text,
    "Leading scorer" text,
    "Attendance" real,
    "Record" text
)

Question: Name the score for pacers visitor on 14 april 2008

SQL:
SELECT "Score" FROM table_11226 WHERE "Visitor" = 'pacers' AND "Date" = '14 april 2008'