hive多表查询的条件写在join里好还是用子查询? 两个表关联查询,是把条件都写join on里好? select a.* from a join b on ( a.id = b.id and a.a = 2 and b.c = 3) 还是写成子查询的形式比较快? select a.* from a join (select b.* from b where b.c = 3) c on (a.id = c.id) where a.a = 2
相关分类