Bug #1272 | Missed comma in the manual (derived tables) | ||
---|---|---|---|
Submitted: | 13 Sep 2003 12:25 | Modified: | 13 Sep 2003 12:42 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 4.1 | OS: | |
Assigned to: | CPU Architecture: | Any |
[13 Sep 2003 12:25]
[ name withheld ]
[13 Sep 2003 12:42]
Sergei Golubchik
no, comma is not missing. t3 is an alias for derived table. It should be read as SELECT t1.a FROM t1, (SELECT * FROM t2) AS t3 WHERE t1.a=t3.a; but "AS" is optional, and omitted in this example