MySQL database page

Source: Internet
Author: User
Select * FromTablename limit pagesize*Pageno, pagesize # MySQL database page, which can automatically calculate the deletion records # pagesize*Pageno refers to the number of records that deviate from the first record in the record set.

Okay, I want to admit that this was found from an unpleasant debate. As a result, I am wrong. MySQL can simply implement paging using such SQL statements, my understanding of limit is equivalent to top. However, the use of top can only specify one number. It retrieves N records from the record set. In terms of semantics, it cannot help to build a record set. In MySQL's limit semantics, limit is directly involved in the construction of record sets.

 

Finally: knowing is knowing, not knowing, or knowing

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.