ASCENTech interview question

Difference between SQL injection and login attack.