Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT IF(sexo='H','Hombres','Mujeres') sexo, round(AVG(salario),1)
- FROM empleados
- GROUP BY sexo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement