In what ways do prepared statements aid in the defense against SQL injection attacks?
Wikipedia says:
Prepared statements are resilient against SQL injection, because parameter values, which are transmitted later using a different protocol, need not be correctly escaped. If the original statement template is not derived from external input, SQL injection cannot occur.
I am having trouble understanding the cause. What are some examples and a straightforward explanation in basic English?