How can I find the previous page with Bigquery
问题 I want to find out the previous page where the current page is a product page. For example I have this page 'https://www.emag.ro/telefon-mobil-apple-iphone-x-64gb-4g-space-grey-mqac2rm-a/pd/DN094NBBM'and my previous page is this page 'https://www.emag.ro/search/telefoane-mobile/IPHONE/c?ref=srcql' How in terms of hitnumber I can return how many users had this behavior. I tried with this 2 query and I want to do a JOIN but I don't know how is better. Also, I tried with LAG function but I don't