Home >Database >Mysql Tutorial >Mysql uses commands to implement hierarchical search help
This article mainly introduces to you the relevant information about how Mysql uses commands to achieve hierarchical search help. The sample of this article is based on the branch version of msql MariaDB-10.1.19. The article introduces it in detail through the example code. It is very useful for everyone to learn or Using mysql has certain reference learning value. Friends who need it can follow the editor to learn together. Hope it helps everyone.
Query all help
If we want to know what help mysql can provide us, we can use the following command
? contents
or replace ? with help, The two have the same effect
help contents
The effect is as shown below
? is equivalent to help. For simplicity, we use ? below, but readers need to know if we use help The same effect
Explanations
中文 | Explanation | ||
---|---|---|---|
Account Management | |||
Management | |||
Complex Statement | |||
##Data Manipulation |
|||
Data Types |
|||
##Functions | Functions|||
Functions and Modifiers for Use with GROUP BY | Group functions and modifications|||
Geographic Features | Distributed Features|||
Metadata |
|||
##Language Structure |
Language Structure |
||
##Plugins | Plugin|||
Procedures | Stored Procedure|||
Storage Engines | Storage Engine|||
##Table Maintenance |
TableMaintenance |
||
##Transactions | Transaction |
|
|
##User-Defined Functions | User-defined functions |
|
|
Utility | Other help |
I can’t understand the Chinese meaning here specifically, but I suggest readers to execute ? utility to see the help it can provide |
|
View help hierarchically | Now we know what types of help can be found, at this time , we can use question mark + space + specific name to be found for different projects == case-insensitive == | For example, I want to find out which data types are supported? data type | The effect is as follows Figure
There are many data types. Usually we may only use char varchar int boolean bit timestamp datetime float, etc., but there are still many we don’t know and rarely use them. , such as: BIGINT, ENUM, BLOB, etc., then when we sometimes involve database optimization, we need to have a deeper understanding of the characteristics of a certain type or want to know whether there is a more suitable data type, then we all Can you use ? to find the corresponding data type
So now, we can know that BLOB is a data that can hold 65535 bytes Type
is roughly based on this method, which can save the time of Baidu in actual development and directly find the required help step by step
Related recommendations:
PHP Array Infinite Hierarchical Data Processing Code_PHP Tutorial
Using PHP+MYSQL to implement hierarchical + paging display in the forum
PHP Unlimited Hierarchical data implementation program code_PHP tutorial
The above is the detailed content of Mysql uses commands to implement hierarchical search help. For more information, please follow other related articles on the PHP Chinese website!