Ran: SELECT COUNT(*) FROM plstandings s LEFT JOIN plmonthlywinner m ON (s.userid=m.userid AND s.lid=m.lid AND m.month=) WHERE m.lid=4 AND s.week=1
Got: [1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') WHERE m.lid=4 AND s.week=1' at line 1