📜  SQL 执行顺序 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:14.354000             🧑  作者: Mango

代码示例4
SELECT DISTINCT column, AGG_FUNC(column_or_expression), …
FROM mytable
    JOIN another_table
      ON mytable.column = another_table.column
    WHERE constraint_expression
    GROUP BY column
    HAVING constraint_expression
    ORDER BY column ASC/DESC
    LIMIT count OFFSET COUNT;