SQL : Using RedShift CURSOR to insert and iterate

Published --