- Sql execution order of: From -> Where -> Group By -> Having -> Select -> Order By
- Group By clause can not use the Select clause alias (because of the execution order)
- Select clause, Having clause, Order By clause can use Count (*) like aggregate functions
- Where clause is used to specify the data line condition, Having clause specifies grouping criteria
- Having clause components: constant, aggregate functions, Group By column name specified in clause (i.e., polymerization key)
- In the polymerization using the functions: the Select clause have strict requirements: constants specified, aggregate functions, Group By clause column name (i.e., polymerization key)
- Ways to create a view: CREAT VIEW view name (<1 view column name>, <View column name 2>, ......) AS <Select statement>
- Order By clause can not use the view is defined
- updating. . . .
~ Do not like basketball photographers is not a good programmer -