MySQL Update Query using a left join

后端 未结 4 1004
一生所求
一生所求 2020-12-06 04:37

Table Schema

Table Name: file_manager_folder

Rows: id , parentId, name

My query

4条回答
  •  情歌与酒
    2020-12-06 05:01

    If you use an NOT IN instead of LEFT join that degrade your performance.

    Run Explain before you query and the problem is obvious.

提交回复
热议问题