LearnerNation interview question

What's SQL injection and how can it be prevented?