Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要类似的东西:
SELECT * FROM Table1 WHERE Name LIKE %Table2.Name%
select <col list> from table1 t1 inner join table2 t2 on t1.name like concat('%', t2.name, '%')
如果有一个公共字段,您可以在 2 个表之间使用连接。