Hey,
i want to form a selection where i can group by an alias:
Code:
select count(nr),to_char(dat, '%Y') as year
from table
where dat between "2005-01-01" and "2009-12-31" and nr=1
group by year
I´d like to build a group for each year to get an yearwise count
But informix doesn´t allow me to use such a group