Welcome to Qi-U Community for programmer and developer-Open, Learning and Share

Categories

0 votes
426 views
in Technique[技术] by (31.9m 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

Please log in or register to answer this question.

1 Answer

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Qi-U Community for programmer and developer-Open, Learning and Share

755k questions

547k answers

4 comments

86.4k users

...