•
|
•
|
The selection-list contains an aggregate:
SELECT SUM(c1) FROM t1 |
•
|
The selection-list specifies DISTINCT:
SELECT DISTINCT c1 FROM t1 |
•
|
The view contains a GROUP BY clause:
SELECT SUM(c1), c2 FROM t1 GROUP BY c2 |
•
|
The view is a join (references multiple tables):
SELECT * FROM t1, t2 |
•
|
The view uses the UNION operator and UNION ALL is not specified or all SELECT statements do not reference the same table:
SELECT c1 FROM t1 UNION SELECT c1 FROM t1 SELECT c1 FROM t1 UNION ALL SELECT c1 FROM t2 |
•
|
The view contains a subquery that references a table other than the table in the outer query:
SELECT c1 FROM t1 WHERE c1 IN (SELECT c1 FROM t2) |
•
|
•
|
•
|
•
|
The index name within a table hint must not be fully qualified with the table name.
|