Erro na query : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY tba.tebxOrdem' at line 1
SELECT box.* FROM BoxApoio box INNER JOIN TemplateBoxApoio tba ON tba.bxapId = box.bxapId WHERE tba.tempId = ORDER BY tba.tebxOrdem