I am working with a query in PSQL and I am trying to use a window function to divide two other window function counts. This is what I currently have:
WITH mon