IntelliJ IDEA 2021.1 Help

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:

  • 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 Ctrl+F and running a search on the table.

  • You can use the WHERE filter and filter data in a table by writing a query in the WHERE field.

Use quick filtering options

  1. Right-click a cell and navigate to Filter by.

  2. Select an option that you want to apply.

    Using quick filters
  1. Press Ctrl+F and select Filter Rows.

  2. Start typing your search query (for example, John ).

    Quickly find data inside a table without writing a statement

Filter table data with a query

  1. In the WHERE field, type your query. The query syntax is the same as in the WHERE clause but without the keyword.

  2. Press Enter.

    To reset the filter, click the clear icon (The clear icon ), or delete the contents of the row filter field and press Enter.

    To open the filter history, click the arrow icon near the WHERE keyword.

    WHERE and ORDER BY fields for sorting
Last modified: 27 May 2021