mysql where/having


select * from t1 where id<5;
select * from t1 where id<5;

where 从t1中筛选内容

而having从*中筛选内容

猜你喜欢

转载自www.cnblogs.com/justaman/p/10727305.html