MySQL command prompt

Source: Internet
Author: User
Tags mysql create mysql delete mysql insert

First, MySQL Create data table

1. Create a MySQL database from the MySQL command window

2. Create MySQL data table from MySQL command window

3. View the details of the created data table through the MySQL command window

Second, MySQL delete data sheet

1. Delete the data in the table

2. Empty the data in the structure table without changing the Jiegou of the data table

3. Delete the entire data sheet

Third, MySQL insert data

1.Mysql inserting a single piece of data

2.Mysql inserting more than one piece of data

There is no need to add the value of ID, because the ID field was previously set to Auto_increment auto-increment property

Iv. WHERE clause of MySQL

Inquire

Update

Delete

Reading data

(Find all data in the Practice1 table that ends with a "good" word)

Attention:

'% good ' is data with good endings

' Good% ' is data with good start

'% good% ' is content that contains good data

MySQL command prompt

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.