Created
June 27, 2019 17:31
-
-
Save borwick/6c49a59b8fa47040b184e4796bdb4195 to your computer and use it in GitHub Desktop.
Find who forwarded to whom in RT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT Tickets.id, Users.EmailAddress, t.Data | |
FROM Transactions t, Tickets, Users | |
WHERE t.Created > DATE("2019-03-01") AND | |
t.ObjectId=Tickets.id AND | |
t.Type LIKE 'Forward%' AND | |
t.Creator = Users.id | |
ORDER BY Users.EmailAddress, t.Data, Tickets.id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment