Diff for phpWebLogAnalyzer/Attic/QUERIES between version 1.1 and 1.2
| version 1.1, 2002/03/13 00:07:19 |
version 1.2, 2002/03/19 23:20:39 |
| Line 28 select date_format(datetime, '%Y-%m-%d') |
|
| Line 28 select date_format(datetime, '%Y-%m-%d') |
|
| |
|
| select date_format(datetime, '%Y-%m-%d') as d, count(distinct session_id) as c from weblog_accesses group by d order by c desc limit 10; |
select date_format(datetime, '%Y-%m-%d') as d, count(distinct session_id) as c from weblog_accesses group by d order by c desc limit 10; |
| |
|
| |
# SYSTEM: session list which have more than one ident |
| |
## replace ident_username_id with some else column to get another infos |
| |
|
| |
select session_id, count(distinct ifnull(ident_username_id,0)) as cnt from weblog_accesses group by session_id having cnt > 1; |
| |
|
| |
# SYSTEM: quick session print |
| |
|
| |
select weblog_accesses.id, session_id, datetime, http_host_id hh, remote_addr_id as ra, http_user_agent_id ua_id, weblog_ident_usernames.value from weblog_accesses left join weblog_ident_usernames on weblog_accesses.ident_username_id = weblog_ident_usernames.id where session_id = <SESSION_ID>; |
| |
|
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|