1、两张表如下:
2、左外连接如下:
即readerinfo(右边)中的placeid(左边)要出现在place表中,这
时readerinfo的记录才会出现在place表中,如果place表中的相应
属性没有,则显示null
3、右外连接:
即place表中的placeid(左边)要在readerinfo(右边)表中,此时
place表中的信息才会显示出来,一样的没有的属性,就显示null
4、内连接join,它会返回字段placeid同时存在于表place和
readerinfo中的记录.