There are 3 columns in the database. It is necessary to shift the entries in column 2 to 1 row.
set @x:=1; update test_sql.a123 set `2` = (select `1` from (select `1`, `ind_date` from test_sql.a123) as `e` where `ind_date` = @x+1) where `ind_date` = (@x:=@x+1); However, the result of the work confuses:
For some reason, iterations 1 and 2 can be ignored?
PS: If you initially set set @x: = 0, then the result of the work is all the null lines except the 1st.
