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` =5312 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` =1957
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` =4324
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` =14409
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` =14413
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` =32975