theitd icon

WPW Active Subs

theitd | PRO | 02/19/18 08:21:16 AM UTC | 0 ⭐ | 550 👁️ | Never ⏰ | []
SQL |

200 B

|

None

|

0 👍

/

0 👎

SELECT COUNT(sub.user_id) AS subscribers, plan.title
FROM xiszt_payplans_subscription sub
LEFT JOIN xiszt_payplans_plan plan ON plan.plan_id = sub.plan_id
WHERE sub.STATUS = 1601
GROUP BY sub.plan_id;

Comments