Home > Database > Mysql Tutorial > MySql使用总结_MySQL

MySql使用总结_MySQL

WBOY
Release: 2016-06-01 13:10:48
Original
915 people have browsed it

MySql

内连接

当设计到id和parent_id在一张表中时,想要取得表的父类名称时往往涉及到内连接。及笛卡尔积,只有笛卡尔积加上ON时才有实际意义。

mysql执行顺序

写的顺序:select ... from... where.... group by... having... order by..
执行顺序:from... where...group by... having.... select ... order by...

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template