0420-mysql keywords

Source: Internet
Author: User

1.show//view, show

2.use//Selection (Library/table)

3.DATABASE/S//library/All libraries

4.TABLE/S//table/All Tables

5.primary key//PRIMARY key: Non-repeatable, NOT NULL

6.unique key//Unique key: Non-repeatable, can be empty

7.primary key (ID,UID)//Federated primary key, two fields to form uniqueness

8.foreign key//foreign key: For example foreign key (ID2) references set_test (ID)

9.auto_increment//Self-growth: auto_increment = XX; Starting from XX self-growth

10.comment//Notes

11.engine = MyIsam//show CREATE TABLE tablename command look at the type of table. MyISAM, transaction not supported, InnoDB type supported.

12.charset//character encoding

13.default//Default value

14.delimiter//Set statement terminator such as delimiter*

0420-mysql keywords

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.