delete from table_a using table_a left outer join table_b on table_a.id = table_b.id where table_a.name = 'aaa'
from句に指定したテーブルを削除する。カンマ区切りで複数のテーブルを指定できる。
using以降に結合を指定する。もちろん、SQL標準ではないです。
delete from table_a using table_a left outer join table_b on table_a.id = table_b.id where table_a.name = 'aaa'
from句に指定したテーブルを削除する。カンマ区切りで複数のテーブルを指定できる。
using以降に結合を指定する。もちろん、SQL標準ではないです。