if you want the value of one column to be set in the same table, another value of the column, then use this query
UPDATE table_name SET column_1 = column_2
column_1 suppose it is empty in the whole record and column_2 this column you want to put the same value in column_1 then use the example below:
UPDATE customer SET `blank_column` = `student_name`
Run the query and blank_column can be filled in the same way as page_name
source share