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

How to distinguish MySQL's innodb_flush_log_at_trx_commit and sync_binlog

The two parameters innodb_flush_log_at_trx_commit...

The use of mysql unique key in query and related issues

1. Create table statement: CREATE TABLE `employee...

Detailed steps to install Sogou input method on Ubuntu 20.04

1. Install Fcitx input framework Related dependen...

Mysql 5.6.37 winx64 installation dual version mysql notes

If MySQL version 5.0 already exists on the machin...

Detailed explanation of the knowledge points of using TEXT/BLOB types in MySQL

1. The difference between TEXT and BLOB The only ...

Vue implements carousel animation

This article example shares the specific code of ...

How to solve the problem of FileZilla_Server:425 Can't open data connection

When installing FileZilla Server on the server, t...

CSS realizes the mask effect when the mouse moves to the image

1. Put the mask layer HTML code and the picture i...

MySQL installation tutorial under Windows with pictures and text

MySQL installation instructions MySQL is a relati...

Using Zabbix to monitor the operation process of Oracle table space

0. Overview Zabbix is ​​an extremely powerful ope...

How to align text boxes in multiple forms in HTML

The form code is as shown in the figure. The styl...

hr horizontal line style example code

Copy code The code is as follows: <hr style=&q...

Modify the boot time of grub in ubuntu

The online search to modify the grub startup time...

TCP third handshake data transmission process diagram

The process packets with the SYN flag in the RFC7...