Smarty Data classification

Source: Internet
Author: User
If there is a table, as follows:
ID | DT | Title |
1 | 2010/09/01 | 111 |
2 | 2010/10/01 | 222 |
3 | 2011/09/01 | 333 |
4 | 2011/12/01 | 444 |
5 | 2012/01/01 | 555 |
6 | 2013/09/01 | 666 |
7 | 2014/08/01 | 777 |
8 | 2015/03/01 | 888 |
9 | 2015/04/01 | 999 |
... | ...... | .... |


There's no way to sort by time if you don't add fields and don't relate to other tables, like
2010:111
222
2015:888
999

Such Solving


Reply to discussion (solution)

2010:111
2010:222

And then deal with it on your own? You should not be able to return a row as you say, and the data is going to return a row in the lookup table.

2010:111
2010:222

And then deal with it on your own? You should not be able to return a row as you say, and the data is going to return a row in the lookup table.



2010:111
222
2015:888
999
Is the result of the page display, in fact, I also think it is not feasible.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.