MySQL Basics Summary

Source: Internet
Author: User

1. Declaration cursor: DECLARE cursor

2. Use the Fulltext child statement of the Creat table statement to enable full-text search when creating the base table

3. Undo the existing table s in the database, using: drop table S

4. Lookup table structure by: DESC

5, to get the last sentence select query to the total number of rows, with Found_rows

6. The actions you can complete on a view are: querying, defining new views, updating views

7. The function of unique unique indexes is to ensure that the values of each row on the index must not be duplicated

8. The command used to write the transaction to the database is: Commit

9, the establishment of the primary key has 3 methods

10. In SQL statements, subqueries are: Query statements embedded in another query statement

11. Implementing Entity Integrity: setting foreign keys

MySQL Basics Summary

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.