Returns the correlation coefficient.
Syntax
CORR(y, x)Example
Enter values below to update the example in real time.
years_experience→salary→corr_exp_salary→employees→-- 경력과 급여의 상관관계
SELECT CORR(years_experience, salary) AS corr_exp_salary
FROM employees;