select p.products_id
from
products p
join manufacturers m using(manufacturers_id)
join products_to_categories p2c on p.products_id=p2c.products_id
where
p.products_status = 1
and p2c.categories_id = '19'
[TEP STOP]
2006 - MySQL server has gone away
select count(*) as total from sessions where sesskey = 'lfe683qnb8sbfvr0hpphprjs31'