SqlServer: Error executing Query:
SELECT o.*, s.nombre as nombre_sala FROM obras o INNER JOIN salas s ON s.id_sala = o.id_sala WHERE o.habilitado = 1 and o.id_categoria=2 ORDER BY o.titulo LIMIT -12, 12