uzyskanie sumy za pomocą sql z wieloma warunkami

Mam dane w kolumnach jako: -

  Process   Volume      TAT
  1            1        Pass
  1            2        Fail
  2            5        Fail
  2            5        Pass
  3            1        Pass
  4            6        Fail
  4            4        Pass

Teraz grupując według Procesu, chcę sumę objętości (nie biorąc pod uwagę żadnego TAT), sumę objętości, gdzie TAT = Pass, suma Volume, gdzie TAT = Fail.

Lubię to

Process     Total Volume    Volume(TAT=Pass)    Volume(TAT = Fail)
1           3               1                   2
2           10              5                   5
...
...