SELECT distinct brands.project_id as id FROM brands JOIN sites_brands sb ON brands.id=sb.brand_id JOIN sites s ON brands.project_id=s.project_id WHERE s.title="sportsbettingbros.com" ORDER BY `brands`.`id` ASC

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.