Home  >  Article  >  Backend Development  >  SQL的有关问题

SQL的有关问题

WBOY
WBOYOriginal
2016-06-13 13:28:32801browse

SQL的问题
我mysql 这3个字段都在一个表中 有一个字段rd的值 是字段out的值减去字段pv的值 这个rd字段怎么弄

------解决方案--------------------

SQL code
update tt set rd=`out`-`pv`; <div class="clear">
                 
              
              
        
            </div>
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