SQL 语言分类
1.DDL:CREATE ALERT DROP
2.DCL:GRANT REVOKE
3.DML:SELECT INSERT DELETE UPDATE
授权dept查询权限给用户tt;
GRANT SELECT ON dept TO tt;
从用户tt那里回收dept查询权限;
REVOKE SELECT ON dept FROM tt;
SQL 语言分类
1.DDL:CREATE ALERT DROP
2.DCL:GRANT REVOKE
3.DML:SELECT INSERT DELETE UPDATE
授权dept查询权限给用户tt;
GRANT SELECT ON dept TO tt;
从用户tt那里回收dept查询权限;
REVOKE SELECT ON dept FROM tt;