Which version of MySQL introduced the prepared statements?
MySQL 4.1
Correct:
MySQL 4.1
Explanation:
Answer: B
When the query() method is looped repeatedly it comes at a cost of both overhead, because of the need to repeatedly parsing of the almost identical query for validity, and coding convenience, because of the need to repeatedly reconfigure the query using the new values for each iteration. To help resolve the issues incurred by repeatedly executed queries, MySQL introduced prepared statements.