mysql数据库查询比如想select x,y怎么实现换行

mysql数据库查询比如想select x,y怎么实现换行,第1张

select t1.*,(select count(*)+1 from (select cm_id,sum(`count`) counts from 表名 group by cm_id) t2 where t1.counts

MySQL查询带有回车换行符内容的方法:

1、select * from table where content like '%\r\n%'//或者 \n

2、//内容里面有br也可以查

3、select * from table where content like '%<%br%>%'

Mysql是最流行的关系数据库管理系统,在WEB应用方面MySQL是最好的RDBMS(Relational Database Management System:关系数据库管理系统)应用软件之一。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/6694635.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-03-26
下一篇 2023-03-26

发表评论

登录后才能评论

评论列表(0条)

保存