A retail company wants to calculate the change in daily sale…
A retail company wants to calculate the change in daily sales compared to the prior day. Which window function concept is most directly applied here? OPTIONS:A. Aggregating data with GROUP BYB. Accessing the previous row using LAGC. Accessing the next row using LEADD. Filtering data with WHERE ANSWER:B EXPLANATION:LAG retrieves the previous row’s value, which allows day-over-day comparisons.
Read Details