select count(id) as c, song_id from sf_facts where song_id in() and show_it='yes' group by song_id
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 ') and show_it='yes' group by song_id' at line 1