Hi Steven,
Just by creating a graphical calculation view you can process your sample statement in the calculation engine. However you should not think about "converting" your statement but more on what you want to achieve..
- Processed in CE engine:
SELECT "FIRST_NAME", "LAST_NAME", count("M_KEY") AS "M_KEY" FROM "_SYS_BIC"."demohana.customers/EMPLOYEE"
WHERE "FIRST_NAME" = 'John'
GROUP BY "FIRST_NAME", "LAST_NAME"
ORDER BY "LAST_NAME" DESC;
- Processed in Join engine:
SELECT "FIRST_NAME", "LAST_NAME", count("M_KEY") AS "M_KEY" FROM "I053626"."EMPLOYEE"
WHERE "FIRST_NAME" = 'John'
GROUP BY "FIRST_NAME", "LAST_NAME"
ORDER BY "LAST_NAME" DESC;
Have a look at the visualize plan (by right-click on your statement).
In the 1st case you will see CE operations meaning Calculation Engine and in the second one you will see JE as Join engine.
Check out the webinar from Lars if you want more infos about viz plan:
Alex.