摘要:
with t as(select 'Charles' parent, 'William' child unionselect 'Charles', 'Harry' unionselect 'Anne', 'Peter' unionselect 'Anne', 'Zara' unionselect ... 阅读全文
摘要:
IF OBJECT_ID('tb') IS NOT NULL DROP TABLE tbcreate table tb(id varchar(3) , pid varchar(3) , name varchar(10))insert into tb values('001' , null ,... 阅读全文