postgresql: how to get the rows greater than a timestamp and also previous nearest row

前端 未结 0 463
[愿得一人]
[愿得一人] 2021-01-31 06:57

I have postgresql table with time and state

      time              state
2021-01-30 09:59:57+00        0
2021-01-30 09:50:36+00        1
2021-01-30 08:38:05+00           


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