LOGO
  • Destaque: Melhores Filmes de Terror - TOP 10*
  • Destaque: Resenha - Twittando com o vampiro, Aislan Coulter
  • Destaque: Humor em filmes de terror, sinonimo de desnecessario.
  • Destaque: Historia dos Filmes de Terror No Cinema
  • Destaque: Entrevista - Escritor, Aislan Coulter
Erro!

# 1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tbnoticias.id_noticia' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT tbnoticias.*, tbnoticias_categorias.* FROM (SELECT * FROM tbnoticias ORDER BY data DESC) as tbnoticias INNER JOIN tbnoticias_categorias ON (tbnoticias.id_categoria = tbnoticias_categorias.id_categoria) GROUP BY tbnoticias.id_categoria ORDER BY tbnoticias.data DESC LIMIT 5;