Created
July 11, 2012 17:12
-
-
Save scottgonzalez/3091798 to your computer and use it in GitHub Desktop.
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 DISTINCT `reporter` AS `contributor` | |
FROM `ticket` | |
WHERE `resolution` = "fixed" | |
AND `milestone` = $V ) | |
UNION | |
(SELECT DISTINCT `author` | |
FROM `ticket_change` | |
WHERE `ticket` IN ( | |
SELECT `id` | |
FROM `ticket` | |
WHERE `resolution` = "fixed" | |
AND `milestone` = $V ) ) | |
ORDER BY CAST(`contributor` AS CHAR) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment