You can execute command in database using Database Connections of the Service Center or direct using current connection. Export a return query sql dynamic to Excel, JSON, HTML TABLE .
Extension and demo module split into two applications.