1
I have a table with 4 different columns, 2 of them indicating the beginning (date and time) and 2 other indicating end (also date and time). Is there a way to sort the result so that it prioritizes to the most recent event? for example: If the end is more recent (date + time) it would sort by the end and if the start was more recent (date + time) it would sort by the same. Thank you
Pratico:
You can put an example sentence that you would like to follow this behavior in your question?
– Leonel Sanches da Silva
Which bank? Mysql, Sqlserver, Oracle?
– Guilherme Nascimento
MSSQL @Guilhermenascimento
– Vitor Caleffi
Sorry I didn’t see the tag :)
– Guilherme Nascimento