MySQL Query Error

select b.* from huodong_baoming_main a left join huodong_main b on a.huodong_id = where a.userId= order by desc limit 0,6
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 'order by desc limit 0,6' at line 1