return unique cate_id's, as a string separated by the specified separator ' '(space) in ascending order for each group of 'pub_id' from the book_mast table:
Publisher's ID
GROUP_CONCAT(DISTINCT cate_id ORDER BY cate_id ASC SEPARATOR ' ')
P001
CA002 CA004
P002
CA003
P003
CA001 CA003
P004
CA002 CA005
P005
CA001 CA004
P006
CA001 CA005
P007
CA002 CA005
P008
CA004 CA005