我正在做更多的修改,如何执行以下操作:
删除属于“A Wilks”的甲壳虫</p>
person (driver-id, name, address)
car (license, model, year)
accident (report-number, date, location)
owns (driver-id, license)
participated (driver-id, car, report-number, damage-amount)
这是我想出的:
DELETE FROM car
WHERE model = 'beetle'
但是我知道这是错误的,因为它会删除所有甲壳虫汽车,而不仅仅是 A Wilks 拥有的那辆。