いくつかの ingres データベースのものを継承しました。以前にイングレスを使用したことはありません。個別の電子メール アドレス レコードを分離する次のクエリを見つけました。
select a.reg_uid as id, a.firstname, a.lastname, a.postzip_code, a.suburb, a.city, a.state, a.email, a.country
from register a
inner join
(
select distinct email, min(reg_uid) as id from register
group by email
) as b
on a.email = b.email
and a.id = b.id
ただし、これをイングレスにプラグインすると、エラーが発生します
"Table 'select' does not exist or is not owned by you."
何か案は?