Home > Database > Mysql Tutorial > body text

用具体列名替代星号

WBOY
Release: 2016-06-07 17:39:20
Original
1326 people have browsed it

写SQL语句时,我们尽量使用具体列名来替换星号(*),虽然效能上微不足道,但写了,实际上已经是另外的境界了。 比如很多时候,我们都会这样写:

写SQL语句时,我们尽量使用具体列名来替换星号(*),虽然效能上微不足道,,但写了,实际上已经是另外的境界了。
比如很多时候,我们都会这样写:

Related labels:
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