You are viewing a single comment's thread. Return to all comments →
-- Oracle SELECT a.start_date, MIN(b.end_date) AS end_date FROM (SELECT start_date FROM projects WHERE start_date NOT IN (SELECT end_date FROM projects)) a, (SELECT end_date FROM projects WHERE end_date NOT IN (SELECT start_date FROM projects)) b WHERE a.start_date < b.end_date GROUP BY a.start_date ORDER BY min(b.end_date) - a.start_date, a.start_date;
Seems like cookies are disabled on this browser, please enable them to open this website
SQL Project Planning
You are viewing a single comment's thread. Return to all comments →