Created
December 10, 2025 23:58
-
-
Save parsibox/b9ffe677a2fda458b6244de4c9a1a0c7 to your computer and use it in GitHub Desktop.
mysql view percent for alter
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 | |
| EVENT_NAME, | |
| WORK_COMPLETED, | |
| WORK_ESTIMATED, | |
| ROUND((WORK_COMPLETED / WORK_ESTIMATED) * 100, 2) AS progress_percent | |
| FROM performance_schema.events_stages_current | |
| WHERE EVENT_NAME LIKE 'stage/%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment