| List: | General Discussion | « Previous MessageNext Message » | |
| From: | John Meyer | Date: | November 8 2009 2:40pm |
| Subject: | Finding users who haven't posted in a week | ||
| View as plain text | |||
I want to get a list of all users who haven't posted in a week. But when I use the following function. select user_id, max(tweet_createdat) from tweets where datediff(now(),max(tweet_createdat)) > 7; Is producing the error: Invalid use of group function
| Thread | ||
|---|---|---|
| • Finding users who haven't posted in a week | John Meyer | 8 Nov |
| • Re: Finding users who haven't posted in a week | Michael Dykman | 8 Nov |
| • RE: Finding users who haven't posted in a week | John Meyer | 8 Nov |
| • RE: Finding users who haven't posted in a week | John Meyer | 8 Nov |
| • RE: Finding users who haven't posted in a week | mos | 9 Nov |
| • Re: Finding users who haven't posted in a week | Ananda Kumar | 10 Nov |
| • Re: Finding users who haven't posted in a week | Johnny Withers | 10 Nov |
