select int, out from income_o full join outcome_o Why is an error trail.
Ошибка. Incorrect syntax near ';'.
select int, out from income_o full join outcome_o Why is an error trail.
Ошибка. Incorrect syntax near ';'.
A table with Incas should be combined with a table with a set of some field, for example:
SELECT int, out FROM income_o FULL JOIN outcome_o ON outcome_o.inc_id = income_o.id Or, if you just need to select all the values, then the join is not needed, just the table names are indicated:
SELECT int, out FROM income_o, outcome_o You did not indicate where and by what field you are going to join.
If you need a Cartesian connection, use CROSS JOIN, not FULL. FULL means that you are connecting by a specific field (i.e. an ON operator is required ...), and means that you need to return values from both the left and right tables, even if they did not find the corresponding values.
Source: https://ru.stackoverflow.com/questions/44793/
All Articles