Queries in Configuration Manager
Many Microsoft System Center Configuration Manager 2007 features use queries against objects within the Configuration Manager 2007 site database. Configuration Manager 2007 queries define and store the criteria for sets of database objects that you want to find. When used against a Configuration Manager 2007 site database, a query is a specific set of instructions that extract information about a defined set of objects. You can create queries and store them in the Configuration Manager 2007 site database. By running a query, you search the database for information about the objects that match the query criteria.
You can import queries into and export queries from the Configuration Manager 2007 site database.