Hi all,
i have what i think is a basic need: select rows using the HAVING statement after a LEFT OUTER JOIN using the COUNT(*).
I wish to select all the lines from a table which are referred a certain number of times from another one, ex: query.where("relation_one_to_many = 0").
How can i do this?
Thanks