Writing multiple records with a single query in MySQL.