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);
The characteristics of the database: structured, no harm, no duplication;Second, the database advantages: According to a certain data model organization, description and storage; can be shared for a variety of users, redundancy is small, save
First, on the basis of the successful installation of MySQL, go to the cmd window and log in to our MySQL management system.Login mode: Mysql-u user name-p password650) this.width=650; "Src="
Day02One, MySQL indexSecond, MySQL storage engine+++++++++++++++++++++++++++++++++++One, MySQL index1.1 Index Description: Equivalent to "book directory"Page 50001~200 directory informationPhonetic sortingRadical sortStroke sort201~5000 body1.2
first, connect MySQL. Format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine.First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to
Use commands to create a MySQL databaseHttp://www.sudu.cn/service/detail.php? Id = 11443 # 6d
Zero, MYSQL Process Control
Mysql:Show variables like 'Port ';Show variables like "have _ % ";Windows:Http://www.jz123.cn/text/3035482.htmlNet stop
I. Table introduction table is the basic unit for database data storage. A table contains several fields and records. II. Create Table Syntax: Createtable table name (attribute name data type [constraints], attribute name data type [constraints],
Last time we introduced: the database operation example of MySQL learning notes for beginners. This article introduces some simple table operation examples. Let's take a look at this part. 1. Table creation command: createtable table name (field
1. Start and exit 1. Go to MySQL: Start MySQL Command Line Client (MySQL DOS Interface) and enter the password for installation. The prompt is: mysql>2. exit MySQL: quit or exitIi. Database Operations1. Create a databaseCommand: create database For
Basic mysql knowledge literacy and mysql literacy
This article mainly introduces some basic knowledge about mysql and prepares for subsequent SQL optimization.I. Connect to mysql
I will not talk about mysql download and installation here. The first
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.