1016 - Can't open file: './autoradiopc/products_attributes.frm' (errno: 24)
select p.products_id
from
products p
inner join products_attributes pa on p.products_id=pa.products_id
inner join products_to_categories p2c on p.products_id=p2c.products_id
where
p.products_status = 1
and
( pa.options_id = '4'
)and p2c.categories_id = '954'