CDbCommand::buildQuery() no longer throw exception if 'from' is missing.
Issue #2654 has been added to CHANGELOG
Merge pull request #2834 from klimov-paul/2654-db-command-optional-from

Fixes #2654: Allow CDbCommand to compose queries without 'from' clause