What is the question mark’s significance in MySQL at “WHERE column = ?”?

Prepared statments use the ‘?’ in MySQL to allow for binding params to the statement. Highly regarded as more secure against SQL injections if used properly. This also allows for quicker SQL queries as the request only has to be compiled once and can be reused.

Leave a Comment