Síguenos en: Facebook Twitter Linkedin Youtube GPlus

Failed to execute queryExpression #1 of ORDER BY clause is not in SELECT list, references column 'comunicacionempresarial_bbdd.Periodicos.Orden' which is not in SELECT list; this is incompatible with DISTINCT SQL:SELECT DISTINCT Periodicos.Periodico, Periodicos.ID AS IDPeriodico, Tipos_Publicacion.Tipo, Tipos_Publicacion.ID, Tipos_Publicacion.Orden FROM Tipos_Publicacion INNER JOIN (Periodicos INNER JOIN Publicaciones ON Periodicos.ID = Publicaciones.Periodico) ON Tipos_Publicacion.ID = Publicaciones.Tipo_Publicacion ORDER BY Periodicos.Orden, Tipos_Publicacion.Orden