Getting the floor value of a number in SQLite?

前端 未结 2 1081
无人共我
无人共我 2020-12-11 14:22

I have a SQLite database with a table containing the scores of some league players in a bowling center. I\'m trying to get the average of the Score column for each player ID

2条回答
  •  离开以前
    2020-12-11 15:24

    You can just use cast it to an integer. It will truncate it, which is equivalent to floor.

提交回复
热议问题