MySQL STRCMP Function

MySQL STRCMP function is one of the String Functions, which compares two strings and returns an integer 0, 1, -1. Let us see how to write this method query to compare two strings with an example. The basic syntax of MySQL STRCMP function of a string is as shown below: STRCMP(String_Expression1, expression2) If exp1 = expr2 … Read more