Skip to content
Advertisement

T-SQL Group By summarize fields using logical functions

How can I aggregate and arrive to these results?

enter image description here

Advertisement

Answer

Assuming the columns actually contain the literal string values 'TRUE' and 'FALSE', we could use:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement