skip to Main Content

MySQL sub select ignores condition

This query works good but ignores the AND members.active='1' condition completely. It delivers always the same results, no matter if active is 1 or 0. Any idea? select amount, count(*) AS quantity from ( SELECT participations.member_number, COUNT(participations.member_number) AS amount FROM…

VIEW QUESTION
Back To Top
Search