同义词访问

最近更新时间: 2025-02-18 16:02:00

  • 复制
    复制成功
postgres=# select * from syn_copy;            
 f1 |  f2   
----+-------
  1 | TDSQL PG
(1 row)
postgres=# insert into syn_copy values(2,'pg');
INSERT 0 1
postgres=# update syn_copy set f2='postgres' where f1=2;
UPDATE 1
postgres=# delete from syn_copy where f1=2;
DELETE 1