select * from table_name order by binary name;

解决方案 »

  1.   

    我的数据库是postgresql,要上的这条语法有错。
      

  2.   

    拜托,以后问问题,将你的创建数据库语句,和insert数据的语句,贴出来,你以为我们很闲
    吗!!!!下不为例!
    select  a.* from  jchart_column a,
    (select no,count(no) as counter from jchart_column   group by no order by counter desc limit 10) b
    where a.no = b.no