Santé
SQL: SELECT COUNT(tnoticia.ID) FROM tnoticia LEFT JOIN tnoticiacategoria ON tnoticiacategoria.NoticiaID = tnoticia.ID WHERE tnoticia.IdiomaID = '3' AND tnoticia.Imagem != '' AND tnoticia.Imagem IS NOT NULL AND (tnoticia.CategoriaID = '12' OR tnoticiacategoria.CategoriaID = '12') AND ID NOT IN(3359,3326,3290,3287,3257,3210,3189,3167,3144,3119,3112,3046) ORDER BY tnoticia.Ordem DESC, tnoticia.Data DESC, tnoticia.Destaque DESC
ERROR: Column 'ID' in where clause is ambiguous
ERROR: Column 'ID' in where clause is ambiguous