I want to order values from database query by date but I want also to change their format
SELECT to_char( date, 'DD.MM.YYYY') "date1", date as date2
from ..
order by date2
This SQL has just one problem. I don’t want date2 int the output.
Thanks for your help
Just use
or