【问题标题】:Manipulating a query so that null values are not shown in a full outer join操作查询以使空值不显示在完整外连接中 【发布时间】:2014-04-11 10:34:25 【问题描述】: 您将如何操作查询,以使由完全外连接产生的表中具有空值的行不会显示在结果中? 【问题讨论】: 标签: sql postgresql join full-outer-join 【解决方案1】: 值不为空 你可以在这里找到完整的解释: http://www.w3schools.com/sql/sql_null_values.asp 【讨论】: 不确定这是否能回答我的问题,因为我认为这不适用于完全外连接 确保您的 WHERE 过滤器位于您的 ON 选择之后。 有no such thing as "Postgre"。你应该链接到current version of the manual。请修正你的答案,然后look into formatting aids while being at it. 是的,对不起。在我的手机从路上。也许有一天我会成为 stackoverflow 的专家……