mysql不包含模糊查询
本文最后更新于 2024-11-14,文章内容可能已经过时。
#包含like
#不包含not like
select * from 数据库表 where HouseName like '%江门奥园项目%' and HouseName like '%幢%' and HouseName not like '%商%';
#不包含not in
select sum(o.PaidChargeSum) from cdj_order o where o.id not in (select d.order_id from cdj_order_detail d where d.is_canceled !=1);
- 感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 IT薇薇
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果