SQL 重点

having子句的运用

查询teacher表中类型type大于2

SELECT COUNT(type) from teacher GROUP BY type having COUNT (type)>2;

猜你喜欢

转载自blog.csdn.net/h321606825/article/details/88579307