Your original statement should work fine, with a few minor tweaks (you forgot an "s" and "A.AlbumDescA.,"
SELECT
A.AlbumDesc,DateCreated,A.UserId,
A.IsPrivate,A.CoverImgSrc,A.AlbumName,
(SELECT COUNT(Id)
FROM images B
WHERE B.album_Id = A.album_Id) AS ImageCount
FROM...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.