Sql Compare Two Strings Bash