would love to do this with database instead, inspect query and so on

anyone know the tool name??? I know it exist but forget it while ago

Something like the SQL Server Management Studio execution plan view?

https://learn.microsoft.com/en-us/sql/relational-databases/p...

Dequery might be what you're looking for: https://dequery.io