Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Reviewing SQL and numbers
So you think you can count
Round and other functions
Review and practice
24. Exercise 1

Instruction

We'll start off easy.

Exercise

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

\text{BMI} = \frac{\text{weight\ in\ kilograms}}{(\text{height\ in\ meters})^2}

Round the result to an integer. Show the characters name and the calculated BMI (column name bmi).