E
E
Egor Safonov2019-05-20 15:30:26
PostgreSQL
Egor Safonov, 2019-05-20 15:30:26

Divide values ​​in one column by values ​​in another in PostgreSQL How to do?

There are a bunch of tables in the database, by accessing the necessary tables through SELECT and JOIN we get the sum of the required values ​​(we designate the new row as A), we do the same for the second column (we designate it as B). What do we end up with? We have two tables A and B in which certain values ​​\u200b\u200bare obtained during the calculation when referring to other tables.
So the question is how to divide the values ​​in table A by the values ​​in table B?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question