In Oracle and MySQL, the SOUNDEX function returns a phonetic representation of a specified string.
Oracle:
SELECT SOUNDEX('Orange') FROM dual; /* O652 */
MySQL:
SELECT SOUNDEX('Orange'); /* O652 */
For more information, see Oracle to MySQL Migration.