Answer the question
In order to leave comments, you need to log in
Query against many tables with PostgreSQL conditions?
It is necessary to unite the data from N tables, and communication on different fields. It turns out to write simple queries with JOIN, but there is not enough knowledge. What is necessary.
Таблица №1.
а | b
-----
1 | A
2 | B
3 | C
Таблица №2.
b | c
-------
A | 3F
B | 4F
D | 5F
Таблица №3.
c | d
-------
3F | t1
6F | t2
7F | t3
Таблица №4.
c | e
-------
1F | u1
4F | u2
7F | u3
Хотелось бы получить
a | b | c | d | e
-------------------
1 | A | 3F | t1 | -
2 | B | 4F | - | u2
3 | C | - | - | -
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question