Erro: SQL Inválido: select count(codigo_not) as rows from gi_noticias where activo_not='s'

Erro: Não existe nenhuma query.