Pharmacy is a degree that qualifies you to be a pharmacist, pharmacology is a bioscience degree focusing on drug interactions and the "theory" behind those.
If you want to become a pharmacist the
only degree you should be aiming for is pharmacy.
If you don't want to become a pharmacist there's not much point in doing a pharmacy degree, so if you're not aiming for that but are interested in studying the science of drug interactions (and sometimes design/processing, although that often falls under separate degrees in pharmaceutical science/medicinal chemistry) then aim for pharmacology
