Filter
While the Services tool window displays output of your queries, the data editor displays data of a database object as is.
The following topic shows how you can filter data in the data editor. For more information about working with query results in the Services tool window, see Query results.
In the data editor, you can filter data by using the following approaches:
Click the column name to filter the column data. The column sorting is not stacked by default. It means that if you click a column name to sort data by, the sorting based on other columns will be cleared. If you prefer to use the stacked sorting, click a column name while pressing Alt.
You can specify filtering conditions manually or use quick filtering options. Quick options are filtering conditions for the current column name. The conditions depend on the value in the current cell.
You can filter rows by pressing ⌃F and running a search on the table.
You can use the row filter and filter data in a table by writing a query in WHERE and ORDER BY fields.
Use quick filtering options
Right-click a cell and navigate to Filter by.
Select an option that you want to apply.
Filter rows when you run a search
Press ⌃F and select Filter Rows.
Start typing your search query (for example,
John
).
Filter table data with a query
In the WHERE and ORDER BY fields, type your query. The query syntax is the same as in
WHERE
and ORDER BY clauses but without the keyword.You can use SQL wildcards within the
LIKE
expressions. For example, the percent sign%
for zero or more characters and underscore_
for a single character.Press ⏎.
To reset the filter, click the clear icon ( ), or delete the contents of the row filter field and press ⏎.
To open the filter history, click the arrow icon near WHERE or ORDER BY keywords.