Error: replace into squads (user_id, draft, gw, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, benchG, bench1, bench2, bench3, captain, viceCaptain, note, chip) select '0' as user_id, '' as draft, gw, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, benchG, bench1, bench2, bench3, captain, viceCaptain, note, chip from squads where user_id = AND draft = 1
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 draft = 1' at line 1