Home >Backend Development >PHP Tutorial >How to extract all records except the latest ten records? _PHP Tutorial

How to extract all records except the latest ten records? _PHP Tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-13 17:01:251015browse

select * from table1 where id not in (select top 10 Id from table1 order by inidate)

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/631151.htmlTechArticleselect * from table1 where id not in (select top 10 Id from table1 order by inidate)...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn