私はmonetdbを使用しており、「mydb」と「test」の2つのデータベースがあります。
「mydb」から「test」への値のサブセットを取得したいと考えています。
私のコード:
insert into test.result
select sum(chargfeeprepaid) from mydb.data where callingpartyno = 628388881507
union
select sum(chargefeeprepaid) from mydb.sms where callingpartyno = 628388881507;
これはMySQLでは正常に機能します...しかし、Monetdbではエラーが発生します: INSERT INTO: no such scheme 'test'.
monetdbでこれを行うための正しい構文は何ですか?
こんにちはセリーン