I have a Google Big Query Table that has an email column in it. Basically each rows shows a state the user with that email address existed in. What I want to do
SELECT l.* FROM [mytable.list] l JOIN (
SELECT user_email, MAX(time) as time FROM [mytable.list] GROUP EACH BY user_email
) j ON j.user_email = l.user_email WHERE j.time = l.time;