Have a look at using COUNT in HAVING.
Since btitle is a varchar column, you cannot compare it to an integer (it does not know you want to count).
pritaeas
Posting Prodigy
9,310 posts since Jul 2006
Reputation Points: 1,178
Solved Threads: 1,465
Skill Endorsements: 86