Postgresql / split one record on two rows depending of two fields (2 Solutions!!)

Published --