I'm trying to calculate a time difference, for example:
from 10:00 to 11:30
It must show 1:30 — that is the difference — but it's showing me 00000000 1:30:000000
How can I make this select statement show this answer? I tried many things but it doesn't work.
select TO_CHAR(TO_TIMESTAMP(ARRIVAL,'HH:MI:SS') - (TO_TIMESTAMP (START,'HH:MI:SS'))) as Du
from passenger;