1、select 语句优先级
select classid, userid, name, age from study where userid > 15 group by classid having classid > 89 order by classid desc;
from > where > select > group by > having > order by
1、select 语句优先级
select classid, userid, name, age from study where userid > 15 group by classid having classid > 89 order by classid desc;
from > where > select > group by > having > order by