mysql - How to get the count of season subscribed from wordpress -


i have query

select um.user_id  wp_season_user_trans ut  left join wp_usermeta um  on um.meta_value='member'  , ut.user_id = um.user_id  group um.user_id. 

i want count of subscribed persons members usermeta table.

from usermeta table getting 10 members. when join other table not getting same result.


Comments

Popular posts from this blog

unix - grep command not match start of new line with another regex -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -

Sort a complex associative array in PHP -