SQL中变量加通配符%怎么表示?

2025-02-22 16:08:01
推荐回答(2个)
回答1:

select * from t1
where exists (
select 1 from t2
where AA like '%BB%'
)

回答2:

WHERE AA LIKE 'BB%'