创建一个在本地服务器上的用户,用户名为user1,密码为888888。正确的SQL语句是()。

创建一个在本地服务器上的用户,用户名为user1,密码为888888。正确的SQL语句是()。

A.createuseruser1%localhostidentifiedby'888888';

B.createuser'user1'%'localhost'identifiedby'888888';

C.createuseruser1@localhostidentifiedby'888888';

D.createuser'user1'@'localhost'identifiedby'888888';

正确答案:D

猜你喜欢