to construct complex queries using free form query text. Advanced Search provides capabilities for specify search conditions that go beyond the capabilities of standard (basic and extended) queries. Advanced search criteria are used in the query's SQL WHERE clause.
Advanced Search uses SQL syntax and supports:
Logical operators - AND/OR/NOT
EXIST, NOT EXISTS, and COUNT conditions
Comparisons operators range comparison (=, >, <, >=, <=, BETWEEN)
Be sure to validate your query syntax. You cannot save a query with invalid syntax.