Pergunta de entrevista da empresa UWorld

What is sql injection and what are the different ways to prevent it.