Prueba esto:
select sum(um.meta_value = '1') Sex1, sum(um.meta_value = '2') Sex2
from wp_usermeta um
join wp_users u on u.id = um.user_id
where um.meta_value = 1
group by date(u.user_registered)
¡¡Gracias!!
Prueba esto:
select sum(um.meta_value = '1') Sex1, sum(um.meta_value = '2') Sex2
from wp_usermeta um
join wp_users u on u.id = um.user_id
where um.meta_value = 1
group by date(u.user_registered)
¡¡Gracias!!