为什么我需要 SELECT 特权:
UPDATE Sailors S SET
S.rating = S.rating - 1
虽然这个查询不需要它:
UPDATE Sailors S
SET S.rating = 8
最佳答案
首先选择
= S.rating - 1
在你没有选择的那一秒
= 8
SELECT = GRANTEE can retrieve data for one or more of the columns.
INSERT = GRANTEE can provide data for new rows for one or more of the columns.
UPDATE = GRANTEE can modify existing data for one or more of the columns.
关于sql - 更新和选择,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36483849/