Check out example codes for "error code 1055". It will help you in understanding the concepts better.

Code Example 1

SELECT name, ANY_VALUE(address), MAX(age) FROM t GROUP BY name;

Learn ReactJs, React Native from akashmittal.com