Bash Split First Occurrence Leetcode Sql