Oracle Editors - Where Tab

The Where tab is used in the Oracle Materialized Views Editor and the Oracle Views Editor. Use the Where tab to specify the search conditions and criteria to use when you generate the SQL code for the materialized view or view. The following describes the options for this tab:

Where

Enter the condition that you want materialized view or view rows to satisfy in the Where box. You do not have to enter the WHERE keyword. The text you enter becomes the WHERE clause in the SQL code that is generated for the selected materialized view or view.

Group By

Enter the criteria on which you want to group either materialized view rows or view rows.

Having

Optionally, enter a search condition in the Having box that is applied to each row group and filters out row groups that do not match the search condition from the query results.

Order

Enter the criteria on which you want to sort the rows returned by the materialized view or view. The text you enter becomes the ORDER BY clause in the SQL code that is generated for the selected materialized view or view.

Hierarchical Order

Enter the hierarchical order criteria on which you want to sort the rows returned by the materialized view or view.

Additionally, the Where tab in the Oracle Views Editor contains the following options:

Restrictions

Select one of the following options:

READ ONLY

If you select this option, then the Constraints tab becomes disabled.

CHECK OPTION

Indicate that a row must satisfy the constraint you enter in the Constraint Name box before the row is inserted into the view, or before the view is updated.

Constraint Name

Enter a constraint name in the text box.