discourse-data-explorer
This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.
Details at: https://meta.discourse.org/t/data-explorer-plugin/32566