Introduction
The ISNULL() function
The COALESCE() function
The NULLIF() function
14. NULLIF() – practice 1
Summary

Instruction

Good. Let's do another exercise to practice the use of NULLIF().

Exercise

Show the Name of each product with the Ratio calculated in the following way:

Divide the Price of the product by its ShippingCost.
Show the result in percent, rounded to an integer value.

If the ShippingCost is 0.00, show NULL instead.

Stuck? Here's a hint!

Use the function ROUND(x, 0) to get the rounded value. There is no need to append the percent sign.