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