Microsoft
Software
Hardware
Network
Question : SQL query
I have a table which has many records including user_id, activity_type
now i want to find the user_id which returns maximum records with activity_type = 2
Answer : SQL query
SELECT MAX(a.iCount)
FROM
(SELECT user_id, COUNT(user_id) as iCount
FROM Table1
WHERE activity_count=2
GROUP BY user_id) as a
Random Solutions
Disable Temporary Internet Files Caching
Hotkey with C#.
Write conflict when editing a linked table - linked to SQL Server 2000
Windows Server 2003 SP1 update problem
Resizing a web Browser inside a acces form
VB.NET: ListView FindItemWithText returns exception
Calendar with current date and month
How do I supress the add new record icon at the bottom of subdata sheets?
Printout default value of unbound textbox
"Pop Chart" style position changes - how to calculate in Excel