Created
May 22, 2018 09:28
-
-
Save hissy/490a6a19a541d813b713989e49382c53 to your computer and use it in GitHub Desktop.
#concrete5 #mysql count how many workflow request completed between range of dates
This file contains hidden or 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 count(wp.wpID) | |
from WorkflowProgress wp | |
where wp.wpIsCompleted | |
and wp.wpCurrentStatus = 30 | |
and wp.wpCategoryID = 1 | |
and wp.wfID = 2 | |
and wp.wpDateLastAction >= "2017-05-01 00:00:00" | |
and wp.wpDateLastAction < "2017-06-01 00:00:00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment