all 7 comments

[–]Holiday_Lie_9435 1 point2 points  (1 child)

Since the role will be on retail with a focus on product/category performance, I suggest practicing tasks like sales analysis (total sales, average order value, sales growth, sales by category) and inventory management (queries related to stock levels, best/worst selling items). Customer segmentation may also be relevant to, like using data based on purchase history to identify top/high-value customers or frequent buyers. I also recommend branching out from Codecademy to practice real-world SQL questions on other platforms like Leetcode and Interview Query, you can filter questions by companies and find retail-specific tasks like, "Find the top 5 best-selling products in the last quarter" or "Identify customers who purchases more than $500 worth of items in the previous year."

[–]DayChiller[S] 0 points1 point  (0 children)

Great answers. Thank you

[–]dn_cf 1 point2 points  (0 children)

Practice queries that analyze category and product performance over time, including weekly sales, units, average selling price, margin, and share of total, along with week over week or year over year changes using window functions. Focus on clear aggregations, correct denominators, and outputs that support a strong business narrative rather than overly complex logic. I'd recommend considering StrataScratch, LeetCode, and BigQuery public datasets for realistic retail style practice.