How to count joined table?
I'm trying to count rows returned by join for a query, basically the same as this: https://dba.stackexchange.com/questions/110850/count-rows-with-inner-joined-tables
How to convert this to Drizzle? Any documentation I've missed regarding this kind of things?
Database Administrators Stack Exchange
Count rows with inner joined tables
I have 3 tables:
Players:
mysql> SELECT * FROM players;
+-----------+---------+----------------------+----------------------+-----------------+------------------------------+--------------...
1 Reply
you should be able to do something along the lines of:
this is not exactly what you're trying to do but should give you an idea of how you can achieve something like this.
otherwise you can also just
leftJoin
the other tables and write a function to aggregate the results yourself