摘要: mysql常用查询语句 /* in 查询满足指定范围内的条件的记录*/ select id,name from os_customer where id in (12,13,14) /* not in 查询不满足指定范围内的条件的记录*/ select id,name from os_custome 阅读全文
posted @ 2021-11-23 16:54 顺风顺水123 阅读(265) 评论(0) 推荐(0)
摘要: 原文链接:https://www.cnblogs.com/-lin-x-c-/p/10375412.html 一.%:表示任意0个或多个字符。可匹配任意类型和长度的字符,有些情况下若是中文,请使用两个百 分号(%%)表示。 *注:like '%龙%':查询出所有含有“龙”的记录 1. 所查询字段 + 阅读全文
posted @ 2021-11-23 12:00 顺风顺水123 阅读(2397) 评论(0) 推荐(0)