Bug #800 | SELECT doesn't return syntax error when selecting two columns without comma | ||
---|---|---|---|
Submitted: | 7 Jul 2003 4:02 | Modified: | 7 Jul 2003 4:24 |
Reporter: | Pavel Francirek | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.0.13 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[7 Jul 2003 4:02]
Pavel Francirek
[7 Jul 2003 4:24]
Sergei Golubchik
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php In SELECT colA colB FROM table; colB is treated as an alias for colA. It's the same as SELECT colA AS colB FROM table;