Oracle与Mysql插入多行数据

Oracle

一、

insert all
into students values ('b10050501','zl')
into students values ('b10050502','zjw')
select * from dual;

二、

 insert into students
select ‘b10050501’,'zl' from dual
union
select ’b10050502‘,'zjw' from dual;

 

Mysql

一、

insert into stu values('b10050501', 'zl'), ('b10050502', 'zl');

posted @ 2014-09-11 09:53  冷冰若水  阅读(256)  评论(0编辑  收藏  举报