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
Analysis services - MDX date calculation
How can I get an accurate age to display in an Access form?
Summarizing Data using Access 2007 and Excel 2007
Microsoft Office Communicator 2007 R2 auto login enternally what not a member of Domain??
Windows Media player wont play Netflix online movies
ASP.NET Grid Number Formatting
How can I change the identity property of a column without setting the wrong seed?
How to refresh the view in an SDI application
FRX error
How do I modify an XML file from Access VBA