Normalise posts: create post_tags (post_id, tag) with one row per tag, then drop tags from posts.
posts
post_tags
post_id
tag
tags
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.