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
Sum column in datagrid
Uneccessary Programs/ addons ...things that take up internet bandwidth that can be removed.
Variable 'dataRS' is used before it has been assigned a value. A null reference exception could result at runtime.
how to pull week day and time from a query
Copied all vb files (..vb file, project, solution, user options) for a project but getting errors.
How to overline in Word2003?
MS Access AS400 Function Understanding
How to upload a new version of the PDF file - Sharepoint Services 3.0?
IIS 7.5 FTP - 530 User cannot log in, home directory inaccessible
How to retrieve error number and or message from osql run from command line