To illustrate injection attacks and preventative steps, the following infographic titled "What is SQL injection" serves as a visual tutorial to demonstrate how you might be vulnerable to injection attacks, how you can prevent SQL Injection and an example of SQL injection..
Source: http://www.veracode.com/security/sql-injection