数据库sql语句

select distinct * from salary group by ss desc limit 0,3 union select * from salary;

/**

*查询一个表中的所有信息,前三排序。经测试此处用group by 而不能用order by。

*/

posted @ 2011-10-11 09:19  weekie  阅读(88)  评论(0编辑  收藏  举报