About Question enthuware.oce-jpad.v6.2.579 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
cosminvacaroiu

About Question enthuware.oce-jpad.v6.2.579 :

Post by cosminvacaroiu »

Why aren't there 12 ? If 2 Customer has each 3 Orders, the tables look like:

Code: Select all

Customer               Order
Cust1                    Ord1Cust1
Cust2                    Ord2Cust1
                           Ord3Cust1
                           Ord1Cust2
                           Ord2Cust2
                           Ord3Cust2
And a cross-join between these is 1x6 + 1x6 :) If it would have been a join then it would have been 6.
Last edited by admin on Tue Aug 14, 2012 8:27 pm, edited 2 times in total.
Reason: added code tag

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.2.579 :

Post by admin »

You are right. The explanation also says the same thing that there is no where clause but doesn't realize that the problem statement says 3 orders for each customer. So it should be 12.

this has now been fixed. Thank you for your valuable feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 145 guests