Compare rows in same table in mysql

后端 未结 2 711
南旧
南旧 2021-01-02 20:59

I have a mysql table like below

id   trader price
111  abc    5 
222  xyz    5.20 
333  abc    5.70 
444  xyz    5 
555  abc    5.20 

I nee

2条回答
  •  盖世英雄少女心
    2021-01-02 22:02

    You will need to setup a separate table if you want to track a history of price changes. Also, when you refer to columns, it sounds like you mean rows.

提交回复
热议问题