Walmart Interview Question

SQL - Join two tables and extract insights using window function, lag, lead, python algo (easy)