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
Populate Excel Cells from SQL
SCW & Exchange 2007
Add three colums together in sql to get a total
Delprof Selective Profile Delete
Canon printer reports low ink after replacing ink cartridges.
FormClosing causes mscorlib.dll "Index was out of range exception".... why
=Hyperlink with Vlookup results in "Cannot Open Specified File"
Sagekey Question
Exchange-Outlook Synchronization Log mssgs
Query in SSRS take much longer than SSMS