Difference between sql statements and clause

2020-08-26 11:05发布

问题:

What is the difference between sql statements and clause

回答1:

The following statement:

SELECT foo FROM bar JOIN quux WHERE x = y;

is made up of the following clauses:

  • WHERE x = y
  • SELECT foo
  • FROM bar
  • JOIN quux


回答2:

A statement is the query and the clause is the condition of the statement.



标签: mysql sql