zendframework/zf2 — pull request #1476 by bjyoungblood (2012-06-11 03:54:17+00:00)
Title: (optional) table aliases in joins, plus unit tests

Tables can be aliased in the same style as in ZF1's Zend_Db component. Usage for non-aliased tables remains unchanged. Example:

```php
// SELECT "foo".*, "alias".* FROM "foo" JOIN "table" "alias" ON "alias"."id" = "foo"."id"
$select->from('foo')->join(array('alias'=>'table'), 'alias.id = foo.id');
```