select Title, isnull(count(R.Rating), 0) Likes from Video V left join Rating R on V.Id = R.VideoId where R.Rating != 1 or R.Rating is nullgroup by Title
select Title, isnull(count(R.Rating), 0) Likes
from Video V
Left join Rating R on V.Id = r.VideoId and R.Rating != 1
group by Title
как написать такую же функцию без And ?