Doctrine 2 subquery
问题 I want to implement a subquery using the query builder but I'm not understanding the syntax. I'm dealing with a locations table that has entries that can be cities, states or zip codes depending on the location type set. I want to get all locations that are in a certain state and take out any that are city type and have a population below a certain amount. $qb->select('l') ->from('Entity\Location', 'l') ->where('l.state = :state') ->setParameter('state', 'UT') ->andWhere('...don't know what