Thread:Project:Support desk/Advanced search in Mediawiki/reply (2)

Extension:Asksql allows you to do SQL queries, but the extension poses a major security risk. If this is a one-time thing you should probably just query the database directly. Manual:database layout could prove useful for this.