3 ms·
I don't often deal with SQL and when I do, it is usually quite simple. But, I think there is actually an error in the first step: SELECT avg(rating),
by mast 13y ago
I don't often deal with SQL and when I do, it is usually quite simple. But, I think there is actually an error in the first step:
SELECT
avg(rating),
wine_id
FROM
app_wine
GROUP BY
wine_id;
The query should be against the app_rating table. It does get corrected later on, but I was confused for a while.