我有三张桌子:
PERSON
-ID_PERSON
-NAME
-SURNAME
PERSON_ADDRESS
-ID_PERSON
-ID_ADDRESS
ADDRESS
-ID_ADDRESS
-NR_LOCAL
-NR_HOME
-PLACE
我想删除 id_person=1 的 ADRESS 表中的所有记录
我的查询(在 oracle 中)
DELETE * FROM address INNER JOIN person_addres ON
address.id_address=person_addres.id_address
WHERE person_addres.id_person=1 ;