How to use commands in Mysql to achieve hierarchical search help detailed explanation

How to use commands in Mysql to achieve hierarchical search help detailed explanation

Preface

This article mainly introduces the relevant content of using MySQL command hierarchical search help. The sample in this article is based on the branch version of msql MariaDB-10.1.19, which is shared for your reference and learning. Let's take a look at the detailed introduction together.

Search all help

If we want to know what help mysql can provide us, we can use the following command

? contents

Or you can replace ? with help, the two have the same effect.

help contents

The effect is as follows

? is equivalent to help. For simplicity, we will use ? below, but readers need to know that if we use help, the effect is the same.

Various explanations

English Chinese illustrate
Account Management Account Management
Administration manage
Compound Statements Compound Statements
Data Definition Data Definition
Data Manipulation Data Operations
Data Types Data Types
Functions Function Usually non-SQL standard commands that are only provided by this product and its series products
Functions and Modifiers for Use with GROUP BY Grouping functions and modifiers
Geographic Features Distributed Features
Help Metadata Metadata
Language Structure Language Structure
Plugins Plugins
Procedures Stored Procedures
Storage Engines Storage Engine
Table Maintenance Table Maintenance
Transactions Transactions
User-Defined Functions User-defined functions
Utility Additional Help I can't understand the Chinese meaning here, but I suggest readers to run the ? utility to see what help it can provide

Rating View Help

Now that we know what types of help we can find, we can use question mark + space + specific name to search for different items == case insensitive ==

For example, I want to find out which data types are supported

? data type

The effect is as shown

There are many data types. Usually we may only use char, varchar, int, boolean, bit, timestamp, datetime, float, etc., but there are many data types that we don't know and rarely use, such as BIGINT, ENUM, BLOB, etc. So when we need to understand the characteristics of a certain type more deeply or want to know if there is a more suitable data type, such as when optimizing the database, we can use ? to find the corresponding data type.

As shown below

Now, we know that BLOB is a data type that can hold 65535 bytes.

Based on this method, you can save time on Baidu in actual development and directly find the required help step by step

Summarize

The above is the full content of this article. I hope that the content of this article can bring some help to your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support of 123WORDPRESS.COM.

You may also be interested in:
  • 18 common commands in MySQL command line
  • Common operation commands of MySQL in Linux system
  • Centos7 restart apache, nginx, mysql, php-fpm command method
  • How to implement import and export mysql database commands under linux
  • Detailed explanation of the EXPLAIN command and its usage in MySQL
  • MySql common query command operation list
  • Special commands in MySql database query
  • Solve the Chinese garbled problem of mysql5.5 database command line under Windows 10
  • Summary of Commonly Used MySQL Commands in Linux Operating System
  • Mysql uses the kill command to solve the deadlock problem (kill a certain SQL statement being executed)
  • MySQL 5.7 mysql command line client usage command details
  • MySQL database source command detailed explanation and examples
  • Common commands for mysql authorization, startup, and service startup

<<:  How to configure nginx+php+mysql in docker

>>:  Implementation of react loop data (list)

Recommend

The pitfalls encountered when learning Vue.js

Table of contents Class void pointing ES6 Arrow F...

Introduction to MyCat, the database middleware

1. Mycat application scenarios Mycat has been dev...

Solve the problem of Tomcat10 Catalina log garbled characters

Running environment, Idea2020 version, Tomcat10, ...

4 flexible Scss compilation output styles

Many people have been told how to compile from th...

Tips for implementing list loop scrolling based on jQuery (super simple)

I saw a good idea and recorded it. I have used jQ...

Vue uses canvas to realize image compression upload

This article shares the specific code of Vue usin...

Tutorial on how to install htop on CentOS 8

If you are looking to monitor your system interac...

Introduction to useRef and useState in JavaScript

Table of contents 1. useState hook 2. useRef hook...

JavaScript to achieve simple provincial and municipal linkage

This article shares the specific code for JavaScr...

What should I do if I want to cancel an incorrect MySQL command?

I typed a wrong mysql command and want to cancel ...

JavaScript to implement simple carousel chart most complete code analysis (ES5)

This article shares the specific code for JavaScr...

How to implement Ajax concurrent request control based on JS

Table of contents Preface Ajax serial and paralle...

How to check if data exists before inserting in mysql

Business scenario: The visitor's visit status...