How can we achieve in getting the max and min values that is group by group.
eg query, select country,max(size) from tablename group by country
, this will query each max values of a group column
data output is ->
country | size
myr | 456
usd | 123
eur | 909
expected output should only show the max size which is 909 from eur
country | size
eur | 909