I believe it is a valuable feature to have a database manager in Arcgis Pro.
Allowing you to create expressions with more elaborate queries. we can take as an example the DB manager that QGIS already has. https://docs.qgis.org/3.22/en/docs/user_manual/plugins/core_plugins/plugins_db_manager.html
I apologize for any textual errors, I don't speak English.