I'm very confused about when to do so and when not to..
Is there some common rule i can use or? An example, from an ARbehavior:
$this->Owner->getDbCriteria()->mergeWith(array( 'order' => 'COUNT(visits.id) DESC', 'join' => ('LEFT JOIN visits ON (visits.itemId = t.id AND visits.itemName = :tableName)'), 'params' => array(':tableName' => $this->Owner->tableName()), 'limit' => $limit, 'group' => 't.id', 'select' => 't.*' ));
Should these be disambiguated? How can i assure that t.id will always means ownertable.id?