1、select * from tablename1 where exits (select id from tablename2 where id>20)2、加注释:
comment on table 表 is '表注释';comment on column 表.列 is '列注释';