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 basketSession='032fa9f42ddf8067be5c948e7b055821'' at line 1