MySQL5.0 Not in 注意

    技术2022-05-11  113

    功能有误的(大数据情况下):select * from table where id not in (values);

    正常的(适用大数据)

    select * from table where id not in (select id from subtable)

    从5.0 开始支持子查询


    最新回复(0)