文章id   标签名称
   1       php
   2       asp
   3       jsp
   3       php
   2       php
   1       jsp
 ......
这样不就行了?
一篇文章可对应多个标签 1=>php,jsp
通过标签查文章(即该标签的文章列表) select 文章id from tbl where tagName='php'
可得到
1   php
2   php
3   php
确定热门标签(即统计标签内文章条数比较多的)
select count(*) as tr from tbl group by tagName order by tr DESC