1054 - Unknown column 'pd.prod_mkt_id' in 'on clause'
select count(*) as total from products p left join (products_to_authors p2a, authors a) on p2a.authors_id = a.authors_id left join products_description pd on p.products_id = pd.prod_mkt_id and pd.language_id = '1' left join specials s on p.products_id = s.products_id where p.products_status = '1'