Skip to content
Advertisement

How to do sum with where clause group by with date?

I want to sum up where clause. I don’t know how to show off_duration in the next column.

op

ex op

sample data

Advertisement

Answer

I think that you are looking for conditional aggregation:

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