Hi,
I have 2 named queries which are almost the same.
Is it possible instead, to have one query be based on results of the other query?
Ex:
Q1: SELECT * FROM myView
Q2: SELECT * FROM Q1 WHERE X=Y
My point is to save double runtime of myView, and also if changes need be made then only one place will need to change the code.
If it is possible- what's the syntax to refer to the first named query?
Thanks
Namnami