Note: – is the sql comment.
SQL Injection is the vulnerabilities which allows attackers to attempt/try different exploits using the SQL Queries.
Eg: Select * from users where username=’admin’ and password=’–
example query: SELECT * FROM users WHERE username=’administrator’–’ AND password=’’