select distinct m.manufacturers_id as id, m.manufacturers_name as name from products p, products_to_categories p2c, manufacturers m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '509' order by m.manufacturers_name
[TEP STOP]
2013 - Lost connection to MySQL server during query
select count(*) as total from sessions where sesskey = 'a0980b630733ce4ae3d1b1cb9613c986'