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 _
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 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
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
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
Original source: MySQL 5.5 Reference ManualPart of the translation: "mysql_5.1 Chinese reference Manual"Reprint please specify the original link http://www.cnblogs.com/lenagt/archive/2012/06/06/2538201.html Thank you.---------------------------------
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
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.