An SQL injection is a code injection malpractice or technique used to inject and execute malicious SQL statements to attack data-driven applications. It exploits the security vulnerability present in an application's software.

BY Best Interview Question ON 01 Oct 2019

Example

SELECT * FROM Users WHERE id = 10 OR 1=1;