Select previous row mysql?

后端 未结 5 1177
猫巷女王i
猫巷女王i 2021-01-27 10:11

If I have a mysql table which had primary ids and another field called gameScore can I do something along the lines of...

SELECT gameScore FROM table1 WHERE id =         


        
5条回答
  •  一向
    一向 (楼主)
    2021-01-27 10:48

    I would suggest doing a union instead of the AND (besides, you need to add LIMIT 1 so you do not get ALL rows under 100)

提交回复
热议问题