Table A(ID, col2, col3, col4)
I want to add a new entry to Table A for every ID given that col4 = ‘certain criteria’ and the value of Col2 from the existing entry will be used as col2 of the new entry. How would I go about accomplishing this task?
The part that is throwing me off is how to do this without using a loop. Any help would be appreciated.
something like that should work