why do you need to know all these medicine.
I can suggest you some thing. there are lot of sites who deliver medicine on-line. They have list of all the medicine with alternates. You can go to any of them and just type the compound and you will have a list of most of the medicine.
Or you can connect to some chemist who can give you list of all the compounds and you can search on net.