返回两个结果的差集
 
                  更新时间 2025-02-14 10:21:46
                 
 
                    最近更新时间: 2025-02-14 10:21:46
                  
 本文介绍如何在使用SELECT语法时,返回两个结果的差集。
 teledb=# select * from teledb_pg except select * from teledb_pg1;
id |  nickname  
----+------------
2 | TELEDB
4 | 
1 | teledb
1 | hello,pgxc
(4 rows)