Preface Some people have asked me some MySQL notes these days, so I have to write a blog post. 1. When creating a table, add table name notes and field notes CREATE TABLE `healerjean_comment` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL COMMENT 'Name Comment', `email` varchar(64) NOT NULL, `message` text, PRIMARY KEY (`id`), KEY `index_name` (`name`) ) COMMENT = 'Table name comments'; 2. After the table is created, add table name notes and field notes ALTER TABLE healerjean_comment COMMENT='Test index table'; ALTER table healerjean_comment MODIFY name VARCHAR(32) NOT NULL COMMENT 'Name comment' 3. View notes show create table healerjean; show full columns from healerjean; This is the end of this article about how to add remark information to MySQL. For more information about how to add remark information to MySQL, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Detailed tutorial on installing pxc cluster with docker
>>: HTML tags: sub tag and sup tag
1. Foreign key setting method 1. In MySQL, in ord...
I am writing a small program recently. Because th...
Background requirements: As the business grows la...
Table of contents 1. Learn to return different da...
The description of echo in the Linux help documen...
Origin: A few days ago, a tester sent a requireme...
Starting from Elasticsearch 6.8, free users are a...
Preface When we forget the MySQL database passwor...
1. Use curl command to access by default: # curl ...
Effect demo.html <html> <head> <me...
The following functions are implemented: 1. Usern...
need: Use docker to start nginx + tomcat dual pro...
1.MySQL UPDATE JOIN syntax In MySQL, you can use ...
I have done some research on "embedding non-...
Preface Many web applications store data in a rel...