SQL set values of one column equal to values of another column in the same table December 26, 2022 by Tarik Sounds like you’re working in just one table so something like this: update your_table set B = A where B is null