-

select distinct p.products_id, p.products_image, p.products_tax_class_id, p.products_price, c.categories_id from products p, products_to_categories p2c, categories c where p.products_status=1 and c.categories_status = 1 and p.products_id = p2c.products_id and p.products_id !='0' and c.categories_id = p2c.categories_id and c.parent_id !='100500' and group_permission_1=1 and p.products_id in (0,1722,1750,1806,1860,1893,1897) order by p.products_startpage_sort limit 10

[XT SQL Error]