所以我有如下表结构
表B_final
FullPath | FileName
-------------------|---------
asd/HelloTest/aaa | asdasd.txt
表T_final
ID | Name | Path
---|-----------|-----
1 | HelloTest | asdasd.txt
查询
SELECT * FROM T_final A
JOIN B_final B
ON A.Path = B.FileName and B.FullPath LIKE '%' + A.Name + '%'
但是,这2行未合并。我在做什么青蛙?