mysql按區間group by

原文 http://blog.itpub.net/13379967/viewspace-715701/ 在統計需求中 有時每每須要對區間進行分組 mysql中能夠利用elt函數來實現此類需求 mysql> select * from k1; +------+------+ | id   | yb   | +------+------+ |    1 |  100 | |    2 |   11 |
相關文章
相關標籤/搜索