Home >Backend Development >PHP Tutorial >php-mysql如何根据字段1与字段2的差值按照降序排序

php-mysql如何根据字段1与字段2的差值按照降序排序

WBOY
WBOYOriginal
2016-06-02 11:32:57980browse

mysqlphp

如:表table,两字段:c1,c2,我想select * from table ,条件是c1与c2的差值按照降序排序,求指点

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