Difference between a statement and a query in SQL

后端 未结 6 912
暗喜
暗喜 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:32

    Queries is used for retrieve data based on specific criteria, but statement may have a persistent effect on schemas and data, or which may control transactions, program flow, connections, sessions, or diagnostics. See also Wikipedia.

提交回复
热议问题