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