how could I write a query to find items which contains at least 3 consecutive years data from the latest year?

前端 未结 0 1403
太阳男子
太阳男子 2021-02-19 23:05

We have many samples in the database these samples were produced from different years with the same id. I want to get the ids which have 3 consecutive years data from latest yea

相关标签:
回答
  • 消灭零回复
提交回复
热议问题