逻辑架构
![0edd6b471f117d5a2a2b7d7d5d690daf.png](https://img-blog.csdnimg.cn/img_convert/0edd6b471f117d5a2a2b7d7d5d690daf.png)
![03ae7bda40337eca7171ed31e8f8bd8e.png](https://img-blog.csdnimg.cn/img_convert/03ae7bda40337eca7171ed31e8f8bd8e.png)
![a8c6166a8e4ae9a749d357feefdb9040.png](https://img-blog.csdnimg.cn/img_convert/a8c6166a8e4ae9a749d357feefdb9040.png)
![d34041a6f44171da0cf7b029e0cc5302.png](https://img-blog.csdnimg.cn/img_convert/d34041a6f44171da0cf7b029e0cc5302.png)
![30abd9ccba88336a8d40dc198b051abd.png](https://img-blog.csdnimg.cn/img_convert/30abd9ccba88336a8d40dc198b051abd.png)
![a4a38a7e8307d31e1faa714e6771af30.png](https://img-blog.csdnimg.cn/img_convert/a4a38a7e8307d31e1faa714e6771af30.png)
存储引擎
查看当前安装的mysql提供的存储引擎
![335ed62d9a9b1a464524317dffc4c0f4.png](https://img-blog.csdnimg.cn/img_convert/335ed62d9a9b1a464524317dffc4c0f4.png)
查看当前mysql默认的存储引擎
![f34f09b723ee4fdda8a745988647bfb7.png](https://img-blog.csdnimg.cn/img_convert/f34f09b723ee4fdda8a745988647bfb7.png)
MyISAM和InnoDB
![c58a562f3bf70d7c251f76e80b463e6b.png](https://img-blog.csdnimg.cn/img_convert/c58a562f3bf70d7c251f76e80b463e6b.png)
SQL加载执行顺序
sql书写顺序
![5de5b00e9f945d2b523d871d45fcceb0.png](https://img-blog.csdnimg.cn/img_convert/5de5b00e9f945d2b523d871d45fcceb0.png)
mysql解析器执行的顺序
![adfefb729ea0759391cd42c8c6343218.png](https://img-blog.csdnimg.cn/img_convert/adfefb729ea0759391cd42c8c6343218.png)
考点:mysql是从from开始解析的
![791c3e081d19929c7c51fd5618a2cb38.png](https://img-blog.csdnimg.cn/img_convert/791c3e081d19929c7c51fd5618a2cb38.png)
七种JOIN模式
![7f814b5f202cad449dfa937be43875b5.png](https://img-blog.csdnimg.cn/img_convert/7f814b5f202cad449dfa937be43875b5.png)
注意上面七种模式全部适用于Oracle数据库,MySQL数据库不支持最后两种全连接(FULL OUTER JOIN)模式,但可以通过Union来间接实现,示例如下:
SELECT a.col1,a.col2,b.col3 FROM tab1 a LEFT[OUTER] JOIN tab2 b ON a.pk_tab1 = b.pk_tab1
UNION
SELECT a.col1,a.col2,b.col3 FROM tab1 a RIGHT[OUTER] JOIN tab2 b ON a.pk_tab1 = b.pk_tab1
以上就是我的分享,感谢大佬们的耐心看完文章,要是觉得有所收获的朋友们可以点个关注收藏转发一下哦