单引号一般用在字符串上比如 where name=‘xihaha’;
当判定值不是字符串时就不需要单引号,比如一个字符char、int等等
mysql中where条件判定值啥时候用单引号
猜你喜欢
转载自blog.csdn.net/qq_31476455/article/details/89096978
今日推荐
周排行