문제
SQLite
내가 작성한 정답
select species,
round(
(avg(flipper_length_mm * body_mass_g) - avg(flipper_length_mm) * avg(body_mass_g)) /
(sqrt(avg(flipper_length_mm * flipper_length_mm) - avg(flipper_length_mm) * avg(flipper_length_mm)) *
sqrt(avg(body_mass_g * body_mass_g) - avg(body_mass_g) * avg(body_mass_g))),
3) corr
from penguins
group by species;Share article