End of Year Sale: Use Coupon Code END2025 to Get Extra 25% Off.
Actions table to get records where extra is 'spam'.action_date and post_id to ensure each spam report is counted once per day.Removals table on post_id to find out which reported spam posts were removed.action_date and calculate two aggregates: the count of removed spam posts and the size of all reported spam posts.erDiagram
Actions {
int user_id
int post_id
date action_date
enum action
varchar extra
}
Removals {
int post_id
date remove_date
}
Actions }|--|| Removals : ""