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` =9845 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` =4347
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` =5232
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` =37351