select * from meta_hdfs_info_bak where not exists (select 1 from meta_hdfs_info where meta_hdfs_info.hdfsPath=meta_hdfs_info_bak.hdfsPath AND meta_hdfs_info.clusterUserId=meta_hdfs_info_bak.clusterUserId AND meta_hdfs_info.hdfsGroup=meta_hdfs_info_bak.hdfsGroup AND meta_hdfs_info.hdfsOwner=meta_hdfs_info_bak.hdfsOwner AND meta_hdfs_info.hdfsPerm=meta_hdfs_info_bak.hdfsPerm); select * from meta_hdfs_info where not exists (select 1 from meta_hdfs_info_bak where meta_hdfs_info.hdfsPath=meta_hdfs_info_bak.hdfsPath AND meta_hdfs_info.clusterUserId=meta_hdfs_info_bak.clusterUserId AND meta_hdfs_info.hdfsGroup=meta_hdfs_info_bak.hdfsGroup AND meta_hdfs_info.hdfsOwner=meta_hdfs_info_bak.hdfsOwner AND meta_hdfs_info.hdfsPerm=meta_hdfs_info_bak.hdfsPerm);