tagged [db2]
Group by when joining the same table twice
Group by when joining the same table twice I'm writing a query to summarize some data. I have a flag in the table that is basically boolean, so I need some sums and counts based on one value of it, an...