Postgresql – SQL query to track a sequence of sites visited by a user in a session
I need to track the sequence of sites visited by a user in their session. My data looks like this: visitor session_num site page_view_num timestamp User A 2 Site A 1 2024-03-22 11:41:10 User A 2 Site A 2 2024-03-22…