Check out example codes for "mysql illegal mix of collations for operation 'concat'". It will help you in understanding the concepts better.

Code Example 1

CONCAT(CAST(fName AS CHAR CHARACTER SET utf8),CAST('' AS CHAR CHARACTER SET utf8))

Learn ReactJs, React Native from akashmittal.com