Home  >  Article  >  Backend Development  >  如何取根据products_id为6取它的下一条记录

如何取根据products_id为6取它的下一条记录

WBOY
WBOYOriginal
2016-06-13 10:51:58809browse

怎么取根据products_id为6取它的上一条记录。
怎么取根据products_id为6取它的上一条记录。
注意不能用products_id

------解决方案--------------------
select * from tt where products_id------解决方案--------------------
select * from tt where price.products_id

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