title: MariaDB server version for the right syntax to use near '' at line 9 You have an error in your SQL syntax
body: <p>Help me to solve this.</p>
  <blockquote>
  <p>500 - An error has occurred.</p>
  <p>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 9 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 'ORDER BY a.id desc LIMIT 20' at line 11 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 9</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/5VpIq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5VpIq.png" alt="Here the Screenshot of the problem" /></a></p>