日期:2014-05-17 浏览次数:20495 次
create table a
(id int, name varchar(10), code varchar(10))
create table b
(guid int, name varchar(10), code varchar(10))
create table c
(guid int, bid int, name varchar(10), code varchar(10))
insert into a
select 1,'张三','001' union all
select 2,'李四','002' union all
select 3,'王五','003' union all
select 4,'赵六','004'
-- 插入b表
insert into b(guid,name,code)