Postgresql – SQL query how to divide two selects that return multiple columns
I have the following table : city state numOrder date deadlineDate NY NY 111 2022/11/05 2022/11/06 LA CA 222 2022/11/01 2022/10/01 SD CA 333 2022/05/05 2022/11/06 LA CA 444 2022/11/01 2022/05/01 I need to calculate the number of orders placed…