HAVING
HAVING clause
SELECT album_id, count(id) as songs_count
FROM songs
GROUP BY album_id
HAVING songs_count > 5; -- This works in Postgres!Last updated
SELECT album_id, count(id) as songs_count
FROM songs
GROUP BY album_id
HAVING songs_count > 5; -- This works in Postgres!Last updated