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
Import binary data into SQL 2005
How to export data from various tables into a single xml file
VBA code to paste into webpage textbox and select from a dropdown box.
How to get reference to AxWebbrowser
Use a second axis in Acces PivotChart
Find a Text in a cell and copy it to another cell.
Regional settings GREEK , decimal separator "," sql server 2000, But does not update a textbox tha binds to a float field,C# framework 2.0
OK to remove "Windows\TEMP ?
Page life expectancy
Display No Rows or No Data Found Message for the Matrix in SSRS