mysql幫助的使用

2021-09-23 01:29:05 字數 1999 閱讀 4682

mysql> ? contents

you asked for help about help category: "contents"

for more information, type 'help ', where is one

ofthe following

categories:

account management

administration

compound statements

data definition

data manipulation

data types

functions

functions and modifiers for use with group by

geographic features

。。。檢視自己感興趣的分類

mysql> ? data types

you asked for help about help category: "data types"

for more information, type 'help ', where is one

ofthe following

topics:

auto_increment

bigint

binary

bitblob

blob data type

boolean

。。。進一步檢視具體的資料型別

mysql> ? int

name: 'int'

description:

int[(m)] [unsigned] [zerofill]

a normal-size integer. the signed range is -2147483648

to2147483647.

the unsigned range is 0

to4294967295.

url:

快速查閱某項語法是,可以使用關鍵字進行快速查詢,例如,show命令

mysql> ? show

name: 'show'

description:

show has many forms that provide information about databases, tables,

columns, or status information about the server. this section describes

those following:

show authors

show logs

show binlog events [in 'log_name'] [from pos] [limit [offset,] row_count]

show character set [like_or_where]

show collation [like_or_where]

show [full] columns from tbl_name [from db_name] [like_or_where]

。。。create table命令

mysql> ? create table

name: 'create table'

description:

syntax:

create [temporary] table [if not exists] tbl_name

(create_definition,...)

[table_options]

[partition_options]

create [temporary] table [if not exists] tbl_name

[(create_definition,...)]

[table_options]

[partition_options]

select_statement

。。。

如何使用mysql的函式幫助

現有這樣一張學生表,學生的性別是布林值,但是查詢結果想要顯示為男女,而不是01,該如何寫查詢語句?case 列名 when 值1 then 顯示1 when 值2 then 顯示2 else 顯示3 end select stuname as 姓名,case stu when 1then 男 whe...

mysql出現幫助 mysql獲取幫助

檢視配置引數 show variables like timeout 2 mysql客戶端工具自帶的幫助 synonym for help clear c clear the current input statement.清除當前輸入的語句 connect r reconnect to the s...

關於 MYSQL 命令列中 幫助的使用

關於 mysql 命令列中 幫助的使用 參考深入淺出mysql 1.所有幫助文件內容 命令 contents mysql contents you asked for help about help category contents for more information,type help w...