SQL injection is a code injection technique that exploits a security vulnerability occurring in the database layer of an application . The vulnerability is present when user input is either incorrectly filtered for
string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed.
Parts 1, 2, and 3 in the defacing section discusses about MySQL Injection
Click Here to begin reading.