ridhirao22
Programmer
Hi,
Trying to find percentage of orders shipped to more than one address, more than two address and more than three address for a year range.
tables I have are orders, orderline,Shippment
I have used count of address by order id and used having clause as inline view in the from clause for the shippment table. Done this 3 times. then join back to the orders table.
Can any one help me the better apporach. Sorry I don't have access to the script I would post it here for ex. Hope I could explain better than this.
TIA
RR
Trying to find percentage of orders shipped to more than one address, more than two address and more than three address for a year range.
tables I have are orders, orderline,Shippment
I have used count of address by order id and used having clause as inline view in the from clause for the shippment table. Done this 3 times. then join back to the orders table.
Can any one help me the better apporach. Sorry I don't have access to the script I would post it here for ex. Hope I could explain better than this.
TIA
RR