add remove split language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
name MAX(salary) dept
c 6 dept1
d 5 dept2
a 1 dept3
b 2 dept4
@@sql_mode
NO_ENGINE_SUBSTITUTION
@@sql_mode
REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI
name MAX(salary) dept
c 6 dept1
d 5 dept2
a 1 dept3
b 2 dept4
@@sql_mode
ONLY_FULL_GROUP_BY
'fiddle.employee_gb.name' isn't in GROUP BY