DELETE

2018-07-24  本文已影响0人  susupp
DELETE
FROM
    employees2
WHERE
    deparment_id = 90;

DELETE
FROM
    (
        SELECT
            *
        FROM
            employees2
        WHERE
            department_id = 90
    );

DELETE
FROM
    employees2
WHERE
    department_id IN (
        SELECT
            department_id
        FROM
            departments
        WHERE
            department_name = 'Executive';
上一篇下一篇

猜你喜欢

热点阅读