Good afternoon, I encountered such a task. You need to display the fields from 3 tables of the database. Suppose a, b, c:
SELECT a.field1, b.field2, c.field3 FROM a, b, c WHERE a.id = 1
If there is a record in the table, then everything is fine, but if there is no record in one of the tables, it does not output anything. So the question is whether it is possible to make such a request, that if in one of the tables there is no suitable record, the output would be null.
a.field1 b.field2 c.field3 1 2 null 2 null 3 Or is it impossible?
a.idcorresponds to 1b.idandc.id? - SLy_huh