postgresql Delete+ join
Posted 开水房
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了postgresql Delete+ join相关的知识,希望对你有一定的参考价值。
using tablename as alias
DELETE FROM tv_episodes USING tv_episodes AS ed LEFT OUTER JOIN data AS nd ON ed.file_name = nd.file_name AND ed.path = nd.path WHERE tv_episodes.id = ed.id AND ed.cd_name = ‘MediaLibraryDrive‘ AND nd.cd_name IS NULL;
以上是关于postgresql Delete+ join的主要内容,如果未能解决你的问题,请参考以下文章