AS is optional in derived table