shortcut for running in workbench code example
Example: mysql workbecnh short cut to execute single line query on mac
For Mac OS
Execute (All or Selection) -> Command + Shift + Enter.
Execute Current Statement -> Command + Enter.
For Winodows
Execute (All or Selection) -> Ctrl + Shift + Enter.
Execute Current Statement -> Ctrl + Enter.