I know it\'s generally a bad idea to do queries like this:
SELECT * FROM `group_relations`
But when I just want the count, should I go for this
It is best to count by an indexed column such as a primary key.
SELECT COUNT(`group_id`) FROM `group_relations`