How to select the last record of each ID

前端 未结 0 1941
死守一世寂寞
死守一世寂寞 2021-02-06 13:18

I need to extract the last records of each user from the table. The table schema is like below.

mytable

product | user_id |
-------------------
   A    |   15            


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