假设表A
<表类>
名称
年龄
tbody><<tr>Jon 23 丽丽 43 表类>
使用EXISTS条件:
select a.*
from tablea a
where exists (select *
from tableb b
where lower(a.name) = lower(b.name));