You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WITH finishers AS
(SELECT'Sophia Liu'as name,
TIMESTAMP'2016-10-18 2:51:45+00'as finish_time,
'F30-34'as division
UNION ALLSELECT'Nilly Nada', TIMESTAMP'2016-10-18 3:10:14+00', null)
SELECT name,
FORMAT_TIMESTAMP('%X', finish_time) AS finish_time,
division,
LEAD(name, 2, 'Nobody')
OVER (PARTITION BY division ORDER BY finish_time ASC) AS two_runners_back
FROM finishers
The text was updated successfully, but these errors were encountered: