Remote queries ePolicy Orchestrator remote commands allow you to query your database remotely using the web API. These commands allow you to execute persistent queries, which exist in the ePolicy Orchestrator database, as well as dynamic user-defined ad-hoc queries. Persistent queries A persistent query is accessible using the Queries and Reports page in the ePolicy Orchestrator user interface. Ad-hoc queries Ad-hoc queries are performed entirely remotely and do not rely on a query stored in an ePolicy Orchestrator database. Queries with joins You can use joins to display information from two or more tables. These joins are handled automatically. Remote query commandsYou can use a few commands when executing remote queries. Ad-hoc query reference Ad-hoc queries require operators, data types, and other information that you can access in your scripts.