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.
如何在sql的标题列中选择包含“LCS”的所有记录。
SELECT * FROM TABLE WHERE TABLE.TITLE LIKE '%LCS%';
% 是通配符匹配器。
查看 LIKE 子句
您是否正在查找列名中包含 LCS 的所有表?如果是,请执行此操作
select table_name from information_schema.columns where column_name like '%lcs%'