我们如何在PL / SQL中对表数据进行冒泡? [英] How can we bubble sort a table data in PL/SQL?

查看:87
本文介绍了我们如何在PL / SQL中对表数据进行冒泡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过PL / SQL对数组进行排序。但任何人都可以帮助我如何对表的数据进行排序?

I can sort an array through PL/SQL. But can any one help how can I sort the data of table?

推荐答案

B-Tree索引始终排序。这是定义的一部分。

你要解决的问题是什么?
B-Tree indexes are always sorted. It's part of the definition.
What's the problem you're trying to solve?


These all are under indexes concept
While creating table with primary key it having back end index , based on that process the primary key also working







参考此链接



SQL 2005中的集群和非集群索引 [ ^ ]





http://www.w3schools.com/sql/sql_create_index.asp [ ^ ]


这篇关于我们如何在PL / SQL中对表数据进行冒泡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆