Bash Create An Array From Command In Sql