SELECT * FROM categories WHERE 1=1 AND parentId = 0 ORDER BY name ASC \nError : (1054) Unknown column 'parentId' in 'where clause'