摘要:
1、connect by connect by 中的条件就表示了父子之间的连接关系 比如 connect by id = prior pid 默认是从根开始,如connect by prior id = pid,表示构造树时,本记录的id是下条的pid,即找pid=本条id的记录做下条记录。 交换p 阅读全文
摘要:
Mysql 将汉字(中文)按照拼音首字母排序 ORDER BY CONVERT(表别名.字段名 USING gbk) COLLATE gbk_chinese_ci ASC; 例子 select * from ( select '嘉实资产' a, '000830' b union select '中金 阅读全文