Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select id,name from providers where id not in (
- select c.provider_id from token_maps a
- inner join token_map_groups b ON b.token_map_id = a.id
- inner join token_map_group_providers c on c.token_map_group_id=b.id
- left join providers p on p.id=c.provider_id
- where a.id=2
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement