Last active
December 26, 2018 02:25
-
-
Save sezemiadmin/d88c03ffea859979727785e01424177d to your computer and use it in GitHub Desktop.
RDBMSの仕組み 超入門 サンプルSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grant [権限名] | |
on [スキーマ名].[テーブル名] | |
to [ユーザ名] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> insert into SAMPLE01 | |
-> VALUES (111, "X", "2018-10-18"); | |
Query OK, 1 row affected (0.02 sec) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> insert into SAMPLE01 | |
-> VALUES (111, "X", "2018-10-18"); | |
ERROR 1142 (42000): INSERT command denied to user 'myuser260'@'localhost' for table 'SAMPLE01' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> show databases; | |
+--------------------+ | |
| Database | | |
+--------------------+ | |
| SEP1019 | | |
| SEPLUS | | |
| information_schema | | |
+--------------------+ | |
3 rows in set (0.01 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment