title: TypeORM Error: "item" alias was not found. Maybe you forgot to join it?
body: <p>I would like to create this SQL using typeorm queryBuilder</p>
  <pre><code>SELECT * FROM `item-stats` LEFT JOIN item ON item.itemStatsId = `item-stats`.id WHERE item.state = 'Active' LIMIT 1
  </code></pre>
  <p>My code is:</p>
  <pre><code>await getConnection()
              .getRepository(ItemStatsEntity)
              .createQueryBuilder('itemStats')
              .leftJoin('item.itemStatsId', 'itemStatsId', 'itemStatsId = itemStats.id') 
              .orderBy('subjectCharCnt', 'DESC') 
              .getOne();
  </code></pre>
  <p>But I am getting an error:</p>
  <pre><code>Error: &quot;item&quot; alias was not found. Maybe you forgot to join it?
  </code></pre>
  <p>What is wrong with my code?</p>