Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在表中有行,我想将所有值乘以自身,但无法弄清楚如何使其工作。
SELECT exp(bet_odd) as odds FROM betting
尝试
SELECT EXP(SUM(LOG(bet_odd))) as odds FROM betting
Src: 来自 MySQL 行的数据相乘: