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 '?updated-max=2018-09-03T07:06:00%2B07:00&max-results=10' at line 3