SELECT Attribute.AttributeId,Attribute.FamilyId,Attribute.DescriptionId AttrDesc,AttributeFamily.DescriptionId FamilyDesc,URL FROM CatalogueAttribute JOIN Attribute ON CatalogueAttribute.AttributeId = Attribute.AttributeId LEFT JOIN AttachmentData ON Attribute.AttachmentId = AttachmentData.AttachmentId JOIN AttributeFamily ON Attribute.FamilyId = AttributeFamily.FamilyId WHERE CatalogueId = 49 ORDER BY AttributeFamily.SequenceId,CatalogueAttribute.SequenceId Не удалось выполнить запрос: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1