3 Replies
lmk if i can make it better.. i'm still learning 🙂
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
i tried to do that, but I ended up with an error because my main query uses a subquery, so I had to keep select clause too,
but that means my main query would select rows and run agg functions again 🤔 just to get a count.
i tested both queries and i'm getting same counts so far but i'll keep trying to do it like you mentioned because i definitely don't want removing groupBy to have an unintended effect