Inbördes möten Jägersro 2017-10-10

Error 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 'and placering<>'' and horseid in (select p2.horseid from prog p2 where p2.tvlid=' at line 1