views:

16

answers:

1
select xx as fieldA from ... group by xxx having fieldA is not null

I found that having has no effect

A: 

May be :

 select xx as fieldA from ... where fieldA is not null group by xxx having 

help you

Michael Pakhantsov