Yeah good point I did some searching but nothing good came up immediately. We should have a dedicated howto topic for entering the container, and running an arbitrary SQL query. @techapj can you assist?
It’s kind of like this
But more generic. That’s basically impossible to find if you want to just “run a query” against your Discourse database.