Avoid using calculations on indexed columns in the WHERE clause, as this can prevent the optimizer from using the index and lead to a full table scan.

Inefficient example:

tSELECT … FROM DEPT WHERE SAL * 12 > 25000;

Efficient example:

tSELECT … FROM DEPT WHERE SAL > 25000 / 12;