About Question enthuware.oce-jpad.v6.2.575 :
Posted: Wed Mar 25, 2015 6:05 am
In my opinion, the second answer is incorrect, because the order entity is inner joined, not outer joined.
When all customers with a specific state does not have any placed orders, this state will not appear in the result. Because the question states that you want to find out the states from which customers placed orders and the number of orders for those states, I also want to see the states where there are no placed orders.
When all customers with a specific state does not have any placed orders, this state will not appear in the result. Because the question states that you want to find out the states from which customers placed orders and the number of orders for those states, I also want to see the states where there are no placed orders.