Suppose these 3 tables:
COURT:
ID -------------------- 1 2 3
ARRIVE:
shipID Atime -------------------- 1 t1 1 t3
VACATION:
shipID Ltime -------------------- 1 t2 1 t4
I need a query that returns:
shipID Atime Ltime ------------------------------ 1 t1 null 1 null t2 1 t3 null 1 null t4
where t1> t2> t3> t4
This result is acceptable for:
shipID Atime Ltime ------------------------------ 1 t1 null 1 t3 null 1 null t2 1 null t4
source share