How can an SQL query be written to update a table column's rows beginning from the first row, using a txt or csv file?
For example, before the update, the table might look like
column_1 column_2
1 null
2 null
3 null
then after the update, the desired result would be like
column_1 column_2
1 this
2 that
3 those
I've tried inserting the data, but this only appends it to the bottom of the row, rather than replacing the exiting null values.
With the same example input, this output looks like
column_1 column_2
1 null
2 null
3 null
null this
null that
null those