Use the # (MySQL comment) to neutralize any remaining code in the original query. 🎓 Educational Resources
by Halfond, Viegas, and Orso (IEEE Xplore).
(ACM Digital Library).
Are you researching this for or looking for a specific type of defense mechanism ?
Use UNION ALL SELECT 34,34 to merge a dummy row into the original query results. This helps an attacker determine the number of columns required for a successful data dump.