SELECT ISNULL(dbo.stationele.局站编号, dbo.stationhire.局站编号) AS 局站编号, 
      dbo.stationele.电费金额, dbo.stationhire.房租金额, ISNULL(dbo.stationhire.流程号, 
      dbo.stationele.流程号) AS 流程号, ISNULL(dbo.stationele.合同号, 
      dbo.stationhire.合同号) AS 合同号
FROM dbo.stationele FULL OUTER JOIN
      dbo.stationhire ON dbo.stationele.合同号= dbo.stationhire.合同号 
                         and dbo.stationele.日期= dbo.stationhire.日期