这可以通过递归公用表表达式来实现:
WITH RECURSIVE split(s, last, rest) AS ( VALUES('', '', 'C:UsersfidelDesktopTemp') UNIOn ALL SELECt s || substr(rest, 1, 1), substr(rest, 1, 1), substr(rest, 2) FROM split WHERe rest <> '')SELECt sFROM splitWHERe rest = '' OR last = '';(您没有要求 合理的 方法。)



