这是下面的查询,我希望点列按 ASC 顺序排列,但是当我执行以下查询时,它不会相应地 ASC。请看下面的结果
SELECT *
FROM `bonus` ORDER BY `bonus`.`points` ASC
它返回以下数据:
id referrer_id points created modified
1 10 100 2013-06-01 00:00:00 2013-06-18 00:00:00
2 30 15 2013-06-01 00:00:00 2013-06-18 00:00:00
3 20 45 2013-06-01 00:00:00 2013-06-18 00:00:00
但我想像这样将点列指向 ASC
id referrer_id points created modified
1 10 100 2013-06-01 00:00:00 2013-06-18 00:00:00
2 20 45 2013-06-01 00:00:00 2013-06-18 00:00:00
3 30 15 2013-06-01 00:00:00 2013-06-18 00:00:00