摘要: sql在不同数据库查询前几条数据 1. ORACLE SELECT * FROM TABLE_NAME WHERE ROWNUM <= N; HQL: from table_name t order by t.create_time desc where rownum<=n; 2. postgres 阅读全文
posted @ 2016-11-10 14:33 xzluckydog 阅读(804) 评论(0) 推荐(0) 编辑