Calcul with two Query

Dear all

I am using a postgresql database. I want to do a percentage using two series. Sum Serie A / Sum Serie B *100.

Any idea how to do that ?

I know how to do variable but not how to divide them .

in advance thanks

Bertrand