Get the Whitepaper called MySQL: Secure Web Apps – SQL Injection Techniques.
You can download it from the following link: https://packetstormsecurity.com/files/download/75556/mysqlswa-sql.txt
Source: https://packetstormsecurity.com/files/75556/MySQL-Secure-Web-Apps-SQL-Injection-Techniques.html

