Unknown column 'nicio' in 'where clause'SELECT c.id AS id_categoria, c.nombre as nombre, t.id_articulo AS id_articulo FROM art_cat AS t INNER JOIN categorias AS c ON t.id_categoria = c.id WHERE t.id_articulo = nicio AND c.id_padre != '0'