How would i get the time difference for only the records that load and unload in i min and under.... here is what i am using.
select car_no, viewlog_date_time, text_message
from viewlog
where car_no <= '500' and (text_message like 'LOADED' or text_message like 'Unload' )
order by car_no, viewlog_date_time
Thanks in advance
select car_no, viewlog_date_time, text_message
from viewlog
where car_no <= '500' and (text_message like 'LOADED' or text_message like 'Unload' )
order by car_no, viewlog_date_time
Thanks in advance