mySQL Error on Query:
select distinct p.* from products p, subjects_products sp, bl_products_links bl where p.product_id = bl.product_id and p.product_id = sp.product_id p.format in ('Downloadable eBook','Hosted eBook') and p.active=1 order by p.title_sort LIMIT 16 OFFSET 0