Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Review
So you think you can count?
Rounding functions and more
Review and practice
23. Exercise 1

Instruction

We'll start off easy.

Exercise

Calculate the BMI for every character in the Character table. BMI is calculated in the following way:

Weight in kilograms over the squared height.

Round the result to an integer. Show each character's name and their calculated BMI (column name BMI).

Note: height is measured in meters. Remember to change the type of Weight to NUMERIC.