This returns the count for the # of rows in Table & Table2 compounded, but I would like to return just the count of Table2 , preferrably in ONE select statement.
SELECT Table.Name, Count(Table2.Active) FROM Table
LEFT JOIN Table2 ON Table2.Active = 1
Suggestions?
Write the query in the
SELECTclause:I didn’t change your tables “join” but it doesn’t make any sense.