時間:2024-02-08 11:17作者:下載吧人氣:19
今天突然想到之前在書上看到的一個例子,竟然想不起來了.
于是翻書找出來,測試一下.
— drop table father,soninsert into father(fid,name,oid)
values(1,’father’,5),(2,’father’,9),(3,’father’,null),(4,’father’,0)
insert into son(sid,name,fid)
values(1,’son’,2),(2,’son’,2),(3,’son’,3),(4,’son’,null),(5,’son’,null)
select * from father
select * from son
網友評論