|
|
|
|
|
by lmz
2868 days ago
|
|
Not the parent poster but it's queries like these: Select user.id, user.name, sum(tx.amount) from user inner join txn on (user.id = txn.uid) group by user.id User.name is not in the group by list so it is picked arbitrarily from the rows in the group. It's harmless here but not in all cases. |
|
But hell yes, tools should warn you about this loudly, as it's not generally correct.