LATERAL
Derived Tables
The keyword LATERAL
marks a table as a lateral derived table.Lateral derived tables can reference tables (including other derived tables) that occur earlier in the FROM
clause.See [fblangref50-dml-select-joins-lateral] for more information.