2.10 DQL query summary

grammar:

                 Execution order

                    ⑦          the SELECT query list                       
                 ①          alias from Table 1                          
                 ②          Connection type join Table 2                
                 ③         ON condition is connected                     
                 ④         the WHERE screening                          
                 ⑤         Group by group list           
                 ⑥        the HAVING screening                       
                 ⑧         the Order by the sorted list                   
                 ⑨         limit initial entry index, the number of entries;      
 

Guess you like

Origin www.cnblogs.com/huabro/p/12624217.html