mysql> SELECT id, title FROM tbl_images order by id desc; +----+-------+ | id | title | +----+-------+ | 2 | | | 1 | | +----+-------+ 2 rows in set (0.00 sec)
mysql> SELECT id, title FROM tbl_images order by id asc; +----+-------+ | id | title | +----+-------+ | 1 | | | 2 | | +----+-------+ 2 rows in set (0.00 sec)
No comments:
Post a Comment