select `artists`.*, `artist_song`.`song_id` as `pivot_song_id`, `artist_song`.`artist_id` as `pivot_artist_id` from `artists` innerjoin `artist_song` on `artists`.`id` = `artist_song`.`artist_id` where `artist_song`.`song_id` =39
select `categories`.*, `category_song`.`song_id` as `pivot_song_id`, `category_song`.`category_id` as `pivot_category_id` from `categories` innerjoin `category_song` on `categories`.`id` = `category_song`.`category_id` where `category_song`.`song_id` =39
select `genres`.*, `genre_song`.`song_id` as `pivot_song_id`, `genre_song`.`genre_id` as `pivot_genre_id` from `genres` innerjoin `genre_song` on `genres`.`id` = `genre_song`.`genre_id` where `genre_song`.`song_id` =39
select `pages`.*, `page_song`.`song_id` as `pivot_song_id`, `page_song`.`page_id` as `pivot_page_id` from `pages` innerjoin `page_song` on `pages`.`id` = `page_song`.`page_id` where `page_song`.`song_id` =39 limit 1
select `artists`.*, `artist_song`.`song_id` as `pivot_song_id`, `artist_song`.`artist_id` as `pivot_artist_id` from `artists` innerjoin `artist_song` on `artists`.`id` = `artist_song`.`artist_id` where `artist_song`.`song_id` =39 limit 1