在oracle中,不支持limit用法,所以需要用rownum
1.如果需要查询10条以内的数据
select * from cust where rownum <10;
2.如果需要查询10到100数据以内的数据
select * from ( select a.*,rownum as rn from Cust a) b where b.rn between 10 and 100; (包含了10和100的数据)
数据导入mysql:
1.先获取想要导出的数据(oracle中)
2.选中,右键 --> Copy to Excel --> Copy as xls
3.自动导出到Excel表中
4.通过Navicat 导入数据(需要先有表结构),选中需要导入数据的表,右键 --> 导入向导 --> 选择Excel --> 添加已经获取数据的Excel表 --> 导入
5.刷新 --> 成功