This error seems to be linked to the absence of the last SELECT, line 27.
SELECT
total_posts,
staff_posts,
ROUND((staff_posts/total_posts::decimal)*100,2) "staff_posts %"
FROM posts_data
Does this make sense?
This error seems to be linked to the absence of the last SELECT, line 27.
SELECT
total_posts,
staff_posts,
ROUND((staff_posts/total_posts::decimal)*100,2) "staff_posts %"
FROM posts_data
Does this make sense?