Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要帮助来订购搜索结果。
我有一个如下表“部分”,我必须从中获取价值,并且需要根据显示顺序填充下拉列表。但我的问题是通过直接在数据库中执行查询命令,我得到了确切的值。但在下拉列表中,“Sec V”显示早于“Sec IV”。请帮我解决这个问题。
Name Display_Sequence Sec I 1 Sec II 2 Sec III 3 Sec IV 4 Sec V 4 Sec VI 5
您可以按未选择的列排序:
select name from section order by display_sequence