Hi,
Thanks for the reply.
The Shampoo reference was just an example, the result needs to be like this:
UPC BLOCK, INUMBER STORE
1234567890 0123 02, 0223 04 002
1234567890 0224 01, 0425 07 003
The script I have already does this but brings the result back based on all locations that product is located in all our stores, it needs to bring back the locations in each store.
Does this make sense?
Regards,
Ken
Main Topics
Browse All Topics





by: rizwanidreesPosted on 2009-07-04 at 01:46:31ID: 24776350
select `upcplace`.`upc` AS `UPC`,group_concat(concat_ ws(' ',`upcplace`.`store`,`upcp lace`.`blo ck`,`upcpl ace`.`inum ber`) separator ',') AS `block`,`upcplace`.`store` AS `store` from `upcplace` where `upcplace`.`upc`='Shampo'