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
Save unbound combobox column value in Access 2007
How to edit an access(.adp) project using Visual Basic for Applications?
MSDTC Network Issue
How do I uninstall Advanced Mass Sebder?
CInt not working
How To Recover Encrypted / Corrupted Word Documents
help with trigger/stored procedure
MS Access 2003 - Run-time error 3061 with SQL queries and report
convert between email address to ip address
Microsoft Dynamics CRM 4.0