SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
/*select date_trunc('minute',avg(actual_departure - scheduled_departure)) as average_departure_delay, date_trunc('minute',max(actual_departure - scheduled_departure)) as maximal_departure_delay from (*/select scheduled_departure, actual_departure, actual_departure - scheduled_departure as delay from flights f where departure_airport = 'DME' and actual_departure::date between '2017-08-01' AND '2017-08-31' and actual_departure is not null

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear