57,062
社区成员
发帖
与我相关
我的任务
分享select *
from tab_rec
where substring_index(v_path,'\\',-2)=(select max(substring_index(v_path,'\\',-2)) from tab_rec)select v_path from tab_rec where left(substring_index(v_path,'\\',-2),8) =(select max(left(substring_index(v_path,'\\',-2),8)) from tab_rec)select max(left(substring_index(v_path,'\\',-2),8)) from tab_recselect * from tb_name a where not exists (select 1 from tb_name b where substring_index(b.v_path,'\\',-2)>a.substring_index(b.v_path,'\\',-2))