【发布时间】:2018-04-12 21:54:32
【问题描述】:
如果这是一个简单的问题,我很抱歉。但是,我已经在大约一个小时内到处寻找答案。
我有一个 db_table,我需要对其进行排序以输出到网页中的表格。数据以如下方式存储在db_table中:
date Area Value
------ ------ -------
11-mar-18 middle 10
11-mar-18 bottom 5
11-mar-18 top 12
12-mar-18 top 14
12-mar-18 bottom 4
12-mar-18 middle 17
问题是:如何对它们进行排序以产生以下结果:
date Area Value
------ ------ -------
11-mar-18 top 12
11-mar-18 middle 10
11-mar-18 bottom 5
12-mar-18 top 14
12-mar-18 middle 17
12-mar-18 bottom 4
非常感谢任何帮助。
【问题讨论】:
标签: sql oracle sql-order-by