Capita interview question

how would you tackle SQL injection