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.
我有一个简单的问题,如何在下面的代码中为 0 显示颜色:
SELECT IFNULL(SUM(qty), 0) FROM t_qty WHERE ...
在该代码中,如果没有数据,那么它将显示 0。现在我想为那个 0 赋予红色。那么我该怎么做呢?
谢谢你。