It would be nice to have an alert action specifically for the execution of SQL queries. I have used the information in this post as a workaround, but it would be much cleaner to have a dedicated action for this purpose.
Interesting suggestion. I've added it to our system.