比如查询数据表
select  money form a;得的money字段内容为
money
10
10
30
30
50
50
我希望遍历查询内容,当money值变化的时候就打印"-----"效果如下:
10
10
------
30
30
-----
50
50
谢谢!