Thread:Project:Support desk/ON DUPLICATE KEY UPDATE in a query/reply (2)

So is this a right way to do that or do I need additional escaping?: