Bash Script Check If Variable Contains In Sql