select `posts`.*, `post_tags`.`tagged_id` as `pivot_tagged_id`, `post_tags`.`post_id` as `pivot_post_id` from `posts` innerjoin `post_tags` on `posts`.`id` = `post_tags`.`post_id` where `post_tags`.`tagged_id` =11821 limit 24offset0
select `genres`.*, `post_genres`.`post_id` as `pivot_post_id`, `post_genres`.`genre_id` as `pivot_genre_id` from `genres` innerjoin `post_genres` on `genres`.`id` = `post_genres`.`genre_id` where `post_genres`.`post_id` =5975
select `genres`.*, `post_genres`.`post_id` as `pivot_post_id`, `post_genres`.`genre_id` as `pivot_genre_id` from `genres` innerjoin `post_genres` on `genres`.`id` = `post_genres`.`genre_id` where `post_genres`.`post_id` =8716