Show DATABASES: lists the DATABASES on the mysql Server. Show tables [FROM db_name]: Lists TABLES in a database. Show table status [FROM db_name]: lists the TABLE information of a database. Show columns from tbl_name [FROM db_name]: lists the column
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
Development Log: Add comments for tables and columns when creating a table in mySQL, and view comments for tables and columns.
Development Log: add notes for tables and columns when creating a mySQL table, and view the notes for tables and columns _
A good memory is better than a random writing .... The following collection of the MySQL show in the use of skills .... If you need a friend, you can have a look.A. Show tables or show tables from database_name;//displays the names of all tables in
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:MySQL-server-5.1.7-0.i386.rpm
To download the above two RPM files, locate the "server" and "client programs" items and find the items
Show index from TABLE_NAMEThis command helps diagnose poorly performing queries, especially if the query uses an available index.The following describes the meaning of the result column that this command displays:| Table | Non_unique | Key_name |
ALTER table: Add, modify, delete table columns, constraints, and other table definitions.
View column: Desc table name;
Modify table name: ALTER TABLE T_book Rename to BBB;
Add column: ALTER TABLE name add column name varchar (30);
mysql| Data | Database summary
In this chapter, we will focus on how to work with the MySQL database using Structured Query Language (SQL).
(2002-08-29-14:11:10)
--------------------------------------------------------------------------------
By
Mysql modifies columns, adds columns, deletes common column commands, and mysql commands
Alter table: add, modify, and delete TABLE columns, constraints, and other TABLE definitions.
View column: desc table name;
Alter table t_book rename to
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.