0
table links
id url
1 http://www.domain.hk/index.php?main_page=index&cPath=8
3 http://www.domain.com/index.php?main_page=index&cPath=3
6 http://www.domain.com/index.php?main_page=index&cPath=8
8 http://www.domain.hk/index.php?main_page=index&cPath=7&language=tc
9 http://www.domain.com/index.php?main_page=index&cPath=3
如何计算从外地url
使用regex
的相同cPath id
数量和相同cPath id
的domain
多少?MySQL的正则表达式计数
我想要的结果是这样的:
CPATH:8
总:2
HK:1
COM:1
CPATH:3
总:2
COM:2
CPATH:7
总:1
com:1
谢谢 很多。
想要解决所有的错字吗? – ajreal 2011-01-11 09:41:37