- 论坛徽章:
- 0
|
原帖由 cxczqfrx 于 2008-5-30 07:30 发表 ![]()
![]()
这也是mysql的特性了
简单查询飞速
复杂查询就慢点了
The document said.
The main advantages of subqueries are:
They allow queries that are structured so that it is possible to isolate each part of a statement.
They provide alternative ways to perform operations that would otherwise require complex joins and unions.
They are, in many people's opinion, more readable than complex joins or unions. Indeed, it was the innovation of subqueries that gave people the original idea of calling the early SQL “Structured Query Language.”
So I think you should read it more seriously. |
|