search

Home  >  Q&A  >  body text

php - Why is there a problem with sql calculation results! ! ! !

Why are the highest and lowest values ​​reversed? Some are normal and some are abnormal. Is this written wrong?

These two are executed by the front and rear feet, what's the problem! ! !

我想大声告诉你我想大声告诉你2825 days ago532

reply all(3)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-17 09:57:44

    Is your yj a numeric type? It feels like a string type.

    reply
    0
  • 高洛峰

    高洛峰2017-05-17 09:57:44

    Because your yj field may be of string type

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-17 09:57:44

    The person above is right, yours has been sorted according to ASCII code, which is definitely wrong

    reply
    0
  • Cancelreply