SELECT LName, COUNT(LName) FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.OnScholarship = 'Y' GROUP BY LName
What are the last names for all scholarship students, and count them by a bar chart
CREATE TABLE SportsInfo (
    StuID INTEGER,
    SportName VARCHAR(32),
    HoursPerWeek INTEGER,
    GamesPlayed INTEGER,
    OnScholarship VARCHAR(1)
)

CREATE TABLE Student (
    StuID INTEGER,
    LName VARCHAR(12),
    Fname VARCHAR(12),
    Age INTEGER,
    Sex VARCHAR(1),
    Major INTEGER,
    Advisor INTEGER,
    city_code VARCHAR(3)
)

CREATE TABLE Video_Games (
    GameID INTEGER,
    GName VARCHAR(40),
    GType VARCHAR(40)
)

CREATE TABLE Plays_Games (
    StuID INTEGER,
    GameID INTEGER,
    Hours_Played INTEGER
)