UPDATE `FlightSchedule`
SET delay=(
SELECT *
FROM (
SELECT
MINUTE(ETA - STA)
FROM `FlightSchedule`
WHERE `flightNum_arr` = '3517'
)
)
WHERE `flightNum_arr` = '3517';
Says:
"Every derived table must have its own alias".
How to fix this issue?