Only this week, get the SQL Complete Track of 9 courses in a special prize of $330$89!
Revision
So you think you can count
Round and other functions
Revision 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).