Assuming I understand the question:
Used self join to find users who had tryouts (Plan 16) and join to the same user who had a plan that wasn't a tryout (not plan 16)
LEFT JOIN used as we're interested in those that started on TryOut and then MAY have became a non tryoutplan. We didn't care about those users who didn't have a tryout.
Distinct was used as we didn't care what non-try-out-plan in our counts, just any plan.
So in your example:
User_id order_id plan_id
12 12 16
12 13 2
12 14 2
14 15 5
14 16 16
15 17 16
RESULTS of the below query should yield (assuming logic and syntax are sound)
CONVERTED NOTCONVERTED
2 1
user 15 had a tryout plan, but no others, thus isn't converted. user 12 had a tryout plan and multiple non tryouts so only gets counted once. user 14 had a tryout plan and one other plan, thus gets counted once.
SELECT count(Distinct TN2.user_ID) as Converted,
count(Distinct TN.User_ID) as NotConverted
FROM tableName TN
LEFT JOIN TableName TN2
on TN.User_ID = TN2.user_ID
and TN.Plan_ID = 16
and TN2.Plan_ID <> 16