testa表(字段a)
aaa
bba
cccddd
dddaaa
testb表(字段b)
a
b
1. 使用like+concat模糊配对
select
a.a
from testa a ,testb b
where a like concat('%',b.b,'%')
group
hive两张表实现like模糊匹配关联
于 2023-11-28 15:07:39 首次发布
testa表(字段a)
aaa
bba
cccddd
dddaaa
testb表(字段b)
a
b
1. 使用like+concat模糊配对
select
a.a
from testa a ,testb b
where a like concat('%',b.b,'%')
group