个人认为最直观的方式是不用join,直接用where把相关表连接起来 SELECT c.name, COUNT(f.film_id) from category c, film f, film_category fc where f.description like "%robot%" and f.film_id=fc.film_id and c.category_id=fc.category_id and c.category_id in( select category_id from film_category #需要特注意:sql中别名的作用范围不能跨越不同查询,所...