python - Cities with a larger number of acquirers than startups -
my query below produces no output. i'm trying group city, city names of groups satisfy "having" condition. wrong here?
create view que select acquirer_city acquisitions group acquirer_city having count(distinct company_name) < count(distinct acquirer_name)
your sql creating view, not running query. if run
select * que
you see content of view. however, if not wanting create view (to used later), remove first line. run query , return results.
Comments
Post a Comment