https://solvesql.com/problems/restaurant-vip/
SELECT *
FROM tips
WHERE total_bill IN(SELECT MAX(total_bill) FROM tips GROUP BY day)
https://solvesql.com/problems/group-by/
variance() - > 표준 편차를 구하는 함수입니다.
SELECT
quartet,
round(avg(x), 2) AS x_mean,
round(variance(x), 2) AS x_var,
round(avg(y), 2) AS y_mean,
round(variance(y), 2) AS y_var
FROM points
GROUP BY quartet