Home > Database > Mysql Tutorial > 发现mysql一个用法,比较有用

发现mysql一个用法,比较有用

WBOY
Release: 2016-06-07 18:00:12
Original
886 people have browsed it

mysql下用select实现列运算

代码如下:
select ABS(a.self_score-b.assess_score) val
form emp_assess a
inner jion emp_assess_score b on a.emp_assess_id=b.emp_assess_id limit 0,10

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template