From the course: SQL for Exploratory Data Analysis Essential Training

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Solution: Calculating correlation with SQL

Solution: Calculating correlation with SQL - PostgreSQL Tutorial

From the course: SQL for Exploratory Data Analysis Essential Training

Solution: Calculating correlation with SQL

- [Instructor] The solution to this challenge is to, first of all, specify, select, and then use the CORR, C-O-R-R function and pass in two parameters: the number of bedrooms and the sale price. And of course, we're going to select from the houses sold table.

Contents