Is there a way to get the data of a certain column of a previous row and insert it in a new row? I\'ve tried LAG() function but it is not allowed in INSERT statement.