select * from user where name like "%1%%" escape 1; select *,RIGHT(name,LENGTH(name) - POSITioN("@"
select * from user where name like "%1%%" escape 1;
select *,RIGHT(name,LENGTH(name) - POSITioN("@" in name)) from user;
#对name列中b不为 null的计数 select COUNT(name = "b" or null) as b , COUNT(name = "c" or null) as c ,(select COUNT(id) from user where name is null) as nan from user ;
--结束END--
本文标题: mysql使用
本文链接: https://lsjlt.com/news/4412.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0