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
DoCmd.OutputTo - runtime error 30016 the field 'id' is read only
BAD WEEK NUMBER IN OUTLOOK CALENDAR
Access 2007 and PDF
How to obtain the Product key
Subreport within a subreport
Vista stays at Welcome screen
RunCommand AcCmdSaveRecord
sql stored procedure select compare dates null issue
SQL Server BIT field true and false
get datagridview to show last record instead of first.