I\'m trying to write a query to join a user table to an activity logging table and return the following for each user:
A) The time they last logged in.
B)
Just as one more crazy idea - instead of MAX( TIME )
coalesce(max(time), (select max(time) from UserWebActivity where ...) )