How to set multiple reply values via a single SQL query?