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
Access 2007 text box using Sum function won't update until focus leaves Access window
How can I run/emulate IE 7 to access a site that only works for IE7
Home folder quotas - best method?
How to popup a waraning dialog box in asp.net?
Backup of ESXi when no other Windows Server
how to count the number of browser tabs are opened for an application?
logon.exe deleted - need help restoring it
Jump from main form into sun forms code in lost focus
How do I add users to SharePoint 2.0 site via Address Book in Office 2007?
Find Pivot Table's Name