hi vincent,
I now have the following table (accesskanguage) structure:
uid [unsigned int]
datetime [timestamp(8)]
browserlanguage [varchar(5)]
Some of the data I got in my table looks like the following:
19 20011029 en-us
20 20011029 zh-cn
21 20011029 en-us
22 20011029 de
23 20011029 en-us
24 20011030 zh-tw
25 20011030 en-us
26 20011030 zh-cn
27 20011031 en-us
28 20011031 de
29 20011031 zh-cn
20 20011031 zh-tw
30 20011031 en-us
I use the following:
SELECT datetime, language, COUNT(*) as count FROM accesslanguage GROUP BY LANGUAGE ORDER BY count DESC
The result I got only contains report of 20011029 with counts of each intividual language, but I would also like to have all the other date as well printed on the same page.
The only way I can think of right now is to use a WHERE statement to indicate a particular datetime I would like to query in addition to my above query.
Could you tell me how to show the language distribution of each individual date?
Thanks,
Jay