Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

php mysql 如何获取连续出现3次的相同字符的数据

如下表格:

IDPIDCONTENT
11OK
21ERROR
31ERROR
41ERROR
51OK
62ERROR
72OK
82ERROR
92OK
102ERROR
112OK

如何找出pid为1,content连续3次为error的数据


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
跟你的问题很像
https://www.cnblogs.com/interdrp/p/13173383.html

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...