• if i go woth your suggestion then i need to group it by the other non aggregated columns, if i group it my results will go wrong, so i am thinking to use min(column1) over (order by column1) .

    Any suggestion is appreciated.

    Thanks,

    Sam.