SQL query to collect agent's Organization ID information

Hello, i am looking for a sql query to build a report in insightvm that would gather hostname and Organization ID. can someone please assist. we need to make sure all the agents in our environment are pointing to correct org id.

I can check individual agent log for that information, but that method is not feasible for larger count of agents. therefore, looking for a report where we can collect the org id information for all agents.