select p.products_id
from
products p
join products_description pd on p.products_id=pd.products_id and pd.language_id = '4'
join products_to_categories p2c on p.products_id=p2c.products_id
where
pd.extra_value_id2 <> 0
and p.products_status = 1
and p2c.categories_id = '1979'
[TEP STOP]
2006 - MySQL server has gone away
select count(*) as total from sessions where sesskey = 'mth4v0gfkqv33p0vb0hpmdhjc7'