MDL-30514 registration: table aliases don't use AS keyword
commit7b18f18a1ecc92957cccb92f9bb08f193009cf9b
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 28 Sep 2012 12:02:52 +0000 (28 14:02 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 28 Sep 2012 12:02:52 +0000 (28 14:02 +0200)
tree0d4e2dbbe90f7c81210176308c887290358d7164
parentc5575c63b8a2b0ce7828ea7aee17def84d9d65b5
MDL-30514 registration: table aliases don't use AS keyword

This is a backport of both MDL-34072, MDL-34440 (initial fix
and following regression). Basically it's about to observe #12 of:
    http://docs.moodle.org/dev/Database
(Use the AS keyword always with column aliases but not with table aliases)
course/lib.php