摘要: 一、使用count 当我们查询是否存在记录时也会使用select count(*) 或者使用select count(1)来查询,比如在注册新用户时,需要手机号统一,判断是否该手机号已经注册 --sql select count(*) from sa_user where phone = '1821 阅读全文
posted @ 2021-10-08 10:09 木马不是马 阅读(493) 评论(0) 推荐(0) 编辑