I have two tables: users2 and user_totals. Each of these tables has rows named clicks (impression_count), fclicks (use_count), and completed_stus (completion_count). The ones in brackets are the new additions in the user_totals table. I would like to transfer all the integers from the first table to the second table only if the statistics in the second table are 0. Additionally, these values should be added to the same user id, which is represented as id in the first table and user_id in the second table. Can someone provide me with a functioning mysqli statement to accomplish this?