I have a table for posts and a table for categories, what i want is to select posts that are in a specific category. The problem is that the category is stored in another ta
select p.* from posts p inner join categories c on p.id = c.postid where c.category = 'politic'