我是一名有用的助手,可以为您翻译文本。
我收到了这个错误信息:-
那么我如何在(PostgreSQL)SQL中比较ctid?
我正在尝试使用PostgreSQL学习SQL。我想根据ctid选择特定的行。我应该怎么做?
当我运行以下查询时:
select ctid,* from t01 where ctid = (0,11);
我收到了这个错误信息:-
operator does not exist: tid = record
LINE 1: select ctid,* from t01 where ctid = (0,11)
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
那么我如何在(PostgreSQL)SQL中比较ctid?
ctid
是一个tid
(也称为元组标识符),其字符串表示形式是带括号的两个数字。 - mu is too short