Considere uma tabela T com a seguinte instância.
f g h
5 2 1
3 2 NULL
4 NULL 1
2 3 2
select max(f) c1,count(*) c2,min(h) c3
from t
produz como resultado
----------
5 4 1
--------------------
5 4 1
4 4 1
-----------------
5 3 1
-------------------
5 4 NULL
------------------------
5 NULL NULL