In MS SQL Server i have a query like this:
SELECT *
FROM tableA
OUTER APPLY (SELECT TOP 1 * FROM tableB
WHERE tableB.dateTimeColumn < tableA.dateTimeColumn ORDER BY tableB.dateTimeColumn DESC)
How i can have the same result in BigQuery due to the lack of OUTER APPLY?