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
EDB file growing like crazy HELP!!!!!
Script through SCCM will not copy files.
In-place upgrade of Hyper-V Server 2k8 R2 to Full Server 2k8 w/Hyper-v role
Auto Fill based on 2nd Column
VB code doesn't work in ACCDE file
Getting Datagrid's DropDownList value in JavaScript
running a batch file before compilation
Service Pack(SP3)
How to make a PC a thin client?
Should I use SqlDataSource or SqlConnection (which is better)