如果数据库中存储的单引号为 英文写法则是:
select t.*, t.rowid from classify t where t.name like '%''%';
如果数据库中存储的单引号为 中文写法则是:
select t.*, t.rowid from classify t where t.name like '%‘%';
查询 双引号的sql语句
select t.*, t.rowid from classify t where t.name like '%”%';
本文介绍如何在SQL查询中正确使用单引号和双引号进行数据检索,包括英文和中文写法的区别。

582

被折叠的 条评论
为什么被折叠?



