34,590
社区成员
发帖
与我相关
我的任务
分享
INNER JOIN topic ON LTRIM(topic.sort_id) LIKE '%'+ltrim(sort_sort.id)+'%'
如果5楼的不行,试试这样.from topic join sort_sort
on rtrim(topic.sort_id) LIKE '%sort_sort.id%'
INNER JOIN topic ON topic.sort_id LIKE '%'+ltrim(sort_sort.id)+'%'
直接
from topic,sort_sort
where rtrim(topic.sort_id) LIKE '%sort_sort.id%'
on topic.sort_id = sort_sort.id