解决方法:使用临时表
DELETE FROM myusertable WHERE id>20 AND path IN (SELECT a.path FROM ((SELECT path FROM myusertable WHERE id<21) )a)