Solution: User Defined Function

Let's see the solution to the UDF Challenge.

We'll cover the following

Task

Calculate the median review for a selected year—for example, 2016—and compare it with the median review of the top product for that particular year. The top product is selected based on the total number of reviews for a particular product, such that the total review lies above the 75th percentile.

Solution

Get hands-on with 1400+ tech skills courses.