How to Automate Send, Recieve, Forward

Please help me out here.

I have a SIM which is configured at a DB. When i send SMS like #JOHN WHITE to a specific number in reply GSM module reply with Information of JOHN WHITE if it have in DB.

Now problem is the my SIM is “only sim” configured and now in office many mates msg me to send them information of this this this individual and i am fed up. i want to automate this like this.

1: Office colleague text me at my SIM (my SIM example: +9132344234)

2: +9132344234 send it to that GSM module which is connected to DB.

3: Get data from DB and send it back to whom requested information.

Please mention any tutorial or what things i need to buy to done it?