Hi Developers,
I have created an Inventory system in the company I am working for, now the next they want me to make is to create something called the Favorite Basket, in which when I am entering a new Order say for example my order goes like this

1- Desktop PC
2- LCD Screen

They want me to create an Analysis from previous orders containing my order items and display ( Employees who Ordered Items 1 & 2 ) have also ordered the following : say for example in this case

1- Mouse :P
2- Pen Drive

Anyway my question is that how can I create this anaysis correctly is this an algorithim for it , please if anyone have done it before or have read about it. inform me.

I wish we can charge them :P

Thanks
Aiman Al-Jumoay