You can use the Clauses tab in the Materialized Query Tables editor to specify search conditions and criteria that are used when generating the SQL code for a materialized query table.
To specify search conditions used when generating the SQL code for a materialized query table
The Materialized Query Table editor opens.
Enter the search condition that must be satisfied by the results of the materialized query table query. 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 query table.
Enter the criteria that you want to use to group rows returned by the materialized query table query. The text you enter becomes the GROUP BY clause in the SQL code that is generated for the selected materialized query table.
Specify criteria for the HAVING clause.
Specify criteria for the ORDER BY clause.
Your changes are saved and the dialog closes.
Note: Click Cancel to close the dialog without saving your changes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|