I would like to ask couple questions regarding SQL queries. As I have no experience in the field plz be gentle

1. How can I remove the link of a subcategory (those displayed on the left side panel) when there are no products assigned to it;
(eg. lets say that I have in my store under Televisions category: 3 LCD's, 6 Plasma's and 0 CRT's and I want to display ALL 3 subcategories but only be able to browse those who have 1 or more products)
2. How can I display the no. of products for each subcategory ( e.g LCD (5) ).
Thank you in advance,
Stm.
P.S. I have been to this forum for just couple hours and I noticed that addressing questions directly is not the best practice to get an answer. Although it is only couple months since I have involved with the ISC and I have no alternatives except being an active member of this forum and study hard..