I need to build a query. I have a table with user login log info. every time a user logs in, an entry with sessionstart(activity_id) and user_name is entered in the table. I need a query that counts the number of times each user has logged in. This is the sql that I have so far:
select count(*)activity_id from event_log where activity_id=3 and user_name=(select distinct(user_name) from event_log)
Chris
Chris Scott
The Whole Computer Medical Systems
select count(*)activity_id from event_log where activity_id=3 and user_name=(select distinct(user_name) from event_log)
Chris
Chris Scott
The Whole Computer Medical Systems