Difference between a statement and a query in SQL

后端 未结 6 900
暗喜
暗喜 2020-12-14 00:14

I still live in this ambiguity: conceptually what\'s the difference between a statement and a query in SQL? Can anybody give a definition f

6条回答
  •  抹茶落季
    2020-12-14 00:24

    A statement is any SQL command such as SELECT, INSERT, UPDATE, DELETE.

    A query is a synonym for a SELECT statement.

提交回复
热议问题