BAQ Where Used Deployed BAQs

Need to create a BAQ showing only deployed with where used. Which table(s) hold that information?

For Dashboards that’d be the DashBdBAQ table and for BAQ Reports it’s BAQReport table. Then for Quick Searches it’s QuickSearch table. RDD BAQ reports is RptTableID table. BAQs can now be a datasource of another BAQ and not sure how to check for that.