Click for Home Page

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and not c.categories_id = 6' at line 1
[ select c.categories_id from redo_categories c inner join redo_categories_description cd on c.categories_id = cd.categories_id where c.categories_status = 1 and cd.categories_name like "%Refurb%" and c.parent_id = and not c.categories_id = 6]