SolarWinds interview question

What is SQL injection and how to avoid it.