Last answered:

22 May 2024

Posted on:

25 Feb 2023

4

Solution to Q#4

I am quite confused regarding question #4 and its solution 

The question asks to obtain the result without using CTE while the answer does 

1 answers ( 0 marked as helpful)
Instructor
Posted on:

22 May 2024

0

Hi Eslam!

Thanks for reaching out!


Actually, you have to use the CROSS JOIN in a query. It is not mentioned to not use a common table expression. In exercise 3, for instance, it is mentioned not to use one – so here in this particular case you have to use the CROSS JOIN and still use a common table expression.
 

Hope this helps.
Best,
Martin

Submit an answer