oracle sql substring before specific character